texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Special characters in regular text?


From: Norbert Nemec
Subject: Re: [Texmacs-dev] Special characters in regular text?
Date: Tue, 11 Oct 2005 10:07:57 +0200
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050912)

Thanks. With that version it is better, but not yet perfect:

* The display of the file below is correct. I just wonder why the
backslash is displayed as red "<backslash>" instead of just showing the
character regularly.

* The problem of the double quote in the latex export is solved.

* The second row:

    x#x$x%x^x&x_x{x}x~x\<backslash\>x

is exported just as before:

    x \# x \$ x \% x\^{ }x\&x \_ x \{ x \} x\~{ }x{\backslash}x

where it should be

    x{\#}x{\$}x{\%}x\^{ }x{\&}x{\_}x{\{}x{\}}x\~{ }x$\backslash$x

Greetings,
Norbert


Joris van der Hoeven wrote:

>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
>>    
>>
>
>
>_______________________________________________
>Texmacs-dev mailing list
>address@hidden
>http://lists.gnu.org/mailman/listinfo/texmacs-dev
>
>
>  
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]