Skip to Content.
Sympa Menu

texmacs-users - Converting a user-defined TeXmacs list to a LaTeX environment

Subject: mailing-list for TeXmacs Users

List archive

Converting a user-defined TeXmacs list to a LaTeX environment


Chronological Thread 
  • From: Jeroen Wouters <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Converting a user-defined TeXmacs list to a LaTeX environment
  • Date: Wed, 10 Mar 2021 16:32:38 +0000

Dear TeXmacs users,

I have a user-defined list tag in my TeXmacs document that I would like to export to LaTeX as an environment.

In the TeXmacs document I have
    <\mylist>
    <item>a
    
    <item>b
    </mylist>

If I export this to LaTeX, I get
    {\mylist{\item a

    \item b}}

I would like this to convert to an environment in LaTeX (i.e. \begin{mylist} ... \end{mylist}). Is it possible to do this? I see some code in `TeXmacs/progs/convert/latex` that seems to add such tags to `latex-texmacs-environment`, but I can't get it to work.

Any suggestions would be greatly appreciated.

Best wishes,
Jeroen


  • Converting a user-defined TeXmacs list to a LaTeX environment, Jeroen Wouters, 03/10/2021

Archive powered by MHonArc 2.6.19.

Top of Page