Am Samstag, den 12.01.2019, 14:10 +0000 schrieb Guenter Milde:
> With TeXLive 2018 or newer, inputenc is always autoloaded by 8-bit
> TeX.
> https://github.com/latex3/latex2e/issues/24

I know.

> This is why the line
>   \inputencoding{latin9}
> does not lead to an error with TeXLive >= 2018.

But I don't have this line in my output!

> As the export uses latin9 as file encoding with the setting
> "\inputencoding utf8-cjk" (see below), Latin based scripts come out
> correct in the PDF.

Not here! It's utf8. See the attachment (LaTeX [normal] export of 001-
4-latin.lyx with encoding set to "Unicode (CJK)")


> I attach 3 samples (*.lyx and *.tex exported with LyX built from git
> commit
> hash 48483017).

The mail had no attachments.

> Suggestions
> -----------
> 
> * If \inputencoding is "utf8", use UTF8 for CJK, too:
> 
>    1. call \usepackage{CJKutf8} instead of \usepackage{CJK}.¹
>   
>    2. start CJK environments with \begin{CJK}{UTF8}{<CJKfamily>}

We do this with utf8-cjk, not not utf8. As we load the CJK environment
only with the -cjk encoding for the traditional CJK encodings.

> * If \inputencoding is "Language Default" or another 8-bit encoding,
> use a
>   suitable "safe" CJK font encoding.

That's what we do.

> * What is the intended use of "utf8-cjk"? 

See above.

>   Could it be removed or replaced with a separate \cjk-inputencoding
>   setting?

I don't understand.

Jürgen

