(sorry for the mistyping of the subject line in my previous post)

Hello,

I happened to check that splash.lyx compiled correctly in French.
As I found a wrongly justified line, I tried to correct this by inserting a Insert->Special Character->Protected Hyphen, which is not the correct solution of course as I should have inserted Insert->Formatting->Hyphenation Point.

My error stems for the fact that I have made a wrong translation in French, mixing up things between "Hyphen" and "Hyphenation" (I will correct this next time I update fr.po). Anyway as inserting hyphenation points is not a good idea IMHO in documents presented to new users, I will rephrase the line to eliminate the justification issue instead of inserting an hyphenation point.

But the main point is that splash.lyx did not compile anymore, as amsmath is not loaded at all in Document->Settings->Math Options.

Currently I see
  in lib/doc
Customization.lyx:\use_package amsmath 0
LaTeXConfig.lyx:\use_package amsmath 0
Tutorial.lyx:\use_package amsmath 0

  in lib/examples
aa_sample.lyx:\use_package amsmath 0
aas_sample.lyx:\use_package amsmath 0
achemso.lyx:\use_package amsmath 0
amsart-test.lyx:\use_package amsmath 0
amsbook-test.lyx:\use_package amsmath 0
chess-article.lyx:\use_package amsmath 0
chessgame.lyx:\use_package amsmath 0
docbook_article.lyx:\use_package amsmath 0
example_lyxified.lyx:\use_package amsmath 0
example_raw.lyx:\use_package amsmath 0
landslide.lyx:\use_package amsmath 0
listerrors.lyx:\use_package amsmath 0
Literate.lyx:\use_package amsmath 0
noweb2lyx.lyx:\use_package amsmath 0
script_form.lyx:\use_package amsmath 0
serial_letter1.lyx:\use_package amsmath 0
serial_letter2.lyx:\use_package amsmath 0
serial_letter3.lyx:\use_package amsmath 0
splash.lyx:\use_package amsmath 0

   in lib/templates
aa.lyx:\use_package amsmath 0
aastex6.lyx:\use_package amsmath 0
ACM-siggraph.lyx:\use_package amsmath 0
AGUTeX.lyx:\use_package amsmath 0
DocBook_article.lyx:\use_package amsmath 0
elsarticle.lyx:\use_package amsmath 0
frletter.lyx:\use_package amsmath 0
g-brief-de.lyx:\use_package amsmath 0
g-brief-en.lyx:\use_package amsmath 0
hollywood.lyx:\use_package amsmath 0
IJMPC.lyx:\use_package amsmath 0
IJMPD.lyx:\use_package amsmath 0
IOP-article.lyx:\use_package amsmath 0
kluwer.lyx:\use_package amsmath 0
koma-letter2.lyx:\use_package amsmath 0
letter.lyx:\use_package amsmath 0
poster-a0poster-colored.lyx:\use_package amsmath 0
poster-a0poster-simple.lyx:\use_package amsmath 0
slides.lyx:\use_package amsmath 0

So I suggest to turn on automatic loading of amsmath
(that would be "\use_package amsmath 1" everywhere it is currently set to 0).
It's not vital for the doc as only experienced users will modify the files, but it may be critical for those using the examples or templates files and falling on a cryptic message about \nobreakdash being an undefined command if they happen to use a protected hyphen. I think that a hint in the UserGuide, section A.4.2 would be welcome as well.

I can take these changes in charge if you find them appropriate.

--
Jean-Pierre




Reply via email to