indentedtext
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/ sta
ion=arabic-hindi, headstyle=\lefttoright, ]\unexpanded\def\doVariant#1#2#3%{\startlinenote[#1]{#2[ #3}#2\stoplinenote[#1]}\newcounter\countvariants\unexpanded\def\variant{\doglobal\increment\countvariants\normalexpanded{\doVariant{Varia:\countvariants}}}%%% DOCUMENT%\startsetups[not
Thanks for that, Wolfgang. I can only hope that, as the culprit is known, it
can be apprehended!
Idris: here is the document that I had sent (and many thanks to you and to
Pablo for the more general advice):
\unexpanded\def\doVariant#1#2#3%
{\startlinenote[#1]{#2] #3}#2\stoplinenote
This text shows a \startlinenote[one]{bariant
H} variant \stoplinenote[one].
This text shows a \startlinenote[two]{bariant
H}\prewordbreak variant\stoplinenote[two].
This text shows a \startlinenote[three]{bariant
H}\prewordbreak variant\stoplinenote[three
thing to do.
The original thread is three years old.
Anyway, this may help you (it isn’t my original code):
\unexpanded\def\doVariant#1#2#3%
{\startlinenote[#1]{#2] #3}#2\stoplinenote[#1]}
\newcounter\countvariants
\unexpanded\def\variant
{\doglobal\increment\countvariants
\section{EX2} \section{With start and stop} \startlinenote[one]
{\lemma ] \comment} \bodytext \stoplinenote[one]
\stoplinenumbering
\stoptext
- - -
In the above, I have been able to successfully do automate this using
the macro command variant. With this approach, however, the line
number is only
.
Anyway, this may help you (it isn’t my original code):
\unexpanded\def\doVariant#1#2#3%
{\startlinenote[#1]{#2] #3}#2\stoplinenote[#1]}
\newcounter\countvariants
\unexpanded\def\variant
{\doglobal\increment\countvariants
\normalexpanded{\doVariant{Varia
%
{\startlinenote[#1]{#2 #3}#2\stoplinenote[#1]}
\newcounter\MyCounter
\unexpanded\def\CritApp
{\doglobal\increment\MyCounter
\normalexpanded{\doCritApp{Varia:\MyCounter}}}
%~ \def\CritApp#1#2{#1}
\starttext
με τὴν τέχνην ταύτην \CritApp{ἴσα}{neut. pl. acc. adverbial, “equally
to” + dat
%
{\startlinenote[#1]{#2 #3}#2\stoplinenote[#1]}
\newcounter\MyCounter
\unexpanded\def\CritApp
{\doglobal\increment\MyCounter
\normalexpanded{\doCritApp{Varia:\MyCounter}}}
\starttext
supercalifragilisticexpialidocious
\CritApp{supercalifragilisticexpialidocious}{test}
\stoptext
On 18 Sep 2014, at 08
Hi Thomas, Luigi and Hans,
I have a feature suggestion that might be interesting to implement for
critical editions.
Here is my code sample:
\mainlanguage[la]
\unexpanded\def\doVariant#1#2#3%
{\startlinenote[#1]{#2] #3}#2%
\prewordbreak\stoplinenote[#1]}
\newcounter\VarCounter
On 11/18/2013 11:25 PM, Hans Hagen wrote:
[...]
\unexpanded\def\doCritApp#1#2#3%
{\startlinenote[#1]{#2 #3}(#2)\stoplinenote[#1]}
\newcounter\MyCounter
\unexpanded\def\CritApp
{\doglobal\increment\MyCounter
\normalexpanded{\doCritApp{Varia:\MyCounter}}}
[...]
so, in your macro
Dear Thomas, Luigi and Hans,
here is my first sample to the critical edition project of Thomas.
I think it is a bug.
This is the code:
\setuppapersize[A8]
\starttext
\startlinenumbering
This text shows a \startlinenote[one]{bariant
H} variant \stoplinenote[one].
This text shows
Dear Thomas, Luigi and Hans,
my second sample might be related to the first one. But I’m not sure it
is a bug.
Here is the code:
\setuppapersize[A8]
\newcounter\MyCounter
\def\CritApp#1#2{\increment\MyCounter%
\startlinenote[Varia:\MyCounter]{#1] #2}#1%
\prewordbreak\stoplinenote[Varia
On 11/18/2013 8:55 PM, Pablo Rodriguez wrote:
Dear Thomas, Luigi and Hans,
my second sample might be related to the first one. But I’m not sure it
is a bug.
Here is the code:
\setuppapersize[A8]
\newcounter\MyCounter
\def\CritApp#1#2{\increment\MyCounter%
\startlinenote[Varia:\MyCounter
Dear list,
I have a sample of nested linenotes (containing an user-defined command):
\setuppapersize[A8]
\newcounter\MyCounter
\def\CritApp#1#2{\increment\MyCounter%
\startlinenote[Varia:\MyCounter]{#1] #2}#1%
\prewordbreak\stoplinenote[Varia:\MyCounter]}
\starttext
\startlinenumbering
:
\setuppapersize[A8]
\newcounter\MyCounter
\def\CritApp#1#2{\increment\MyCounter%
\startlinenote[Varia:\MyCounter]{#1] #2}#1%
\prewordbreak\stoplinenote[Varia:\MyCounter]}
\starttext
\startlinenumbering
\startlinenote[one]{hyphenated}this is a test on
\startlinenote[two]{with nested
linenote}hyphenation
Dear list,
I have the following sample:
\newcounter\MyCounter
\def\CritApp#1#2{\increment\MyCounter%
\startlinenote[Varia:\MyCounter]{#1] #2}#1%
\prewordbreak\stoplinenote[Varia:\MyCounter]}
\starttext
\startlinenumbering
\CritApp{this is a first \CritApp{legibility}{how about a nested
Dear Hans,
the following sample shows an already described issue with linenotes:
\mainlanguage[es]
\setuppapersize[A7]
\starttext
\startlinenumbering
\startlinenote[MRU]{{\em om.} X}En un lugar de la Mancha, de cuyo
nombre no quiero acordarme, no ha mucho tiempo que vivía
]\Variant
{\increment\LineNote
\startlinenote[LineNote:\LineNote]{#2}#1%
\stoplinenote[LineNote:\LineNote]}
\starttext
\startlinenumbering
\dorecurse{10}{\Variant{\showhyphens{legislation}not
original}{variant} \Variant{\showhyphens{legibility}origin
=yes]
\setupnotation[linenote][alternative=serried]
\define[2]\Variant
{\increment\LineNote
\startlinenote[LineNote:\LineNote]{#2}#1%
\stoplinenote[LineNote:\LineNote]}
\starttext
\startlinenumbering
\dorecurse{10}{\Variant{\showhyphens{legislation
: 51e42898.8020...@web.de
Content-Type: text/plain; charset=windows-1252
Dear list,
in the following sample:
\setuppapersize[A6]
\newcounter\LineNote
\setupnote[linenote][paragraph=yes]
\setupnotation[linenote][alternative=serried]
\define[2]\Variant
{\increment\LineNote
\startlinenote
Dear list,
in the following sample:
\setuppapersize[A6]
\newcounter\LineNote
\setupnote[linenote][paragraph=yes]
\setupnotation[linenote][alternative=serried]
\define[2]\Variant
{\increment\LineNote
\startlinenote[LineNote:\LineNote]{#1 #2}
#1%
\stoplinenote[LineNote:\LineNote
of ...
1 \setupnotation[linenote][compress=yes]
2 \starttext
3
4 \startlinenumbering
5 \linenote{Without this note, line numbering from ranges is
6 right}\startlinenote[one]{This should have lines 1 to 3.}line one\\
7 line two\\
8 line three\stoplinenote[one]
9
}\startlinenote[one]{This should have lines 1 to 3.}line one\\
line two\\
line three\stoplinenote[one]
\stoplinenumbering
\stoptext
It happens when compressed linenotes are enabled and there is a linenote
before the \startlinenote. In that case, only the first line is
numbered, not the last.
Could you
this note, line numbering from ranges is
right}\startlinenote[one]{This should have lines 1 to 3.}line one\\
line two\\
line three\stoplinenote[one]
\stoplinenumbering
\stoptext
It happens when compressed linenotes are enabled and there is a linenote
before the \startlinenote. In that case, only
On 26/06/13 22:58, Hans Hagen wrote:
On 6/26/2013 10:46 PM, Pablo Rodríguez wrote:
[...]
It happens when compressed linenotes are enabled and there is a linenote
before the \startlinenote. In that case, only the first line is
numbered, not the last.
Could you fix that?
not today
On 21/06/13 23:07, Wolfgang Schuster wrote:
Am 21.06.2013 um 19:40 schrieb Pablo Rodríguez oi...@web.de:
[..]
And I would like to make \variant operative, so I thought I could
replace 0 with a counter, redefining it so:
\def\variant#1#2{%
\startlinenote[\getnumber[lnt]]{#1] #2}#1
Dear list,
I have the following code:
\definenumber[lnt]
\setupnote[linenote][paragraph=yes]
\def\variant#1#2{%
\startlinenote[0]{#1] #2}#1%
\stoplinenote[0]}
\starttext
\startlinenumbering
\variant{body text}{variant}
\stoplinenumbering
\stoptext
And I
Am 21.06.2013 um 19:40 schrieb Pablo Rodríguez oi...@web.de:
Dear list,
I have the following code:
\definenumber[lnt]
\setupnote[linenote][paragraph=yes]
\def\variant#1#2{%
\startlinenote[0]{#1] #2}#1%
\stoplinenote[0]}
\starttext
\startlinenumbering
Hi there,
I have the following code:
\mainlanguage[la]
\definelinenote[linenote]
\setuplinenote[linenote][rule=off,paragraph=yes,numbercommand=,inbetween=\qquad]
\setupdescriptions[linenote][display=yes,location=serried,distance=1em]\starttext
\startlinenumbering
Sed \startlinenote[one]{entia
]
\definelinenote[linenote]
\starttext
\startlinenumbering
Entia non sunt multiplicanda \startlinenote[one]{praeter necessitatem]
sine necessitate H} praeter necessitatem \stoplinenote[one].
\stoplinenumbering
\stoptext
If I'm not wrong, I'm afraid there might be a bug here, since there is
no space between
]
\setuplinenote [linenote]
[distance=2em,rule=off,frame=on,framecolor=darkred]
\startlinenumbering
test test test \dorecurse{40}{test }.
\linenote {A simple linenote does not have a number range}
\startlinenote [one] {A linenote environment has a range that covers the
first line of an environment up
I'm trying to get straight in my head what critical-edition-related
commands are already implemented in ConTeXt.
Implemented:
(a) footnotes on specific lines, specified inline: \linenote{note text}
(b) ditto on line ranges: \startlinenote[tag]{note text} ... \stoplinenote[tag]
(c) tag a line
Am 20.07.2012 um 19:33 schrieb Sietse Brouwer:
Hans wrote:
but as you mention the interface is a bit problematic as start/stop is not
nice when being nested
Do you mean it doesn't look nice, or is it so that nesting or
interleaving \startlinenote[tag] ... \stoplinenote[tag] environments
]
\startlinenumbering[100]
test \linenote {\startlemma{oeps 1} \input tufte\stoplemma} test test
test test test test
test \startlinenote [well] {oeps X} test test test test test test
test \linenote {oeps 2} test test test test test test
test \linenote {oeps 3} test test test test test test
test
\increment\DummyNumber % else dups due to reuse
\startlinenumbering[100]
test \linenote {oeps} test test test test test test
test \startlinenote [well:\DummyNumber] {oeps} test test test test test test
test \linenote {oeps} test test test test test test
test \extralinenote {oeps} test test test test
36 matches
Mail list logo