RSS/Atom feed Twitter
Site is read-only, email is disabled

buildiing PDF from git

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

7 of 10 messages available
Toggle history

Please log in to manage your subscriptions.

buildiing PDF from git Ulf-D. Ehlert 20 Feb 20:04
  buildiing PDF from git Alexandre Prokoudine 20 Feb 20:42
   201002211821.09440.ude88@we... Ulf-D. Ehlert 21 Feb 18:21
    buildiing PDF from git Alexandre Prokoudine 23 Feb 23:10
     buildiing PDF from git Alexandre Prokoudine 23 Feb 23:29
      201002252010.25756.ude88@we... Ulf-D. Ehlert 25 Feb 20:10
       buildiing PDF from git Alexandre Prokoudine 25 Feb 21:31
        buildiing PDF from git Alexandre Prokoudine 26 Feb 22:48
         buildiing PDF from git Alexandre Prokoudine 26 Feb 22:54
        201002271244.27456.ude88@we... Ulf-D. Ehlert 27 Feb 12:44
Ulf-D. Ehlert
2010-02-20 20:04:18 UTC (about 15 years ago)

buildiing PDF from git

Alexandre Prokoudine (Thursday, 11. February 2010)

gimp.tex:67: leading text: \maketitle gimp.tex:67: Encoding scheme `T2A' unknown. gimp.tex:67: leading text: \maketitle gimp.tex:67: Undefined control sequence \cyrm. gimp.tex:67: leading text: \maketitle

It might help if you would post line 67 of gimp.tex (plus some context lines(?), e.g. lines 65-69). Also, for an encoding problem you should try to construct a minimal example (e.g. section, title, para) which we can use for testing.

Ulf

Alexandre Prokoudine
2010-02-20 20:42:19 UTC (about 15 years ago)

buildiing PDF from git

On 2/20/10, Ulf-D. Ehlert wrote:

It might help if you would post line 67 of gimp.tex (plus some context lines(?), e.g. lines 65-69).

And would you mind telling me how to post any lines of an otherwise temporarily created TeX file that is removed right after failed attempt to create a PDF file? ;)

Also, for an encoding problem you should try to construct a minimal example (e.g. section, title, para) which we can use for testing.

Attached :)

Alexandre

Alexandre Prokoudine
2010-02-23 23:10:27 UTC (about 15 years ago)

buildiing PDF from git

On 2/21/10, Ulf-D. Ehlert wrote:

It might help if you would post line 67 of gimp.tex (plus some context lines(?), e.g. lines 65-69).

And would you mind telling me how to post any lines of an otherwise temporarily created TeX file that is removed right after failed attempt to create a PDF file? ;)

make [-f Makefile.GNU] ... pdf-ru DBLATEXEXTRAFLAGS="--debug"

See dblatex(1): ...
-d, --debug
Debug mode: Keep the temporary directory in which dblatex actually works.

But I think it's no longer necessary, I can reproduce the "T2A" and "\cyr*" errors using your xml example.

OK, I installed texlive-lang-cyrillic and got a bit further. The PassiveTeX way seems to work on a smaller document, so

dblatex -P latex.unicode.use=1 xml/ru/key-reference.xml

actually produces the PDF file.

However I still get an error when building the whole help either way.

The final TeX document is here:

http://gimp.ru/files/help/gimp.tex.bz2

And here is the log from dblatex:

http://gimp.ru/files/help/gimp.log.bz2

Alexandre

Alexandre Prokoudine
2010-02-23 23:29:31 UTC (about 15 years ago)

buildiing PDF from git

On 2/24/10, Alexandre Prokoudine wrote:

However I still get an error when building the whole help either way.

There are two more issues I can see while building separate small XML files:

1. PDF bookmarks tree is created, but does not contain any text 2. All the "Caution" and "Figure:" captions are in English.

Alexandre

Alexandre Prokoudine
2010-02-25 21:31:35 UTC (about 15 years ago)

buildiing PDF from git

On 2/25/10, Ulf-D. Ehlert wrote:

2. All the "Caution" and "Figure:" captions are in English.

Do you mean the words "Caption" and "Figure"? Then you should check the dblatex file with common Russian translations, e.g. /usr/share/dblatex/xsl/common/ru.xml.

I'd love to. But the person who wrote

for something that actually contains letters of cyrillic alphabet and then wrote actual text as, e.g.

deserves a hard kick in the butt. I'll try not to shout too loud when talking to dblatex crowd.

Alexandre

Alexandre Prokoudine
2010-02-26 22:48:05 UTC (about 15 years ago)

buildiing PDF from git

On 2/25/10, Alexandre Prokoudine wrote:

I'd love to. But the person who wrote

for something that actually contains letters of cyrillic alphabet and then wrote actual text as, e.g.

deserves a hard kick in the butt. I'll try not to shout too loud when talking to dblatex crowd.

I'll talk to them when I have time, but for now I finally installed XeteX extension it everything just worked like a charm: the PDF build, the PDF bookmarks tree, fonts are vector, text is searchable... Maybe we could use XeTeX by default?

Alexandre

Alexandre Prokoudine
2010-02-26 22:54:28 UTC (about 15 years ago)

buildiing PDF from git

On 2/27/10, Alexandre Prokoudine wrote:

Maybe we could use XeTeX by default?

Some things could be tuned however. By default the contents is created to the lowest level (6th in some cases), whereas it should stop at x.x.x. And quote marks should be tuned on per language basis. In Russian e..g. we use guillemots (French quote marks). The spacing between number of chapter in its caption in the contents is too close as well.

But apart from those tiny things, as stated above, it just works.

Alexandre