mailing-list for TeXmacs Users

Text archives Help


Re: [SPAM] Re: pb export .tex


Chronological Thread 
  • From: Vincent Douce Mathoscope <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Re: [SPAM] Re: pb export .tex
  • Date: Fri, 23 Apr 2021 15:10:24 +0200

hi

thanks for the work
the .tex export has worked fine

now what i have understood :
- to copy paste a preamble from other software than texmacs : Edit -> Paste from -> TeXmacs
- sometimes if pb the instruction "Expand user-defined macros" (that must be somewhere) may be useful
- for the moment i have 2 solutions :
a) i can try to make some specifications like you if i create new macros ans need a .tex export
b) i can go on working as usual waiting that the bug be corrected

i am going nowto work on what Giovanni has written in order to undersatnd better the way macros work

question : how can i assign a macro to a shortcut ?

thanks

Vincent

Le 23 avr. 2021 à 12:57, Giovanni Piredda <address@hidden> a écrit :

You are welcome Vincent.

Copy with Ctrl+c and paste onto the preamble using Edit -> Paste from -> TeXmacs

With this preamble, you do not need to select "Expand user-defined macros" in the preferences

Maybe also just selecting "Expand user-defined macros" would have worked, but I did not test it with a document which contained one of the macros.

Giovanni

On 23.04.21 10:57, Vincent Douce Mathoscope wrote:
thank you Giovanni
i 'm sorry if you have already answered in the past
how can i copypaste this code into my preambule ?
Vincent

Le 22 avr. 2021 à 20:10, Giovanni Piredda <address@hidden <mailto:address@hidden>> a écrit :

Hi again Vincent,

I think I have found the origin of the bug and I am going to submit a bug report on Savannah (and link here).

As a workaround I propose to place in your preamble the following

<specific|texmacs|<assign|accoladroite|<macro|x|<math-table-base|<left|.><tformat|<cwith|1|-1|1|-1|cell-swell|<value|table-math-swell>>|<arg|x>><right|}>>>>>

<specific|texmacs|<assign|crochadroite|<macro|x|<math-table-base|<left|.><tformat|<cwith|1|-1|1|-1|cell-swell|<value|table-math-swell>>|<arg|x>><right|]>>>>>

<specific|latex|\\newenvironment{crochadroite}{\\left.\\begin{array}{l}}{\\end{array}\\right]}>

<specific|latex|\\newenvironment{accoladroite}{\\left.\\begin{array}{l}}{\\end{array}\\right\\}}>

which gave a LaTeX file which looked ok to me in my test.

Giovanni


On 21.04.21 23:06, Vincent Douce Mathoscope wrote:

hi
when exporting to .tex this file (with 1.99.18 and with 1.99.19)
the .tex resulted is empty

what shouldi do ?

----
Vincent Douce
https://lemathoscope.com/ <https://lemathoscope.com/> <https://lemathoscope.com/ <https://lemathoscope.com/>>
cours de maths postbac par visio


----
Vincent Douce
https://lemathoscope.com/ <https://lemathoscope.com/>
cours de maths postbac par visio


----
Vincent Douce
cours de maths postbac par visio




Archive powered by MHonArc 2.6.19.

Top of page