Hi Paolo,

I tried to build your small project "test.tar.gz".

> ! Package babel Error: Unknown language `italian'. Either you have
> (babel)                misspelled its name, it has not been installed,
> (babel)                or you requested it in a previous run. Fix its name,
> (babel)                install it or just rerun the file, respectively.

I didn't get this message but I got a another warning as:

  Package babel Warning: No hyphenation patterns were loaded for
  (babel)                the language `Italian'
  (babel)                I will use the patterns loaded for \language=0 instead.

My full console log is here:
 https://gist.github.com/shimizukawa/690ce8e7e1bb6de3b05e

Unfortunately, I'm not familiar to LaTeX and babel the I don't say
anything why that happen. My testing environment is:

* Ubuntu-12.04 LTS
* TeXLive 2012
* Sphinx-1.2.3
* make latexpdf SPHINXOPTS="-D language=it"

Regards,
--
Takayuki SHIMIZUKAWA
http://about.me/shimizukawa


2014-09-05 21:06 GMT+09:00 Paolo Cavallini <[email protected]>:
> Small test project attached.
> The command:
>
> make -e SPHINXOPTS="-D language='it'" latexpd
>
> triggers the error above. However, the pdf is produced.
> Thanks.
>
> Il giorno venerdì 5 settembre 2014 12:09:20 UTC+2, Paolo Cavallini ha
> scritto:
>>
>> If I can get some advice, I'll be happy of testing Sphinx development
>> version, if this is useful.
>>
>>
>> 2014-09-05 12:00 GMT+02:00 Paolo Cavallini <[email protected]>:
>>>
>>> I found that this is related to my custom Makefile, to do translations:
>>>
>>> latexpdf:
>>>     @for lang in $(LANGUAGES);\
>>>     do \
>>>         mkdir -p $(BUILDDIR)/latex/$(SOURCE)/$$lang
>>> $(BUILDDIR)/doctrees/$(SOURCE)/$$lang;\
>>>         echo "$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SOURCE)
>>> $(BUILDDIR)/latex/$(SOURCE)/$$lang";\
>>>         $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SOURCE)
>>> $(BUILDDIR)/latex/$(SOURCE)/$$lang;\
>>>         echo "Running LaTeX files through pdflatex...";\
>>>         $(MAKE) -C $(BUILDDIR)/latex/$(SOURCE)/$$lang all-pdf;\
>>>     done
>>>     @echo
>>>     @echo "pdflatex finished; the PDF files are in
>>> $(BUILDDIR)/latex/<language>.";\
>>>
>>> I'll try with the mainstream approach (sphinx-intl). Or better try with
>>> Sphinx 1.3, which ASAIK has a better supoport for internationalization?
>>>
>>> Thanks.
>>>
>>>
>>> 2014-09-05 11:35 GMT+02:00 Takayuki Shimizukawa <[email protected]>:
>>>>
>>>> Hi Paolo,
>>>>
>>>> Thanks for a reporting.
>>>>
>>>> Can you create a small sample to reproduce it? I read the linked page
>>>> you mentioned, but it is difficult to understand the case even if I
>>>> used google translator :(
>>>> And if possible, can you report it to the sphinx issue tracker and
>>>> attach the small sample?
>>>>
>>>> Thanks,
>>>> --
>>>> Takayuki SHIMIZUKAWA
>>>> http://about.me/shimizukawa
>>>>
>>>>
>>>> 2014-09-05 16:09 GMT+09:00 Paolo Cavallini <[email protected]>:
>>>> > I have:
>>>> > python-docutils 0.12+dfsg-1
>>>> > texlive-latex-base 2014.20140821-1
>>>> > I found that for Italian there is in fact a problem with quotes and
>>>> > shorthand[0], but it is not clear to me how to fix it from the Sphinx
>>>> > side.
>>>> >
>>>> > [0]
>>>> >
>>>> > http://www.guitex.org/home/en/forum/5-tex-e-latex/94145-problema-con-shorthandoffq
>>>> >
>>>> > Il giorno mercoledì 3 settembre 2014 16:26:02 UTC+2, Paolo Cavallini
>>>> > ha
>>>> > scritto:
>>>> >>
>>>> >> I consistently get this error when make latexpdf, sphinx 1.2.2 and
>>>> >> 1.2.3
>>>> >> Any hint?
>>>> >> All the best.
>>>> >
>>>> > --
>>>> > You received this message because you are subscribed to the Google
>>>> > Groups
>>>> > "sphinx-users" group.
>>>> > To unsubscribe from this group and stop receiving emails from it, send
>>>> > an
>>>> > email to [email protected].
>>>> > To post to this group, send email to [email protected].
>>>> > Visit this group at http://groups.google.com/group/sphinx-users.
>>>> > For more options, visit https://groups.google.com/d/optout.
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "sphinx-users" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/sphinx-users/z5cn4p-YFZQ/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/sphinx-users.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>>
>>> --
>>> Paolo Cavallini http://www.faunalia.it/pc
>>
>>
>>
>>
>> --
>> Paolo Cavallini http://www.faunalia.it/pc
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to