Menu

#5463 Fix dblatex uses xetex backend

Fixed
Enhancement
2019-01-26
2019-01-19
No

Fix dblatex uses xetex backend

The configure script set PDFLATEX=/path/to/xelatex-with-options.sh
when the system has xelatex.
However, makefile for dblatex document build was checking
PDFLATEX=xelatex
to decide whether to use xetex backend or not.
Therefore, even if the system has xelatex,
dblatex did not use xetex backend.

This commit makes dblatex use xetex backend
when the system has xelatex.

http://codereview.appspot.com/344120043

Discussion

  • Anonymous

    Anonymous - 2019-01-19
    • Description has changed:

    Diff:

    
    
    • Needs: -->
    • Patch: new --> needs_work
     
  • Anonymous

    Anonymous - 2019-01-19

    This passes make but fails a make doc

    LILYPOND_VERSION=2.21.0 PDFTEX=pdfetex PDFLATEX=pdflatex /usr/bin/python -tt /home/james/lilypond-git/scripts/lilypond-book.py -I /home/james/lilypond-git/input/regression/lilypond-book  --process='/home/james/lilypond-git/build/out/bin/lilypond -dbackend=eps --formats=ps,png,pdf -djob-count=7 -dinclude-eps-fonts -dgs-load-fonts --header=doctitle --header=doctitleca --header=doctitlecs --header=doctitlede --header=doctitlees --header=doctitlefr --header=doctitlehu --header=doctitleit --header=doctitleja --header=doctitlenl --header=doctitlezh --header=texidoc --header=texidocca --header=texidoccs --header=texidocde --header=texidoces --header=texidocfr --header=texidochu --header=texidocit --header=texidocja --header=texidocnl --header=texidoczh -dcheck-internal-types -ddump-signatures -danti-alias-factor=2 -dfont-export-dir=/home/james/lilypond-git/build/out-fonts -O TeX-GS' --output=./out-www --redirect-lilypond-output --loglevel=WARN  --lily-output-dir /home/james/lilypond-git/build/out/lybook-db --pdf -o ./out-www /home/james/lilypond-git/input/regression/lilypond-book/suffix-lyxml.lyxml
    cd ./out-www && /home/james/lilypond-git/build/scripts/build/out/run-and-check \
        "dblatex -b xetex -o suffix-lyxml.tmp.pdf suffix-lyxml.xml" \
        "suffix-lyxml.dblatex.log"
    
    Please check the logfile suffix-lyxml.dblatex.log for errors
    
    /home/james/lilypond-git/./make/lilypond-book-rules.make:77: recipe for target 'out-www/suffix-lyxml.pdf' failed
    make[4]: *** [out-www/suffix-lyxml.pdf] Error 1
    make[4]: Leaving directory '/home/james/lilypond-git/build/input/regression/lilypond-book'
    /home/james/lilypond-git/stepmake/stepmake/generic-targets.make:166: recipe for target 'WWW-1' failed
    make[3]: *** [WWW-1] Error 2
    make[3]: Leaving directory '/home/james/lilypond-git/build/input/regression'
    /home/james/lilypond-git/stepmake/stepmake/generic-targets.make:166: recipe for target 'WWW-1' failed
    make[2]: *** [WWW-1] Error 2
    make[2]: Leaving directory '/home/james/lilypond-git/build/input'
    /home/james/lilypond-git/stepmake/stepmake/generic-targets.make:166: recipe for target 'WWW-1' failed
    make[1]: *** [WWW-1] Error 2
    make[1]: Leaving directory '/home/james/lilypond-git/build'
    /home/james/lilypond-git/stepmake/stepmake/generic-targets.make:182: recipe for target 'doc-stage-1' failed
    make: *** [doc-stage-1] Error 2
    

    The file referenced:

    suffix-lyxml.dblatex.log

    contains this:

    Build the book set list...
    Build the listings...
    XSLT stylesheets DocBook - LaTeX 2e (0.3.7-1)
    ===================================================
    Build suffix-lyxml.pdf
    
    A possible reason for transformation failure is invalid DocBook
    (as reported by xmllint)
    
    Error: [Errno 2] No such file or directory
    
     
  • Anonymous

    Anonymous - 2019-01-19
    • Patch: needs_work --> new
     
  • Anonymous

    Anonymous - 2019-01-19

    Setting back to new for now, as I seem to not be able to get a successful build of doc or make check at all. So this could be something local to me

     
  • Masamichi Hosoda

     
  • Anonymous

    Anonymous - 2019-01-20

    Passes make, make check and a full make doc.

     
  • Anonymous

    Anonymous - 2019-01-20
    • Needs: -->
    • Patch: new --> review
    • Type: -->
     
  • Anonymous

    Anonymous - 2019-01-24
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2019-01-24

    Patch on countdown for Jan 26th

     
  • Anonymous

    Anonymous - 2019-01-26
    • Patch: countdown --> push
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2019-01-26

    Patch counted down - please push.

     
  • Masamichi Hosoda

    • labels: --> Fixed_2_21_0
    • status: Started --> Fixed
    • Patch: push -->
     
  • Masamichi Hosoda

    I've pushed to the staging.

    Issue 5463: Fix dblatex uses xetex backend
    commit 002382ca44a8a72260829d1e0d9a73cb93809d08