>> On Fri, Mar 19, 2010 at 10:52 AM, Giles <[email protected]> wrote:
>> I was wondering is it possible to generate a 1 page pdf file from my
>> curriculum vitae located here:
[....]
>> I tried to use a2x , but I don't want to generate a cover page, or
>> Table of Contents
>>

On Fri, Mar 19, 2010 at 4:12 PM, Cameron Eagans <[email protected]> wrote:
> Why not just print to PDF from the one that's generated by a2x? You
> can just selectively include pages that way.


How much time have you got? :)

The quickest way I suggest is to do as Cameron says and only print the
pages you want.  Another option is to use pdftk to cut out pages you
do not want electronically and then print the ones that remain.

http://www.accesspdf.com/pdftk/

Mind you, either printing, or electronic page removal do not change
the page numbers (should you need to have page numbers included), so
page numbers are always wrong and so on.  Also the title page may not
appear they way you want it to.

Another option is to convert the txt to docbook and open the docbook
XML file in a word processor like OpenOffice. This eases some of the
transition pain caused by the other approaches but this solution, too,
can be unwieldy in other aspects like why should one need to use a
word processor in the first place.

A final solution that I can recommend is to convert the txt file to
tex (LaTeX) and then apply a style file to get the PDF the way you
want it to display. The trouble with this approach is now you are left
fiddling with LaTeX and TeX, which can consume copious amounts of your
time.

A solution that I have not explored is to fiddle around with FOP
settings to display the page the way you want to. I am not aware of
how to do that so I cannot help you much there, hopefully someone else
will be able to fill in those gaps for you.

Good Luck, you are going to need it. :)


Mark.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to