\definedescription question
I have this definition: \definedescription[Member][headstyle=bold, location=hanging,width=fit] What do I need to do if my description item has multiple paragraphs? A \par ends the description, so I need a definition of some sort of followup item without the heading. How do I do that? I'm using mkii. G
Hi Gerben,
Just use \startMember \stopMember as in the following:
\starttext
\startMember{Knuth and Ward}
\input knuth
\input ward
\stopMember
\Member{Knuth}
\input knuth
\input ward
\stoptext
Best regards: OK
On 21 Sep 2014, at 13:55, Gerben Wierda
I have this definition:
\definedescription[Member][headstyle=bold, location=hanging,width=fit]
What do I need to do if my description item has multiple paragraphs? A \par ends the description, so I need a definition of some sort of followup item without the heading. How do I do that? I'm using mkii.
G ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Thanks. That almost gives me the result I need.
What is missing is that the extra paragraphs of the Member are not indented.
G
On 21 Sep 2014, at 16:07, Otared Kavian
Hi Gerben,
Just use \startMember \stopMember as in the following:
\starttext
\startMember{Knuth and Ward} \input knuth
\input ward
\stopMember
\Member{Knuth} \input knuth
\input ward
\stoptext
Best regards: OK
On 21 Sep 2014, at 13:55, Gerben Wierda
wrote: I have this definition:
\definedescription[Member][headstyle=bold, location=hanging,width=fit]
What do I need to do if my description item has multiple paragraphs? A \par ends the description, so I need a definition of some sort of followup item without the heading. How do I do that? I'm using mkii.
G ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Better still. I found the solution:
\definedescription[Member][headstyle=bold,
location=hanging,width=fit]
\definemeasure[CAindent][12pt]
\setupindenting[yes,\measure{CAindent}]
\starttext
\input knuth
\par
\input knuth
\par
\startMember{Foo Foo Foo} \indenting[yes] \input knuth
\par \input knuth
\stopMember
\stoptext
\indenting[yes] after \startMember does the trick.
G
On 21 Sep 2014, at 19:57, Wolfgang Schuster
Am 21.09.2014 um 18:29 schrieb Gerben Wierda
: Thanks. That almost gives me the result I need.
What is missing is that the extra paragraphs of the Member are not indented.
Make a minimal example!
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Am 21.09.2014 um 20:32 schrieb Gerben Wierda
Better still. I found the solution:
\definedescription[Member][headstyle=bold, location=hanging,width=fit] \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \starttext \input knuth \par \input knuth \par \startMember{Foo Foo Foo} \indenting[yes] \input knuth \par \input knuth \stopMember \stoptext
\indenting[yes] after \startMember does the trick.
You can enable the paragraph indent for your descriptions with the indenting key. \definedescription [Member] [headstyle=bold, location=hanging, indenting={yes,medium}, width=fit] Wolfgang
Thanks. Can I do the same with \endnotes?
G
On 21 Sep 2014, at 21:33, Wolfgang Schuster
Am 21.09.2014 um 20:32 schrieb Gerben Wierda
: Better still. I found the solution:
\definedescription[Member][headstyle=bold, location=hanging,width=fit] \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \starttext \input knuth \par \input knuth \par \startMember{Foo Foo Foo} \indenting[yes] \input knuth \par \input knuth \stopMember \stoptext
\indenting[yes] after \startMember does the trick.
You can enable the paragraph indent for your descriptions with the indenting key.
\definedescription [Member] [headstyle=bold, location=hanging, indenting={yes,medium}, width=fit]
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
This was already answered in another thread.
G
On 22 Sep 2014, at 22:33, Gerben Wierda
Thanks. Can I do the same with \endnotes?
G
On 21 Sep 2014, at 21:33, Wolfgang Schuster
wrote: Am 21.09.2014 um 20:32 schrieb Gerben Wierda
: Better still. I found the solution:
\definedescription[Member][headstyle=bold, location=hanging,width=fit] \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \starttext \input knuth \par \input knuth \par \startMember{Foo Foo Foo} \indenting[yes] \input knuth \par \input knuth \stopMember \stoptext
\indenting[yes] after \startMember does the trick.
You can enable the paragraph indent for your descriptions with the indenting key.
\definedescription [Member] [headstyle=bold, location=hanging, indenting={yes,medium}, width=fit]
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Gerben Wierda
-
Otared Kavian
-
Wolfgang Schuster