cvs uses \textasciicircum and \textasciitilde for ^ and ~.
This is in difference to 1.1.6 where the original latex-
definitions were used. This doesn't matter as long as you
don't use latex2html. It doesn't knows the commands
\textasciicircum and \textasciitilde. Therefore it's better
to use the old definitions for this two characters.

attached a very small patch.

Herbert



-- 
http://www.lyx.org/help/
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.487
diff -u -r1.487 ChangeLog
--- src/ChangeLog       2001/12/28 21:52:59     1.487
+++ src/ChangeLog       2001/12/29 17:26:50
@@ -1,3 +1,8 @@
+2001-12-29  Herbert Voss  <[EMAIL PROTECTED]>
+
+       * paragraph_pimpl.C: change \textascii... to \...{}, so it works
+       with latex2html
+
 2001-12-28  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
        * screen.C (topCursorVisible): introduce a temp var for
Index: src/paragraph_pimpl.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/paragraph_pimpl.C,v
retrieving revision 1.26
diff -u -r1.26 paragraph_pimpl.C
--- src/paragraph_pimpl.C       2001/12/28 13:26:52     1.26
+++ src/paragraph_pimpl.C       2001/12/29 17:27:13
@@ -449,12 +459,12 @@
                        break;
                        
                case '~':
-                       os << "\\textasciitilde{}";
+                       os << "\\~{}";          // same as \textasciitilde;
                        column += 16;
                        break;
                        
                case '^':
-                       os << "\\textasciicircum{}";
+                       os << "\\^{}";          // same as \textasciicircum;
                        column += 17;
                        break;
                        

Reply via email to