Uwe Stöhr wrote:

> I just committed a patch to the inicodesymbolds file to be able to write
> Armenian texts using the ArmTeX-package. It works well, except of bug
> 3498.

It does not work well, it is an ugly hack, see the attached file.

> In the file I defined "armtex" as package that yould be used when one of
> the characters in inserted to LyX. I expect that LyX will then
> automatically write \usepackage{armtex} to the document preamble, but this
> is not the case. But as the setting of other packages like "tipa" and
> "textcomp" works, I assume that have to declare armtex somewhere else,
> where?

Have a look at the head of the file, it is explained there. I extended the
explanation a bit, and also added some notes about ordering and
indentation. But the most important point is that your additions will screw
up any document that is e.g. english and uses a single armenian character.
IMO the unicode file should only contain safe commands that do not change
any other parts of the text. The armtex package redefines plain ASCII
characters, so they are not suitable for the unicode file.
Proper support would be done with a new encoding and without anything in the
unicode file, like in this file:
http://www.ctan.org/tex-archive/language/armtex/v2.0/examples/latex/raffi.tex


Georg

PS: Another case of first commit, then think

Attachment: armtex-bug.lyx
Description: application/lyx

Reply via email to