> 
> 
> Thanks,
> 
> Günter
> 
%% LyX 2.4.0dev created this file.  For more info, see https://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage{lmodern}
\renewcommand{\sfdefault}{lmss}
\renewcommand{\ttdefault}{lmtt}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{textcomp}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{setspace}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% custom text accent \LyxTextAccent[<rise value (length)>]{<accent>}{<base>}
\newcommand*{\LyxTextAccent}[3][0ex]{%
  \hmode@bgroup\ooalign{\null#3\crcr\hidewidth
  \raise#1\hbox{#2}\hidewidth}\egroup}
%% select a font size smaller than the current font size:
\newcommand{\LyxAccentSize}[1][\sf@size]{%
  \check@mathfonts\fontsize#1\z@\math@fontsfalse\selectfont
}
\ProvideTextCommandDefault{\textcommabelow}[1]{%%
  \LyxTextAccent[-.31ex]{\LyxAccentSize,}{#1}}

\ProvideTextCommandDefault{\textcommaabove}[1]{%%
  \LyxTextAccent[.5ex]{\LyxAccentSize`}{#1}}

%% use comma accent instead of cedilla for these characters:
\DeclareTextCompositeCommand{\c}{T1}{g}{\textcommaabove{g}}
\DeclareTextCompositeCommand{\c}{T1}{G}{\textcommabelow{G}}
\DeclareTextCompositeCommand{\c}{T1}{k}{\textcommabelow{k}}
\DeclareTextCompositeCommand{\c}{T1}{K}{\textcommabelow{K}}
\DeclareTextCompositeCommand{\c}{T1}{l}{\textcommabelow{l}}
\DeclareTextCompositeCommand{\c}{T1}{L}{\textcommabelow{L}}
\DeclareTextCompositeCommand{\c}{T1}{n}{\textcommabelow{n}}
\DeclareTextCompositeCommand{\c}{T1}{N}{\textcommabelow{N}}
\DeclareTextCompositeCommand{\c}{T1}{r}{\textcommabelow{r}}
\DeclareTextCompositeCommand{\c}{T1}{R}{\textcommabelow{R}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\newenvironment{lyxlist}[1]
	{\begin{list}{}
		{\settowidth{\labelwidth}{#1}
		 \setlength{\leftmargin}{\labelwidth}
		 \addtolength{\leftmargin}{\labelsep}
		 \renewcommand{\makelabel}[1]{##1\hfil}}}
	{\end{list}}

\makeatother

\usepackage{babel}
\begin{document}

\subsection*{1) Basic Latin}
\begin{lyxlist}{00.00.0000}
\item [{~}] 0 1 2 3 4 5 6 7 8 9 A B C D E F
\item [{20}] ! \textquotedbl{} \# \$ \% \& ' ( ) {*} + , - . /
\item [{30}] 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
\item [{40}] @ A B C D E F G H I J K L M N O
\item [{50}] P Q R S T U V W X Y Z {[} \textbackslash{} {]} \textasciicircum{}
\_
\item [{60}] ` a b c d e f g h i j k l m n o
\item [{70}] p q r s t u v w x y z \{ | \} \textasciitilde{}
\end{lyxlist}
\begin{singlespace}

\subsection*{2) Latin Extended}
\end{singlespace}
\begin{lyxlist}{00.00.0000}
\item [{A0}]   ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « \textlnot{} ­ ® ¯
\item [{B0}] ° \textpm{} \texttwosuperior{} \textthreesuperior{} ´ \textmu{}
¶ · ¸ \textonesuperior{} º » ¼ ½ ¾ ¿
\item [{C0}] À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï
\item [{D0}] Ð Ñ Ò Ó Ô Õ Ö \texttimes{} Ø Ù Ú Û Ü Ý Þ ß
\item [{E0}] à á â ã ä å æ ç è é ê ë ì í î ï
\item [{F0}] ð ñ ò ó ô õ ö \textdiv{} ø ù ú û ü ý þ ÿ
\end{lyxlist}

\subsection*{3) Latin Extended-A}
\begin{lyxlist}{00.00.0000}
\item [{100}] Ā ā Ă ă Ą ą Ć ć Ĉ ĉ Ċ ċ Č č Ď ď
\item [{110}] Đ đ Ē ē Ĕ ĕ Ė ė Ę ę Ě ě Ĝ ĝ Ğ ğ
\item [{120}] Ġ ġ Ģ ģ Ĥ ĥ  \textcrh{} Ĩ ĩ Ī ī Ĭ ĭ Į į
\item [{130}] İ ı IJ ij Ĵ ĵ Ķ ķ  Ĺ ĺ Ļ ļ Ľ ľ 
\item [{140}]  Ł ł Ń ń Ņ ņ Ň ň 'n{} Ŋ ŋ Ō ō Ŏ ŏ
\item [{150}] Ő ő Œ œ Ŕ ŕ Ŗ ŗ Ř ř Ś ś Ŝ ŝ Ş ş
\item [{160}] Š š Ţ ţ Ť ť  Ũ ũ Ū ū Ŭ ŭ Ů ů
\item [{170}] Ű ű Ų ų Ŵ ŵ Ŷ ŷ Ÿ Ź ź Ż ż Ž ž 
\end{lyxlist}

\subsection*{4) Latin Extended-B}
\begin{lyxlist}{00.00.0000}
\item [{180}] \textcrb{} \texthtc{} 
\item [{190}]  ƒ 
\item [{1A0}] 
\item [{1B0}]  \textcrtwo{}  \textcrinvglotstop{} \textwynn{}
\item [{1C0}] \textpipe{} \textdoublepipe{} \textdoublebarpipe{} ! Ǎ ǎ
Ǐ
\item [{1D0}] ǐ Ǒ ǒ Ǔ ǔ 
\item [{1E0}]  Ǣ ǣ  Ǧ ǧ Ǩ ǩ Ǫ ǫ 
\item [{1F0}] \v{\j}  Ǵ ǵ  \`{N} \`{n}  \'{\AE} \'{\ae} \'{\O} \'{\o}
\item [{200}] \textdoublegrave{A} \textdoublegrave{a} \textroundcap{A}
\textroundcap{a} \textdoublegrave{E} \textdoublegrave{e} \textroundcap{E}
\textroundcap{e} \textdoublegrave{I} \textdoublegrave{\i} \textroundcap{I}
\textroundcap{\i} \textdoublegrave{O} \textdoublegrave{o} \textroundcap{O}
\textroundcap{o}
\item [{210}] \textdoublegrave{R} \textdoublegrave{r} \textroundcap{R}
\textroundcap{r} \textdoublegrave{U} \textdoublegrave{u} \textroundcap{U}
\textroundcap{u} Ș ș Ț ț  \v{H} \v{h}
\item [{220}]  \.{A} \.{a} \c{E} \c{e}  \.{O} \.{o}
\item [{230}]  \={Y} \={y}  \textctn{} \textctt{} \j{} \textdblig{} \textqplig{}
\item [{240}] 
\end{lyxlist}

\end{document}

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to