bugGNU TeXmacs - Bugs: bug #43199, Defining a new kind of list

 
 

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

bug #43199: Defining a new kind of list

Submitted by:  Victor Porton <porton>
Submitted on:  Thu 11 Sep 2014 07:47:57 PM UTC  
 
Category: NonePriority: 5 - Normal
Item Group: ErrorStatus: Need Info
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: 1.99.2Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Wed 22 Mar 2017 10:31:29 PM UTC, comment #5:

If I knew your error I would just write it down! I'm not evil.

I'm trying to help by giving you plausible cause(s) for the problem and, more importantly, a sensible way to try solving it, based on lists that actually work.

Philippe Joyez <pjoyez>
Project Member
Tue 21 Mar 2017 10:59:58 AM UTC, comment #4:

What do you mean by the "second macro"? do you mean

<new-list|axioms-list|<value|aligned-dot-item>|<value|axiom-item>>

?

What exactly is my error?

Victor Porton <porton>
Tue 21 Mar 2017 07:42:48 AM UTC, comment #3:

Yeah, right it does NOT seem to follow exactly the documentation (sorry for the confusion): you do not pass any arg to the second macro. However, I'm not that fluent with styles and I don't know if that is correct or not.

Styles are tricky, and it's not because you do not succeed in doing something that there is a bug in the program. One thing is sure, though: Texmacs' own lists styles are defined using new-list, so it is certainly not broken.

I would advise you to try modifying list styles right in std-list.ts or another package where new-list is known to work until you figure what is wrong with your attempt. My uneducated guess is that in your case the issue could be with aligned-dot-item because it strangely appears as <macro|name|name> if you inactivate the new-list; it could be a missing use-package issue.

If you figure it out, maybe you could suggest a piece of information worth adding to the documentation.

Philippe Joyez <pjoyez>
Project Member
Sun 19 Mar 2017 10:04:56 PM UTC, comment #2:

I didn't mean that it works in previous versions.

You probably have a typo: You mean that it does NOT follow the documentation, right? What is my error then.

Yes, I do mean that it does not work as expected and it is a bug.

Victor Porton <porton>
Sun 19 Mar 2017 08:03:10 PM UTC, comment #1:

Sorry to come to this after so long.

The report is not entirely clear. Do you mean it worked with earlier versions (the report mentions texmacs 1.0.6) and then broke somewhere, or you simply cannot get your new list to work as you would want?

In any case, what is posted does seem to follow the documentation for new-list in customize-list.en.tm, which could perhaps explain why it does not yield the expected result (Note that I have never used such things, so maybe it is nevertheless correct).

Philippe Joyez <pjoyez>
Project Member
Thu 11 Sep 2014 07:47:57 PM UTC, original submission:

I attempt to make a list whose items look like $2^\circ$. The following package is supposed to do this. Try to use this package (also attached) with TeXmacs 1.99.2 and you'll see it does not work.

<TeXmacs|1.0.6>

<style|generic>

<\body>
<assign|axiom-item|<macro|x|<with|mode|math|<arg|x><rsup|\<circ\>>>>>

<new-list|axioms-list|<value|aligned-dot-item>|<value|axiom-item>>
</body>

<\initial>
<\collection>
<associate|language|american>
<associate|preamble|true>
<associate|src-special|normal>
</collection>
</initial>

Victor Porton <porton>

 

Attached Files
file #32074:  axioms.ts added by porton (345B - text/x-texmacs)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pjoyez (Posted a comment)
  • -unavailable- added by porton (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Mar 2017 08:03:10 PM UTCpjoyezStatusNone=>Need Info
    Thu 11 Sep 2014 07:47:57 PM UTCportonAttached File-=>Added axioms.ts, #32074

    Back to the top


    Powered by Savane 3.1-cleanup1