From: Dr.Ruud on
Justin C wrote:

> I want to produce a PDF containing two tables side by side.

http://code.google.com/p/wkhtmltopdf/

(uses WebKit) is really nice.

--
Ruud
From: Eric Pozharski on
with <45d2.4b588503.708ce(a)zem> Justin C wrote:
*SKIP*
> Does anyone have any suggestions on how I might proceed? TeX looks like
> it might be the best way forward now, I have Lamport's LaTeX book here
> so can pull together the relevant TeX/LaTeX commands. I suppose that, if
> I can knock up what I want in TeX to start with I won't even need a TeX
> module, I can just use some templating.

I'm afraid that Lamport's book is quiet valuable but somewhat outdated.
I'm not about technical side but about options. In case you have
'TeX Live' at hands (or near) then

\documentclass{article}
\usepackage[T2A]{fontenc} % possibly you need something else but 'T2A'
\usepackage{ucs} % that's what adds utf8 option for input
\usepackage[utf8x]{inputenc}
\usepackage{longtable}

\begin{document}

\begin{longtable}
% all the staff here
\end{longtable}

\end{document}

'longtable' class has clear documentation (with examples) ('texdoc
longtable'). The 'longtable' class extends a stock environment named
'tabular' (this one doesn't span pages). And you'll be welcome at ctt
(if you provide minimal example that clearly demonstrates your problem
blah-blah-blah) in case of any problems.

--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom
From: Justin C on
On 2010-01-21, Justin C <justin.0911(a)purestblue.com> wrote:
> I want to produce a PDF containing two tables side by side. Each 51
> rows (including a header) by three columns. Columns 1 and 2 in each
> table are to contain centred text, and column three is to be
> left-aligned.
>
> I've been experimenting with PDF::API2, and PDF::Table, but PDF::Table
> doesn't appear to do centred text, and PDF::API2 is hard work - the
> documentation leaves a lot to be desired, for example, surfing the web
> for hints on using PDF::API2 I find references to methods not mentioned
> in the PDF::API2 documentation.
>
> Does anyone have any suggestions on how I might proceed? TeX looks like
> it might be the best way forward now, I have Lamport's LaTeX book here
> so can pull together the relevant TeX/LaTeX commands. I suppose that, if
> I can knock up what I want in TeX to start with I won't even need a TeX
> module, I can just use some templating.
>
> I'll probably still need Latex::Driver to get my PDF.
>
> Thank you for any suggestions.

Thank you to all who replied. Some interesting reading.

I really don't fancy learning PostScript right now, and doing the whole
thing by hand. Maybe I'll save learning PS for another time.

In the end I've had to ditch LaTeX::Driver, I kept getting errors within
the module itself and couldn't figure out how to fix it. In the end I
made a mock-up Tex document, and used it as a template. I'm running
pdflatex from a perl 'system' command... but this has an unwanted
side-effect (time for another thread).

Thanks again for your suggestions, I didn't realise there were so many
different solutions to the problem.

Justin.

--
Justin C, by the sea.
From: Eric Pozharski on
with <10b5.4b616df5.f513(a)zem> Justin C wrote:
*SKIP*
> Thanks again for your suggestions, I didn't realise there were so many
> different solutions to the problem.

And you've omitted (or missed) interfaces on (so called) wordprocessors

Sincerly yours, TeX freak


--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom