Re: [NTG-context] general suggestion for ConTeXt documentation (was: footnote and endnote markers...)
tex/context/interface/mkiv/i-context.pdf On Wed, 8 Aug 2018 00:40:37 +0200 Robert Zydenbos wrote: > > On 7. Aug 2018, at 17:54, Pablo Rodriguez wrote: > > > > On 08/06/2018 11:59 PM, Robert Zydenbos wrote: > >> Sorry for all these footnote questions, […] > > > > Hi Robert, > > > > […] > > > > I hope it helps, > > > > Pablo > > That is it. I have no idea why – but that is the solution. > > (For all readers:) > > ConTeXt is great. Let me make that clear right way. I think it's the future > of TeX. I'm already doing things in ConTeXt that I dread trying to do in > LaTeX or any other system. But (yes, of course there was a 'but' coming) the > one thing that is missing, the one obstacle which I think exists for ConTeXt > gaining wider currency, is really good documentation. > > Take this last question of mine which Pablo solved: I had to put a certain > parameter in \setupnotedefinition [footnote]. First I did it wrongly, > putting it in \setupnote [footnote] (why? because the names of the values, > like 'location', look so much alike). So what goes into \setupnotedefinition > and what goes into \setupnote? How do I know? (How does Pablo know this? > Maybe he can tell me off-list. :-) ) Many of the commands are not, or badly, > documented in the otherwise useful Wiki. What are all the parameters that are > recognized by the various commands, and just what do they mean? What are the > default settings? ConTeXt looks like an object oriented programming language > with inheritances, but it is unclear just what is inherited from where, and > why. > > I appreciate all the effort made by various people to provide documentation > and demos. But I think the cause of ConTeXt would be greatly served if > someone would bring out a hierarchic list of the ConTeXt commands with a > brief description of what the commands and the parameters do and why they > exist at all, so that the reader gets an idea of the structure of the whole > system and the philosophy behind it (i.e., explaining why it is thus > structured and why it works). > > Once again: I think ConTeXt is great, and so is this forum, which is a huge > help. I also realize ConTeXt is complex and that the great people behind it > also have other things to do in life. But still: maybe the kind of > documentation I propose would help to make things still a bit greater? > > Robert > > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] general suggestion for ConTeXt documentation (was: footnote and endnote markers...)
> On 7. Aug 2018, at 17:54, Pablo Rodriguez wrote: > > On 08/06/2018 11:59 PM, Robert Zydenbos wrote: >> Sorry for all these footnote questions, […] > > Hi Robert, > > […] > > I hope it helps, > > Pablo That is it. I have no idea why – but that is the solution. (For all readers:) ConTeXt is great. Let me make that clear right way. I think it's the future of TeX. I'm already doing things in ConTeXt that I dread trying to do in LaTeX or any other system. But (yes, of course there was a 'but' coming) the one thing that is missing, the one obstacle which I think exists for ConTeXt gaining wider currency, is really good documentation. Take this last question of mine which Pablo solved: I had to put a certain parameter in \setupnotedefinition [footnote]. First I did it wrongly, putting it in \setupnote [footnote] (why? because the names of the values, like 'location', look so much alike). So what goes into \setupnotedefinition and what goes into \setupnote? How do I know? (How does Pablo know this? Maybe he can tell me off-list. :-) ) Many of the commands are not, or badly, documented in the otherwise useful Wiki. What are all the parameters that are recognized by the various commands, and just what do they mean? What are the default settings? ConTeXt looks like an object oriented programming language with inheritances, but it is unclear just what is inherited from where, and why. I appreciate all the effort made by various people to provide documentation and demos. But I think the cause of ConTeXt would be greatly served if someone would bring out a hierarchic list of the ConTeXt commands with a brief description of what the commands and the parameters do and why they exist at all, so that the reader gets an idea of the structure of the whole system and the philosophy behind it (i.e., explaining why it is thus structured and why it works). Once again: I think ConTeXt is great, and so is this forum, which is a huge help. I also realize ConTeXt is complex and that the great people behind it also have other things to do in life. But still: maybe the kind of documentation I propose would help to make things still a bit greater? Robert ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] xrightarrow is not straight
On Tue, 7 Aug 2018 13:06:23 -0400 (EDT) Aditya Mahajan wrote: > > Furthermore, the MP arrow can be tuned > > > > \startMPinitializations > > > > ahlength := .5EmWidth ; > > ahvariant := 1 ; % dimpled straight > > > > \stopMPinitializations > > > > as can line widths, etc. > > Shouldn't we use a dedicated MP instance for stackers? MPinitializations are shared by all instances (normally), that is if initializations=yes is set in \defineMPinstance. Alan ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] xrightarrow is not straight
On Tue, 7 Aug 2018, Alan Braslau wrote: Hello, You can also use MetaPost to render math stackers, rather than relying on TeX constructs and any particular font. For example: \useMPlibrary[mat] \definemathstackers [mp] [alternative=mp] \definemathextensible [mp] [leftarrow] ["2190] \definemathextensible [mp] [rightarrow] ["2192] \definemathextensible [mp] [leftrightarrow] ["2194] \definemathextensible [mp] [longleftrightarrow] ["27F7] \definemathextensible [mp] [rightoverleftarrow] ["21C4] \definemathextensible [mp] [underbrace] ["FE3DF] \setupbodyfont [dejavu-condensed,12pt] \starttext $\rightarrow{≠a}$ \stoptext Furthermore, the MP arrow can be tuned \startMPinitializations ahlength := .5EmWidth ; ahvariant := 1 ; % dimpled straight \stopMPinitializations as can line widths, etc. Shouldn't we use a dedicated MP instance for stackers? 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] xrightarrow is not straight
On Tue, 7 Aug 2018, Joshua Moerman wrote: Another thing I noticed is that the line is not very consistent. This might be a font issue (I am using Euler). Luckily, the inconsistent overlap is barely visible when printed. It is a viewer issue. It should also go away if you zoom the pdf. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnote and endnote markers aligned with the left margin of the main text
On 08/06/2018 11:59 PM, Robert Zydenbos wrote: > Sorry for all these footnote questions, but here's another one. I > want to print the notes without the footnote marker jutting out into > the margin, but flushed with the left margin of the main text. > > Any help will be highly appreciated. Hi Robert, although you don’t mention it, I guess you need it for MkII: \showframe \setuppapersize[A6, landscape] \setupnotedefinition[footnote][location=serried, distance=1em] \starttext a\footnote{This is a footnote.} b\endnote{This is an endnote.} \placenotes[endnote] \stoptext I hope it helps, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to control the space between the bottom of the frame and the text?
The offset value changes the margins on all four sides, the increase only the distance for bottom frame you can use the boffset key. Wolfgang Alan Braslau schrieb am 07.08.18 um 17:02: offset= On Tue, 7 Aug 2018 11:55:29 +0200 Fabrice Couvreur wrote: Hello, I find that the text is near the bottom line of the frame, how to add a little space ? Thanks Fabrice \defineframed [ACFRAME] [frame=on, width=fit, align=flushleft, location=low, background=color, backgroundcolor=lightgray] \defineenumeration [exercice] [text={Exercice}, headstyle={\bf\feature[+][f:smallcaps]}, headcommand=\ACFRAME, numberconversionset=ACCONVERSION, width=fit, stopper={.}, alternative=serried] \defineprocessor[ACPROCESSOR][color=red] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \setupbodyfont[pagella] \starttext \startexercice \input ward \stopexercice \stoptext ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to control the space between the bottom of the frame and the text?
offset= On Tue, 7 Aug 2018 11:55:29 +0200 Fabrice Couvreur wrote: > Hello, > I find that the text is near the bottom line of the frame, how to add > a little space ? > Thanks > Fabrice > > \defineframed > [ACFRAME] > [frame=on, >width=fit, >align=flushleft, >location=low, >background=color, >backgroundcolor=lightgray] > > \defineenumeration > [exercice] > [text={Exercice}, >headstyle={\bf\feature[+][f:smallcaps]}, >headcommand=\ACFRAME, >numberconversionset=ACCONVERSION, >width=fit, >stopper={.}, >alternative=serried] > > \defineprocessor[ACPROCESSOR][color=red] > > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > > \setupbodyfont[pagella] > > \starttext > \startexercice > \input ward > \stopexercice > \stoptext ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] xrightarrow is not straight
On Tue, 7 Aug 2018 10:42:01 +0200 "Joshua Moerman" wrote: > Hi ConTeXt mailing list, > > I am using the extensible arrows and I am not really satisfied with > the looks of it. > > The most important issue I have is that the vertical spacing is too > much. You can see this in the attached picture: the left arrow is > using \xrightarrow{\neq a} and the right arrow is using \stackrel{\neq > a}{\longrightarrow}. I think the right one (with stackrel) looks more > natural. Is there a way to setup the vertical spacing? > > Another thing I noticed is that the line is not very consistent. This > might be a font issue (I am using Euler). Luckily, the inconsistent > overlap is barely visible when printed. > > Thanks again! > > Groetjes, > Joshua > Hello, You can also use MetaPost to render math stackers, rather than relying on TeX constructs and any particular font. For example: \useMPlibrary[mat] \definemathstackers [mp] [alternative=mp] \definemathextensible [mp] [leftarrow] ["2190] \definemathextensible [mp] [rightarrow] ["2192] \definemathextensible [mp] [leftrightarrow] ["2194] \definemathextensible [mp] [longleftrightarrow] ["27F7] \definemathextensible [mp] [rightoverleftarrow] ["21C4] \definemathextensible [mp] [underbrace] ["FE3DF] \setupbodyfont [dejavu-condensed,12pt] \starttext $\rightarrow{≠a}$ \stoptext Furthermore, the MP arrow can be tuned \startMPinitializations ahlength := .5EmWidth ; ahvariant := 1 ; % dimpled straight \stopMPinitializations as can line widths, etc. Alan ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] xrightarrow is not straight
Hi ConTeXt mailing list, I am using the extensible arrows and I am not really satisfied with the looks of it. The most important issue I have is that the vertical spacing is too much. You can see this in the attached picture: the left arrow is using \xrightarrow{\neq a} and the right arrow is using \stackrel{\neq a}{\longrightarrow}. I think the right one (with stackrel) looks more natural. Is there a way to setup the vertical spacing? Another thing I noticed is that the line is not very consistent. This might be a font issue (I am using Euler). Luckily, the inconsistent overlap is barely visible when printed. Thanks again! Groetjes, Joshua ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] How to control the space between the bottom of the frame and the text?
Hello, I find that the text is near the bottom line of the frame, how to add a little space ? Thanks Fabrice \defineframed [ACFRAME] [frame=on, width=fit, align=flushleft, location=low, background=color, backgroundcolor=lightgray] \defineenumeration [exercice] [text={Exercice}, headstyle={\bf\feature[+][f:smallcaps]}, headcommand=\ACFRAME, numberconversionset=ACCONVERSION, width=fit, stopper={.}, alternative=serried] \defineprocessor[ACPROCESSOR][color=red] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \setupbodyfont[pagella] \starttext \startexercice \input ward \stopexercice \stoptext ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes in titles, 3 years old file compiles now different
Hi Huseyin, i tried your line of code with recent ConTeXt and luatex and i think it worked fine. See attached files. Greetings Lutz Am 7. August 2018 08:29:10 MESZ schrieb "Huseyin Özoguz" : >I forget: I use now luatex beta 0.80.0 (and Context from 2015.04.15), >but the old pdf was compiled with luatex 0.77.0, is that the >difference, >which deleted the footnote? > >(I hope this does not break the threadnever learned how to use >mail-lists with thunderbird) > >___ >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://context.aanhet.net >archive : https://bitbucket.org/phg/context-mirror/commits/ >wiki : http://contextgarden.net >___ titlefootnote.pdf Description: Adobe PDF document \starttext \section{title\footnote{ftn-content}} \stoptext ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes in titles, 3 years old file compiles now different
I forget: I use now luatex beta 0.80.0 (and Context from 2015.04.15), but the old pdf was compiled with luatex 0.77.0, is that the difference, which deleted the footnote? (I hope this does not break the threadnever learned how to use mail-lists with thunderbird) ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Footnotes in titles, 3 years old file compiles now different
Hello together, I have a file from 2015, which contains something like this: \section{title\footnote{ftn-content}} And the compiled pdf from then show the footnote correct and with the number in order to the other footnotes. But now I have compiled it again without differences, and the footnote disappears. I have read about this and basically it says that apart from local footnotes its not possible anymore (?) to set footnotes in titles (s.t. the numbers stay in order to all the other footnotes). What changed since 2015? That is a problem for me because I have to compile a book from then to print it again (with minor other corrections in the text, but nothing in style). How to achieve the same result like back then? Thank you! Huseyin ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___