bugGNU TeXmacs - Bugs: bug #58700, Templates ignores environment...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #58700: Templates ignores environment variables `enrich-x-long`

Submitter:  Aeh9quu9 <ohnie0ai>
Submitted:  Sat 04 Jul 2020 11:11:03 AM UTC
   
 
Category:  None Priority:  5 - Normal
Item Group:  Error Status:  Works For Me
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Sat 24 Oct 2020 05:10:44 PM UTC, comment #1: 

I don't think that this is really a bug.

These enrich* boolean variables are mainly provided as a hint on whether the sectional tags have a block or inline rendering style.  If you are writing your own style file, then it is good practice to define them.

Joris van der Hoeven <vdhoeven>
Group administrator
Sat 04 Jul 2020 11:11:03 AM UTC, original submission:  

After searching with `grep`, I only find that in the template `amsart`, the variables `enrich-x-long` are vacuously set:

https://github.com/texmacs/texmacs/blob/7de299dcb73b8a0485bc740cb2315fc6ec193987/TeXmacs/styles/article/ams/amsart.ts#L74

However, in the rendering, it is still hard-coded, not an `if` branch to test:

https://github.com/texmacs/texmacs/blob/7de299dcb73b8a0485bc740cb2315fc6ec193987/TeXmacs/styles/article/ams/amsart.ts#L96

Since the document suggest tuning these variables

http://www.texmacs.org/tmdoc/devel/style/customize/customize-sections.en.html

I report this issue as a bug.

Aeh9quu9 <ohnie0ai>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by ohnie0ai (Submitted the item)
  •  

    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
    2020-10-24 vdhoeven StatusNone Works For Me
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code