Nikos Alexandris wrote:
2. While trying to export the document to pdf I get twice the "LyX:
Uncodable characters in listings inset \ The following characters in one
of the program listings are not representable in the current encoding
and have been omitted: -." #It's kind of a long dash!

After pressing "OK" the pdf is produced and viewed properly. Since I
have lots of Program Listing insets it's hard to tell where or what this
character is (?).

If you copied and pasted, you've probably got a character in the wrong encoding, possibly some sort of dash. The way to figure this out is to delete the second half, see if you still get the problem; if so, delete half of that; etc. That way you can narrow it down.

3. I've been reading about chktex. Although I got it installed from the
ubuntu repositories it does not appear under the Tool menu. I assume I
need to "add" it while compiling the source code (?)

Try Tools>Reconfigure. You need to do this whenever you make changes to LaTeX, your various tools, etc.

4. How do I create a custom "summary" environment (e.g. chapter summary)
an add it in the "book" document class?

The easiest thing to do is to create a Summary module that you could then use with different classes. See the part of the Customization manual on layout modules: section 5.2.1 and the surrounding material. If you know how to do it in LaTeX, it's pretty simple to do it in LyX. See hanging.module for an example.

Richard

Reply via email to