GNU TeXmacs - Bugs: bug #60448, Customization of the LaTeX output...
You are not allowed to post comments on this tracker with your current authentication level.
bug #60448: Customization of the LaTeX output for math formulae
Submitter: | Aeh9quu9 <ohnie0ai> | ||
Submitted: | Fri 23 Apr 2021 03:09:39 PM UTC | ||
Category: | Conversion | Priority: | 5 - Normal |
Item Group: | Wishlist | Status: | None |
Privacy: | Public | Assigned to: | None |
Originator Name: | Open/Closed: | Open | |
Release: | None | Release: | 1.99.19 |
Fixed Release: | None | Fixed Release: | |
Keywords: |
Fri 23 Apr 2021 04:42:38 PM UTC, comment #2: |
Massimiliano Gubinelli <mgubi> |
Fri 23 Apr 2021 04:35:48 PM UTC, comment #1: Until a reasonable solution could be found you can customise yourself the coverter, since it is written in Scheme. The relevant file I think is 'TeXmacs/progs/convert/latex/texout.scm' where you find the function
|
Massimiliano Gubinelli <mgubi> |
Fri 23 Apr 2021 03:09:39 PM UTC, original submission:
I hope that there is a way to customize the LaTeX output for math formulae.
|
Aeh9quu9 <ohnie0ai> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Powered by Savane 3.13-02a9.
Corresponding source code
Alternative solution: if you do not want to modify TeXmacs source files you can override the scheme function texout (see the same file, line 440, for the original definition) to use your own math output. For example you can redefine it as
(tm-define (texout x)
(if (== (car x) '!math) (my-texout-math (cadr x))
(former x)))
which uses your own function in the first case and otherwise call the former (i.e. the original) implementation of texout, in this way you override the output for this tag.