Le 12/10/2016 à 11:40, Guenter Milde a écrit :
On 2016-10-12, Jean-Pierre Chrétien wrote:
[-- Type: text/plain, Encoding: 8bit --]
Le 12/10/2016 à 09:23, Jean-Pierre Chrétien a écrit :
Same here:
$ egrep /article.cls ./Testing/.lyx/clsFiles.lst
/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
I will investigate with the new debug switch.
"Hand-compiling" may be easier in this case, as no changes to the
document are required.
Attached is the log, latex complains about missing constructs.
The strange thing is, that the log mentions font encoding OT1:
Desc: LaTeX Error: Command \DH unavailable in encoding OT1.
Text: \item [{D0}] Ð
Ñ Ò Ó Ô Õ Ö \texttimes{} Ø Ù Ú Û Ü Ý Þ ß
However, the samples use LyX's defaut for the font encoding, i.e. T1.
What does the source-preview (or an exported LaTeX file) show in the preamble?
Here, it is:
...
\usepackage{lmodern}
\renewcommand{\sfdefault}{lmss}
\renewcommand{\ttdefault}{lmtt}
\usepackage[T1]{fontenc}
...
No difference here.
But there is something fishy with the fonts. If I compare the fonts in the pdf2
produced ny ctest and the fonts in the pdf produces manually, they differ (see
attached). And if I examine the two pdfs, they actually differ: some characters
differ slightly, like '~' and 'Superscript ~'.
So I began to suspect the perl script which converts the file towards a
compilation with defaultF. As the converted file seems destructed after the
test, I ran
$perl /ext/lyx/master/development/autotests/useSystemFonts.pl
/ext/lyx/master/autotests/export/latex/Unicode-characters/001-4-latin-utf8.lyx
/tmp/001-4-latin-utf8.lyx defaultF pdf2
Alas, the two files are alike:
$diff
/ext/lyx/master/autotests/export/latex/Unicode-characters/001-4-latin-utf8.lyx
/tmp/001-4-latin-utf8.lyx
$
I must be wrong there, as if I try pdf4 instead of pdf2, the files do not differ
either (they should apparently, inputencoding should be 'ascii').
I used to be quite fluent in perl, but I do not understand the script very well.
Any other idea? What should I xhnage in the perl script od the lyxStatus module
to keep the files and the temp buffer?
--
Jean-Pierre
Manual compilation:
$ pdffonts
../master/autotests/export/latex/Unicode-characters/001-4-latin-utf8.pdf
name type encoding emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
QVKAAZ+LMRoman12-Bold Type 1 Custom yes yes
no 4 0
IPLANV+LMRoman10-Regular Type 1 Custom yes yes
no 5 0
IPLANV+LMRoman10-Regular Type 1 Custom yes yes
no 6 0
MFVASO+LMRoman5-Regular Type 1 Custom yes yes
no 7 0
INEOMT+TeX-tipa10 Type 1 Builtin yes yes
no 8 0
CNJNWV+TeX-tipx10 Type 1 Builtin yes yes
no 14 0
ctest compilation
$ pdffonts
./autotests/out-home/latex/Unicode-characters/001-4-latin-utf8_defaultF.pdf2
name type encoding emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
XKGASH+CMBX12 Type 1 Builtin yes yes
no 4 0
WJNUQW+CMR10 Type 1 Builtin yes yes
no 5 0
SYFPBV+CMMI10 Type 1 Builtin yes yes
no 6 0
UABGXL+CMSY10 Type 1 Builtin yes yes
no 7 0
LSMVDS+SFRM1000 Type 1 Custom yes yes
no 8 0
ZYRONH+CMU10 Type 1 Builtin yes yes
no 9 0
LQOWAC+CMSY5 Type 1 Builtin yes yes
no 10 0
INEOMT+TeX-tipa10 Type 1 Builtin yes yes
no 11 0
QLLROR+CMR5 Type 1 Builtin yes yes
no 17 0
CNJNWV+TeX-tipx10 Type 1 Builtin yes yes
no 18 0