Re: [NTG-context] Converting footnotes to endnotes
On Fri, 04 Jun 2021 12:06:31 -0600, Hans Hagen wrote: On 6/3/2021 10:09 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Generally, I do not use endnotes - see Robert Bringhurst's criticisms of endnotes in typography - but a publisher is demanding them. Converting footnotes to endnotes must be quite simple yet I'm missing it: Ah ... those publishers ... so you still need their demands? They should be glad that they get ready typeset books (I bet they often don't do a better job themselves, maybe aven introduce errors in the complex things you do). The main publishers are constituted by a multiplicity of bureaucracies where the left hand hardly knows what the right hand is doing. No amount of reasoning can get through to these people. And if you're working with an intermediate editor of a book, the situation is beyond hopeless. I thought they keyed it into word eventually anyway. Yep. Luigi and I spent considerable time on a ConTeXt => Word workflow, but what was so far accomplished is not sufficiently general; it needs more work before it is useful enough to be released. Unfortunately, not even ConTeXt'ers have expressed much interest, otherwise would suggest releasing it as a community project.. So I'm caught between academia (Word or, occasionally, LaTeX) and my strong preference for and investment in ConTeXt.. End notes are definitely handier when they outsource I guess. Does that mean no more critical editions? Critical editions with apparatus converted to endnotes? Never! I admit that I do like endnotes more than footnotes when they for instance contain some more about the origin of some idea (or so) and suggest further reading ... (1) then i can read them all in one go (if I want) and (2) it's kind of a test if one can remember what it points back to. Hm, this would make for an interesting discussion. I suppose if a set of endnotes (to a chapter, say, or a book) are written in a manner such that, in the spirit of your 1) they form a single whole, then sure, why not? But if that's the case, I would probably prefer an explicit, structured appendix to endnotes. As for your 2), have always found going back or forth annoying - which takes me back to Bringhurst's rule.. -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512 ___ 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] issue with link (MkIV & LMTX)
On 6/5/21 4:07 PM, Hans Hagen wrote: > On 6/5/2021 11:08 AM, Pablo Rodriguez wrote: >> [...] >> Could anyone confirm the issue? > > a side effect of more detail in final node lists (that make up the lines) > >> Many thanks for your help, > fixed in next upload Hans, many thanks for the fix. 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] quotes potruding out in the left margin
If you were to add a start-stopquotation block to Wolfgang's example, you'd see that the resulting paragraph has lost its narrowness. Is there a way to allow quotes to protrude into the left margin while preserving the narrowness of start-stopquotation blocks? My own solution is not to \setupquotation[method=font] but to define a delimited text environment whose method=font, and use it when a paragraph begins with a quotation. I have attached my own mwe. You can toggle the \setquotation command with --mode=font. Does anyone have a more elegant, or better yet, a correct solution? With kind regards, Michael On Sat, Jun 5, 2021 at 7:36 AM Sandra Snan wrote: > Thank you both for your help. Additionally, I needed to make sure that > \setupbodyfont comes after all this. But now I've finally got the > margin-potruding quotations of my dreams. > > writes: > > >> -Ursprüngliche Nachricht- > >> Von: ntg-context Im Auftrag von Wolfgang > >> Schuster > >> Gesendet: Freitag, 4. Juni 2021 10:08 > >> An: mailing list for ConTeXt users > >> Betreff: Re: [NTG-context] quotes potruding out in the left margin > >> > >> Sandra Snan schrieb am 04.06.2021 um 09:52: > >> > Oh, the example you just posted doesn't work on live.contextgarden, > >> > let alone on my installation. The quotation marks still don't potrude. > >> > >> I tested my example on the garden and got the expected output with the > >> quotation marks in the margin (only partially but this is normal with > the > >> quality setting). > >> > > > > I can confirm that this works. As Wolfgang notes protrusion is only > partial with the default settings, but you can tweak it with > \setupfontprotrusion (see below). > > \setupfontprotrusion [quality] [left=2] is probably what you want since > this puts the complete quotation mark into the margin. > > > > I don't know what the numbers mean. Maybe someone can add to this. > > > > Denis > > > > > > %\setupfontprotrusion [quality] [left=0] % no protrusion on the left > margin > > \setupfontprotrusion [quality] [left=1] % default > > %\setupfontprotrusion [quality] [left=1.5] % more protrustion > > %\setupfontprotrusion [quality] [left=2] % even more protrustion > > %\setupfontprotrusion [quality] [left=2.5] % too much protrusion > > > > \definefontfeature > > [default] > > [default] > > [protrusion=quality, > >expansion=quality] > > > > \setupquotation > > [method=font] > > > > \setupalign > > [hz,hanging] > > > > \showframe > > [text] > > [text] > > > > \starttext > > > > oh hi there > > > > “you are so” > > > > \quotation{you are so} > > > > here here > > > > \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 > > ___ > \showgrid \showframe[text][text] \setupwhitespace[medium] \setuplayout[grid=yes] \definefontfeature [default] [default] [protrusion=quality, expansion=quality] \setupalign[hz,hanging] % Definition inherits, followed by setting up \definedelimitedtext[parquote][quotation] \setupdelimitedtext[parquote][method=font] \def\parquotation#1{\startparquote{#1}\stopparquote} % Provide protrusion for quotations. \startmode[font] \setupquotation[method=font] % Toggle this line to see the effect. \stopmode \starttext \quotation{Love makes the world go round,}as an old proverb has it\ldots “Love makes the world go round,” as an old proverb has it\ldots \parquotation{Love makes the world go round,} as an old proverb has it\ldots \startquotation \input tufte \stopquotation \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] yscale not working
Hans van der Meer schrieb am 05.06.2021 um 17:59: Why is there no effect of the yscale parameter in \externalfigure when the width-parameter is given? In the MWE it is the intention to stretch the height of the figure by a factor of two. But nothing happens. Leaving out the width does stretch the height, but then it becomes too wide. Not all scaling and sizing combinations can be used at the same time. To get both effects you can use \scale to stretch the figure to the desired height. \scale[sy=2]{\externalfigure[...][width=.5\textwidth]} 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] yscale not working
Why is there no effect of the yscale parameter in \externalfigure when the width-parameter is given? In the MWE it is the intention to stretch the height of the figure by a factor of two. But nothing happens. Leaving out the width does stretch the height, but then it becomes too wide.\starttextTest \tex{externalfigure} scaling - \ConTeXt\ \contextversion\blank\type{\externalfigure[test][width=0.50\textwidth]}\crlf\externalfigure[test][width=0.50\textwidth]\blank\type{\externalfigure[test][width=0.50\textwidth,yscale=2000]}\crlf\externalfigure[test][width=0.50\textwidth,yscale=2000]\stoptext scaling.pdf Description: Adobe PDF document dr. Hans van der Meer ___ 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] issue with link (MkIV & LMTX)
On 6/5/2021 11:08 AM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A10] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startTEXpage[offset=1ex] \startitemize \item \MyURL{a.b\\/c.d\letterhash e} \stopitemize \stopTEXpage \stoptext I’m using current latest from 2021.06.04 17:28. LuaTeX generates the link rectangle right. LuaMetaTeX generates a wrong link rectangle. In the attached image, you can see the output I get (MkIV and LMTX). Could anyone confirm the issue? a side effect of more detail in final node lists (that make up the lines) Many thanks for your help, fixed in next upload Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Struggling with SQL!
On 6/4/2021 9:09 PM, G.C.H.M. Verhaag wrote: Hans, thanks for your answer. I also tried \usemodule[sql] with the same result however! The system I use is Ubuntu 18.01 and installed TeXStudio, that's all. That also installs TeX/LaTeX/ConTeXt, but probably that's causing the issues! Hopefully a complete reinstall of TeXLive will solve the issue. otherwise try a minimal install (mkiv or lmtx) from the garden - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] issue with link (MkIV & LMTX)
Dear list, I have the following sample: \setuppapersize[A10] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startTEXpage[offset=1ex] \startitemize \item \MyURL{a.b\\/c.d\letterhash e} \stopitemize \stopTEXpage \stoptext I’m using current latest from 2021.06.04 17:28. LuaTeX generates the link rectangle right. LuaMetaTeX generates a wrong link rectangle. In the attached image, you can see the output I get (MkIV and LMTX). Could anyone confirm the issue? Many thanks for your help, 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] where to break a long header
denis.ma...@ub.unibe.ch schrieb am 05.06.2021 um 08:16: \startsection[title={A very \\ long title},list={A very long title}] Be careful with spaces before and after \\. In the table of contents \\ is converted to a space and in the worst case you get three spaces instead of one. \starttext \placecontent \section{First section \\ with a line break} \section{Second section\\ with a line break} \section{Third section \\with a line break} \section{Fourth section\\with a line break} \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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___