Menu

#4737 Add XeTeX for document building

Verified
Enhancement
2016-03-02
2016-01-09
No

Discussion

1 2 > >> (Page 1 of 2)
  • Anonymous

    Anonymous - 2016-01-11
    • Description has changed:

    Diff:

    
    
    • Needs: -->
    • Patch: new --> review
     
  • Masamichi Hosoda

    • Patch: review --> needs_work
     
  • Masamichi Hosoda

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,13 +6,7 @@
     http://lists.gnu.org/archive/html/lilypond-devel/2015-12/msg00136.html
     http://lists.gnu.org/archive/html/lilypond-devel/2016-01/msg00041.html
    
    -*** This patch requires Issue 4729, 4731, 4732, 4733, 4734, 4735, 4736. ***
    -https://sourceforge.net/p/testlilyissues/issues/4729/
    -https://sourceforge.net/p/testlilyissues/issues/4731/
    -https://sourceforge.net/p/testlilyissues/issues/4732/
    -https://sourceforge.net/p/testlilyissues/issues/4733/
    -https://sourceforge.net/p/testlilyissues/issues/4734/
    +*** This patch requires Issue 4735. ***
     https://sourceforge.net/p/testlilyissues/issues/4735/
    -https://sourceforge.net/p/testlilyissues/issues/4736/
    
     http://codereview.appspot.com/285790043
    
    • Patch: needs_work --> new
     
  • Masamichi Hosoda

    All required patches are merged into Texinfo.

    Texinfo update is Issue 4735.
    So this patch requires Issue 4735.
    https://sourceforge.net/p/testlilyissues/issues/4735/

     
    • Anonymous

      Anonymous - 2016-02-10

      Hosoda-san,

      I am not sure which Rietveld I need to test here? Issue 4735 has been tested and is in review so what do I need (as a patch tested) need to test here?

       
  • David Kastrup

    David Kastrup - 2016-02-09

    Why should we prefer XeTeX over PDFTeX for building the documentation?

     
  • Masamichi Hosoda

    Here's LilyPond PDF documents generated by XeTeX in my environment.
    https://drive.google.com/file/d/0ByGBX3PDrqjsZkF1VHFqakZqSGM/view?usp=sharing

     
    • David Kastrup

      David Kastrup - 2016-02-09

      How are they better than those generated with PDFTeX?

       
  • Masamichi Hosoda

    Some letters in PDF document is missing.
    http://lists.gnu.org/archive/html/lilypond-devel/2015-12/msg00136.html

    This is due to pdfTeX bug.
    http://lists.gnu.org/archive/html/lilypond-devel/2015-12/msg00154.html

    In order to avoid the bug I tried LuaTeX, but it failed.
    http://lists.gnu.org/archive/html/lilypond-devel/2016-01/msg00041.html

    Recently, texinfo.tex has been merged some XeTeX support patches.
    So, In XeTeX, the letters missing issue is solved.

     
    • David Kastrup

      David Kastrup - 2016-02-09

      From the discussion, sounds more like the inconsistency should be addressed in the TeXGyre fonts. Have the authors been notified?

       
      • Masamichi Hosoda

        If I understand correctly, the different glyph name is by design.

        The technical documentation of TeX Gyre Schola
        http://mirrors.ctan.org/fonts/tex-gyre/doc/fonts/tex-gyre/qcs-info.pdf
        says in page 5,

        ", the OTF name or the OTF name placed above the Type 1 name (if they differ)."

        In the table of the document, several glyphs (not only ligature glyphs) have different name.

         
        • David Kastrup

          David Kastrup - 2016-02-10

          Well, the thing is that this is a problem that can probably be reproduced purely by a TeX workflow. Wouldn't it also occur when using the pdftricks package (which uses straightforward TeX/dvips/Ghostscript for creating PDF graphics to be included into PDFTeX documents)? The TeX Gyre fonts are sponsored by TeX user groups and are developed by a Polish programmer team heavily involved with the Polish TeX user group, and in Poland PDFTeX is likely by far the most commonly used TeX variant.

          So if one can construct a use case done purely in the (mainstream) TeX world where this problem shows up, there is a significant chance that they'll change the design and/or kick the PDFTeX developers enough that they fix the problem on their side.

          With some hands-on example working (or rather failing) on every TeX system without having to install LilyPond or anything else, I'd be able to ask Bogusław take a look and suggest a good path.

          It may be that until this is fixed, XeTeX might be a usable workaround. It is embarrassing just how much work the use of UTF-8 examples in our documentation is actually turning out to be for you.

           
          • Masamichi Hosoda

            If I understand correctly, pdfTeX uses TeX Gyre Type 1 fonts.
            TeX Gyre OpenType fonts are not used.

            In other words, if you use only pdfTeX, the glyph name different issue does not occur.
            Because all of TeX Gyre fonts are Type1. The glyph names are same.

            XeTeX and LuaTeX can use TeX Gyre OpenType fonts.
            Would you think that they are mainstream TeX?

             
  • Anonymous

    Anonymous - 2016-02-11

    Passes make, make check and a full make doc.

    https://drive.google.com/open?id=0B9nZ5LHV2Ds6RkdkZEdYUG5fMGM

    These are the En PDFs built with the two patches listed above

     
  • Anonymous

    Anonymous - 2016-02-11
    • Patch: new --> review
     
  • Anonymous

    Anonymous - 2016-02-15
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2016-02-15

    Patch on countdown for February 18th.

    NB: My tested compiled output is here

    https://drive.google.com/open?id=0B9nZ5LHV2Ds6RkdkZEdYUG5fMGM

     
  • Anonymous

    Anonymous - 2016-02-18

    This seems (to me anyway) a fundamental change in the code base, it has reached 'push' stage and I have done my own link for building doc based on Hosoda's patch. No one has commented.

    I am going to leave this on countdown but, Hosoda-san, if you think it can be pushed and my understanding is completely wrong (i.e. it is a trivial enhancement) then please push it.

     
    • Masamichi Hosoda

      I've noticed that your PDFs were generated by pdfTeX instead of XeTeX.
      Would you install XeTeX and XeLaTeX by following command?

      $ sudo apt-get install texlive-xetex
      

      Then, would you test this patch (Issue 4737 Patch Set 1) with current LilyPond master?
      https://sourceforge.net/p/testlilyissues/issues/4737/
      https://codereview.appspot.com/285790043

      Issue 4735 has been merged.

      Sorry I'm late.

       
      • Anonymous

        Anonymous - 2016-02-19

        Hello Hosoda-san,

        I did the apt-get install for the xetex packages as you requested and then ran the 'normal' commands to make, make check and make doc. That link is the result of the (English) PDFs generated by the make doc.

        So I assume that something else (another set of commands) needs to be done to generate the PDFs with XeTex?

        James

         
        • Masamichi Hosoda

          Did you do "./autogen.sh --noconf" ?
          Would you show me "config.log" ?

           
1 2 > >> (Page 1 of 2)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.