Inevitably, sooner or later, you will hit a very nasty problem in document processing: some characters in your file will be unprintable! They may appear in the PDF as black boxes (for example
, in the OT1 font encoding), or simply wrong. Here is what you can do to solve this problem:
If you are using the OT1 font encoding[1], i.e. if your jadetex.cfg file contains the line
\usepackage[OT1]{fontenc}
|
then you have to enter the following characters in math mode:
(backslash)
FIXME
If you are using the T1 font encoding, i.e. if your jadetex.cfg file contains the line
\usepackage[T1]{fontenc}
|
then you can use the ae and aecompl packages in order to be able to write almost every european character:
\usepackage{ae,aecompl}
|
You will not, however, manage to get the two
symbols,
, printed correctly. If your purpose was to get the french quote characters
(the “guillemets”), then you could replace the ae and aecompl packages with the aeguill package, i.e. replace the above line in jadetex.cfg
with:
\usepackage{aeguill}
|
If your purpose was to get two
signs, one after another, just as if you were describing the effect of the “append” operator in
cat file1 >> file2 |
then you must enter the
in math mode.
![]() |
Note that the above holds for the standard LyX environment (see Section 5.1) and probably all other environments where you use the same font as in the body text. You don't need to worry about characters in the code environment, probably because programming code is usually written in the ASCII encoding and LyX uses CDATA in <screen> or <programlisting> environments, where ASCII (or, maybe the value of the SP_ENCODING environment variable) is the expected input encoding for Openjade. |
For more information on fonts and their encodings, see FIXME.
| [1] |
There are various reasons why you may want to use the Old TeX (OT1) font encoding: you want to use the original Computern Modern fonts (which are available only in
OT1) and/or have Mathematics (for which the original CM fonts are still a good choice), or you don't have other fonts, or you just find CM irresistible. |
| Last updated Mon Sep 24 01:19:25 CEST 2007 | Permalink: http://www.karakas-online.de/mySGML/unprintable-characters.html | All contents © 2002-2007 Chris Karakas |