Am Donnerstag, 6. Juni 2024, 16:34:03 MESZ schrieb Wolfgang Schuster:
> \startsetups [userdata:extract]
> \startnarrower
> \setupindenting[next]
> \getuserdata
> \hairline
> \dontleavehmode\wordright{\itx\userdataparameter{author}}
&g
gt;
> \definedelimitedtext
>[dextract]
>[blockquote]
>[leftmargin=1.5pc,
> style=italic,
> before=\setupindenting[next],
> after=\setups{extract:whatever}]
>
> \definestartstop
>[extract]
>[arguments=yes,
> before=\setup
chieve that?
> > I tried with \structureuservariable (like possible in \startchapter) but it
> > does not work.
>
> \startsetups [userdata:extract]
> \startnarrower
> \setupindenting[next]
> \getuserdata
> \hairline
>
[userdata:extract]
\startnarrower
\setupindenting[next]
\getuserdata
\hairline
\dontleavehmode\wordright{\itx\userdataparameter{author}}
\stopnarrower
\stopsetups
\defineuserdataalternative
[extract]
[renderingsetup=userdata:extract]
\defineuserdata
[next]
\getuserdata
\hairline
\dontleavehmode\wordright{\itx\userdataparameter{author}}
\stopnarrower
\stopsetups
\defineuserdataalternative
[extract]
[renderingsetup=userdata:extract]
\defineuserdata
[extract]
[style=italic,
alternative=extract]
\starttext
after=\setups{extract:stop}]
\startsetups extract:start
\startdextract
\stopsetups
\startsetups extract:stop
\startstopparameter{author}
\stopdextract
\blank[1ex,samepage]
\hrule
\blank[1ex,samepage]
\dontleavehmode
\wordright{\itx\startstopparameter{author}}
\stops
Kunst hat mehr Berechtigung, ihren
Blick auf die zukünftigen Jahrhunderte zu richten als die
Typographie.}\wordright{Giambattista Bodoni}
\stop
\start
\setupinitial[method=last]
\placeinitial \quotation{Nationalökonomie ist, wenn die Leute sich
wundern, warum sie kein Geld haben.}\wordr
Pablo Rodriguez via ntg-context schrieb am 09.02.2024 um 20:07:
On 2/8/24 22:37, Otared Kavian wrote:
Hi Ursula,
I think you mean the so-called end of the proof sign, or QED (Quod Erat
Demonstrandum). You can use this:
\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED
On 2/8/24 22:37, Otared Kavian wrote:
> Hi Ursula,
>
> I think you mean the so-called end of the proof sign, or QED (Quod Erat
> Demonstrandum). You can use this:
>
> \definesymbol[QED][\mathematics{\square}]
> \def\qed{\wordright{\symbol[QED]}}
> \starttext
> This is
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
machen \par Sie sich die Bedeutung der beiden Aussagen klar.}\wordright{\square}
\stopalignment
\stoptext
Many thanks
Uschi
Von: Ursula Hermann
Gesendet: Freitag, 9. Februar 2024 08:39
Dear Hraban, Dear Otared!
Many Thanks,
Hraban: Because of \wordright: I took a look at wordright at the wiki, works
perfect.
Otared, many thanks too. It also works perfect with your example
Uschi
Von: Otared Kavian
Gesendet: Donnerstag, 8. Februar
Hi Ursula,
I think you mean the so-called end of the proof sign, or QED (Quod Erat
Demonstrandum). You can use this:
\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED]}}
\starttext
This is the end of our proof. \qed
\stoptext
In principle it is included in ConTeXt, but
an
error message in the log that tells you about missing characters in your
selected font.
I’d suggest \wordright{} instead of your alignment construction.
Hraban
___
If your question is of interest to others as
On Monday, October 25, 2021 7:34:06 AM IST kauśika cittūr wrote:
> On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote:
> > Dear list,
> >
> > In short, my question is: why does \wordright cause a line-break when the
> > line preceding it breaks with hyphena
On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote:
> Dear list,
>
> In short, my question is: why does \wordright cause a line-break when the
> line preceding it breaks with hyphenation and does not otherwise? How to
> avoid it (if at all possible)?
>
> I ha
On Sunday, October 24, 2021 5:31:32 PM IST Hans Hagen wrote:
> On 10/24/2021 1:08 PM, Benjamin Buchmuller via ntg-context wrote:
> > Maybe
> >
> > \hfill author
>
> It's anyway nicer to use
>
> % \definenarrower
> % [amnata]
> % [left=\measure{amnatamargin},
> %right=\measure{amnatamargi
asure{amnatamargin}]
but then them, the fact that we get something hyphenated interferes ..
tricky
On 24. Oct 2021, at 04:12, kauśika cittūr wrote:
Dear list,
In short, my question is: why does \wordright cause a line-break when the line
preceding it breaks with hyphenation and does not otherwise? H
Maybe
\hfill author
?
> On 24. Oct 2021, at 04:12, kauśika cittūr wrote:
>
> Dear list,
>
> In short, my question is: why does \wordright cause a line-break when the
> line
> preceding it breaks with hyphenation and does not otherwise? How to avoid it
> (if at al
On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote:
> Dear list,
>
> In short, my question is: why does \wordright cause a line-break when the
> line preceding it breaks with hyphenation and does not otherwise? How to
> avoid it (if at all possible)?
>
> I ha
Dear list,
In short, my question is: why does \wordright cause a line-break when the line
preceding it breaks with hyphenation and does not otherwise? How to avoid it
(if at all possible)?
I have this delimitedtext instance called 'amnata' defined as below:
\definemeasure[amnatam
On 4/18/2021 22:12, Rik Kabel wrote:
Dear all,
At some time in the last couple of years the behavior of \wordright
seems to have changed, at least in the following situation. With the
following example:
\starttext
\hsize3cm
Aaa\wordright{Aaa}\par
\sc{Bbb\wordright{Bbb
Dear all,
At some time in the last couple of years the behavior of \wordright
seems to have changed, at least in the following situation. With the
following example:
\starttext
\hsize3cm
Aaa\wordright{Aaa}\par
\sc{Bbb\wordright{Bbb}}\par
{\sc Ccc\wordright{Ccc}}\par
On 9/2/2020 11:10 AM, mf wrote:
Thanks Hans,
this solves the problem I had with the new implementation of \wordright.
It's not exactly a problem of \wordright, but the combination with
\groupedcommand.
that is always tricky as what happens is postponing till the group ends
but wordrigh
Thanks Hans,
this solves the problem I had with the new implementation of \wordright.
It's not exactly a problem of \wordright, but the combination with
\groupedcommand.
Is \nextbox a new entry of latest versions?
I've seen also \nextboxwd, \nextboxht, etc.
So you can measure the n
On 9/1/2020 5:47 PM, mf wrote:
\unexpanded\def\groupedwordorparagraphright{\dosingleempty\dogroupedwordorparagraphright}
\def\dogroupedwordorparagraphright[#1]{\groupedcommand{\setbox\scratchbox\hbox\bgroup}
{\egroup\ifdim\wd\scratchbox < \hsize
\wordright{\unhbox\scratchbox}
\e
Hello list,
this is a MWE that worked right in MkIV and in LMTX versions (at least)
until April 22nd, 2020.
There's a macro, \wordorparagraphright, that takes one argument, makes a
hbox with it and measures its width
- if its width is less than \hsize, then it calls \wordright
- i
\definesymbol[Fin][\mathematics{\square}]
\def\qed{%
\ifmmode
\inrightmargin{\hskip-7.5mm\symbol[Fin]} % --> attention here
\else
\dontleavehmode\wordright{\symbol[Fin]}
\fi}
\setupformulas[location=left]
\starttext
One sees t
Fabrice Couvreur schrieb am 05.08.2020 um 19:33:
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[...,
closesymbol
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[text=Démonstration,
alternative=serried,
distance=\zeropoint,
number
-qed.tex
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\ifmmode\quad\symbol[Fin]\else\strut\wordright{\symbol[Fin]}\fi}
\starttext
\startformula
a^2 + b^2 = c^2.
\stopformula
\startformula
a^2 + b^2 = c^2. \qed
\stopformula
One sees that\type{\qed} in the formula changes the alignment of the
seems to be \wordright, but
although the following minimal example shows a bug it does not produce the same
ERROR output page:
the square ''end of proof''
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\wordright{\symbol[Fin]}}
\starttext
\startformula
a^2 + b^2 = c
Hi Hans,
A file which used to be typeset correctly with the previous versions of lmtx,
now produces an error. Despite the error message being extremely cryptic:
Error ! Missing number, treated as zero
I could guess the origin of the bug, which seems to be \wordright, but
although the
, it should
>> move to the next line. ATM I’m clueless...
>>
>> That’s not enough (also not a MWE):
>>
>> \define[1]\Foto{\hfill\hbox{\tfx Foto: #1}}
>
> Doesn't \wordright do what you want?
MWE):
\define[1]\Foto{\hfill\hbox{\tfx Foto: #1}}
Best, Hraban
Doesn't \wordright do what you want?
--
Rik
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
]
\startframedtext [frame=off,width=fit,offset=0.25ex]
\startlines [style=mono]
lichtung
manche meinen
lechts und rinks
kann man nicht
velwechsern.
werch ein illtum!
\wordright{ernst jandl}
\stoplines
\stopframedtext
\stopplacefloat
\dorecurse{2}{\samplefile
ramedtext[
frame=off,
width=fit,
style=\tt,
%background=color,backgroundcolor=yellow,
]{%
\startlines%
lichtung
manche meinen
lechts und rinks
kann man nicht
velwechsern.
werch ein illtum!
\wordright{ernst jandl}
\stoplines
}
\stopplacefloat
\dorecurse{2}{\input knuth}
\stoptext
style=\tt,
% background=color,backgroundcolor=yellow,
%]{\vbox{%
\startlines
lichtung
manche meinen
lechts und rinks
kann man nicht
velwechsern.
werch ein illtum!
\wordright{ernst jandl}
\stoplines
%}}
\stopplacefloat
\dorecurse{2}{\input knuth}
\stoptext
Greetlings, Hraban
---
https://www.fie
f][text=Proof.]
\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
This is a simple proof.
\startformula
1+1=2.
\stopformula
\placeclosesymbol
\stopproof
\startproof
This is anoth
On Mon, 27 Aug 2018, Jeong Dal wrote:
Hi,
The same thing happens after the itemization as in the following MWE.
\defineenumeration[proof][text=Proof.]
\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi
MWE.
Thank you for reading.
Best regards,
Dalyoung
\defineenumeration[proof][text=Proof.]
\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
This is a simple proof.
\stopproof
d one.
>
> So i wrote this:
>
> ---
> \def\wordorparagraphright#1{\let\scratchWidth\relax
> \setbox\scratchbox=\hbox{#1}\newdimen\scratchWidth
> \scratchWidth=\wd\scratchbox
> \ifdim\scratchWidth < 0.9\textwidth
> \wordright{#1}%
> \else
>
\wordright is ok until the numbers don't exceed the text width.
It manages these two cases right:
Index term, and some
text 21, 34, 45, 72
Index term, and some
text
21, 34, 45, 72, 89
When the numbers exceed the text width, it fails:
Index term, and some
text
21, 34, 45, 72, 89, 101
}
\page
\LATEX\index{\LaTeX}
\page
\CONTEXT\index{\ConTeXt}
\page
\setupregisterpagescommand{\wordright}
\placeindex
\page
\resetregisterpagescommand
\placeindex
\stoptext
btw, Hans, are you going to add an option to \setupregister? :)
knowing that wolfgang looked into it i just wait till he cooks up
\registerparameter\c!pageleft}
\unexpanded\def\stopregisterpages
{\registerparameter\c!pageright
\dostoptagged
\endgroup}
\protect
\setupregister
[index]
[n=1,
alternative=A,
distance=0pt,
pageleft=\wordright\bgroup,
pageright=\egroup]
\starttext
\CONTEXT\index{\ConTeXt
\CONTEXT\index{\ConTeXt}
\page
\setupregisterpagescommand{\wordright}
\placeindex
\page
\resetregisterpagescommand
\placeindex
\stoptext
btw, Hans, are you going to add an option to \setupregister? :)
___
If your question is
ages\empty
\useregisterstyleandcolor\c!pagestyle\c!pagecolor}
\unexpanded\def\stopregisterpages
{\dostoptagged
\endgroup}
And this seems to work:
\let\origstartregisterpages=\startregisterpages%
\let\origstopregisterpages=\stopregisterpages%
\unexpanded\def\startregisterpages{\origstartregisterpages\wo
.
\setupregister
[index]
[n=1,
alternative=A,
textcommand=\groupedcommand{}{\hfill\quad}]
Wolfgang
MF <mailto:mass...@fastwebnet.it>
9. Mai 2018 um 17:09
Hello list,
i'd like moving the page numbers in my index to the right, with a
\wordright.
\setupregister[index][n=1,al
Hello list,
i'd like moving the page numbers in my index to the right, with a
\wordright.
\setupregister[index][n=1,alternative=A]
\starttext
\CONTEXT\index{\ConTeXt}
\page
\LATEX\index{\LaTeX}
\page
\CONTEXT\index{\ConTeXt}
\page
\placeindex
\stoptext
The index is at page 4. I want to mov
aragraph
>> \startparagraph
>> It makes no difference in any test how the paragraphs are
>> delimited—blank lines, \tex{bpar}/\tex{epar},
>> \tex{startparagraph}/\tex{stopparagraph}, or \tex{par}.
>> \stopparagraph
>> \startparagraph
>>
\egroup
\page
\startchapter
[title={Start/stop sectioning}]
\startsection[title={Mis\-cel\-la\-neous quo\-ta\-tions}]
\startparagraph
\input jojomayer
\stopparagraph
\startparagraph
\input carrol \wordright{No indent no whitespace
\startparagraph
\input carrol \wordright{No indent no whitespace.}
\stopparagraph
\stopsection
\bgroup
\setupwhitespace[medium]
\startsection[title={Miscellaneous quotations}]
\startparagraph
\input jojomayer
\stopparagraph
ommand
\definedescription[testdescription][title=yes,closecommand=\wordright,closesymbol={\symbol[square]}]
\starttext
\starttestdescription{Knuth}
\input knuth
\stoptestdescription
\stoptext
titleleft
titleright
titledistance
titlestyle
titlecolor
The title* keys can only be used with enumer
our \startpn … \stoppn command:
>>>
>>> \define\startpn
>>>{\grabuntil{stoppn}{\setgvariable{table}{p}}}
>>
>>
>> Thanks for you help. Sadly I can't get it working, even if I hard-code
>> the value of \setgvariable as e.g. \setgvariable{t
ely positioned in (the corner of) a
table cell that gets defined in the normal flow (just like another
paragraph within the cell).
Any pointers are welcome, I'm happy to dig deeper myself.
test \wordright{p}
-
Thank you Rik, \wordright is exactly what I was looking for.
Best regards,
Massi
Il giorno lun, 16/11/2015 alle 09.34 -0500, Rik Kabel ha scritto:
> On 2015-11-16 07:40, mass...@fastwebnet.it wrote:
> > Sorry, there was a typo in my previous email.
> > The last example should
, is there an automatic way to achieve that
> right alignment in both cases?
> Thanks,
> Massi
Have you looked at \wordright
<http://wiki.contextgarden.net/Command/wordright>?
--
Rik
___
If yo
On 11/10/2014 10:31 AM, Otared Kavian wrote:
Hi Hans,
Thanks for your attention. However the following doesn’t result in what is
expected:
%% begin proof-qed.tex
\defineenumeration
[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\mathortext\eqno\wordright
Hi Hans,
Thanks for your attention. However the following doesn’t result in what is
expected:
%% begin proof-qed.tex
\defineenumeration
[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\mathortext\eqno\wordright]
\starttext
\startproof
This is a simple proof
]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
the \ifmmode is not honoured, and the change must have happened quite earlier
than a few weeks.
Maybe we should open a new thread as a bug in closecommand?
it probably has to do
=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
the \ifmmode is not honoured, and the change must have happened quite earlier
than a few weeks.
Maybe we should open a new thread as a bug in closecommand?
Best regards: OK
> On 09 Nov 2014, at 21:29, Mikael P. Sundqv
of]
> [number=no,
> closesymbol=\mathematics{\square},
> closecommand=\ifmmode\eqno\else\wordright\fi]
>
>
> \starttext
> \startproof
> This is a simple proof.
> \stopproof
>
> \startproof
> This is another simple proof that ends with a formula
> \startformu
\wordright\fi]
\starttext
\startproof
This is a simple proof.
\stopproof
\startproof
This is another simple proof that ends with a formula
\startformula
1+1=2.
\stopformula
\stopproof
\stoptext
I don’t know when the change occurred, but at least it worked last year (which
for ConTeXt means
On Mon, Nov 3, 2014 at 9:15 PM, Mikael P. Sundqvist wrote:
> Hi,
>
> I once used
>
> \defineenumeration[proof][
> text=Proof,
> closesymbol=\mathematics{\square},
> closecommand=\ifmmode\eqno\else\wordright\fi,
> ]
>
> \starttext
> \startproof
&g
Hi,
I once used
\defineenumeration[proof][
text=Proof,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi,
]
\starttext
\startproof
This is a simple proof.
\stopproof
\startproof
This is another simple proof that ends with a formula
\startformula
1+1=2
se
>
>> At least the test is if X lines left on page or still fit on page!
>>
>> I also have a question. Are the commands setuppagechecker sothat
>>
>> \definepagechecker[whatever]
>>
>> \setuppagechecker[whatever]
>> [lines=35,
>&
[whatever]
\setuppagechecker[whatever]
[lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
and also
\checkpage [lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
in that case you use those values
added layer on top
of testpage!
At least the test is if X lines left on page or still fit on page!
I also have a question. Are the commands setuppagechecker sothat
\definepagechecker[whatever]
\setuppagechecker[whatever]
[lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par
please wikify ...
\definepagechecker
[whatever]
[lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
\setupindenting[yes,9pt,first]
\starttext
\noindentation
\input knuth\par
\input knuth\par
\noindentation
\input knuth
\blank[4pt]
>{\bf #2} \wordright{\tfx (Heiliger Qur'an #3:#4)}
>\blank[3pt]}
>}
>
> How can I setup, that paragraphs after this above block will not be indented?
You can add \noindentation at the end of your code. You can also use the
annotation
environment to cre
I have defined the following macro:
\def\Qur[#1][#2][#3][#4]{\placeongrid{\blank[4pt]\testpage[4]
\setupindenting[no]
\startalignment[right]\setupalign[r2l]\setupinterlinespace[line=3.7ex]\amiri
#1 \stopalignment
\blank[4pt]
{\bf #2} \wordright{\tfx (Heiliger Qur'an #3:#4)}
\blan
The code for my headers is of the form:
\setupheadertexts[{\inframed[frame=off,width=\textwidth,location=depth,align={right,broad,nothyphenated},tolerance=verytolerant]{Author\\Title\\\tab{\getmarking[chapternumber]}
\getmarking[chapter] \wordright{\pagenumber}}}]
As you might imagine, the name
ant, a simple way is to use the framedtext
environment which can be positioned on the right margin, complexes
solutions are possible but they require more code.
\defineframedtext[epigraph][location=right,frame=off,offset=.25ex]
\starttext
\title{Ward}
\startepigraph
\input ward
\hairline
}
\def\original{\ss}
\def\paratext{\tt}
\def\quotationheader#1#2{{\noindenting\paratext#1]\wordright{[#2}}}
\def\siglum#1{{\bf#1}}
\def\someoneelse#1{{\it#1}}
\stopenvironment
___
If your question is of interest to others a
]
% four
\startsetups [annotation:four]
\startframedtext[width=broad,framecolor=red]
\placeannotationcontent
\doifsomething{\annotationparameter{author}}{\wordright{\annotationparameter{author}}}
\stopframedtext
\stopsetups
\defineannotationalternative[four][renderingsetup=annotation:four]
On Sat, Apr 14, 2012 at 08:26, Wolfgang Schuster
wrote:
> \setupregister[index][indicator=no,pagecommand=\wordright,before=]
>
> Setup commands are put before \starttext, when you really need these settings
> for a certain register placement you can write \placeindex[..,.=.,..]
en letters (I've
>> already removed the indicator, but I'm stuck there).
>>
>> 2) I'm trying to align the pagenumber on the right side of the column.
>> Should be easy, but...?!
>
> Nobody has a solution? :-( Are my questions unclear and badly
the wrong way. Such a layout can be easily done with your own list-command
> for chapter but the labeltext is tricky:
>
> \setuplabeltext[chapter=CHAPTER~]
>
> % \define[3]\ChapterList % no label!
> % {#1\crlf#2\wordright{#3}}
>
> % \define[3]\ChapterList % fixed label, wr
do get with MkIV the first example like you expect but
“style={\blank[0cm]}”is the wrong way. Such a layout can be easily done with
your own list-commandfor chapter but the labeltext is tricky:
\setuplabeltext[chapter=CHAPTER~]
% \define[3]\ChapterList % no label!% {#1\crlf#2\wordright
\crlf#2\wordright{#3}}
% \define[3]\ChapterList % fixed label, wrong for appendices!%
{\labeltext{chapter}#1\crlf#2\wordright{#3}}
\define[3]\ChapterList {\currentlistsymbol\crlf#2\wordright{#3}}
\setuplist[chapter][label=yes,alternative=command,command=\ChapterList]
\starttext
\startfrontm
th MkIV the first example like you expect but “style={\blank[0cm]}”
is the wrong way. Such a layout can be easily done with your own list-command
for chapter but the labeltext is tricky:
\setuplabeltext[chapter=CHAPTER~]
% \define[3]\ChapterList % no label!
% {#1\crlf#2\wordright{#3}}
% \def
adopt the margin
>> setting from \setuplist[section][margin=3em] and I can't get rid of it … Any
>> hint?
>
> Use the “command” alternative.
>
> \define[3]\ChapterList
> {\inframed[width=broad]{#1\emspace#2\hfill#3}}
> % {\inframed[width=broad]{#1\hspace[big]#2\
get rid of it … Any
> hint?
Use the “command” alternative.
\define[3]\ChapterList
{\inframed[width=broad]{#1\emspace#2\hfill#3}}
% {\inframed[width=broad]{#1\hspace[big]#2\wordright{#3}}}
\setuplist[chapter][alternative=command,command=
[quotation]
> [% author=Default Author,
> right=”\wordright{\delimitedtextparameter{author}}]
>
> \starttext \showframe
> \startquotation% [author=Some Author]
>\dorecurse{50}{text }
> \stopquotation
> \startquotation% [author=Another Author]
>\dorecurse{5
Hi all,
is it possible to extend the delimited texts implementation in such a way that
the environment would accept optional arguments. What I have in mind is
something like this:
\setupdelimitedtext
[quotation]
[% author=Default Author,
right=”\wordright{\delimitedtextparameter{author
\eqno\else\wordright\fi]
Wolfgang
I hope I can get help on an issue I have with this. Please consider the
minimal example:
\starttext
\definedescription[proof][text=Proof., width=fit, location=serried,
indenting=yes, closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else
rule
> [ width=\textwidth,
> height=+.3\lineheight,
> depth=-.2\lineheight]}
>
> \define[2]\SubsectionCommand
> {\vbox\bgroup
> \inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
> {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}
tionCommand
>{\vbox\bgroup
> \inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
> {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
> % \blank
> {\em\structureuservariable{info}}%
> \egroup}
>
> \starttext
>
> \sta
{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
{\bfa\structuretitle}\wordright{\tfx
{\vbox\bgroup
\inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
{\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
\blank
{\em\structureuservariable{info}}%
\egroup}
\starttext
\startsection[title={A Section}]
\startsubsection
[title={The detailled t
startmyline\hsize=7cm
> \sym{#2}#3\wordright[2em]{#1}%
> \stopmyline}
>
> \starttext
>
> \MyLine{5}{Fa.}{This line is short.}
>
> \MyLine{12}{Ma.}{\input knuth }
>
> \MyLine{8}{Pa.}{\input ward }
>
> \stoptext
>
> When you’re going to use this for a long
.5ex]
\setupalign[hanging]
\defineitemgroup[myline][width=1cm,symstyle=bold]
\define[3]\MyLine
{\startmyline\hsize=7cm
\sym{#2}#3\wordright[2em]{#1}%
\stopmyline}
\starttext
\MyLine{5}{Fa.}{This line is short.}
\MyLine{12}{Ma.}{\input knuth }
\MyLine{8}{Pa.}{\input ward }
\
> \hbox{
> \doiftextelse{\structurelistuservariable{date}{(\structurelistuservariable{datum})}{}
> }
> }
\define[1]\ChapterListTextCommand
{\doifsomethingelse{\structurelistuservariable{date}}
{#1\wordright{\structurelistuserv
proof]
>> [text=Proof.]
>>
>> \setupdescriptions
>> [proof]
>> [width=broad,
>> distance=0.5em,
>> location=serried,
>> headstyle=it,
>> indentnext=yes,
>> indenting=yes,
>> closesymbol=\mathematics{\square},
>>
,
indenting=yes,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
Questa \`e una dimostrazione
\startformula
a=b.
\stopformula
\stopproof
\stoptext
%%
This works with mkiv, but not with mkii. Wolfgang couldn't
},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
Questa \`e una dimostrazione
\startformula
a=b.
\stopformula
\stopproof
\stoptext
%%
systems : begin file esempio at line 19
! Missing } inserted.
}
\endgroup
,
distance=0.5em,
location=serried,
headstyle=it,
indentnext=yes,
indenting=yes,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
Wolfgang
___
If your question is of
bitů, 1 stopbit.) \hfill (4 body)
Try \wordright{(4 body)}
Aditya
--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:
http://www.opera.com/mail/
___
If your question is of interest to others as well, plea
průběh na signálu TX při vyslání dvou znaků, které odpovídají
vaším iniciálám. Jak dlouho bude tento proces trvat? (Předpokládejte
rychlost 57600 Bd, 8 datových bitů, 1 stopbit.) \hfill (4 body)
Try \wordright{(4 body)}
Aditya_
(Genesis 3, 21)}
\stopnarrower
\stoptext
I want \RT a macro which does nothing if there is enough space on the
right to set the whole argument and puts the argument in a new line,
rightaligned otherwise.
Can someone remember who has asked this before, or a fresh solution
alternativly.
\wordright
On 21-1-2010 14:53, Andreas Harder wrote:
Hello Hans,
is there a reason (I’m sure there is) that \finalhyphendemerits\zerocount in
the \wordright-definition is commented out? Without this line I get wrong line
breaks with hyphenated words followed by \wordright{…}.
\starttext
1 - 100 of 107 matches
Mail list logo