Hi all, I'm new to the list, although I'm working with ConTeXt since last spring. I have been trying to find everything I need on my own, but there is a problem I cannot solve at this moment. The thing is I'm writing my PhD thesis, and I would like to have not only a "List of figures", but also a "List of algorithms" and a "List of formulas". Is there a simple way to create a "\placeXXX" command similar to the \placefigure and a "\placelistofXXXX" similar to the "\placelistoffigures"? I suppose they can be programmed, but I'd rather not to start learning how to program in ConTeXt right now. Thanks in advance Angel-Luis Garcia
2006/10/18, Ángel Luis García Fernández
Hi all,
I'm new to the list, although I'm working with ConTeXt since last spring. I have been trying to find everything I need on my own, but there is a problem I cannot solve at this moment. The thing is I'm writing my PhD thesis, and I would like to have not only a "List of figures", but also a "List of algorithms" and a "List of formulas". Is there a simple way to create a "\placeXXX" command similar to the \placefigure and a "\placelistofXXXX" similar to the "\placelistoffigures"? I suppose they can be programmed, but I'd rather not to start learning how to program in ConTeXt right now.
Thanks in advance
Angel-Luis Garcia
Hi Garcia, List of algorithms: <example> \definefloat[algorithm][algorithms] \starttext \placealgorithm {First algorithm} {write here your algorithm} \placealgorithm {Second algorithm} {write here another algorithm} \placelistofalgorithms % only index without heading %\completelistofalgorithms % index with heading \stoptext </example> List of formulas: http://wiki.contextgarden.net/Math#List_of_Formulas Wolfgang
Hi again,
List of algorithms:
<example>
\definefloat[algorithm][algorithms]
\starttext
\placealgorithm {First algorithm} {write here your algorithm}
\placealgorithm {Second algorithm} {write here another algorithm}
\placelistofalgorithms % only index without heading %\completelistofalgorithms % index with heading
\stoptext
</example>
this worked OK. Thanks a lot.
List of formulas:
I tried this before writing to the list: this doesn't work, but I guess I can use the same as above to create my own \placenamedformula Angel-Luis
On Thu, 19 Oct 2006, Ángel Luis García Fernández wrote:
Hi again,
List of algorithms:
<example>
\definefloat[algorithm][algorithms]
\starttext
\placealgorithm {First algorithm} {write here your algorithm}
\placealgorithm {Second algorithm} {write here another algorithm}
\placelistofalgorithms % only index without heading %\completelistofalgorithms % index with heading
\stoptext
</example>
this worked OK. Thanks a lot.
List of formulas:
I tried this before writing to the list: this doesn't work, but I guess I can use the same as above to create my own \placenamedformula
This should work. Infact, the image on the wiki is generated automatically from the code. Maybe your version of ConTeXt is a bit old. I think that \placenamedformula was added around May this year. You may want to update your installation. Aditya
participants (3)
-
Aditya Mahajan
-
Wolfgang Schuster
-
Ángel Luis García Fernández