Subject: mailing-list for TeXmacs Users
List archive
From : Sam Liddicott <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] How do I create a multi-argument macro?
- Date: Tue, 28 Feb 2012 22:15:41 +0000
- Authentication-results: mr.google.com; spf=pass (google.com: domain of address@hidden designates 10.60.4.10 as permitted sender) smtp.mail=address@hidden
Try alt-right instead of tab.
Sam
On Feb 28, 2012 10:14 PM, "Karl Hegbloom" <address@hidden> wrote:
I tried to create a multi-argument macro for abstracting legal statute citations. I want to enter something like \UTStatute Tab 78B Tab 7 Tab 115 Tab 3 Enter, and see 78B-7-115(3) in the document, and as I enter it, see <UTStatute|78B|7|115|3>. The thing is though, that I want to also be able to enter only the 78B, or the 78b-7, out to Title, Chapter, Section, Paragraph, SubLevel-1, SubLevel-2, SubLevel-3.
What I managed to get was the Title typeset, then it won't let me enter additional arguments. I think it needs to test for whether an argument has a value or not, since if it's an empty string, nothing should appear there; and if Section is not defined, there cannot be Paragraph or any sublevels.
Hypothetically, the expansion could contain labels or links, but for now, only the special formatting in terms of adding the parentheses and italics for sub-level letters.
- [TeXmacs] How do I create a multi-argument macro?, Karl Hegbloom, 02/28/2012
- Re: [TeXmacs] How do I create a multi-argument macro?, Sam Liddicott, 02/28/2012
- Re: [TeXmacs] How do I create a multi-argument macro?, Karl Hegbloom, 02/28/2012
- Re: [TeXmacs] How do I create a multi-argument macro?, Karl Hegbloom, 02/28/2012
- Re: [TeXmacs] How do I create a multi-argument macro?, Karl Hegbloom, 02/28/2012
- Re: [TeXmacs] How do I create a multi-argument macro?, El.Douwen, 02/29/2012
- Re: [TeXmacs] How do I create a multi-argument macro?, François-Xavier Thomas, 02/29/2012
- [TeXmacs] []from a to b, El.Douwen, 02/29/2012
- Re: [TeXmacs] []from a to b, Alvaro Tejero Cantero, 02/29/2012
- Re: [TeXmacs] []from a to b, El.Douwen, 02/29/2012
- Re: [TeXmacs] []from a to b, Alvaro Tejero Cantero, 02/29/2012
- [TeXmacs] []from a to b, El.Douwen, 02/29/2012
- Re: [TeXmacs] How do I create a multi-argument macro?, François-Xavier Thomas, 02/29/2012
- Re: [TeXmacs] How do I create a multi-argument macro?, Sam Liddicott, 02/28/2012
Archive powered by MHonArc 2.6.19.