digitalmars.D.learn - DDoc macro questions (usage)...
- clayasaurus (14/14) Oct 14 2005 Just got around to playing with DDoc and I have some questions about
- Regan Heath (5/15) Oct 14 2005 Yes.
- clayasaurus (2/27) Oct 14 2005
- Jarrett Billingsley (11/13) Oct 14 2005 Something like:
- clayasaurus (3/23) Oct 14 2005 Thanks. : )
- Derek Parnell (15/31) Oct 14 2005 To make my documentation looking less 'html'-centric I've defined two
- Walter Bright (10/22) Oct 15 2005 A compiler crash is *always* a compiler bug, and a bug report is apropos...
- Jarrett Billingsley (6/11) Oct 15 2005 OL is an "Ordered List," meaning that it will be shown with numbers (or
- Walter Bright (3/14) Oct 15 2005 Right.
- clayasaurus (4/38) Oct 15 2005 Thanks
Just got around to playing with DDoc and I have some questions about macros... 1) I was playing arond with macros but when I try Macros: RED = hello red world! or... LINK = www.dsource.org I crash the compiler :-/ Should I make another bug report? Or am I doing something horribly wrong. 2) How would you make a bulleted list with the macros? Thanks. ~ Clay
Oct 14 2005
On Fri, 14 Oct 2005 17:22:48 -0400, clayasaurus <clayasaurus gmail.com> wrote:Just got around to playing with DDoc and I have some questions about macros... 1) I was playing arond with macros but when I try Macros: RED = hello red world! or... LINK = www.dsource.org I crash the compiler :-/ Should I make another bug report?Yes.Or am I doing something horribly wrong.Maybe, maybe not.. IMO it shouldn't crash regardless. Regan
Oct 14 2005
Regan Heath wrote:On Fri, 14 Oct 2005 17:22:48 -0400, clayasaurus <clayasaurus gmail.com> wrote:Done.Just got around to playing with DDoc and I have some questions about macros... 1) I was playing arond with macros but when I try Macros: RED = hello red world! or... LINK = www.dsource.org I crash the compiler :-/ Should I make another bug report?Yes.Or am I doing something horribly wrong.Maybe, maybe not.. IMO it shouldn't crash regardless. Regan
Oct 14 2005
"clayasaurus" <clayasaurus gmail.com> wrote in message news:dip7i2$n07$1 digitaldaemon.com...2) How would you make a bulleted list with the macros?Something like: /********************* $(UL $(LI This is an item.) $(LI This is another item.) ) *********************/ I really wish it were easier to make lists. Maybe with some kind of special syntax.
Oct 14 2005
Jarrett Billingsley wrote:"clayasaurus" <clayasaurus gmail.com> wrote in message news:dip7i2$n07$1 digitaldaemon.com...Thanks. : ) ~ Clay2) How would you make a bulleted list with the macros?Something like: /********************* $(UL $(LI This is an item.) $(LI This is another item.) ) *********************/ I really wish it were easier to make lists. Maybe with some kind of special syntax.
Oct 14 2005
On Fri, 14 Oct 2005 20:27:06 -0400, Jarrett Billingsley wrote:"clayasaurus" <clayasaurus gmail.com> wrote in message news:dip7i2$n07$1 digitaldaemon.com...To make my documentation looking less 'html'-centric I've defined two macros thus ... LIST = <ul>$0</ul> ITEM = <li>$0</li> /********************* $(LIST $(ITEM This is an item.) $(ITEM This is another item.) ) *********************/ -- Derek Parnell Melbourne, Australia 15/10/2005 12:51:22 PM2) How would you make a bulleted list with the macros?Something like: /********************* $(UL $(LI This is an item.) $(LI This is another item.) ) *********************/ I really wish it were easier to make lists. Maybe with some kind of special syntax.
Oct 14 2005
"clayasaurus" <clayasaurus gmail.com> wrote in message news:dip7i2$n07$1 digitaldaemon.com...Just got around to playing with DDoc and I have some questions about macros... 1) I was playing arond with macros but when I try Macros: RED = hello red world! or... LINK = www.dsource.org I crash the compiler :-/ Should I make another bug report? Or am I doing something horribly wrong.A compiler crash is *always* a compiler bug, and a bug report is apropos. I've fixed that one, by the way. To work around, add a module declaration and attach the comment with the macros: section to that.2) How would you make a bulleted list with the macros?$(OL $(LI item 1) $(LI item 2) $(LI another item) )
Oct 15 2005
"Walter Bright" <newshound digitalmars.com> wrote in message news:dirh1p$2k4d$3 digitaldaemon.com...$(OL $(LI item 1) $(LI item 2) $(LI another item) )OL is an "Ordered List," meaning that it will be shown with numbers (or letters, depending on the nesting level). UL is an "Unordered List," meaning that the items technically could be shown in any order, so it is bulleted.
Oct 15 2005
"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message news:dirk0q$2m36$1 digitaldaemon.com..."Walter Bright" <newshound digitalmars.com> wrote in message news:dirh1p$2k4d$3 digitaldaemon.com...Right.$(OL $(LI item 1) $(LI item 2) $(LI another item) )OL is an "Ordered List," meaning that it will be shown with numbers (or letters, depending on the nesting level). UL is an "Unordered List," meaning that the items technically could be shown in any order, so it is bulleted.
Oct 15 2005
Walter Bright wrote:"clayasaurus" <clayasaurus gmail.com> wrote in message news:dip7i2$n07$1 digitaldaemon.com...Ok. I'll keep that in mind.Just got around to playing with DDoc and I have some questions about macros... 1) I was playing arond with macros but when I try Macros: RED = hello red world! or... LINK = www.dsource.org I crash the compiler :-/ Should I make another bug report? Or am I doing something horribly wrong.A compiler crash is *always* a compiler bug, and a bug report is apropos. I've fixed that one, by the way. To work around, add a module declaration and attach the comment with the macros: section to that.Thanks ~ Clay2) How would you make a bulleted list with the macros?$(OL $(LI item 1) $(LI item 2) $(LI another item) )
Oct 15 2005