alternative=top,
> >>>> headstyle=bold,
> >>>> width=broad,
> >>>> ]
> >>>>
> >>>> \definedescription[desc][
> >>>> width=fit,
> >>>> distance={\widthofstring{~}},
> >>
> >> distance
width=broad,
distance=\spaceamount,
headcommand={\groupedcommand{\startmyhl}{\stopmyhl :}},
headstyle=,
before={\startpacked},
after={\stoppacked},
alternative=hanging
]
\starttext
This is a \myhl{highlight}.
Some listings
\sta
t;>width=fit,
> >>distance={\widthofstring{~}},
>
> distance=\spaceamount,
>
> Wolfgang
This seems to be much better but does not lead to the wanted result. The full
example now is:
```
\definestartstop[myhl][style=mono,left={›\thinspace}]
\definedescription[cat
dth=fit,
> distance={\widthofstring{~}},
> headcommand={\groupedcommand{>\,}{:}},
Hmm, this works, but duplicates the above definition.
If I don't want to use > as prefix but ›, I need to replace it in two places.
> headstyle=\tt,
> before={\startpa
elow.
\definedescription[category][
alternative=top,
headstyle=bold,
width=broad,
]
\definedescription[desc][
width=fit,
distance={\widthofstring{~}},
headcommand={\groupedcommand{>\,}{:}},
headstyle=\tt,
before={\startpacked},
after={\sto
\hl}{:}},
% headcommand={\groupedcommand{}{:}}, % this compiles but the highlight
is lost
% headcommand={\groupedcommand{\starthl}{\stophl :}}, % this does not
compile
headstyle=,
before={\startpacked},
after={\stoppacked},
alternative=hanging,
]
\starttext
This is a
r}
191 \startpacked
192
\doifsomething{\correspondenceparameter\c!fromname}{\memotext\c!fromname
\correspondenceparameter\c!fromname \par}
193 \doifsomething{\correspondenceparameter\c!date
}{\memotext\c!date \correspondenceparameter\c!date \par}
194 \doifsom
\def\\{\correspondencesectionparameter\c!separator}
191 \startpacked
192
\doifsomething{\correspondenceparameter\c!fromname}{\memotext\c!fromname
\correspondenceparameter\c!fromname \par}
193 \doifsomething{\correspondenceparameter\c!date
}{\memotext\c!date \correspondenceparameter\
\typingparameter\c!before\relax
\startpacked[\v!blank]%
\buff_verbatim_setup_line_numbering
\buff_verbatim_initialize_typing_one
\buff_verbatim_setup_keep_together
\normalexpanded{\buff_verbatim_type_block{\e!start\m_typing}{\e!stop\m_typing}}}
\protect
\starttext
\starttyping[abc][color=red
=normal]{%
one one \sync{a}{1}two \sync{a}{2}three\par
one one \sync{a}{1}two two \sync{a}{2}three\par
\blank
tst tst \sync{b}{1}tst \sync{b}{2}tst\par
tst \sync{b}{1}tst tst \sync{b}{2}tst\par
\blank
one \sync{a}{1}two \sync{a}{2}three
}
\page
\star
rchitecture-for-real-enterprises/> at InfoWorld
On Slippery Ice <https://eapj.org/on-slippery-ice/> at EAPJ
> On 24 Apr 2020, at 17:54, Wolfgang Schuster
> wrote:
>
> Gerben Wierda schrieb am 24.04.2020 um 17:38:
>> I have been experimenting with \startpacked..\stoppa
I have been experimenting with \startpacked..\stoppacked but it doesn’t seem to
work. What is the preferred way of getting lines in a normal paragraph
(actually, we’re talking about a \framed with align, so a full paragraph in a
TeX \vbox)
(In addition, I try to find this kind of information
Gerben Wierda schrieb am 24.04.2020 um 17:38:
I have been experimenting with \startpacked..\stoppacked but it doesn’t
seem to work. What is the preferred way of getting lines in a normal
paragraph (actually, we’re talking about a \framed with align, so a full
paragraph in a TeX \vbox)
Do you
b.zip
(after unzipping in the right spot, yuou need to run mtxrun --generate)
other platforms will follow once Mojca and I have dealt with them on the
compile farm so windows users have the scoop here). So
\startecmacode
texsprint("\\startpacked");
for (var i = 1; i <= MyMax; i
cluded before the centered block, the tufte text will
get middle aligned. Also, perhaps I might not wish for the dawkins text
to be separated by a big whitespace, logically as in:
You can use \startpacked … \stoppacked to suppress blank lines inserted
by \setupwhitespace.
Wo
no big
whitespace be included before the centered block, the tufte text will
get middle aligned. Also, perhaps I might not wish for the dawkins text
to be separated by a big whitespace, logically as in:
You can use \startpacked … \stoppacked to suppress blank lines inserted
by \setupwhitespace.
Wo
mkii =
\startenvironment env_cataoia
\project project_cataoia
%
\definedescription [description]
[location=serried, width=broad, hang=fit, margin=standard,
headstyle=bold]
\definestartstop [descriptions] [before=\startpa
Am 28.09.2014 um 15:17 schrieb Gerben Wierda :
> I asked this on the list a while back. Is there no answer on this one? I use
> \startpacked\stoppacked with some effect, but I'd like to have more
> finegrained control.
>
> Original question:
>
> I'm using
I asked this on the list a while back. Is there no answer on this one? I use
\startpacked\stoppacked with some effect, but I'd like to have more finegrained
control.
Original question:
I'm using mkii.
I've got a table of contents that just places one item on the next page, whic
ded the \defineenumeration to my environment file and do
>
> \startitemize[packed,joinedup]
> \Step A
> \Step B
> \Step C
> \stopitemize
A enumeration *isn’t* the same as a item group. When you use \Step command you
have to delimit
the entry with a \par command or a empt
Am 03.05.2013 um 09:34 schrieb "Meer, H. van der" :
> There is more to it then a preference for \crlf […]
\setupwhitespace[line]
\starttext
\subject{Regular paragraphs}
Line 1\par
\start \switchtobodyfont[termes]
Line 2\par
\stop
Line 3
\subject{Packed paragraphs}
\startpack
result. Not
> necessarily an ideal solution, but adequate for what I needed.
>
> \definehead[references][subsection]
> \setuphead[references][after={ ~ }]
>
> \startpacked % Get rid of large gaps between the references.
> \dorecurse{10}{\references{Reference item}}
>
d.
\definehead[references][subsection]
\setuphead[references][after={ ~ }]
\startpacked % Get rid of large gaps between the references.
\dorecurse{10}{\references{Reference item}}
\stoppacked
-Lance
Am 01.05.2013 um 18:03 schrieb Lance Larsen :
> It looks like the 'after' property
information!!!
>
> 3) On page 77, I get an error:
>
> \defineparagraphs[city][n=2,before=,after=]
> \city Hasselt (Ov) \\ Overijssel \\
> \city Hasselt (Li) \\ Limburg\\
> \startpacked
> \city Hasselt (Ov) \\ The Netherlands \\
> \city Hasselt (Li) \\ Belgium \\
> \sto
pages with the same information!!!
3) On page 77, I get an error:
\defineparagraphs[city][n=2,before=,after=]
\city Hasselt (Ov) \\ Overijssel \\
\city Hasselt (Li) \\ Limburg\\
\startpacked
\city Hasselt (Ov) \\ The Netherlands \\
\city Hasselt (Li) \\ Belgium \\
\
scription ...he \everydefinedescription
>> \let \currentdescription \...
>>
>> \startpacked
>> …
>>
>> In order to localize the error I have tried to add little by little my
>> \input fi
\let \currentdescription \...
>
> \startpacked
> …
>
> In order to localize the error I have tried to add little by little my \input
> files, and everything works when I have about 20 pages…
> I am reporting this issu
!description ,\c!level =1]
\else \defineconstruction ...
\define_description ...he \everydefinedescription
\let \currentdescription \...
\startpacked
…
In order to localize the error I
this worked some weeks ago:
\setupindentations[sample={Sprecher A},separator={:},distance=.5em]
\defineindenting[ra][text=Sprecher A]
\defineindenting[rb][text=Sprecher B]
\defineindenting[rc][text=Sprecher C]
\starttext
\startpacked
\ra Wie geht es dir?\par
\ra Ich fragte, wie es dir geht?\par
{\increment\FontTestCounter
\definetypeface[mainface-\FontTestCounter][rm][specserif][#1]
\switchtobodyfont[mainface-\FontTestCounter]
\title{#1}
\startpacked
` Backtick\par
' Apostrophe\par
‘ Open curly quote\par
’ Close curly quote\par
- hyphen\par
– en dash\par
—
m}
>
> \def\dostartAcronym#1 #2\dostopAcronym
> {\doifsomething{#1}
> {\FancyUppercase{#1} %space
> \dostartAcronym#2 \dostopAcronym}}
\def\Acronym#1%
{\startpacked
\processseparatedlist[#1][ ]\doAcronym
\stoppacked}
\def\doAcronym#1%
{\getfirstcharacter
ot;\startnarrower" works):
The narrower environment use \leftskip and \rightskip which affects all lines.
> \hskip 2cm 9/99 Addr Line 1 Street\hfil\break
> \hskip 2cm Addr Line 2\hfil\break
> \hskip 2cm City\hfil\break
\definehspace[address][2cm]
\starttext
\startpacked
\hspace[address
l space (in general) with
e.g. "blank=4pt" in the setups. This solves my problem for the moment,
but is a bit ugly, because all spaces seem to be affected, also the
predefined caption innerspace(!)
\startcolumnset: I couldn't find any solution at all, unless grouping
everythi
][listings]
>>>
>>> \starttext
>>>
>>> \placelisting
>>> [split]
>>> [lst:freeformlogfile]
>>> {Log File}
>>> {\startJAVA
>>>...
>>>\stopJAVA}
>>>
>>> \stoptext
>&g
olerance=stretch]%
\dontcomplain
\startpacked[\v!blank]%
\mkloadregister\currentregister\dobeforeplaceregister\doafterplaceregister
\stoppacked
\stopcolumns
\endgroup
\fi}
\protect
> The error arises both with pdftex or xetex. I think that some recent
> cha
ter\c!balance,
\c!align=\registerparameter\c!align]%
\dontcomplain
\startpacked[\v!blank]%
\mkloadregisterX % TH this does it
\currentregister\dobeforeplaceregister\doafterplaceregister
\stoppacked
\stopcolumns
\endgroup
\fi}
\protect
B
namemakeup
\startnarrower[left|middle|right] \stopnarrower
# \startnointerference \stopnointerference
# \startnotmode \stopnotmode
\startopposite \stopopposite
\startoverlay{text}{text} \stopoverlay
\startoverview[names] \stopoverview
\startpacked[blank] \stoppacked
\startparagraph \stopparagraph
\startpositi
hout #2]
\fi
[whatever before]
#3
[whatever after]
}
\let\stopFOO\relax % or define the [whatever after] stuff here
This is the basic construct, the rest is parameter evaluation and some
additional whatever.
HTH, Peter
> My current startstop definition is
>
> \definestart
inestartstop[usecase][before={\starttextrule{Use Case:
Logging-On}\startpacked\startmypar{\bf User Intentions}\mypar{\bf System
Responsibilities}\stopmypar},
after={\stoppacked\stoptextrule}]
Best,
Vyatcheslav
___
If
Hello,
I want to convert my following code into a custom \start \stop pair.
\starttextrule{Use Case: Logging-On}\startpacked
Text
\stoppacked\stoptextrule
It seems to me that using \definestartstop[usecase][...] command is the most
approprate, but I cannot get how to achieve different
ader footer bottom
>> 3. none page leftedge leftmargin left middle right rightmargin
>> rightedge
>> command
>> state
>> \stoptyping
>>
>> \chapter{Spacing}
>>
>> \starttyping
>> \setupinterlinespace[..._][..=..]
>> ..._ reset small_
typing
> \setupinterlinespace[..._][..=..]
> ..._ reset small_ medium big on off
> height, depth, top, bottom: number
> line: dimen
>
> \setupwhitespace[...]
> none_, small, medium, big, line, fixed, fix, dimen
> \whitespace
> \nowhitespace
>
> \blank[..]
> n*sm
..]
normal_ standard line dimen big medium small fixed flexible
\defineblank[name][...]
same as \setupblank
\packed
\startpacked ... \stoppacked
\startunpacked ... \stopunpacked
\setupspacing[broad,packed]
\space, \nospace, fixedspaces
\stoptyping
\chapter{Indentation}
\starttyping
\setupin
understand
its role.
\def\dodotypefile[#1][#2]#3%
{\bgroup
\let\currenttypingclass\??tp
\edef\currenttyping{#1}%
\typingparameter\c!before
\doiflocfileelse{#3}
\donetrue % sets \readfilename
{\doifinputfileelse{#3}
{\donetrue\def\readfilename{\pathplusfil
r.tex:
\def\dodotypefile[#1][#2]#3%
{\bgroup
\let\currenttypingclass\??tp
\edef\currenttyping{#1}%
\typingparameter\c!before
\doiflocfileelse{#3}
\donetrue % sets \readfilename
{\doifinputfileelse{#3}
{\donetrue\let\readfilename\filepath}
\donefalse}%
\ifdone
f at 60pt]\test TEST \par
%D \definefont[test][Serif scaled 6000]\test TEST \par
%D \stopbuffer
%D
%D \typebuffer
%D
%D \startpacked
%D \getbuffer
%D \stoppacked
-
Hans Hagen | PRAGMA ADE
lax
> \egroup}
Hello,
thanks, Taco. Will this patch be integrated in the next ConTeXt version?
> > - Where does the vertical space in \framed come from?
>
> From a bug in \startpacked. Sorry, I don't know how to fix
> that without breaking other stuff.
Does some oth
macros?
\setuptyping[option=commands] % enable commands
\starttyping
Here I would like to /BTEX \italic{some context-code} /ETEX
\stoptyping
- Where does the vertical space in \framed come from?
From a bug in \startpacked. Sorry, I don't know how to fix
that without breaking other
replace LaTeX's description. In the
environment file:
===
\startenvironment env_teoada
\project project_teoada
\definedescription [description]
[location=hanging, margin=standard, headstyle=bold]
\definestartstop [descriptions] [before=\blank\startpacked,
aft
losed in a single tag:
Line 1
Line 2
Line 3
---
Of course I have some "dirty" workaround, but the result is really ugly...
\defineXMLenvironment[programlisting]{
\bgroup
\startpacked
\tttf
\obeylines\obeyspaces\obeytabs
}{
\stoppacked
\egroup
}
The line breaks are proc
:
Line 1
Line 2
Line 3
---
Of course I have some "dirty" workaround, but the result is really
ugly...
\defineXMLenvironment[programlisting]{
\bgroup
\startpacked
\tttf
\obeylines\obeyspaces\obeytabs
}{
\stoppacked
\egroup
}
The line breaks are processed correctly.
i
% Sample record
\def\DoWithRecord#1%
{\startpacked
\let\\=\quad
name: \getrecordentry{name}~\getrecordentry{family name}\par
address: \getrecordentry{postal address}\par
\stoppacked}
\definerecord[address][command=\DoWithRecord]
\setuprecord[address][command=\Do
52 matches
Mail list logo