From: Stroller <lin...@my...> - 2008-01-07 04:23:37
|
On 4 Jan 2008, at 21:45, Kristjan Kaljund wrote: > > ... I finally got SL working on Windows server (Win XP + > Apache2triad + all those DBD and DBI things),... > - I'm unable to print or save in pdf-format any of the > invoices. After several more hours of online search I have proTeXt > installed > and the pdf+postscript options show nicely in the appropriate pulldown > menus, but no actual result - SL simply refreshes the screen as if > it's done > something or just gives a simple 'Error' message. Hi Kristjan, I'd guess - but it's only a guess - that Ghostscript might be required. (Update: http://faculty.smu.edu/barr/latex/ seems to confirm this) Can you make a PDF using a simple test .tex file? I haven't used LaTeX on Windows, but the comp.text.tex newsgroup [1] is VERY helpful. The FGA (frequently given answer) there is "Can you recreate the problem in a minimal example and post it?" For example, one of my problems was in the past resolved by basing future revisions on the following tex markup: \documentclass[pdftex]{article} \usepackage[latin1]{inputenc} \usepackage[pdftex]{geometry} \geometry{a4paper,landscape, nohead,nofoot, left=15mm,right=15mm,top=1cm,bottom=1cm} \usepackage{longtable} \begin{document} \thispagestyle{empty} \noindent ABC\hfill this XYZ\par \vfill\noindent ABC\hfill XYZ \end{document} Under Linux I would place this in a file called "test.tex" and run `latex test.tex`. This gives a foo.dvi output file, which I would convert to pdf using `dvipdf foo.dvi `. I'm not sure how you undertake this on Windows, but you need to convert a .tex file to PDF before you start chasing problems with LedgerSMB. Stroller. [1] http://groups.google.com/group/comp.text.tex/ |