Subject: mailing-list for TeXmacs Users
List archive
From : eric herbert <address@hidden>- To: TeXmacs <address@hidden>, address@hidden
- Subject: Re: latex Copy vs latex export accentuated letters
- Date: Mon, 19 Oct 2020 11:01:06 +0200
ok, my bad, the latex conversion options was updated only after closing
texmacs.
thanks
Éric
On 15/10/2020 01:29, TeXmacs wrote:
> Dear Eric,
>
> On Wed, Oct 14, 2020 at 04:47:26PM +0200, eric herbert wrote:
>> dear all
>>
>> I'm a bit confused about latex output for accentuated letters.
>>
>> Exporting a file with the only letter "é" will success:
>>
>>
>> #######
>>
>> \documentclass{article}
>> \usepackage[french]{babel}
>> \usepackage[utf8]{inputenc}
>>
>> \documentclass{article}
>> \usepackage[french]{babel}
>>
>> %%%%%%%%%% Start TeXmacs macros
>> \catcode`\é=\active \defé{{\'e}}
>> %%%%%%%%%% End TeXmacs macros
>>
>> \begin{document}
>>
>> é
>>
>> \end{document}
>>
>> #######
>>
>>
>> However Copy to Latex the same "é" will fail, showing the corresponding
>> utf8 characters:
>>
>> é
>>
>>
>> I tried to play with ASCII / catcode / UTF8 in the conversion to latex
>> menu without effect.
> Copying and pasting is not quite the same as exporting a file,
> since we cannot create a preamble with catcodes during copy and paste.
>
> Nevertheless, I failed to reproduce the problem when using appropriate
> user preferences for TeXmacs -> LaTeX conversions (Edit -> Preferences ->
> Convert -> LaTeX). More specifically, I use the 'Ascii' encoding and
> have boxes 1, 2, and 5 checked.
>
> Best wishes, --Joris
--
# Éric Herbert -- 01 57 27 50 16
# Université Paris Diderot
# Laboratoire LIED -- http://www.lied-pieri.univ-paris-diderot.fr/
# équipe DyCo -- http://www.dyco.fr
- latex Copy vs latex export accentuated letters, eric herbert, 10/14/2020
- Re: latex Copy vs latex export accentuated letters, TeXmacs, 10/15/2020
- Re: latex Copy vs latex export accentuated letters, eric herbert, 10/19/2020
- Re: latex Copy vs latex export accentuated letters, TeXmacs, 10/15/2020
Archive powered by MHonArc 2.6.19.