[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Special characters in regular text?
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] Special characters in regular text? |
Date: |
Mon, 10 Oct 2005 11:33:19 +0200 |
User-agent: |
Mutt/1.5.9i |
Please try with todays version 1.0.5.10.
Some of the quoting routines have changed.
---------------------------
On Sun, Oct 09, 2005 at 07:02:31PM +0200, Norbert Nemec wrote:
> Somehow, the handling of ASCII-special characters is severely broken in
> TeXmacs 1.0.5.9:
>
> I have the following file tryout.tm:
> ----------------
> <TeXmacs|1.0.5>
>
> <style|generic>
>
> <\body>
> x:x;x,address@hidden/x(x)x=x?x'x"x[x]x\<less\>x\<gtr\>x\|x-x+x*x
>
> x#x$x%x^x&x_x{x}x~x\<backslash\>x
> < x#x$x%x^x&x_x{x}x~x\<backslash\>x
> </body>
>
> <\initial>
> <\collection>
> <associate|language|american>
> </collection>
> </initial>
> ----------------
>
> As you see, there are two lines with one "word" (no spaces!) each,
> containing all the different ASCII special characters. The first line
> contains those without special meaning in LaTeX, the second one those
> that have to be quoted in LaTeX.
>
> First, within TeXmacs:
> * The first line is displayed correctly, no problem.
> * In the first line, the double quote " cannot easily be entered with
> automatic quotes active. It would be helpful if:
> a) it could always be entered using the <\> <"> <return> key-sequence.
> b) automatic quotes would automatically be switched off in verbatim
> environments
> * The second line is displayed incompletely: the characters '^' '~' and
> '\' are physically there (you can enter them and cursor movement
> respects them) but they are not displayed and do not even have a width.
>
> Now, when exporting to LaTeX, I get complete garbage:
>
> -----------------
> \documentclass{letter}
>
> %%%%%%%%%% Start TeXmacs macros
> \newcommand{\tmbsl}{\ensuremath{\backslash}}
> %%%%%%%%%% End TeXmacs macros
>
> \begin{document}
>
> x:x;x,address@hidden/x(x)x=x?x'x \tmbsl "x[x]x<x>x|x-x+x*x
>
> x \# x \$ x \% x\^{ }x\&x \_ x \{ x \} x\~{ }x{\backslash}x
>
> \end{document}
> -----------------
>
> As you can see, there are various problems:
> * The doublequote gets \tmbsl and spaces prepended.
> * In the lower line, most characters have spaces around or some other
> garbage. What I would like to see is:
>
> -----------------
> \documentclass{letter}
>
> \begin{document}
>
> x:x;x,address@hidden/x(x)x=x?x'x \tmbsl "x[x]x<x>x|x-x+x*x
>
> x{\#}x{\$}x{\%}x\^{ }x{\&}x{\_}x{\{}x{\}}x\~{ }x$\backslash$x
>
> \end{document}
> -----------------
>
> Greetings,
> Norbert
>
>
>
> _______________________________________________
> Texmacs-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/texmacs-dev