[NTG-context] Wiki - question about Command/ pages which start with a space character
Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/startbuffer - https://wiki.contextgarden.net/Command/_startbuffer If it is on purpose: - What is the purpose, and which page should contain which documentation? If it is not: - Is there a way to automatically merge the content of the couple of pages, and to remove the "wrong" pages, or should it be done manually ? Thanks for your help. List : Command/ attachment Command/ background Command/ bar Command/ beginblock Command/ button Command/ characterkerning Command/ comment Command/ completecombinedlist Command/ completelistoffloats Command/ completelistofsorts Command/ completelistofsynonyms Command/ completeregister Command/ copylabeltext Command/ ctxfunction Command/ ctxfunctiondefinition Command/ currentlabel Command/ delimitedtext Command/ description Command/ enumeration Command/ fence Command/ fraction Command/ framed Command/ framedtext Command/ getbuffer Command/ hbox Command/ help Command/ high Command/ highlight Command/ label Command/ labellanguage Command/ labeltext Command/ labeltexts Command/ language Command/ leftlabeltext Command/ linenote Command/ low Command/ lowhigh Command/ lowmidhigh Command/ margindata Command/ mathcommand Command/ mathdoubleextensible Command/ mathextensible Command/ mathframed Command/ mathmatrix Command/ mathornament Command/ mathoverextensible Command/ mathovertextextensible Command/ mathradical Command/ mathtriplet Command/ mathunderextensible Command/ mathundertextextensible Command/ mathunstacked Command/ nextparagraphs Command/ note Command/ ornament Command/ paragraphs Command/ placecombinedlist Command/ placefloat Command/ placelistoffloats Command/ placelistofsorts Command/ placelistofsynonyms Command/ placement Command/ placepairedbox Command/ placeregister Command/ presetlabeltext Command/ referenceformat Command/ register Command/ rightlabeltext Command/ script Command/ section Command/ seeregister Command/ setupcombinedlist Command/ setupitemgroup Command/ setuplabeltext Command/ setuppairedbox Command/ setupregister Command/ shift Command/ sorting Command/ startattachment Command/ startbackground Command/ startbuffer Command/ startcolumnset Command/ startcomment Command/ startdelimitedtext Command/ startdescription Command/ starteffect Command/ startenumeration Command/ startfittingpage Command/ startfloattext Command/ startformula Command/ startframedtext Command/ starthelp Command/ startindentedtext Command/ startitemgroup Command/ startlabeltext Command/ startlinenote Command/ startlines Command/ startmakeup Command/ startmathalignment Command/ startmathcases Command/ startmathmatrix Command/ startmixedcolumns Command/ startnarrower Command/ startnote Command/ startpagecolumns Command/ startparagraphs Command/ startparallel Command/ startplacefloat Command/ startplacepairedbox Command/ startsection Command/ startsectionblock Command/ startstartstop Command/ startstop Command/ startstyle Command/ starttabulate Command/ starttextbackground Command/ starttyping Command/ startviewerlayer Command/ startxtable Command/ stoplinenote Command/ style Command/ synonym Command/ textbackground Command/ textnote Command/ tooltip Command/ type Command/ typebuffer Command/ unit ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] One-off theorem titles
Currently I am using something like \defineenumeration[lemma] [location=serried, headstyle=bold, text=Lemma, width=broad, style=italic] to define theorems, lemmas, etc. Sometimes a theorem or lemma will have its own name (e.g. Yoneda Lemma), and I find it slightly cumbersome to write something like 3.1 Theorem (Yoneda Lemma) 3.1 Lemma (Yoneda) 3.1 Lemma (Yoneda Lemma) and was really hoping that \startlemma[text={Yoneda Lemma}] would give me the desired 3.1 Yoneda Lemma but it doesn't. I would like to keep the whole setup the same and only change the text for this instance. Is there any way to implement this except for defining a whole new enumeration for one theorem/lemma/proposition by \startenumeration[text={Yoneda Lemma},location= ... ] Thank you. Severin ___ 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 ___
Re: [NTG-context] One-off theorem titles
Hi Severin, Maybe this is what you want: % begin %% defining \proclaim which is built in Plain-teX %% but has disappeared from ConTeXt \defineenumeration[proclaim] [text=, style=slanted, title=yes, titleleft=, titleright=, location=serried, width=fit, right={.~}] \setupnumber[proclaim][way=bysection,numbersection=yes] %% end definition \proclaim %% defining \remark \defineenumeration[remark] [text=, style=rm, title=yes, titleleft=, titleright=, location=serried, width=fit, right={.~}] \setupnumber[remark][number=proclaim] %% end definition \remark \starttext \input knuth.tex \startproclaim[lem:Yoneda]{Yanada Theorem} This is a theorem in set category theory. \stopproclaim \startremark{Remark} The above theorem and this remark are numbered sequentially. \stopremark \section{A new section} \input knuth.tex \startproclaim[lem:Yoneda2]{Yanada Theorem} As said above, this is a theorem in set category theory. \stopproclaim \startremark{Remark} The above theorem and this remark are numbered sequentially. \stopremark \stoptext % end Best regards: OK On 3 mars 2011, at 09:05, S Barmeier wrote: Currently I am using something like \defineenumeration[lemma] [location=serried, headstyle=bold, text=Lemma, width=broad, style=italic] to define theorems, lemmas, etc. Sometimes a theorem or lemma will have its own name (e.g. Yoneda Lemma), and I find it slightly cumbersome to write something like 3.1 Theorem (Yoneda Lemma) 3.1 Lemma (Yoneda) 3.1 Lemma (Yoneda Lemma) and was really hoping that \startlemma[text={Yoneda Lemma}] would give me the desired 3.1 Yoneda Lemma but it doesn't. I would like to keep the whole setup the same and only change the text for this instance. Is there any way to implement this except for defining a whole new enumeration for one theorem/lemma/proposition by \startenumeration[text={Yoneda Lemma},location= ... ] Thank you. Severin ___ 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 ___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: otared.kav...@math.uvsq.fr ___ 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 ___
Re: [NTG-context] One-off theorem titles
Am 03.03.2011 um 09:05 schrieb S Barmeier: \startenumeration[text={Yoneda Lemma},location= ... ] Enumeration don’t support key-val-input for the commands and environments (although it isn’t hard to add it). The both arguments are “[reference]” and “{title}”. Besides the already presented solution here is one which use the annotation module (local replacement of the enumeration text doesn’t work because \setupenumerations resets the counter): \usemodule[annotation] % solution 1 %\defineenumeration % [thelemma] % [ location=serried, %text=Lemma, % width=broad] % %\define[2]\LemmaCommand % {\doiftext %{\placeannotationtitle} %{\setupenumerations[thelemma][text=\placeannotationtitle]}% % \startthelemma#2\stopthelemma} \defineenumeration [thelemma] [ location=serried, text=\placeannotationtitle, width=broad] \define[2]\LemmaCommand {\doiftextelse{\placeannotationtitle} {} {\def\placeannotationtitle{Lemma}}% \startthelemma#2\stopthelemma} \defineannotation [lemma] [alternative=command, command=\LemmaCommand] % solution 2 %\defineenumeration % [theproclaim] % [ location=serried, %text=Proclaim, % width=broad] % %\define[2]\ProclaimCommand % {\doiftext %{\placeannotationtext} %{\setupenumerations[theproclaim][text=\placeannotationtext]}% % \starttheproclaim#2\stoptheproclaim} \defineenumeration [theproclaim] [ location=serried, text=\placeannotationtext, width=broad] \define[2]\ProclaimCommand {\doiftextelse{\placeannotationtext} {} {\def\placeannotationtext{Proclaim}}% \starttheproclaim#2\stoptheproclaim} \defineannotation [proclaim] [alternative=command, command=\ProclaimCommand] \starttext \startlemma … \stoplemma \startlemma{Another Lemma} … \stoplemma \blank[2*line] \startproclaim … \stopproclaim \startproclaim[text={Another Proclaim}] … \stopproclaim \stoptext 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 ___
Re: [NTG-context] One-off theorem titles
On Thu, 3 Mar 2011, S Barmeier wrote: Currently I am using something like \defineenumeration[lemma] [location=serried, headstyle=bold, text=Lemma, width=broad, style=italic] to define theorems, lemmas, etc. Sometimes a theorem or lemma will have its own name (e.g. Yoneda Lemma), and I find it slightly cumbersome to write something like 3.1 Theorem (Yoneda Lemma) 3.1 Lemma (Yoneda) 3.1 Lemma (Yoneda Lemma) and was really hoping that \startlemma[text={Yoneda Lemma}] would give me the desired 3.1 Yoneda Lemma but it doesn't. I would like to keep the whole setup the same and only change the text for this instance. Is there any way to implement this except for defining a whole new enumeration for one theorem/lemma/proposition by \startenumeration[text={Yoneda Lemma},location= ... ] @Hans: Does it make sense to redo all the theorem etc using the new structure code? There is a little difference between \startsection \stopsection \starttheorem \stoptheorem except that in enumerations the title is optional and there are a few predefined header styles (location=whatever), and enumerations have a closesymbol. That will easily allow: \startthoerem[text={Yoneda Lemma}] etc and one will also get the option of setting the list text, bookmarks, and page marks. Aditya ___ 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 ___
Re: [NTG-context] One-off theorem titles
On Thu, 3 Mar 2011, Wolfgang Schuster wrote: Am 03.03.2011 um 09:05 schrieb S Barmeier: \startenumeration[text={Yoneda Lemma},location= ... ] Enumeration don’t support key-val-input for the commands and environments (although it isn’t hard to add it). The both arguments are “[reference]” and “{title}”. Besides the already presented solution here is one which use the annotation module (local replacement of the enumeration text doesn’t work because \setupenumerations resets the counter): \usemodule[annotation] A very useful module to have! But how is it different from enumerations (apart from having a modern interface)? in particular, would you consider reimplimenting definitions and enumerations by using annotations as a base? I am a bit surprised by the naming of the internal macros: annotation_cmd annotation__cmd annotation___cmd I know that \do \dodo \dododo is not the best notation, but I don't find _ __ ___ better. Aditya___ 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 ___
Re: [NTG-context] footnote marks fail
On 13-4-2010 10:07, Sebastien Mengin wrote: Le 13 avril 2010 à 08:13, Taco Hoekwater a écrit: Sorry, a bit off topic, but: is \setupfootnotes[] a synonym for \setupnote[footnote][] ? Yes, the actual definition is: \def\setupfootnotes {\setupnote [\v!footnote]} Thanks a lot. which reminds me: at some point we should add wiki redirects or stub pages for Reference/en/startitemize = Reference/en/startenumeration So I guess there is a list of all those synonyms available? no, because they're backward compatible commands and the setupnote is the one to be documented (and used), not the setupfootnotes Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] footnote marks fail
Sebastien Mengin wrote: Le 13 avril 2010 à 01:24, Peter Münster a écrit: Hello, See here: http://archive.contextgarden.net/message/20100413.111638.965cf779.en.html and here: http://wiki.contextgarden.net/Reference/en/setupfootnotes It's not a detailed documentation of \setupfootnotes but at least you get an idea of the possible option-keywords. Cheers, Peter Sorry, a bit off topic, but: is \setupfootnotes[] a synonym for \setupnote[footnote][] ? Yes, the actual definition is: \def\setupfootnotes {\setupnote [\v!footnote]} which reminds me: at some point we should add wiki redirects or stub pages for Reference/en/startitemize = Reference/en/startenumeration etc. Best wishes, Taco ___ 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 ___
Re: [NTG-context] footnote marks fail
Le 13 avril 2010 à 08:13, Taco Hoekwater a écrit: Sorry, a bit off topic, but: is \setupfootnotes[] a synonym for \setupnote[footnote][] ? Yes, the actual definition is: \def\setupfootnotes {\setupnote [\v!footnote]} Thanks a lot. which reminds me: at some point we should add wiki redirects or stub pages for Reference/en/startitemize = Reference/en/startenumeration So I guess there is a list of all those synonyms available? Sincerely, -- Sébastien Mengin Édition et logiciels libres Mise en page avec LaTeX http://edilibre.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 ___
Re: [NTG-context] footnote marks fail
Sebastien Mengin wrote: which reminds me: at some point we should add wiki redirects or stub pages for Reference/en/startitemize = Reference/en/startenumeration So I guess there is a list of all those synonyms available? Not readily, they follow from \define.. commands in the source (which is why such redirects would be helpful) Best wishes, Taco ___ 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 ___
Re: [NTG-context] ConTeXt-ifying Kile
] # \setuptextbackground \setuptextposition[name][settings] \setuptextrules[options] \setuptexttexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setuptextvariable[name][options] \setupthinrules[options] \setuptolerance[options] \setuptop[text|margin|edge][options] \setuptoptexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setuptype[options] \setuptyping[file|typing|name][options] \setupunderbar[options] \setupurl[options] \setupversions[options] \setupwhitespace[none|small|medium|big|line|fixed|fix|dimension] # \setvalue # \setvariables # \setxvalue # \setxvariables # \showaccents \showbodyfont[settings] \showbodyfontenvironment[settings] # \showcharacters \showcolor[name] \showcolorgroup[name][horizontal|vertical|name|value|number] \showexternalfigures[alternative=a|b|c] \showfields[names] # \showfont \showframe[text|margin|edge] \showgrid # \showgridboxes # \showgridsnapping \showlayout # \showlayoutcomponents \showmakeup \showpalet[name][horizontal|vertical|name|value] \showprint[typesetting papersize][printing papersize][settings] \showsetups \showstruts # \showstruts \showsymbolset[name] # \snaptogrid \someline[reference] \somewhere{text}{text}[reference] \sort[text]{text} \space \splitfloat[settings]{text}{text} # \splitstring # \SR # \start \stop # \start \stop \startalignment[width|left|right|middle|inner|outer|wide|broad|height|bottom|line|reset|hanging|nothanging|hyphenated|nothyphenated] \stopalignment # \startarabicpar \stoparabicpar # \startarabictext \stoparabictext # \startappendices \stopappendices \startbackground \stopbackground # \startbackmatter \stopbackmatter # \startbaselinecorrection \stopbaselinecorrection # \startblockquote \stopblockquote # \startbodymatter \stopbodymatter \startbuffer[name] \stopbuffer \startcolor[name] \stopcolor \startcolumns[settings] \stopcolumns \startcombination[matrix] \stopcombination \startcomment[name][settings] \stopcomment \startcomponent file \stopcomponent \startdescription{text} \stopdescription \startdocument[name] \stopdocument \startenumeration \stopenumeration \startenvironment file \stopenvironment \startfact\fact text \\ text \\ text \\\fact text \stopfact \startfigure[name][file][factor=number][frame=on|off] \stopfigure \startfloattext[left|right|high|middle|low|offset|tall][reference]{text}{text} \stopfloattext # \startFLOWcell \stopFLOWcell # \startFLOWchart \stopFLOWchart \startformula \stopformula # \startframedcontent \stopframedcontent \startframedtext[left|right|middle|none][settings] \stopframedtext # \startfrontmatter \stopfrontmatter # \starthanging \stophanging \starthiding \stophiding \startinteractionmenu[name] \stopinteractionmenu \startitemgroup[name][options][settings] \stopitemigroup # \startitemize \stopitemize # \startitemize \stopitemize # \startJScode \stopJScode # \startJSpreamble \stopJSpreamble # \startJSscripts \stopJSscripts \startlegend[two]\leg text \\ text \\ text \\\leg \stoplegend \startline[reference] \stopline \startlinecorrection \stoplinecorrection \startlinenumbering[continue] \stoplinenumbering \startlines \stoplines \startlocal \stoplocal \startlocalenvironment \stoplocalenvironment \startlocalfootnotes \stoplocalfootnotes # \startlocalsetups \stoplocalsetups \startmakeup[name][settings] \stopmakeup \startmarginblock \stopmarginblock \startmarginrule[number] \stopmarginrule # \startmode \stopmode # \startMPpage \stopMPpage \startnamemakeup \stopnamemakeup \startnarrower[left|middle|right] \stopnarrower # \startnointerference \stopnointerference # \startnotmode \stopnotmode \startopposite \stopopposite \startoverlay{text}{text} \stopoverlay \startoverview[names] \stopoverview \startpacked[blank] \stoppacked \startparagraph \stopparagraph \startpositioning \stoppositioning \startpostponing \stoppostponing \startproduct file \stopproduct \startprofile[names] \stopprofile \startproject file \stopproject \startquotation[left|middle|right] \stopquotation \startregister[text]{text+text+text} \stopregister # \startsetups \stopsetups # \startstandardmakeup \stopstandardmakeup \startsymbolset[name] \stopsymbolset \startsynchronization \stopsynchronization \starttable[text|name] \stoptable \starttables[text|name] \stoptables \starttabulate[text][settings] \stoptabulate # \startTEXpage \stopTEXpage # \starttext \stoptext # \starttextbackground \stoptextbackground # \starttextdata \stoptextdata \starttextrule[top|bottom]{text} \stoptextrule \starttyping \stoptyping \startunpacked \stopunpacked \startversion[numbers] \stopversion # \startXMLdata \stopXMLdata # \startXMLignore \stopXMLignore # \startXMLmapping \stopXMLmapping \stretched{text} # \strut # \strutdepth # \strutheight # \struttedbox \sub[references] \subject[references]{text} \subsection[references]{text} \subsubject[references]{text} \subsubsection[references]{text} \subsubsubject[references]{text} \switchtobodyfont[font settings] \switchtorawfont[name] \sym{text} \symbol[name][name