Changeset 772 for libcaca


Ignore:
Timestamp:
Apr 14, 2006, 10:41:59 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Generate a PDF documentation instead of the PostScript? one. It has nice hyperlinks! Also, set compact LaTeX mode and a few other Doxygen options.
Location:
libcaca/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r747 r772  
    276276
    277277  # Build LaTeX documentation?
    278   AC_PATH_PROG(LATEX, latex, no)
     278  AC_PATH_PROG(LATEX, pdflatex, no)
    279279  AC_PATH_PROG(DVIPS, dvips, no)
    280280  if test "${DVIPS}" = "no"; then
  • libcaca/trunk/doc/Makefile.am

    r526 r772  
    99htmldocdir = $(datadir)/doc/libcaca-dev/html
    1010if USE_LATEX
    11 psdoc_DATA = latex/libcaca.ps
    12 psdocdir = $(datadir)/doc/libcaca-dev/ps
     11pdfdoc_DATA = latex/libcaca.pdf
     12pdfdocdir = $(datadir)/doc/libcaca-dev/pdf
    1313endif
    1414endif
    1515
    1616html/doxygen.css html/doxygen.png: stamp-doxygen
    17 latex/libcaca.ps: stamp-latex
     17latex/libcaca.pdf: stamp-latex
    1818
    1919stamp-doxygen:
     
    2626if BUILD_DOCUMENTATION
    2727if USE_LATEX
    28         rm -f latex/libcaca.tex latex/libcaca.ps
     28        rm -f latex/libcaca.tex latex/libcaca.pdf
    2929        mv latex/refman.tex latex/libcaca.tex
    3030        sed 's/setlength{/renewcommand{/' latex/libcaca.tex > latex/refman.tex
    31         cd latex && $(MAKE) $(AM_CFLAGS) ps
    32         mv latex/refman.ps latex/libcaca.ps
     31        cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf
     32        mv latex/refman.pdf latex/libcaca.pdf
    3333        touch stamp-latex
    3434endif
  • libcaca/trunk/doc/doxygen.cfg.in

    r732 r772  
    765765# save some trees in general.
    766766
    767 COMPACT_LATEX          = NO
     767COMPACT_LATEX          = YES
    768768
    769769# The PAPER_TYPE tag can be used to set the paper type that is used
     
    790790# This makes the output suitable for online browsing using a pdf viewer.
    791791
    792 PDF_HYPERLINKS         = NO
     792PDF_HYPERLINKS         = YES
    793793
    794794# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
     
    796796# higher quality PDF documentation.
    797797
    798 USE_PDFLATEX           = NO
     798USE_PDFLATEX           = YES
    799799
    800800# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
     
    803803# This option is also used when generating formulas in HTML.
    804804
    805 LATEX_BATCHMODE        = NO
     805LATEX_BATCHMODE        = YES
    806806
    807807# If LATEX_HIDE_INDICES is set to YES then doxygen will not
     
    10101010# instead of the = operator.
    10111011
    1012 PREDEFINED             = _DOXYGEN_SKIP_ME \
    1013                          USE_X11 \
    1014                          USE_CONIO \
    1015                          USE_NCURSES \
    1016                          USE_SLANG
     1012PREDEFINED             = _DOXYGEN_SKIP_ME
    10171013
    10181014# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
Note: See TracChangeset for help on using the changeset viewer.