> \setuptyping[before=\framed]
>
> You can try to convince Hans to add a command key to \setuptype, untill
> then you can use this:
>
> \unexpanded\def\mytype{\groupedcommand{\setgroupedtype\inframed}{\relax}}
>
> \starttext
> one \mytype{\two} three
> \stoptext
T
then you can use this:
\unexpanded\def\mytype{\groupedcommand{\setgroupedtype\inframed}{\relax}}
\starttext
one \mytype{\two} three
\stoptext
„before“ and „after“ keys are used only for environments to change
the spacing (e.g. before=\blank) at the begin and end of a environment
or to frame it
meter\c!spaceafter}{\blank[\floatcaptionparameter\c!spaceafter]}}
\starttext
This is some text with a reference to a table named \about[tab:table].
\placetable[here][tab:table]{My caption.}{...}
\setupcaptions[textcommand=\groupedcommand{}{.}]
This is some text with a reference to a table named \a
On 13/10/10 12:48, Andreas Harder wrote:
Hi all,
please have a look at my example:
\definefontfeature[default][default][mode=node,onum=yes]
\definefontfeature[sc][default][smcp=yes]
\def\sc{\groupedcommand{\setfontfeature{sc}}{}}
\setupbodyfont[palatino]
\starttext
\startTEXpage[offset=1ex
Hi all,
please have a look at my example:
\definefontfeature[default][default][mode=node,onum=yes]
\definefontfeature[sc][default][smcp=yes]
\def\sc{\groupedcommand{\setfontfeature{sc}}{}}
\setupbodyfont[palatino]
\starttext
\startTEXpage[offset=1ex]
{\sc Abc} 0369 \crlf
\sc{Abc} 0369
.html
You can redefine \bold (it’s just a alternative command for \bf) to
\define\bold{\dontleavehmode\groupedcommand\bf\donothing}
Wolfgang
___
If your question is of interest to others as well, please add an entry to
shouldn't be;
>> MkIV \currentheadnumber seems to be 0 all the time.
[...]
>>
>> %%
>> \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum]
>
> \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect
> }{}]
S
e, that something is wrong with my setup
>> of ConTeXt. But I just did another
>> % ./first-setup.sh --context=current
>>
>> Thanks in advance for any hint,
>>
>> Elias
>>
>>
>> %%
>> \setuphead[section][textcommand=\Myhead,numbercommand=\Myn
extcommand=\Myhead,numbercommand=\Mynum]
\setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect
}{}]
Wolfgang
___
If your question is of interest to others as well, please add an entry to
On 12-4-2010 7:26, Wolfgang Schuster wrote:
Am 12.04.10 15:47, schrieb Marco:
\unexpanded\def\notsmallcapped{\groupedcommand{\setcharactercasing[\plustwo]\char\zerocount}{}}
added
smallcapitals
so here is the MkIV defintion for \nocap.
\unexpanded\def\notsmallcapped{\groupedcommand{\setcharactercasing[\plustwo]\char\zerocount}{}}
\starttext
\cap {People that have gathered their \cap {capital} at the cost of
other people are not seldom \nocap {decapitated} in revolutionary
#1}
>
> but i think this is better
>
> \setupcolors[state=start]
>
> \definelabel
>[Vers]
>[headstyle=bolditalic,
> headcolor=darkgreen,
> command=\groupedcommand\dontleavehmode\space]
>
> \starttext
> \startcolumns
> text\par\dorecurse{50}
{\increment\V \dontleavehmode{\color[darkgreen]\rm\bi \V} #1}
but i think this is better
\setupcolors[state=start]
\definelabel
[Vers]
[headstyle=bolditalic,
headcolor=darkgreen,
command=\groupedcommand\dontleavehmode\space]
\starttext
\startcolumns
text\par\dorecurse{50}{\Vers Dies ist
Am 25.03.10 16:21, schrieb Hans Hagen:
Who about something like (pseudocode)
\definecharacterkerning[letterspace]
\def\letterspace
{\bgroup
\dosingleempty\doletterspace}
\def\doletterspace[#1]#2% use \groupedcommand?
{\iffirstargument
\setupcharacterkerning[letterspace][factor=\ctxlua
u
can just define a command that switches the font and enables
intercharacter spacing, something
\definecharacterkerning[mykerning]
\setupcharacterkerning[mykerning][\c!factor=.125]
\def\MySc
{\groupedcommand
{\sc\setcharacterkerning[mykerning]}
{}}
Who about something like (pseud
that switches the font and enables
intercharacter spacing, something
\definecharacterkerning[mykerning]
\setupcharacterkerning[mykerning][\c!factor=.125]
\def\MySc
{\groupedcommand
{\sc\setcharacterkerning[mykerning]}
{}}
Who about something like (pseudocode)
\definecharacterke
microtype does (nor time to look into it) but you
can just define a command that switches the font and enables
intercharacter spacing, something
\definecharacterkerning[mykerning]
\setupcharacterkerning[mykerning][\c!factor=.125]
\def\MySc
{\groupedcommand
{\sc\setcharacterkerning[mykerning
Am 24.02.2010 um 18:10 schrieb Wolfgang Schuster:
> Am 24.02.10 18:02, schrieb Steffen Wolfrum:
>> Hi,
>>
>> in MkII the slash became set upright, in MkIV it stays italic:
>>
>> \def\Textit{\groupedcommand\it\/}
>> \def\Textmr{\groupedcommand\mr\/}
>
Am 24.02.10 18:02, schrieb Steffen Wolfrum:
Hi,
in MkII the slash became set upright, in MkIV it stays italic:
\def\Textit{\groupedcommand\it\/}
\def\Textmr{\groupedcommand\mr\/}
\mr is for math, you want \tf
Wolfgang
Hi,
in MkII the slash became set upright, in MkIV it stays italic:
\def\Textit{\groupedcommand\it\/}
\def\Textmr{\groupedcommand\mr\/}
\definetextmodediscretionary :
{\prewordbreak\discretionary{\kern.05em\Textmr/}{}{\kern.05em\Textmr/}\kern.05em\prewordbreak}%
ist schon Textmr = aufrecht
On Fri, 19 Feb 2010, Steffen Wolfrum wrote:
Hi,
does someone know what's going wrong here?
\definestartstop[Literature] [before={\startcolumns[n=1]},after={\stopcolumns}]
\define\Colorit%
{\groupedcommand{\color[blue]\em}\/}
\starttext
This works:
test \Colorit{color} text.
This d
Hi,
does someone know what's going wrong here?
\definestartstop[Literature] [before={\startcolumns[n=1]},after={\stopcolumns}]
\define\Colorit%
{\groupedcommand{\color[blue]\em}\/}
\starttext
This works:
test \Colorit{color} text.
This dont't:
\startLiterature
test \Colorit{c
gt;
> \define[1]\example{{\tfx#1}}
>
> a better solution is
>
> \define\example{\groupedcommand{\tfx}{}}
>
> because you can now write
>
> \example{...} and {\example ...}
>
>
> The best way is to use \definealternativestyle, e.g.
>
> \definealternatives
Am 12.02.10 18:59, schrieb Bernhard Rosensteiner:
maybe you mean something like that:
\define[1]\example{\tfx#1\tfa}
brr, when you want to define it in this way you should use grouping, e.g.
\define[1]\example{{\tfx#1}}
a better solution is
\define\example{\groupedcommand{\tfx
On 8-2-2010 9:55, Wolfgang Schuster wrote:
Am 08.02.10 09:40, schrieb Hans Hagen:
D’oh. I looked in the source and missed this but I wonder
if this had been always the case because the manuals
{and the wiki) mention only \color[name]{...}.
all commands that use \groupedcommand have that
Am 08.02.10 09:40, schrieb Hans Hagen:
D’oh. I looked in the source and missed this but I wonder
if this had been always the case because the manuals
{and the wiki) mention only \color[name]{...}.
all commands that use \groupedcommand have that property
But used \color always
because the manuals
{and the wiki) mention only \color[name]{...}.
all commands that use \groupedcommand have that property
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH
On Sun, 24 Jan 2010, Hans Hagen wrote:
On 22-1-2010 19:20, Wolfgang Schuster wrote:
\unexpanded\def\calligraphic{\ifmmode\expandafter\mathscript \fi}
to math-ini.mkiv?
probably something
\unexpanded\def\calligraphic{\groupedcommand{...
then but lets see what aditya thinks of it ...
I
On 22-1-2010 19:20, Wolfgang Schuster wrote:
\unexpanded\def\calligraphic{\ifmmode\expandafter\mathscript \fi}
to math-ini.mkiv?
probably something
\unexpanded\def\calligraphic{\groupedcommand{...
then but lets see what aditya thinks of it ...
Hans
Hi,
\wordright{something} don’t like it if the preceding line have a hyphenated
word. It seems to work if one changes \allowbreak to hskip\zeropoint in the
macro-definition.
Here an example:
\mainlanguage[de]
% \unprotect
% \def\dowordright[#1]%
% {% don't change
%\groupedco
x Gyre Heros]
\definesimplefonttypeface[excelfont][TeX Gyre Heros][weight=condensed] % will
be width=condensed in the next release
\definesimplefont[excelformat][TeX Gyre
Heros][weight=condensed,alternative=bold]
\define[1]\XLF{\groupedcommand{\excelformat}{}}
\setuptables[bodyfont=excelfont]
\startte
Hello,
The style command of \setuptype is executed 2 times:
\setuptype[style=X]
\starttext
\type{bla}
\stoptext
Feature request:
\setuptype[before=..., after=...]
(today I use this workaround: \setuptype[style=\groupedcommand{...}{...}] )
Cheers, Peter
--
Contact information: http
] [ZhMonoItalic]
\definefontsynonym [ZhMonoBoldItalic] [name:AdobeHeitiStd-Regular]
\definefont [ZhMonoBoldItalic] [ZhMonoBoldItalic]
\def\domyzhfont{\getvalue{Zh\fontstringA\fontstylesuffix}}
%\def\myzhfont{\groupedcommand{\pushcurrentfont\domyzhfont}
{\popcurrentfont}}
\def
gs are possible with start/stoplanguagespecifics
but it's broken :-(
\startlanguagespecifics[sl]
\setuphead
[chapter,section,subsection]
[numbercommand=\groupedcommand{}{.}]
\stoplanguagespecifics
Hello Wolfgang,
I was often tempted to do that (in some less fancy way than with
grou
t; will start appearing in my old documents :)
>> :) :) :)
>
>
> Let's hope the stopper key for \setuphead will work in MkIV.
>
> Language depends settings are possible with start/stoplanguagespecifics
> but it's broken :-(
>
> \startlanguagespecifics[sl
roken :-(
\startlanguagespecifics[sl]
\setuphead
[chapter,section,subsection]
[numbercommand=\groupedcommand{}{.}]
\stoplanguagespecifics
\starttext
\section{Knuth}
\input knuth
\page
\mainlanguage[sl]
\section{Tufte}
\input tufte
\stoptext
Wolfgang
_
would define a new quote command
> with
>
> \definedelimitedtext[quotesmall][quote]
>
> but you above code can't be achieved with this because the results are
> either
> small text or text with quotes at both sides but not a combination of them.
>
> How about: \define\quotesm
with this because the results are
either
small text or text with quotes at both sides but not a combination of
them.
How about: \define\quotesmall{\groupedcommand{\quote\small}{}}
Wolfgang
___
If your question
?
Another way is to use the 'frac' feature.
\definefontfeature[frac][default][script=latn,frac=yes]
\definefont[minion][name:minionproregular*default]
\def\utffrac{\groupedcommand{\setfontfeature{frac}}{}}
\starttext
\minion 1/2 \utffrac{1/2} 1/2 \utffrac{12345/6789} 12345/6789
d=\Vortrag ]
\definehead[contenthead][title]
\starttext
\contenthead{Inhaltsverzeichnis}
\placecontent
\chapter{Bla}
blub
\stoptext
But the content head is still prefixed with 'Vortrag:'.
What is the solution for this?
\setuphead
[chapter]
[numbercom
}}}
\definetextbackground[underline][%
location=text,
alternative=1,
background=,
frame=off]
\def\UnderlineC{%
\groupedcommand
{\starttextbackground[underline]}
{\stoptextbackground}}
\starttext
Thus, I came to \UnderlineA{the conclusion} that the designer of a new
On Sun, Nov 23, 2008 at 7:12 AM, Yue Wang <[EMAIL PROTECTED]> wrote:
> Hi,
>
>> 3. In a many OpenType fonts you could get small caps with
>>the smcp feature, to use it redefine the \sc command to
>>\def\sc{\groupedcommand{\setfontfeature{smallcaps}}{}}.
>
&
Hi,
> 3. In a many OpenType fonts you could get small caps with
>the smcp feature, to use it redefine the \sc command to
>\def\sc{\groupedcommand{\setfontfeature{smallcaps}}{}}.
I can enable a feature using the \setfontfeature, how can I disable a feature?
like \setfontfeat
tch,
3. In a many OpenType fonts you could get small caps with
the smcp feature, to use it redefine the \sc command to
\def\sc{\groupedcommand{\setfontfeature{smallcaps}}{}}.
Wolfgang
___
If your question is o
pheadtext[en][pubs=Referencias]
\def\Dot#1{#1.}
\setuphead[title][part, style={\bfa},
before={\begingroup\setupbodyfont[20pt]},
after={\centerline{\tfa}
\bigskip\bigskip\endgroup}]
\setuphead[chapter][style={\bfd},
,numbercommand=\Dot%,numbercommand={\groupedcommand{}{.}}
ecently
>>> trying to
>>> make TeX Gyre fonts work with as few definitions as possible. Here is
>>> the list
>>> of problems I've encountered:
>>>
>>> 1. No small-caps in any font (gyre fonts doesn't have that yet?)
>>
>>
gt; I've started to experiment with MkIV in ConTeXt minimals recently trying
>>> to
>>> make TeX Gyre fonts work with as few definitions as possible. Here is the
>>> list
>>> of problems I've encountered:
>>>
>>> 1. No small-caps in any font
the list
of problems I've encountered:
1. No small-caps in any font (gyre fonts doesn't have that yet?)
\usetypescript[palatino]
\setupbodyfont[palatino]
\def\os{\groupedcommand{\setfontfeature{oldstyle}}{}}
Shouldn't that be just
\def\os{\setufontfeature{oldstyle}}
Aditya
\
've encountered:
>
> 1. No small-caps in any font (gyre fonts doesn't have that yet?)
\usetypescript[palatino]
\setupbodyfont[palatino]
\def\os{\groupedcommand{\setfontfeature{oldstyle}}{}}
\starttext
0123456789 {\os 0123456789}
\stoptext
Test the other fonts by yourself.
> 2.
is anyway since I wanted to say thanks.
>
>
> \startuseMPgraphic{mpos:par:cancel}
> for i=1 upto nofmultipars :
> draw
> .2[llcorner multipars[i],ulcorner multipars[i]] --
> .2[urcorner multipars[i],lrcorner multipars[i]] ;
> endfor ;
ars[i],lrcorner multipars[i]] ;
endfor ;
\stopuseMPgraphic
\definetextbackground[cancel][location=text,mp=mpos:par:cancel]
\def\startcancel{\starttextbackground[cancel]}
\def\stopcancel {\stoptextbackground}
\def\cancel {\groupedcommand\startcancel\stopcancel}
however, this is kind of fuzzy when y
elated to the fact that good old
> tex and the cm fonts have oldstyles in some math font and therefore some
> effort is needed to use it in text
>
> we might consider mapping \os to something
>
> \def\os{\groupedcommand{\setfontfeature{oldstyle}}{}}
>
> which in mki
On Sun, Sep 28, 2008 at 11:54 PM, Diego Depaoli <[EMAIL PROTECTED]> wrote:
> 2008/9/27 Wolfgang Schuster <[EMAIL PROTECTED]>:
>>
>> \setuplabeltext[en][chapter=Chapter~]
>>
>> \setuplist[chapter][numbercommand=\groupedcommand{\labeltext{chapter}}
>> {
2008/9/27 Wolfgang Schuster <[EMAIL PROTECTED]>:
>
> \setuplabeltext[en][chapter=Chapter~]
>
> \setuplist[chapter][numbercommand=\groupedcommand{\labeltext{chapter}}
> {},width=2.5cm]
Simply perfect!!!
A lot of than
Am 26.09.2008 um 13:21 schrieb Mikael Persson:
> Dear Diego,
>
> Try
>
> \def\chaplistcom#1{Chapter~#1}
> \setuplist[chapter][
> numbercommand=\chaplistcom,
> ]
\setuplabeltext[en][chapter=Chapter~]
\setuplist[chapter][numbercommand=\groupedcommand{\labeltext{c
Steffen Wolfrum wrote:
>
> Am 24.09.2008 um 17:28 schrieb Taco Hoekwater:
>
>> Steffen Wolfrum wrote:
>>>
>>> ! You can't use `\end' in internal vertical mode.
>>> \normalend
>>
>> Jikes. Looks like that is because \color is
Am 24.09.2008 um 17:28 schrieb Taco Hoekwater:
> Steffen Wolfrum wrote:
>>
>> ! You can't use `\end' in internal vertical mode.
>> \normalend
>
> Jikes. Looks like that is because \color is a \groupedcommand itself.
> This works for this test file (and h
Steffen Wolfrum wrote:
> Am 24.09.2008 um 12:57 schrieb Taco Hoekwater:
>
>> Steffen Wolfrum wrote:
>>> Am 24.09.2008 um 10:39 schrieb Taco Hoekwater:
>>>
>>>> Steffen Wolfrum wrote:
>>>>> \def\Textit%
>>>>> {\groupedcomma
Steffen Wolfrum wrote:
>
> ! You can't use `\end' in internal vertical mode.
> \normalend
Jikes. Looks like that is because \color is a \groupedcommand itself.
This works for this test file (and hopefully for everything else):
\def\Colorit%
{\groupedcommand
{
Am 24.09.2008 um 12:57 schrieb Taco Hoekwater:
> Steffen Wolfrum wrote:
>> Am 24.09.2008 um 10:39 schrieb Taco Hoekwater:
>>
>>>
>>> Steffen Wolfrum wrote:
>>>> \def\Textit%
>>>> {\groupedcommand\em\/}
>>> Try this:
>>>
&
Steffen Wolfrum wrote:
> Am 24.09.2008 um 10:39 schrieb Taco Hoekwater:
>
>>
>> Steffen Wolfrum wrote:
>>> \def\Textit%
>>> {\groupedcommand\em\/}
>> Try this:
>>
>> \define\Colorit%
>> {\groupedcommand{\color[blue]\em}\/}
>
>
Steffen Wolfrum wrote:
>
> \def\Textit%
> {\groupedcommand\em\/}
>
Try this:
\define\Colorit%
{\groupedcommand{\color[blue]\em}\/}
Best wishes,
Taco
___
If your question is of interest to ot
Am 24.09.2008 um 10:39 schrieb Taco Hoekwater:
>
>
> Steffen Wolfrum wrote:
>> \def\Textit%
>> {\groupedcommand\em\/}
>
> Try this:
>
> \define\Colorit%
> {\groupedcommand{\color[blue]\em}\/}
tried it ..
Hi,
please have a look at the following unfairness:
\mainlanguage[en]
\enableregime[utf]
\showframe
\setupcolors[state=start]
\def\Textit%
{\groupedcommand\em\/}
\define[1]\Colorit%
{\color[blue]{\groupedcommand\em\/ #1}}
\starttext
text text text text text text text text text text text
italics, while ...
>>
>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/}
>>
>> ... gives an error.
>>
>>
>> Someone can help?
>>
>>
>> St.
>
> You want your command to take an argument, so you have to mention that
> argument i
On Mon, 22 Sep 2008, Taco Hoekwater wrote:
> Aditya Mahajan wrote:
>> On Mon, 22 Sep 2008, Taco Hoekwater wrote:
>>
>>> Steffen Wolfrum wrote:
>>>> But this above never closes the italics, while ...
>>>>
>>>> \def\Colorit{\strut\grou
Aditya Mahajan wrote:
> On Mon, 22 Sep 2008, Taco Hoekwater wrote:
>
>> Steffen Wolfrum wrote:
>>> But this above never closes the italics, while ...
>>>
>>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/}
>>>
>>> ... gives an er
italics, while ...
>>
>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/}
>>
>> ... gives an error.
>>
>>
>> Someone can help?
>>
>>
>> St.
>
> You want your command to take an argument, so you have to mention that
> argument in
Am 22.09.2008 um 13:48 schrieb Taco Hoekwater:
> Steffen Wolfrum wrote:
>>
>> But this above never closes the italics, while ...
>>
>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/}
>>
>> ... gives an error.
>>
>>
>> Someone can
On Mon, 22 Sep 2008, Taco Hoekwater wrote:
> Steffen Wolfrum wrote:
>>
>> But this above never closes the italics, while ...
>>
>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/}
>>
>> ... gives an error.
>>
>>
>> Someone can help
On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote:
> It should be something like \Colorit{this} example:
>
> \def\Colorit{\it\color[magenta]}
>
>
> But this above never closes the italics, while ...
>
> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/
Steffen Wolfrum wrote:
>
> But this above never closes the italics, while ...
>
> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/}
>
> ... gives an error.
>
>
> Someone can help?
Worryingly lowlevel:
\def\emphasistypeface{\it\color[m
It should be something like \Colorit{this} example:
\def\Colorit{\it\color[magenta]}
But this above never closes the italics, while ...
\def\Colorit{\strut\groupedcommand\it\color[magenta]\/}
... gives an error.
Someone can help?
St.
Am 22.09.2008 um 11:09 schrieb Steffen Wolfrum:
>
the latin modern font when I try to use \os. Small caps
>>> are
>>> working fine.
\os is kind of special because it's related to the fact that good old
tex and the cm fonts have oldstyles in some math font and therefore some
effort is needed to use it in text
we m
problem: \Word does the same as \Words (checked on live.contextgarden).
> Any hints?
This is the respective code from core-spa.mkiv, and it is obviously broken as
it defines \Words to be the same as \Word (and it defines \Word wrongly in the
first place).
[…]
\def\WORD{\groupedcommand{\setchara
[location=text,alternative=1,background=,frame=off]
\definestartstop [underline]
[before={\starttextbackground[underline]},
after=\stoptextbackground]
\def\underline{\groupedcommand{\starttextbackground[underline]}{\stoptextbackground}}
\setuphead[section][textcommand
On Tue, Jun 24, 2008 at 1:34 PM, Peter Münster <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 24 2008, Wolfgang Schuster wrote:
>
>> > \setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em]
>> > \starttext
>> > \startitemize
>> > \txt{S
On Tue, Jun 24 2008, Wolfgang Schuster wrote:
> > \setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em]
> > \starttext
> > \startitemize
> > \txt{Short}
> > \input tufte
> > \txt{Very very very long}
> > \input tufte
> > \stopi
;
> Ok, so afterhead applies only to the \head command. I've chosen \txt{},
> because I need something like this:
>
> \setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em]
> \starttext
> \startitemize
> \txt{Short}
> \input tufte
> \txt{Very ver
hing like this:
\setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em]
\starttext
\startitemize
\txt{Short}
\input tufte
\txt{Very very very long}
\input tufte
\stopitemize
\stoptext
Should \head better be used for this purpose? And if yes, how?
Cheers, Peter
--
http://pmrb.f
On Mon, Jun 23 2008, Wolfgang Schuster wrote:
> > The parameter "afterhead" seems to be ignored (MKII and MKIV):
>
> There is no \head in your numeration.
Indeed, but "headstyle" applies nevertheless.
> > \setupitemize[afterhead=:]
>
&g
On Mon, Jun 23, 2008 at 2:43 PM, Peter Münster <[EMAIL PROTECTED]> wrote:
> Hello,
>
> The parameter "afterhead" seems to be ignored (MKII and MKIV):
There is no \head in your numeration.
> \setupitemize[afterhead=:]
Try:
\def\aftercolon{\groupedcommand{}
imitedtextparameter\c!location}{\v!paragraph,
> > \v!margin}% \dodelimitedtextpar\dodelimitedtexttxt}}
> >
> > \unexpanded\def\dodelimitedtextpar
> > {\dohandleleftdelimitedtext\c!left\relax
> >\groupedcommand
> > \donothing
&
!font
> {\dofontdrivendelimited}
> {\doifinsetelse{\delimitedtextparameter\c!location}{\v!paragraph,
> \v!margin}% \dodelimitedtextpar\dodelimitedtexttxt}}
>
> \unexpanded\def\dodelimitedtextpar
> {\dohandleleftdelimitedtext\c!left\relax
>\groupedcommand
> \
rameter\c!method}\s!font
{\dofontdrivendelimited}
{\doifinsetelse{\delimitedtextparameter\c!location}{\v!paragraph,
\v!margin}% \dodelimitedtextpar\dodelimitedtexttxt}}
\unexpanded\def\dodelimitedtextpar
{\dohandleleftdelimitedtext\c!left\relax
\groupedcommand
\donothing
{\dohandlerightde
gt;
> Thomas
>
> \definepapersize[test][width=7cm,height=3cm]
>
> \setuppapersize[test][test]
>
> \mainlanguage[en]
\unprotect
\unexpanded\def\dodelimitedtextpar
{\dohandleleftdelimitedtext\c!left\relax
\groupedcommand
\donothing
%{\dohandleri
2007/4/1, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>:
Hello Wolfgang,
Thanks.
\def\comm{\thinspace\groupedcommand\tt\thinspace}
works quite well.
From a newbie standpoint, I wonder why replacing \thinspace with
\hspace[medium] fails?
It did not fail, you forget only the
Hello Wolfgang,
Thanks.
\def\comm{\thinspace\groupedcommand\tt\thinspace}
works quite well.
From a newbie standpoint, I wonder why replacing \thinspace with
\hspace[medium] fails?
(I had another version
\def\comm#1{\hspace[medium]{\tt#1}\hspace[medium]}
it worked.)
Vystcheslav
> On
t; I quite satisfied with it, but maybe there is better way to typeset
> programming keywords?
>
> Best regards,
> Vyatcheslav Yatskovsky
>
There is a better way to define such a command in ConTeXt.
\def\comm
{\groupedcommand\tt\thinspace}
\starttext
The \comm{rand} func
to a section, use
Section I
SubsectionI-A
subsubsection I-A.1
paragraph I-A.1.a
The first part is easy
\setupsection[section-3][bodypartconversion=Romannumerals]
\setupsection[section-4][bodypartconversion=Character,
previousnumber=no]
\setupsection[section-
. This def of does
nothing ...
\defineXMLgrouped [u] \underbar
2. This def of also
does nothing ...
\defineXMLgrouped [u] {\groupedcommand{\underbar}{}}
3. This def of underlines
the 1st character only ...
\defineXMLenvironment [u] {\bgroup\underbar}
{\egroup}
4. In the mailing list, there
uote#1{\startquote#1\stopquote}
>
> \MyQuote{something to be quoted}
>
>
> ... should work OK, right?
Yes, there is also
\def\MyQuote{\groupedcommand{\startquote}{\stopquote}}
which does not read the argument and is better in some cases.
Aditya
___
ist of
typos, please?)
The definition of \arg is in 'core-ver.tex' and copying this
in a separate file works as expected:
\starttext
\unprotect
\def\setgroupedtype
{\let\currenttypingclass\??ty
\initializetype
\catcode`\{=\@@begingroup
\catcode`\}=\@@endgroup}
\unexpanded\def\
Steffen Wolfrum wrote:
> Hi,
>
> probably very basic question.
> I need the chapter set in bold (and if necessary - see below - in
> bolditalic).
>
> How can this be done when using Times via \usetypescript[postscript]
> [\defaultencoding] ?
\def\T
]
\def\Textit{\groupedcommand\it\/}
\def\ChapterStyle{%
\switchtobodyfont[rm,20pt]
\setupinterlinespace[line=30pt]
}
\setuphead[chapter]
[alternative=paragraph,style=\ChapterStyle]
text
\chapter{bold heading \Textit{bold italic} bold heading}
text
\stoptext
Very nice!
Thank you Taco.
Steffen
Am 27.07.2006 um 10:36 schrieb Taco Hoekwater:
>
>
> Steffen Wolfrum wrote:
>> Hi Renaud,
>>
>> sure, here it is:
>>
>>
>> \starttext
>>
>> \def\Textit{\groupedcommand\it\/}
>> \def\hang
Steffen Wolfrum wrote:
> Hi Renaud,
>
> sure, here it is:
>
>
> \starttext
>
> \def\Textit{\groupedcommand\it\/}
> \def\hangover{\hangafter=1\hangindent=16pt }
Try this:
\def\dashauthor
{\leavevmode\hbox to 16pt{\endash\hss}\ignorespaces}
Hi Renaud,
sure, here it is:
\starttext
\def\Textit{\groupedcommand\it\/}
\def\hangover{\hangafter=1\hangindent=16pt }
\hangover\Textit{Badura, Peter:} Parlamentarismus und
parteienstaatliche Demokratie, in: Pawlowski, Hans{|-|}Martin{|/|}
Wieacker, Franz (Hrsg.), Festschrift für Karl
How do I get both unicode characters and simplifiedcommands in PDF
bookmarks? The code below produces an error:
! Improper alphabetic constant.
\groupedcommand
\ifnum `\groupedcommand
=255 32\else `\groupedcommand \fi
\utfdiv #1->\
upinteraction[state=start]
>
> \appendtoks
> \let\groupedcommand\thirdofthreearguments
> \to \simplifiedcommands
>
> % no command for monospaced yet
>
> \unprotected \definealternativestyle [\v!mono] [\tt] []
>
> \placebookmarks
> \starttext
> \chapter{test \mono{te
201 - 300 of 321 matches
Mail list logo