1 Oct 2009 08:31
tex2lyx -n -f does not turn noweb code chunks into "scrab" in Debian?
Dear LyX Experts, I am stuck with a problem that seems to have been sorted out a few years ago (ticket 3004). The case was about lyx not being able to import a .nw (noweb) file, previously exported by lyx from a respective .lyx file (to test the noweb import function). I asked help from the lyx-users list some days ago but nobody there seems to be familiar with this subject. The result of the import test was reported in ticket 3004 to be a garbled .lyx file, and that's just what I have encountered (= "layout Standard" where I would expect "layout Scrab"). The ticket mentions that a particular user preferences were the culprit, but the details have been lost in the mists of time. I am currently running Debian (Squeeze) and Lyx 1.6.4, installed from .deb packages, in two machines. They both share this "feature". I have tried out inter alia /usr/share/lyx/examples/Literate.lyx, converted it to .nw with lyx, then back with $tex2lyx -n -f Literate.nw (using lyx and straight from the command line, also with option -c "literate-article"). No luck... I checked that the tex2lyx binary was replaced when updating to 1.6.4 (from the file's date, he import has not worked properly for me in earlier lyx versions either). I have not noticed anything amiss with the .nw files with emacs. When I look at the imported .lyx files it seems that tex2lyx does not recognise "<<chunkname>>=", signalling the start of the code chunk, and act accordingly (=apply scrap style to the code chunks). That kind of code seems to be in place, however, in(Continue reading)
Abdel.
RSS Feed