Am 02.09.2010 um 09:19 schrieb LyX Ticket Tracker:

> #6877: Cannot typeset english users guide (missing LaTeX command for 
> character)
> ---------------------------+------------------------------------------------
> Reporter:  stwitt         |       Owner:  uwestoehr
>     Type:  defect         |      Status:  new      
> Priority:  normal         |   Milestone:           
> Component:  documentation  |     Version:  2.0.0svn 
> Severity:  normal         |    Keywords:           
> ---------------------------+------------------------------------------------
> 
> Comment(by stwitt):
> 
> I see. The character '↵' is the output of the Info inset.
> The offending part of the Users Guide is:
> {{{
> \begin_inset Info
> type  "shortcut"
> arg   "break-paragraph inverse"
> \end_inset
> }}}
> 
> AFAICS, the LaTeX version is not the problem.
> The error message is from LyX in Buffer::makeLaTeXFile().
> LyX says in other words: "I cannot produce a LaTeX file because of the
> uncodable character 0x21b5 I found in document."
> 
> So one has to change the Info-Inset or to add the LaTeX for code point
> 0x21b5. (Or the encoding of the Users Guide, perhaps?)
> 
> I cannot tell why this is not happen on all platforms...

Perhaps because other platforms have other shortcuts.

For me the following patch seems ok - any objections?

Stephan

Index: lib/unicodesymbols
===================================================================
--- lib/unicodesymbols  (Revision 35330)
+++ lib/unicodesymbols  (Arbeitskopie)
@@ -1723,6 +1723,7 @@
 0x2194 ""                         "" "" "\\leftrightarrow" # LEFT RIGHT ARROW
 0x2195 ""                         "" "" "\\updownarrow" # UP DOWN ARROW
 0x21a8 "{\\ascii\\ETB}"           "ascii" "" # UP DOWN ARROW WITH BASE
+0x21b5 "{\\Pisymbol{psy}{191}}"   "pifont" "" # RETURN KEY
 #
 # math symbols
 #

Reply via email to