On 2013-06-16, Alexandru Cabuz wrote:

...

> I am using the Romanian Standard keyboard layout, which uses diacritics
> with comma-below, such as ș and ț.

> They appear correctly in BOTH the interface and the pdf output, except I
> still get the popup with the error:

> Could not find Latex command for character 'ș' (code point 0x219).

> Some characters of your document are probably not representable in the
> chosen encoding.

> Changing the document encoding to utf8 could help.

> This error seems to be pointless. How can I get rid of it?

What "LaTeX encoding" do you use? Maybe it is "latin10", which fakes the
comma-below accent: 

\ProvideTextCommandDefault\textcommabelow[1]
  {\hmode@bgroup\ooalign{\null#1\crcr\hidewidth
     \raise-.31ex\hbox{\check@mathfonts
                       \fontsize\ssf@size\z@
                       \math@fontsfalse\selectfont,}\hidewidth}\egroup}

Does it work, if you copy and past from the PDF or
search for a word with comma below accented character(s)?

> I have searched through the user archives, including the old archives,
> could not find an answer to this.

The problem is that:

* LaTeX has no proper support for the comma below.
  http://tug.org/pipermail/tex-live/2008-August/017204.html
  http://en.wikipedia.org/wiki/Romanian_alphabet#.28La.29TeX
    
* LyX has no mapping for the Unicode characters with comma below.

#0x0218 ""                         "" "" # LATIN CAPITAL LETTER S WITH COMMA 
BELOW
#0x0219 ""                         "" "" # LATIN SMALL LETTER S WITH COMMA BELOW
#0x021a ""                         "" "" # LATIN CAPITAL LETTER T WITH COMMA 
BELOW
#0x021b ""                         "" "" # LATIN SMALL LETTER T WITH COMMA BELOW

  We could add the fallback overlay definition from latin10.def and
  use \textcommabelow{} in the "unicodesymbols" Unicode -> LaTeX mapping.

* A proper solution would be to use XeTeX or LuaTeX engines and
  Unicode-encoded fonts (Document>Settings>Fonts>use non-TeX fonts).
  
  
Günter  

Reply via email to