Allan Rae <[EMAIL PROTECTED]> writes:

| There are also dvipdf and ps2pdf tools but they all seem to come in the
| same package with pdflatex anyway.

Some of these tools might be good for export.

| On 23 Nov 1999, Lars Gullik Bj�nnes wrote:
| [...]
| > I only need to think a bit about how to do this best.
| > 
| > I think it should be done by a lyxrc switch.
| 
| Does pdflatex provide the same error message and other log file output as
| latex?

Yes, that is the clue. They are identical.

| 
| > \latex_mode  {standard|pdf}
| > \prog_pfdlatex <string> (default pdflatex)
| > \pdf_viewer <string> (default xpdf or acroread)
| 
| or gv/ghostview if ghostscript >= 5.50 (maybe earlier also)

Sure. Users option.

| > Some in the File menus need to change and File->Export.
| 
| Hmmm... So you are suggesting we either have DVI+PS or PDF options
| available at any time for viewing or updating from File menu and that we
| might support File->Export->PDF if in 'standard' mode or vice versa.

Yes.

| I suppose that makes sense.  Then we just need a lyx action to switch
| between modes.  Changing modes then effectively allows us to turn
| UpdateDVI into UpdatePDF by substituting "pdflatex" for "latex" which
| should only take a line or three of code:
| 
|       command += lyxrc->latex_mode ? lyxrc->pdflatex : lyxrc->latex;

Yes, that functionality.
 
| Then all the rest of the code for the patch is the additions to lyxrc and
| lyxaction.  Including testing if it's viable to switch modes: no pdflatex
| found no switching modes.
 
| > We also must check for pdflatex in configure and check for
| > fontencoding LY1 which is preferred with PDF and also check for some
| > of the packages that is  advised to be used together with PDF, url.sty
| > and hyperref.sty and some fontpackages.
| 
| LY1, what's that?

It is a fontencoding that is better for pdf thatn T1.
So if LY1 exists use that otherwise use T1.

|  AFAIK, the recommendation seems to be just use the
| psfonts by either \usepackage{mathptm} which sets the math fonts as well
| as roman and so forth or just set Layout->Document->Font == times.

\usepackage{pslatex}

can also be used

        Lgb


Reply via email to