Re: [Gimp-docs] 'make pdf' fails



On Mon, Dec 07, 2015 at 09:17:23PM +0100, Julien Hardelin wrote:

Same here. "make html-fr", "make pdf-en", and "make pdf-de" worked,
"make pdf-fr" failed.

Maybe this is related to the "Compatibility with the french package"
problem mentioned in the babel user guide (try "texdoc babel")?

"make pdf-fr" works under OpenSuse-LEAP-42.1!
It does  not work under Ubuntu-15.10 and 1.04.
That looks like a problem with Ubuntu. Which OS did you use to test?

openSUSE-13.2, but self-built dblatex-0.3.7 and the Tex Live-2015 DVD
from http://tug.org/texlive/ instead of openSUSE's packages.

I don't understand the relation with Babel.

'lang="fr"' in the French gimp.xml file seemed to be the problem.

The babel user guide reads:

"4.3 Compatibility with the french package
It has been reported to me that the package french by Bernard Gaulle
(gaulle idris fr) works together with babel. On the other hand, it
seems not to work well together with a lot of other packages.
Therefore I have decided to no longer load french.ldf by default.
Instead, when you want to use the package by Bernard Gaulle, you will
have to request it specifically, by passing either frenchle or
frenchpro as an option to babel."

'frenchle' and 'frenchpro' are obsolete, but there's a package named
'babel-french'. When I installed that package *and* changed the dblatex
language file:

--- /usr/share/dblatex/xsl/lang.xsl     2015-08-07 ...
+++ /usr/share/dblatex/xsl/lang.xsl     2015-12-08 ...
@@ -106,7 +106,7 @@
     <xsl:when test="starts-with($lang,'es')">spanish</xsl:when>
     <xsl:when test="starts-with($lang,'et')">estonian</xsl:when>
     <xsl:when test="starts-with($lang,'fi')">finnish</xsl:when>
-    <xsl:when test="starts-with($lang,'fr')">french</xsl:when>
+    <xsl:when test="starts-with($lang,'fr')">frenchb</xsl:when>
     <xsl:when test="starts-with($lang,'ga')">irish</xsl:when>
     <xsl:when test="starts-with($lang,'gd')">scottish</xsl:when>
     <xsl:when test="starts-with($lang,'gl')">galician</xsl:when>

it worked.

Bye,
Ulf

-- 
Typisch für den Politiker ist nicht, daß er eine Partei
vertritt, sondern daß er jede vertreten könnte.
                -- Karlheinz Deschner

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]