Hi again,

From: Matej Cepl <[EMAIL PROTECTED]>

# Are you with me?

  I'm afraid not : 

# On Wed, Dec 12, 2001 at 09:11:04AM +0000, Etienne Grossmann wrote:
# > 1)  Put a line  '\kmod % caron aeiouAEIOU' in the file
# >      '~/.lyx/kbd/mine.kmap' (or whatever keyboard map LyX uses)

# Sorry, but it is not what I was looking for. I have pretty good
# support of Czech in X, but I was interested in inserting just one
# character without ERT, when document is not in Latin-2 encoding.

   I have a caron'd 'e' in newfile.lyx below, which is plain ascii
   afaict. In LyX, I see the accentuated char (not ERT) and in the
   file, I see this '\i \v{e}' sequence (I don't know what the \i is
   for; it disappears when I export to .tex or .txt).

   Clearly, the (US) keyboard did not send the code for a latin-2
   char.

# Normally, when I write latin-2 character to the latin-1 document,
# the result is wrong, because lyx writes bytecode of the character
# in document which is then interpreted according to latin-1
# coding. This direct writing of latin-2 characters is certainly
# correct when writing Czech document (excessive amount of \v and
# \' reduces readability down to zero), but it is no good when the
# document is in latin-1.

  I understand that you don't want the latin-2 code for \v{e} in a
  document that is ascii encoded. In my case, I don't think the
  latin-2 code appears anywhere.

  There must be something I did not understand; maybe another
  iteration? Let me see, your keyboard sends latin-2 codes or, just
  ascii or latin-1? I don't know for sure what characters X echoes. In
  your case, does it send to LyX latin-2, or ascii characters?

  Cheers,

  Etienne

# I thought previously, that I will have to always use ERT, but now
# to my surprise reLyX made the Right Thing and translated Czech
# character to TeX digraph. So, my original question was, whether
# it is possible to insert such digraph in LyX without restoring to
# ERT.

 newfile.lyx =========================================================
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

For me, who've never seen any, \i \v{e}
 is a strange character.
\the_end
======================================================================

-- 
Etienne Grossmann ------ http://www.isr.ist.utl.pt/~etienne

Reply via email to