← Back to team overview

kicad-doc-devs team mailing list archive

Re: Problem building Japanese version of pcbnew.pdf

 

And one more update ...

Am 06.05.18 um 17:07 schrieb Carsten Schoenert:
...
> Debian got recently the monthly update of texlive packages, so I tried
> to rebuild the documentation files also in testing which didn't got this
> update yet. The outcome is the same with exact the same error message
> then. But it's of possible that texlive is broken here for a longer time.
> 
> In the past we had a wrong working package xecjk.
> 
> https://bugs.debian.org/871327
> 

I was able to get some files from the run, you need to run dblatex
--debug foo ...

According to

> pcbnew.tex:900: Undefined control sequence \@empty.
> pcbnew.tex:900: leading text: ... Down} 及び \texttt{スペース バー\`{})。\`{}エスケープ}
> pcbnew.tex:900: Undefined control sequence \@empty.
> pcbnew.tex:900: leading text: ... Down} 及び \texttt{スペース バー\`{})。\`{}エスケープ}
> Unexpected error occured

the lines in pcbnew.tex are looking this:

>  898 \item{} キーボード(ファンクションキー \texttt{F1}, \texttt{F2}, \texttt{F3}, \texttt{F4}, \texttt{Shift}, \texttt{Delete}, \texttt{+}, \texttt{-{}}, \texttt{Page
>  899   Up}, \texttt{Page Down} 及び \texttt{スペース バー\`{})。\`{}エスケープ} キーは、一般的に進行中の操作を取り消します。
>  900                                                    ^^     ^^

This looks indeed not correct as the two curly brackets in line 899 are
empty and shouldn't be here.

The string in the po files looks a bit different.

>  4110 # 07102015:訂正
>  4111 #. type: Plain text
>  4112 #: pcbnew_general_operations.adoc:24
>  4113 msgid ""
>  4114 "Keyboard (Function keys `F1`, `F2`, `F3`, `F4`, `Shift`, `Delete`, `+`, `-`, "
>  4115 "`Page Up`, `Page Down` and `Space bar`). The `Escape` key generally cancels "
>  4116 "an operation in progress."
>  4117 msgstr ""
>  4118 "キーボード(ファンクションキー `F1`, `F2`, `F3`, `F4`, `Shift`, `Delete`, `"
>  4119 "+`, `-`, `Page Up`, `Page Down` 及び `スペース バー`)。`エスケープ` キーは、"
>  4120 "一般的に進行中の操作を取り消します。"

So for a better comparing ...

> \texttt{Page Down} 及び \texttt{スペース バー\`{})。\`{}エスケープ} キーは、一般的に進行中の操作を取り消します <-- tex file
>        `Page Down` 及び         `スペース バー`  )。   `エスケープ` キーは、"                           <--  po file

Why is dblatex adding here two empty curly brackets?

-- 
Regards
Carsten Schönert


Follow ups

References