GNU TeXmacs - Bugs: bug #40709, LaTeX export of customized macros...
You are not allowed to post comments on this tracker with your current authentication level.
bug #40709: LaTeX export of customized macros redefines commands
Submitter: | Miguel de Benito <mdbenito> | ||
Submitted: | Tue 26 Nov 2013 12:42:53 PM UTC | ||
Category: | Conversion | Priority: | 5 - Normal |
Item Group: | Error | Status: | Fixed |
Privacy: | Public | Assigned to: | fpoulain |
Originator Name: | Open/Closed: | Closed | |
Release: | None | Release: | SVN 7906 |
Fixed Release: | None | Fixed Release: | |
Keywords: |
Thu 12 Dec 2013 03:03:40 PM UTC, comment #3: |
Francois Poulain <fpoulain> |
Thu 12 Dec 2013 12:00:57 PM UTC, comment #2: So, after discussing with Joris, we will apply policy 1). |
Francois Poulain <fpoulain> |
Tue 03 Dec 2013 04:03:06 PM UTC, comment #1: One problem is that there is no easy way to distinguish when the user defined macro is styling (which should be left away) and when the user macro is semantics (to be inserted in the LaTeX document).
|
Francois Poulain <fpoulain> |
Tue 26 Nov 2013 12:42:53 PM UTC, original submission:
Customization of macros using the new features (click on the wrench in the focus toolbar to edit the macro), inserts redefinitions of macros in the document preamble. These redefinitions are not handled by the LaTeX export, resulting in duplicate \newcommand{} and errors during latex compilation.
|
Miguel de Benito <mdbenito> |
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.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2013-12-12 | fpoulain | Open/Closed | Open | Closed | |
2013-12-12 | fpoulain | Status | Confirmed | Fixed | |
2013-11-26 | mdbenito | Attached File | - | Added test-custom-macro.tex, #29717 |
Powered by Savane 3.13-d3ae.
Corresponding source code
I fixed it, but the list of the TeXmacs macros (wich shouldn't be overwritten) is quite incomplete, I guess. For now I use the list of TeXmacs tags which have an explicit LaTeX conversion (i.e. defined in dispatcher).
But there is many tags wich behave well using standard implicit / syntaxic conversion.