[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38: Dear list, I have the following sample (which was on the way of showing another issue): \starttext a \starttyping b \stoptyping c \startfootnote a \starttyping b \stoptyping c \stopfootnote

[NTG-context] issue with typing in footnotes

2024-03-17 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (which was on the way of showing another issue): \starttext a \starttyping b \stoptyping c \startfootnote a \starttyping b \stoptyping c \stopfootnote \stoptext Current latest (from 2024.03.11 09:34) breaks compilation with both

Re: [NTG-context] Forbid footnotes from splitting across pages

2022-08-03 Thread Hamid,Idris via ntg-context
=none,width=\textwidth,style={\setupwhitespace[medium]}]}, after={\stopframedtext\blank[medium]}] \starttext \input ward\ \startfootnote \input knuth \stopfootnote{} \dorecurse{3}{\input ward\ } \startfootnote \input knuth \stopfootnote{} \dorecurse{2}{\input ward\ } \startfootnote \input knuth

[NTG-context] Forbid footnotes from splitting across pages

2022-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
[footnote][split=verystrict] % \setupnotation[footnote][split=verystrict] \starttext \input ward\ \startfootnote \input knuth \stopfootnote{} \dorecurse{3}{\input ward\ } \startfootnote \input knuth \stopfootnote{} \dorecurse{2}{\input ward\ } \startfootnote \input knuth \stopfootnote{} \dorecurse{3

Re: [NTG-context] error with sbl bibliography on latest LMTX

2022-07-09 Thread Joey McCollum via ntg-context
punctelse % why is this necessary? For some reason, \btx_sbl_doifendswithpunctelse is not recognized within the footnote environment... \def\currentbtxcitealternative{footnote} \def\currentbtxcategory{\btxfield{category}} \def\currentbtxloctext{\btxparameter{loctext}} \def\currentbtxaltloctext{\bt

[NTG-context] error with sbl bibliography on latest LMTX

2022-07-08 Thread Henning Hraban Ramm via ntg-context
[][\c!label ={\descriptionparameter \c!text },\c!reference ={#1},\c!title ={#2},\c!bookmark =,\c!list =,\c!referencetext =] \strc_notations_wrapup \22>:btx:sbl:cite:footnote ...ct}}\begingroup \letbtxparameter {punct}\empty \let \doifendswithpunctelse \btx_sbl_doifendswithpunctelse \startfootnote \Wo

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-26 Thread Joey McCollum via ntg-context
tnote] \startchapter[title=Bibliography] \placelistofpublications \stopchapter \stoptext ``` If it helps, the relevant code in publications support is the following block in publ-imp-cite.mkvi: ``` \startsetups \s!btx:\s!cite:footnote \startfootnote \fastsetup{btx:cite:

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-25 Thread Joey McCollum via ntg-context
eter{punct}} \begingroup \letbtxparameter{punct}\empty % don't pass the trailing punctuation down to the inline setup \startfootnote \Word{\fastsetup{btx:sbl:cite:inline}}% capitalize the first word in the footnote (needed to render "Ibid." and "Idem" correctly) %

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-25 Thread Joey McCollum via ntg-context
s not recognized within the footnote environment... \startfootnote \Word{\fastsetup{btx:sbl:cite:inline}}% capitalize the first word in the footnote (needed to render "Ibid." and "Idem" correctly) % Add a closing period, unless the righttext ends with punctuation \doifendswi

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-17 Thread Denis Maier via ntg-context
r > hanging). Ah, I alway forget that. By the way, is there a way to append to setting instead of overriding it? > > > Is it possible to change the text direction for single notes? > > It doesn’t seem an option for \startfootnote. Yep, unlike other \startstops \startfootnot

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-16 Thread Pablo Rodriguez via ntg-context
text direction for single notes? It doesn’t seem an option for \startfootnote. How about defining a new command? \definedelimitedtext[rtlblockquote][before={\righttoleft}] \definenote[otnote][footnote] \setupnote[otnote][align=l2r] \starttext \input zapf \startblockquote \input zapf\fo

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
use someone's expertise here. Is there a simple way to define an >>>> abbreviation using the expanded values of macros as above? And is there a >>>> way to invoke an abbreviation/synonym at this level of abstraction? >>>> (Something lik

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
2021 at 6:11 PM Joey McCollum < >>> jmccollum20140...@gmail.com> wrote: >>> >>>> Just continuing to talk my way through the inner workings of the >>>> ConTeXt Publication modules. It looks like three "long" citation forms are >

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
\fastsetup{\s!btx:\s!cite:lefttext} >>> \ifx\currentbtxfirst\empty >>> \fastsetup{\s!btx:\s!cite:\s!empty} >>> \else >>>\texdefinition {\s!btx:\s!cite:inject} { >>>\btxcitereference >>>\curre

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
\texdefinition {\s!btx:\s!cite:inject} { >>\btxcitereference >>\currentbtxfirst >>} >> \fi >> \fastsetup{\s!btx:\s!cite:righttext} >> \stopsetups >> >> \startsetups \s!btx:\s!cite:entry >>

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
\currentbtxfirst >} > \fi > \fastsetup{\s!btx:\s!cite:righttext} > \stopsetups > > \startsetups \s!btx:\s!cite:entry > \fastsetup{\s!btx:\s!cite:concat} > \fastsetup{\s!btx:\s!cite:lefttext} > \btxhandleciteentry > \fas

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-08-22 Thread Joey McCollum via ntg-context
stsetup{\s!btx:\s!cite:concat} \fastsetup{\s!btx:\s!cite:lefttext} \btxhandleciteentry \fastsetup{\s!btx:\s!cite:righttext} \stopsetups \startsetups \s!btx:\s!cite:footnote \startfootnote \fastsetup{btx:cite:entry} \stopfootnote \stopsetups Intuitively, I wo

Re: [NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-05 Thread Hans Hagen via ntg-context
On 8/5/2021 5:07 AM, Rik Kabel via ntg-context wrote: The following example: \starttext abc\footnote[fn:abc]{footnote abc}\ abc def \startfootnote[fn:def]  footnote def \stopfootnote \ def No problem here: abc\note[fn:abc] Problem appears here: def\note

[NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-04 Thread Rik Kabel via ntg-context
The following example: \starttext abc\footnote[fn:abc]{footnote abc}\ abc def \startfootnote[fn:def]  footnote def \stopfootnote \ def No problem here: abc\note[fn:abc] Problem appears here: def\note[fn:def] \stoptext Generates a missing reference error for a

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-07-02 Thread denis.maier
[{\it\getmarking[chapter]}][part] >   \stopchapter > \stoptexdefinition > > %--% > > \starttext > > \completecontent > > \startpart[title=Part 1] > \dorecurse{3}{ >  

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Rik Kabel
%--% \starttext \completecontent \startpart[title=Part 1] \dorecurse{3}{   \startchapter[title=Chapter #1]     If a man wants to read good books, he must make a point of     avoiding bad ones; for life is short, and time and energy     limited.     \startfootnote   T.\,Baily Saunders

Re: [NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Jun 2021 14:17:15 -0600, Wolfgang Schuster wrote: \setupnote [footnote] [location=none] That did the trick; many thanks! == \setupnote [footnote] [location=none] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward

[NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
te] % [way=bychapter] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \input ward \startfootnote \input ward \stopfootnote{} \stopsection \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \

Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Jairo A. del Rio
roperly use footnotes in math mode. The > > following: > > > > \starttext > > \startformula > > \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d > > x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote > > \stopformula > > \s

Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 28.06.2020 um 12:54: Hi list! I want to know how to properly use footnotes in math mode. The following: \starttext \startformula \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote

[NTG-context] Footnotes in math mode

2020-06-28 Thread Jairo A. del Rio
Hi list! I want to know how to properly use footnotes in math mode. The following: \starttext \startformula \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote \stopformula \stoptext doesn't complain but it do

Re: [NTG-context] French interface

2020-06-25 Thread Wolfgang Schuster
the environment. While it is easy to create a synonym for \startluacode this isn't the case for \stopluacode because the environment always look for \stopluacode as stopper and alternative names are ignored. There are ways to work around this

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
aa aa Daa}. Saa aaa a aaa aaa >> a aaa aa aa aaa aaa >> Ia aa Raaa aaa Ha aa aa a . >> >> Taa Fa’a aa aaa, Faaa M.~Fa (1894–1949) aaa a >> a

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
  Maaa Ca Aaa Gaa aaa aaa W Ja Raa   Oaaa.% \startfootnote   T aaa aa a I aa Da.~Fa aa a   a aa aaa aa’a . \stopfootnote \ T , Ja Fa H, aaa a aa

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
.~H Maaa Ma   aaa aa aa Daaa aa Raaa aaa aaa Ca aa Ja   Maaa Ca Aaa Gaa aaa aaa W Ja Raa   Oaaa.% \startfootnote   T aaa aa a I aa Da.~Fa aa a   a aa

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
construct it, so here is a not-necessarily-minimal example. Note that the problem occurs in footnotes (and endnotes, left as an exercise to the curious). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph \startparagraph \index{Strumpf} Text \startfootnote \index{Strumpf} Text \stopfootnote \stopparagraph\startparagraph Text \startfootnote

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
(and endnotes, left as an exercise to the curious). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph \startparagraph \index{Strumpf} Text \startfootnote \index{Strumpf} Text \stopfootnote

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
rttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopc

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-01 Thread Wolfgang Schuster
{First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={

Re: [NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2

[NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter

Re: [NTG-context] bidi in footnotes

2018-06-27 Thread Idris Samawi Hamid ادريس سماوي حامد
tached and below: === \setupdirections[bidi=global] \setupwhitespace[big] \setupnotation[footnote][style={\setupwhitespace[big],\setupdirections[bidi=global]}] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \par Test امتحان test \startfootnote \definedfont[file:almfixed.ot

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
e, etc,) which are have to explicitly setup for such environments? Whitespace etc. are unrelated to the problem above and can be changed with the normal setup-commands. Counterexample to whitespace attached and below: \setupwhitespace[big] \starttext \input ward \par \input ward \startfo

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Wolfgang Schuster
nments? Whitespace etc. are unrelated to the problem above and can be changed with the normal setup-commands. Counterexample to whitespace attached and below: \setupwhitespace[big] \starttext \input ward \par \input ward \startfootnote \input ward \par \input ward \stopfootnote{} \stoptext Whit

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
environments? Whitespace etc. are unrelated to the problem above and can be changed with the normal setup-commands. Counterexample to whitespace attached and below: \setupwhitespace[big] \starttext \input ward \par \input ward \startfootnote \input ward \par \input ward \stopfootnote{} \stoptext

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
-commands. Counterexample to whitespace attached and below: \setupwhitespace[big] \starttext \input ward \par \input ward \startfootnote \input ward \par \input ward \stopfootnote{} \stoptext Whitespace is applied in the main text but not in the footnotes. How is this case different from

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Mohammad Hossein Bateni
tups[bidi:footnotes] > > \setupdirections[bidi=on] > > \definedfont[file:almfixed.otf*arabic at 14pt] > > \stopsetups > > \setupnotes[footnote][setups=bidi:footnotes] > > > > \starttext > > \definedfont[file:almfixed.otf*arabic at 14pt] > > Test امتحا

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Idris Samawi Hamid ادريس سماوي حامد
test-bidi-footnote.tex \setupdirections[bidi=global] \startsetups[bidi:footnotes] \setupdirections[bidi=on] \definedfont[file:almfixed.otf*arabic at 14pt] \stopsetups \setupnotes[footnote][setups=bidi:footnotes] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \startfootnote

Re: [NTG-context] bidi in footnotes

2018-06-20 Thread Otared Kavian
at 14pt] \stopsetups \setupnotes[footnote][setups=bidi:footnotes] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \startfootnote Test امتحان test \stopfootnote{} \stoptext % end test-bidi-footnote.tex Best regards: OK > On 20 Jun 2018, at 23:22, ⁨Idris Sam

Re: [NTG-context] bidi in footnotes

2018-06-20 Thread Mohammad Hossein Bateni
> Dear gang, > > In the attached/following example, bidi is not applied in the footnote: > > \setupdirections[bidi=global] > > \starttext > \definedfont[file:almfixed.otf*arabic at 14pt] > Test امتحان test > \startfootnote > \definedfont[file:almfixed.otf*arabic at 1

[NTG-context] bidi in footnotes

2018-06-20 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, In the attached/following example, bidi is not applied in the footnote: \setupdirections[bidi=global] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \startfootnote \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \stopfootnote{} \stoptext

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
es[n=2] \startlocalfootnotes \input ward \startfootnote \input ward \stopfootnote \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext == See attached: 1) Would like the footnote-number counter to start at 2, not 1. Add \setcounter[footnote][1]

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. März 2018 um 17:04 Dear gang, Consider the following: == \starttext \startframedtext[width=fit,frame=off,offset=0pt] % \startlocalfootnotes[n=2] \startlocalfootnotes \input ward \startfootnote \inpu

[NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following: == \starttext \startframedtext[width=fit,frame=off,offset=0pt] % \startlocalfootnotes[n=2] \startlocalfootnotes \input ward \startfootnote \input ward \stopfootnote \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext

Re: [NTG-context] Setting the footnote symbol

2017-11-17 Thread Pablo Rodriguez
] \PagellaRegular \startlocalfootnotes Text \startfootnote Note \stopfootnote\ More text \placelocalfootnotes \stoplocalfootnotes \stopframedtext \dorecurse{5}{\input zapf} \stoptext Or use \switchtobodyfont[nonexisting] (if you feel more confortable wi

[NTG-context] Setting the footnote symbol

2017-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
. \startfootnote Or \quotation{materiate form,} as Aristotle also calls it because it attains existence in a material embodiment and cannot be defined without reference to matter, though matter is itself indefinable. The discussion is interspersed with criticism of the forms. Aristotle attacks the theory

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
:space] \spaceskip .7\interwordspace plus .5\interwordstretch minus \interwordshrink \stopsetups \starttext \input zapf \startfootnote \input zapf \stopfootnote \page \setupnote[footnote][setups=footnote:space] \input zapf \startfootnote \input zapf \stopfootnote \stoptext nor in my descr

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
t to change with width of a space. \startsetups[footnote:space] \spaceskip .7\interwordspace plus .5\interwordstretch minus \interwordshrink \stopsetups \setupnote[footnote][setups=footnote:space] \starttext \input zapf \startfootnote \input zapf \stopfoo

[NTG-context] \placefootnotes bug?

2015-04-05 Thread Idris Samawi Hamid ادريس سماوي حامد
={yes,big},after={\blank[small]}] \setupfootnotes[location=text] \starttext \startsection[title=Section 1] \startparagraph \input ward \startfootnote \input ward \startparagraph \input ward \stopparagraph \stopfootnote{} \stopparagraph

[NTG-context] extra space in footnotes (XML)

2015-03-28 Thread Pablo Rodriguez
tuppapersize[A8] \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \xmldoifnotselfempty {#1} { \dontleavehmode \ignorespaces \xmlflush{#1} \removeunwantedspaces } \par \stopxmlsetups \startxmlsetups xml:footnote:set \startfootnote

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
starttext \startsubject[title=Indentation Within a Footnote] \input ward \startfootnote \input ward \input ward \input ward \stopfootnote The explanation (you are a ConTeXt expert and I’m only a long-term newbie :-)) is that setups are required. Setups belong to \setupnote and indenting belong

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
wishes Idris \setupindenting[big,yes] \setupheads[indentnext=no] \setupnotation[footnote][command={\setupindenting[big,yes]},indenting=yes,next] \starttext \startsubject[title=Indentation Within a Footnote] \input ward \startfootnote \input ward \input ward \input ward \stopfootnote

[NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
] \setupnotation[footnote][command={\setupindenting[big,yes]},indenting=yes,next] \starttext \startsubject[title=Indentation Within a Footnote] \input ward \startfootnote \input ward \input ward \input ward \stopfootnote \input ward \stopsubject \stoptext -- Idris Samawi Hamid

Re: [NTG-context] textbackground

2015-02-26 Thread Hans Hagen
]}, background=color, backgroundcolor=lightgray] \starttext \input darwin% \startfootnote \input dawkins \stopfootnote \input tufte \startspanish \input quevedo-es% \startfootnote \input cervantes-es \stopfootnote \stopspanish \input zapf \stoptext \definetextbackground[en] \definetextbackground

[NTG-context] textbackground

2015-02-26 Thread Alan BRASLAU
] \starttext \input darwin% \startfootnote \input dawkins \stopfootnote \input tufte \startspanish \input quevedo-es% \startfootnote \input cervantes-es \stopfootnote \stopspanish \input zapf \stoptext ___ If your question

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-11 Thread Hans Hagen
otnote:ref} \xmlsetsetup{#1}{div[@class='footnotes']}{} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote:set \startfootnote \xmlflush{#1} \stopfootnote \stopxmlsetups \startluac

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-11 Thread Pablo Rodriguez
\xmlsetsetup{#1}{div[@class='footnotes']}{} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote:set \startfootnote \xmlflush{#1} \stopfootnote \stopxmlsetups \startluacode local gsub = s

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Hans Hagen
l:footnote} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote \startfootnote \xmlfirst{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]} \stopfootnote \stopx

[NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Pablo Rodriguez
txmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote \startfootnote \xmlfirst{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]} \stopfootnote \stopxmlsetups \setupitemize[margin=yes] \xmlprocessbuffer{main}{demo}

Re: [NTG-context] Multi-par footnotes. Indent second and later paragraphs?

2014-08-06 Thread Gerben Wierda
t; but the only thing I can think of is a couple of ~ at the start of each new >> par, not very nice and it doesn’t by definition align perfectly. Is there a >> nicer way? > > \setupindenting[yes,medium,next] > > \setupnotation[footnote][indenting={yes,medium}] > &g

Re: [NTG-context] Multi-par footnotes. Indent second and later paragraphs?

2014-08-05 Thread Wolfgang Schuster
gt; par, not very nice and it doesn’t by definition align perfectly. Is there a > nicer way? \setupindenting[yes,medium,next] \setupnotation[footnote][indenting={yes,medium}] \starttext \input knuth \startfootnote \input knuth \stopfootnote \sto

Re: [NTG-context] footnotes on wrong page

2013-07-24 Thread Alan BRASLAU
ly, I use: \setupnotation [footnote] [way=bypage,numberconversion=set 2] for example, but maybe this is no longer the recommended syntax? Also, in order to restore gobbled space following,% \startfootnote \stopfootnote I use the following setup: \setupnote [footnote] [next={ }] So \setupnotation, \

[NTG-context] localfootnotes and bodyfontsize in a placetable

2013-04-23 Thread Alan BRASLAU
gets incorrectly set (there is a break between "a" and "cell"). Probably there is a better way of achieving this correctly. Alan\setupbodyfont[10pt] \starttext 10pt \startplacetable [title=A title] \switchtobodyfont [6pt] \startlocalfootnotes \bTABLE \bTR

Re: [NTG-context] Bug in the latest beta (\stopalignment)

2013-04-10 Thread Hans Hagen
On 4/10/2013 9:49 AM, Alan BRASLAU wrote: On Tue, 9 Apr 2013 18:07:19 +0200 Jannik Voges wrote: \stopalignment Yes, I noticed a bug with \stopalignment. In fact \startalignment\stopalignment now gives errors in certain situations, for example, within a \startfootnote \stopfootnote pair

Re: [NTG-context] Bug in the latest beta (\stopalignment)

2013-04-10 Thread Alan BRASLAU
On Tue, 9 Apr 2013 18:07:19 +0200 Jannik Voges wrote: > \stopalignment Yes, I noticed a bug with \stopalignment. In fact \startalignment\stopalignment now gives errors in certain situations, for example, within a \startfootnote \stopfootnote pair. A

Re: [NTG-context] # sign in footnotes impossible ?

2013-02-16 Thread Marco Patzer
but \starttyping fails even with \asciimode. Philipps buffer solution seems to work with either version. \asciimode \starttext %% works \startfootnote foo \type{#bar} \stopfootnote %% fails %% \startfootnote %% foo %% \starttyping %%#bar %% \stoptyping %% \stopfootnote \stoptext Marco si

[NTG-context] Floats and footnotes don't obey focus=standard

2013-01-20 Thread Marco Patzer
Footnote \startfootnote Footnote \stopfootnote \stoptext This issue was raised by devendra on tex.se¹. Marco [1] http://tex.stackexchange.com/q/94023/5245 signature.asc Description: Digital signature ___ If your

Re: [NTG-context] \startfootnote\stopfootnote bug

2012-10-19 Thread Wolfgang Schuster
Am 19.10.2012 um 11:30 schrieb Alan BRASLAU : > Minimal example: > > \starttext > \input tufte > \startfootnote > \input ward > \stopfootnote > \stoptext Replace in strc-not.mkvi for the following block the named arguments with numbered arguments. This doesn

[NTG-context] \startfootnote\stopfootnote bug

2012-10-19 Thread Alan BRASLAU
Minimal example: \starttext \input tufte \startfootnote \input ward \stopfootnote \stoptext (works OK if one replaces \startfootnote \stopfootnote with \footnote{ }) Alan Runaway argument? \input ward \stopfootnote \stoptext ! File ended while scanning use of \strc_pickup_nop. system

Re: [NTG-context] footnotes

2012-04-24 Thread Alan BRASLAU
corrected the wiki) sort-of: If one manages to get a footnote reference at the bottom of a page, where there is no room to place the footnote, and there is at least one footnote reference on the following page, this results in two successive footnotes having the same reference number (or symbol

[NTG-context] footnotes

2012-04-24 Thread Alan BRASLAU
numberconversion in strc-not.mkvi; nevertheless, numbered footnotes do not get reset on each page.) 2. next=\autoinsertnextspace still does not work \setupnote[footnote][next=\autoinsertnextspace] \starttext Subject% \startfootnote Note. \stopfootnote verb. \stoptext (Note, however, that \starttext

Re: [NTG-context] MLA Bibliography

2012-04-18 Thread Kip Warner
te} > > \def\do_cite[#1][#2]{% > %%% Wraps citations into footnotes. > \iffirstargument > \startfootnote > \ifsecondargument > \originalcite[#1][#2]% > \else > \originalcite[#1]% > \fi > \stopfootnote > \fi% > } > > \

Re: [NTG-context] MLA Bibliography

2012-04-18 Thread Philipp Gesang
·· \setupbibtex[ database=sample, sort=author, ] \setuppublications[ alternative=apa, ] \glet\originalcite\cite \let\cite\relax \unprotect \def\cite{\dodoubleempty\do_cite} \def\do_cite[#1][#2]{% %%% Wraps citations into footnot

Re: [NTG-context] [***NOSPAM***] \setbreakpoints[compound] does not work

2012-03-25 Thread Steffen Wolfrum
Am 25.03.2012 um 17:05 schrieb Hans Hagen: > On 25-3-2012 13:34, Steffen Wolfrum wrote: >> \showframe >> \mainlanguage[de] >> \setbreakpoints[compound] >> >> \setnumber[footnote][114] >> >> \starttext >> >> test >> {\startfootn

Re: [NTG-context] [***SPAM***] \setbreakpoints[compound] does not work

2012-03-25 Thread Hans Hagen
On 25-3-2012 13:34, Steffen Wolfrum wrote: \showframe \mainlanguage[de] \setbreakpoints[compound] \setnumber[footnote][114] \starttext test {\startfootnote[ftn115] siehe Schlussbericht der zuständigen Bund-Länder-Arbeitsgruppe „Verkehrsverlagerungen info Lkw-Maut“, BT-Dr16/298 v.~13.\,12

[NTG-context] [***SPAM***] \setbreakpoints[compound] does not work

2012-03-25 Thread Steffen Wolfrum
Hi, is there a reason why hyphenation of compound "Lwk-Maut" does not work in following example? \showframe \mainlanguage[de] \setbreakpoints[compound] \setnumber[footnote][114] \starttext test {\startfootnote[ftn115] siehe Schlussbericht der zuständigen Bund-Länder-Arb

[NTG-context] subfootnote with wrong structureconversionset

2012-03-19 Thread Steffen Wolfrum
,numberseparatorset=footnote] \starttext test \footnote{} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext Steffen ___ If

Re: [NTG-context] footnotes setup

2012-03-18 Thread Wolfgang Schuster
from \installcommandhandler which generates only one setup-command which can be used for global (i.e. \setup…[..,..=..,..]) and local (i.e. \setup…[…][..,..=..,..]) settings. For backward compatibility you can find things like this: \let\setupnotes\setupnote 3. The argument are same

Re: [NTG-context] footnotes setup

2012-03-18 Thread Steffen Wolfrum
any difference between the singular and the plural forms? > Also, what parameters are accepted? (I see "% not all make sense here" > in strc-not.mkvi) > > http://wiki.contextgarden.net/Footnotes seems confused (ToDo). > > In particular, I am still

Re: [NTG-context] footnotes setup

2012-03-18 Thread Alan Braslau
te]), \setupnote (with \setupfootnotes=\setupnote[footnote]), also \setupnotes (=\setupnote ?) Is there any difference between the singular and the plural forms? Also, what parameters are accepted? (I see "% not all make sense here" in strc-not.mkvi) http://wiki.contextgarden.net/Footnotes se

[NTG-context] footnotes (\autoinsertnextspace)

2012-03-16 Thread Alan Braslau
Hello, I know that footnotes have been rewritten. Now, \autoinsertnextspace is ignored. Alan Minimal example: \setupfootnotes [next=\autoinsertnextspace] %\setupnote [footnote] [next=\autoinsertnextspace] % same as above... \starttext \input tufte \startfootnote This is a footnote

Re: [NTG-context] focus=standard not respected

2011-10-05 Thread Peter Münster
On Mon, Mar 28 2011, Marco wrote: > In the following example the page focus jumps back to »fit« after clicking on > the footnote number after »Foo«, although »focus=standard« is set. > > \setupinteraction [state=start, focus=standard] > \starttext > Foo > \startfootnote >

Re: [NTG-context] Indenting in footnotes

2011-08-15 Thread Cecil Westerhof
,next}] > Now it works. > BTW: You can replace “\ConTeXt\space” with “\CONTEXT\ ” and for longer > footnotes you can also replace \footnote{…} with \startfootnote > …\stopfootnote. > Works also. BTW: is it possible

Re: [NTG-context] Indenting in footnotes

2011-08-15 Thread Wolfgang Schuster
\space” with “\CONTEXT\ ” and for longer footnotes you can also replace \footnote{…} with \startfootnote …\stopfootnote. Wolfgang___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] focus=standard not respected

2011-03-29 Thread Marco
On 2011-03-28 Marco wrote: > In the following example the page focus jumps back to > »fit« after clicking on the footnote number after > »Foo«, although »focus=standard« is set. > > \setupinteraction [state=start, focus=standard] \starttext > Foo \startfootnote

[NTG-context] focus=standard not respected

2011-03-27 Thread Marco
In the following example the page focus jumps back to »fit« after clicking on the footnote number after »Foo«, although »focus=standard« is set. \setupinteraction [state=start, focus=standard] \starttext Foo \startfootnote Bar \stopfootnote \stoptext How to respect the users scaling factor

[NTG-context] bug in \definestructureconversionset[footnote] ?

2011-02-17 Thread Steffen Wolfrum
t=footnote,numberseparatorset=footnote] \setupfootnotes[way=bytext] \starttext test \footnote{} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext How can this be fixed

Re: [NTG-context] subfootnote

2011-02-15 Thread Steffen Wolfrum
etupfootnotes[way=bytext]%<- here is the problem!! >> >> \starttext >> test \footnote{} >> text >> test \startfootnote note \stopfootnote >> test \startsubfootnote subnote \stopsubfootnote >> test \startfootnote note \stopfootnote >> \s

[NTG-context] Fwd: bug: no overfullrule in footnotes!

2010-12-10 Thread Steffen Wolfrum
mporary] > \showframe > > > \starttext > > Test \hbox{text text text text text text text text text text text text text > text text text text text}. > \startfootnote[ftn007] > Test \hbox{text text text text text text text text text text text text text > text te

[NTG-context] bug: no overfullrule in footnotes!

2010-12-07 Thread Steffen Wolfrum
text text text text text text text text text text text text text text}. \startfootnote[ftn007] Test \hbox{text text text text text text text text text text text text text text text text text text text text text}. \stopfootnote \stoptext

Re: [NTG-context] next space (problematic example!)

2010-12-04 Thread Steffen Wolfrum
> > But how about this (see below)? > Is there a chance to get a space after footnote even before an italic? > > Steffen > > --- > > \definestartstop[Textit][style=\em, > % color=red, > after=\autoinsertnextspace] > > \setupnote > [footnote] &

Re: [NTG-context] next space (problematic example!)

2010-12-03 Thread Steffen Wolfrum
e after footnote even before an italic? Steffen --- \definestartstop[Textit][style=\em, % color=red, after=\autoinsertnextspace] \setupnote [footnote] [next=\autoinsertnextspace] \starttext Test text. \startfootnote Note. \stopfootnote \startTextit Test\stopTexti

[NTG-context] next space

2010-11-29 Thread Steffen Wolfrum
Hi, please have a look at this: \definestartstop[redimportant][before={\startcolor[red]\bf\penalty1\hskip\zeropoint},after={\/\stopcolor}] \starttext This is normal, but this\startredimportant one\startfootnote at least \stopfootnote is bold\stopredimportant style. This is normal, but

Re: [NTG-context] hyphenated url (SOLVED)

2010-10-28 Thread Steffen Wolfrum
eraction [state=start] \starttext test {\getbuffer[comurl]} text.% HEY! test \startfootnote test \getbuffer[comurl]\ text.% HEY! \stopfootnote{} text.% HEY! \stoptext Here, the "%" character can be used for URL, both in bodytext and footnote, but works as "comment", too.

  1   2   >