Impossible to use any other language than american or ngerman

Issue #109 resolved
paparone julien created an issue

As said in the title... Any modification of the sole main file by entering \selectlanguage{<any language>} instead of american would cause the following error :

 Missing \endcsname inserted.
<to be read again>
\unskip
l.12 ...s inspired by \citeauthor{bringhurst:2002}
's ``\emph{The Elements of...
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.
! Missing \endcsname inserted.

I tried it with french, spanish and italian.

I also tried to edit the config file by setting the package to pass to babel, but nothing did the trick.

Comments (9)

  1. Ivo Pletikosić

    Did you add the language as an option to \documentclass[french,ngerman,american]{scrreprt}? These global options will be forwarded to all packages, there's no need to add them to the call of babel.

  2. Ivo Pletikosić

    There was a bug report, I think, for French, where the colon gets redefined to a special character and makes a mess if the bibliography keys use it. But you should definitely work on a minimal file, start with scrrprt document class only, then add other packages. I've tried several other languages and they all worked fine. Remove all non-ascii characters, check that your text editor is saving in the right character encoding, upload your files somewhere for us to check. The error message you quoted doesn't say much. (we can continue by email, I don't think this has to do with classicthesis)

  3. paparone julien reporter

    It seems to effectively be linked to bibliography. I will work on that. Thanks for your help !

  4. Andrés Cabrera-León

    Dear Ivo and André,

    First of all, congratulations for the lyx version of classicthesis.

    I am having a lot of problems trying to use it with the Spanish language (running in Mac Yosemite 10.10.5). I set Spanish as the language in Document>Settings for all the lyx files related to the master file (ClassicThesis.lyx). I also added

    \PassOptionsToPackage{spanish,es-tabla,es-lcroman}{babel} \usepackage{babel}

    to the classicthesis-config.tex.

    When I try to view it (pdflatex), lyx finds similar errors in every lyx files included in classicthesis.lyx. For example:

    %%%%%

    \end{titlepage}

    I've run across a }' that doesn't seem to match anything. For example,\def\a#1{...}' and \a}' would produce this error. If you simply proceed now, the\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your }' was spurious, just type2' and it will go away.

    %%%%

    I loaded my files in Dropbox at https://www.dropbox.com/sh/9wkh3d1b5zim2jc/AABMx06yZaQ2KKoTDy7pPa7Xa?dl=0 with the "Complete LaTeX Errors Log.rtf" file and a screenshot of the error ("Error LaTeX Log screenshot.png").

    Could you please help me? Thank you very much in advance.

    Andrés Cabrera acabreraleon@gmail.com (Andalusian School of Public Health, Granada, Spain)

  5. Andrés Cabrera-León

    Dear Ivo and André, I have just solved my problem only writing in ClassicThesis.lyx "\pagenumbering{Roman}" instead of "\pagenumbering{roman}".

    I could not find that change in the notes (section 1.4), so please include it for future users.

    Best, Andrés

  6. Log in to comment