Ticket #81 (closed defect: released)

Opened 3 years ago

Last modified 2 years ago

If latex is a symlink to pdfelatex, apidoc won't build

Reported by: olly Owned by: olly
Priority: lowest Milestone:
Component: Other Version: 0.9.6
Severity: minor Keywords:
Cc: schlenk Blocked By:
Operating System: Linux Blocking:

Description

On SuSE 10.1, pdfelatex is just a symlink to latex. See bug#80 for original report (this bug split off to avoid trying to track two separate problems in a single bug):

http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=80

"pdfelatex creates a pdf directly without a dvi in between, but can be forced to create dvi with the -output-format=dvi switch. Stupid, they should have at least installed a shellscript that sets the default to dvi."

This only affects people building from SVN, or who have configured a tarball with --enable-maintainer-mode and modified the API headers.

A easy workaround (untested) is to configure with:

./configure --enable-maintainer-mode LATEX='/usr/bin/latex -output-format=dvi'

If pdfelatex can create a PDF without going through DVI, perhaps configure should check for it and use it in preference to latex if it is available...

Change History

Changed 3 years ago by olly

  • status changed from new to assigned

Changed 2 years ago by olly

  • status changed from assigned to closed
  • resolution set to fixed

I've just checked in a change to SVN so we always use pdflatex to create a PDF for the API documentation, so this should no longer be an issue.

Changed 2 years ago by olly

  • resolution changed from fixed to released

Fixed in 0.9.8

Changed 2 years ago by trac

  • platform set to Linux
Note: See TracTickets for help on using tickets.