Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Fabrice Couvreur
old, >width=broad] > > \defineenumeration >[definition] >[text=Définition, > number=yes, > headcommand=\groupedcommand{}{.}, > style=italic] > > \starttext > > \startdefinition > \blank > \startxtable[align={lohi,middle},w

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Otared Kavian
ve=serried, >title=yes, >titleleft=, >titleright=, >prefix=yes, >prefixsegments=chapter, >way=bychapter, >titlestyle=bold, >width=broad] > > \defineenumeration > [definition] >[text=Définition, > number=

[NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Fabrice Couvreur
=, titleright=, prefix=yes, prefixsegments=chapter, way=bychapter, titlestyle=bold, width=broad] \defineenumeration [definition] [text=Définition, number=yes, headcommand=\groupedcommand{}{.}, style=italic] \starttext \startdefinition \blank \startxtable[align

Re: [NTG-context] help with confusion re chapter number

2020-07-09 Thread Aditya Mahajan
,style=bold,numbercommand=\groupedcommand{}{\blank[2cm]},after={\blank[3cm]},command=\MyChapter] What happens if you remove `numbercommand=...,`? Aditya___ If your question is of interest to others as well, please add

[NTG-context] help with confusion re chapter number

2020-07-09 Thread jbf
=\groupedcommand{}{\blank[2cm]},after={\blank[3cm]},command=\MyChapter] Julian ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

[NTG-context] Vertical space between label and title

2020-07-07 Thread Fabrice Couvreur
=\groupedcommand{}{.}, style=italic] \starttext \startchapter [title=Nombres complexes : point de vue algébrique] \startdefinition \input zapf \stopdefinition \startdefinition \input zapf \stopdefinition \stopchapter \stoptext

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread Wolfgang Schuster
,numbercommand=\groupedcommand{}{\blank[2cm]},after={\blank[3cm]}] and then setting up a mychapter as: \definehead[mychapter][chapter] \setuphead[mychapter][header=empty,alternative=middle,style=bold,numbercommand=\groupedcommand{}{\blank[2cm]},after={\blank[.5cm]}] That gives me the result I am after

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread jbf
Thanks Wolfgang. Clearly that fixes the problem. I also came up with another solution which avoids the need to define a MyChapterCommand, by first setting up the normal chapter as: \setuphead   [chapter] [header=empty,alternative=middle,style=bold,numbercommand=\groupedcommand{}{\blank[2cm

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
> > [text=Propriété, > >title=yes, > >headstyle={bold}, > >alternative=serried, > >style=italic, > >number=no, > >headcommand=\ProprieteHeadcommand, >

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Taco Hoekwater
Headcommand > {\textrule[top]{#1}} > > \defineenumeration > [propriete] > [text=Propriété, >title=yes, >headstyle={bold}, >alternative=serried, >style=italic, >number=no, >headcommand=\ProprieteHeadcommand, >numbercomma

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Otared Kavian
=\ProprieteHeadcommand, numbercommand=\groupedcommand{}{\nbsp}, after=\textrule] \starttext \startpropriete \input ward \stoppropriete \stoptext > On 1 Oct 2019, at 11:09, Fabrice Couvreur wrote: > > Hello, > The top line is in the text, how to fix this problem ? > Thank

[NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
, number=no, headcommand=\ProprieteHeadcommand, numbercommand=\groupedcommand{}{\nbsp}, after=\textrule] \starttext \startpropriete \input ward \stoppropriete \stoptext ___ If your question is of interest

Re: [NTG-context] weird spacing after command type

2018-10-14 Thread Wolfgang Schuster
. Another way to avoid the space is to create commands which don’t take argument which works only when you have a environment which isn’t delimited (i.e. the environment grabs everything from the start-command to the stop-command). \define\slide{\groupedcommand{\startmakeup[standard]}{\stopmakeup

[NTG-context] Blocks in margin with overflow of text

2018-08-22 Thread Fabrice Couvreur
] [] [n] \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes, distance=1em, %headcommand=\groupedcommand{}{~---~}, distance=none, prefix=yes, prefixsegments=chapter, way=bychapter, prefixconversionset=digit, titlestyle=bold, width

Re: [NTG-context] Enumerations in an environment

2018-08-13 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 13.08.18 um 12:35: Hello, How to have : Démonstration --- 1.one 2.two 3.three Thanks Fabrice \defineenumeration [proof] [text=Démonstration, alternative=serried, number=no, headcommand=\groupedcommand{}{~---~}, headstyle=bolditalic, %headcommand

[NTG-context] Enumerations in an environment

2018-08-13 Thread Fabrice Couvreur
Hello, How to have : Démonstration --- 1.one 2.two 3.three Thanks Fabrice \defineenumeration [proof] [text=Démonstration, alternative=serried, number=no, headcommand=\groupedcommand{}{~---~}, headstyle=bolditalic, %headcommand=\groupedcommand{}{:\,}, width=broad

Re: [NTG-context] future versions

2018-07-25 Thread Hans Hagen
, but it is not an acceptable replacement for font switches with pdf output. And since the syntax for highlights ( \highlight{text} ) differs from that for font switches ( {\highlight text} ), it is not simply a matter of different environments for each output format, although perhaps \groupedcommand

Re: [NTG-context] future versions

2018-07-25 Thread Alan Braslau
h pdf output. And since > the syntax for highlights ( \highlight{text} ) differs from that for > font switches ( {\highlight text} ), it is not simply a matter of > different environments for each output format, although perhaps > \groupedcommand might help (I have not tried this). > >

Re: [NTG-context] future versions

2018-07-25 Thread Hans Hagen
for font switches with pdf output. And since the syntax for highlights ( \highlight{text} ) differs from that for font switches ( {\highlight text} ), it is not simply a matter of different environments for each output format, although perhaps \groupedcommand might help (I have not tried

Re: [NTG-context] future versions

2018-07-25 Thread Rik Kabel
the syntax for highlights ( \highlight{text} ) differs from that for font switches ( {\highlight text} ), it is not simply a matter of different environments for each output format, although perhaps \groupedcommand might help (I have not tried this). But that is in some ways beside the point

[NTG-context] Numbering properties in a chapter

2018-07-23 Thread Fabrice Couvreur
}} \setupenumerations[ text=Propriété , title=no, way=bychapter, titlestyle=bold, style=slanted, width=fit, headcommand=\ProprieteHeadcommand, numbercommand=\groupedcommand{}{\nbsp}, after=\textrule ] \defineenumeration[propriete] \starttext

Re: [NTG-context] space sectioning control

2018-06-26 Thread Procházka Lukáš Ing .
agraphs you can create a counter with \definelabel. \definelabel[Paragraph][text=,numberstopper={.},headcommand=\groupedcommand{}{ }] \starttext \startchapter[title={First},reference={}] \Paragraph\input ward \Paragraph\input ward \stopchapter \startchapter[title={Second},reference={}]

Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
ter.wolfg...@gmail.com> 25. Juni 2018 um 13:41 To number paragraphs you can create a counter with \definelabel. \definelabel[Paragraph][text=,numberstopper={.},headcommand=\groupedcommand{}{ }] \starttext \startchapter[title={First},reference={}] \Paragraph\input ward \Paragraph\input ward

Re: [NTG-context] space sectioning control

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
for your insights and help. Idris \definelabel[Paragraph][text=,numberstopper={.},headcommand=\groupedcommand{}{ }] \starttext \startchapter[title={First},reference={}] \Paragraph\input ward \Paragraph\input ward \stopchapter \startchapter[title={Second},reference={}] \Paragraph\input ward

Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
To number paragraphs you can create a counter with \definelabel. \definelabel[Paragraph][text=,numberstopper={.},headcommand=\groupedcommand{}{ }] \starttext \startchapter[title={First},reference={}] \Paragraph\input ward \Paragraph\input ward \stopchapter \startchapter[title={Second

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
ters: - -- \unexpanded\def\wordorparagraphright{\dosingleempty\WordOrParagraphRigh t} \def\WordOrParagraphRight[#1]{\groupedcommand{\setbox0\hbox\bgroup} {\egroup\newdimen\myBoxWd\myBoxWd=\wd0 \ifdim\myBoxWd < .7\hsize \wordright{\box0}% \else

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
geleft=\wordorparagraphright\bgroup, pageright=\egroup] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext --- I suppose it's related to the problem that \groupedcommand

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
roup } \unexpanded\def\stopregisterpages{\egroup\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext I've also learned about \groupedcommand, which i did not know

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread Wolfgang Schuster
. \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,alter

Re: [NTG-context] Horizontal line after text in an environment

2018-04-26 Thread Fabrice Couvreur
e >> >> >> \setuptolerance[stretch,verytolerant] >> \useMPlibrary[dum] >> >> >> \define[1]\ProprieteHeadcommand >>{\textrule[top]{#1}} >> >> \defineenumeration >>[propriete] >>[text=Propriété, >> title=yes, >>

Re: [NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Hans Hagen
,    numbercommand=\groupedcommand{}{\nbsp},    after=\textrule] \starttext \startpropriete \placefigure[right,none]{}{\externalfigure[dummy]} \startitemize \item \input ward \item \input ward \stopitemize \stoppropriete \startpropriete \placefigure[right,none]{}{\externalfigure[dummy

[NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Fabrice Couvreur
] \useMPlibrary[dum] \define[1]\ProprieteHeadcommand {\textrule[top]{#1}} \defineenumeration [propriete] [text=Propriété, title=yes, headstyle={bold}, style=italic, headcommand=\ProprieteHeadcommand, numbercommand=\groupedcommand{}{\nbsp}, after=\textrule] \starttext

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-20 Thread Ibn Saeed
ader=12.9mm, footer=9mm, > > location=middle, > > ] > > > > > > \setupbodyfont[Arabic,20pt] > > \setupinterlinespace[line=32pt] > > \setupwhitespace[line] > > > > > > > > \def\TextBig{\switchtobodyfont[Arabic-Regular, rm, 62pt]} > > \d

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Otared Kavian
, 62pt]} > \def\TextNormal{\switchtobodyfont[Arabic-Regular, rm, 24pt]} > \def\TextSmall{\switchtobodyfont[Arabic-Regular, rm, 18pt]} > \def\TextSmaller{\switchtobodyfont[Arabic-Regular, rm, 14pt]} > \def\TextSmallSans{\switchtobodyfont[Arabic-Regular, ss, 12pt]} > > > \setuphead[chapter]

[NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Ibn Saeed
, number=no, numbercommand=\groupedcommand{}{\blank[2*big]}, after={\blank[2*medium]}, ] \starttext \startfrontmatter \startstandardmakeup[ align=r2l, doublesided=no, headerstate=none] \startalignment[middle] \blank[11*small] {\switchtobodyfont[62pt] فتح القوي المتين}\par \blank[7

[NTG-context] Question about headcommand

2016-07-21 Thread Fabrice Couvreur
, framecolor=red, ] \defineenumeration [ex] [text=, distance=0.3em, width=fit, headcommand=\ACFRAME, %numberconversionset=ACCONVERSION, alternative=serried, ] %\defineprocessor[ACPROCESSOR][color=white,command=\groupedcommand{}{}] %\defineconversionset[ACCONVERSION

Re: [NTG-context] Setting \textrules

2016-07-20 Thread Fabrice Couvreur
eHeadcommand >> {\textrule[top]{#1}} >> >> \defineenumeration >> [propriete] >> [text=Propriété , >>style=italic, >>headcommand=\ProprieteHeadcommand, >>numbercommand=\groupedcommand{}{\nbsp}, >>aft

Re: [NTG-context] Setting \textrules

2016-07-14 Thread Fabrice Couvreur
t] > > \define[1]\ProprieteHeadcommand > {\textrule[top]{#1}} > > \defineenumeration > [propriete] > [text=Propriété , >style=italic, >headcommand=\ProprieteHeadcommand, >numbercommand=\groupedcommand{}{\nbsp}, >after=\textrule] > > \setup

Re: [NTG-context] Setting \textrules

2016-07-13 Thread Wolfgang Schuster
ommand=\groupedcommand{}{\nbsp}, after=\textrule] \setuptextrules[width=0pt,distance=0pt] \starttext \startpropriete Soit \math{q} un réel \math{\neq 1}, alors pour tout entier naturel \math{n\geqslant 1} on a : \startformula S=1+q+q^2+\dots+q^n=\frac{1-q^{n+1}}{1-q}. \stopf

Re: [NTG-context] \quote inside \emph

2016-01-18 Thread Hans Hagen
etting and for completeness sake add style/color settings to the paragraph alternative. \unexpanded\def\typo_delimited_par {\groupedcommand {\dostarttaggedchained\t!delimited\currentdelimitedtext\??delimitedtext % block? \typo_delimited_handle_left\c!left + \usedelimitedtextstyleandcolor\c!s

Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Wolfgang Schuster
ed\def\typo_delimited_par {\groupedcommand {\dostarttaggedchained\t!delimited\currentdelimitedtext\??delimitedtext % block? \typo_delimited_handle_left\c!left + \usedelimitedtextstyleandcolor\c!style\c!color \dostarttagged\t!delimitedcontent\empty} {\dostop

Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Aditya Mahajan
ttings to the paragraph alternative. \unexpanded\def\typo_delimited_par {\groupedcommand {\dostarttaggedchained\t!delimited\currentdelimitedtext\??delimitedtext % block? \typo_delimited_handle_left\c!left + \usedelimitedtextstyleandcolor\c!style\c!color \dostartta

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Wolfgang Schuster
, 10pt] \setuplabeltext[cs][chapter=KAPITOLA ] \setupindenting[medium, yes] \setuphead[chapter][ alternative=middle, before={\blank[force,10mm]}, after={\blank[1*line]}, style=\bfc, numberstyle={\kerncharacters[0.125]\bfa}, numbercommand=\groupedcommand{}{\blank[4mm]}, sectionstopper={.}, conversion=Romannu

Re: [NTG-context] tex error in curent beta

2015-10-24 Thread Jan Tosovsky
e MWE: > > > > \setuphead[chapter][ > >alternative=middle, > >before={\blank[force,10mm]}, > >after={\blank[1*line]}, > >style=\bfc, > >numberstyle={\kerncharacters[0.125]\bfa}, > >numbercommand=\groupedcommand{}{\blank[4mm]}, &g

Re: [NTG-context] tex error in curent beta

2015-10-22 Thread Jan Tosovsky
; > ] > > > > This compiles, thanks, but that number is not hanging on the right any > more :-( > > This is my more complete MWE: > > \setuphead[chapter][ >alternative=middle, >before={\blank[force,10mm]}, >after={\blank[1*line]}, >style=\bfc,

Re: [NTG-context] tex error in curent beta

2015-10-16 Thread Jan Tosovsky
te MWE: \setuphead[chapter][ alternative=middle, before={\blank[force,10mm]}, after={\blank[1*line]}, style=\bfc, numberstyle={\kerncharacters[0.125]\bfa}, numbercommand=\groupedcommand{}{\blank[4mm]}, sectionstopper={.}, conversion=Romannumerals, ] \define[1]\ChapterListNumber

Re: [NTG-context] before= and after= for \setuphighlight

2015-05-15 Thread Hans Hagen
to \setuphighlight which has before= and after=? Or any other ideas? we have before/after in \definestartstop so let's add left/right there for the inline variant you can put this in cont-new.mkiv: \unprotect \unexpanded\def\syst_startstop_indeed#1% {\groupedcommand {\def\currentstartstop{#1

Re: [NTG-context] before= and after= for \setuphighlight

2015-05-15 Thread Aditya Mahajan
to me how the command key is supposed to work. \unprotect \unexpanded\def\syst_startstop_indeed#1% {\groupedcommand {\def\currentstartstop{#1}% \startstopparameter\c!commands % better: setups so that will show op soon \dostarttagged\t!construct\currentstartstop

Re: [NTG-context] Request: Numbercommand key for \setupcaption

2015-04-11 Thread Wolfgang Schuster
\useMPlibrary[dum] \setuplabeltext[en][figure={LEFT , RIGHT}] \definereferenceformat[infigure][label=*] \setupcaption[figure][numbercommand=\groupedcommand{}{:}] \starttext \startplacefigure[reference=fig:dummy,title=Dummy figure] \externalfigure[dummy] \stopplacefigure See

Re: [NTG-context] Request: Numbercommand key for \setupcaption

2015-04-11 Thread Hans Hagen
the color after “RIGHT”. begin example \useMPlibrary[dum] \setuplabeltext[en][figure={LEFT , RIGHT}] \definereferenceformat[infigure][label=*] \setupcaption[figure][numbercommand=\groupedcommand{}{:}] \starttext \startplacefigure[reference=fig:dummy,title=Dummy figure] \externalfigure[dummy

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
a numbercommand key which can be used to set \setupcaption[numbercommand=\groupedcommand{}{…}] The alignment=last option works. (This option is not mentioned among the options at the contextgarden wiki site, http://wiki.contextgarden.net/Command/setupcaptions.) Take a look at the \setupalign

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-06 Thread Rob Heusdens
] [width=fit,style=bold,numbercommand=\groupedcommand{Hoofdstuk }{ – }] \setuplist [appendix] [style=bold,textcommand=\groupedcommand{Bijlage – }{}] \setuplist [back] [style=bold,textcommand=\groupedcommand{Noten – }{}] Wolfgang This works! Thank you Wolfgang. I finally completed my

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-06 Thread Wolfgang Schuster
need to use another trick to get the colon. Should I change the numbercommand in \setuphead and \setuplist or is there a different trick? Use \setuphead[section][numbercommand=\groupedcommand{}{:}] instead of \setuphead[section][sectionstopper=:] Wolfgang

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Wolfgang Schuster
[chapter] [width=fit,style=bold,numbercommand=\groupedcommand{Hoofdstuk }{ – }] \setuplist [appendix] [style=bold,textcommand=\groupedcommand{Bijlage – }{}] \setuplist [back] [style=bold,textcommand=\groupedcommand{Noten – }{}] Wolfgang

[NTG-context] Title and defineenumeration

2014-12-31 Thread Fabrice Couvreur
\feature[+][f:smallcaps]}, headcommand=\ACFRAME, numberconversionset=ACCONVERSION, width=fit, alternative=top, title=yes, ] \defineprocessor[ACPROCESSOR][color=red,command=\groupedcommand{}{.}] \defineconversionset[ACCONVERSION][][ACPROCESSOR-n] \starttext \startac{En Bretagne, il

Re: [NTG-context] Three questions about descriptions

2014-07-26 Thread Wolfgang Schuster
, width=fit, distance=1ex, before=, % before=\endgraf after=, headcommand=\groupedcommand{}{:}] \definestartstop [outlines] [before={\blank[line]}, after={\blank[line]}] \starttext \input ward \startoutlines \outline{Welcome} Tea \outline{Introduction} Tufte or Knuth? and more

Re: [NTG-context] sections without numbering

2014-07-13 Thread Werner Hintze
: \starttext \define[2]\MyChapter {#1.\,Kapitel: #2} \setuphead [chapter] [command=\MyChapter, page=no] \setuphead [chapter] [numbercommand=\groupedcommand{}{ Kapitel:},page=no,sectionstopper=.] or \setuplabeltext[en][chapter={, Kapitel:}] \setuphead [chapter] [page=no,sectionstopper=.] Wolfgang

Re: [NTG-context] Numbering in a frame with a new environment

2014-04-27 Thread Wolfgang Schuster
definition to \defineprocessor[ACPROCESSOR][color=red,command=\groupedcommand{}{.}] Wolfgang___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

[NTG-context] Space before chapters

2013-11-19 Thread Jan Tosovsky
on a new page. (2) numbercommand=\groupedcommand{\blank[20mm]}{\blank[4mm]} - this works as expected, but only for numbered titles - I need it also for TOC and Preface. (3) commandbefore={\blank[20mm]} - it inserts the space between the number and title I have no idea what else to try

Re: [NTG-context] Space before chapters

2013-11-19 Thread Hans Hagen
, but here I suspect it is ignored as my chapter start on a new page. (2) numbercommand=\groupedcommand{\blank[20mm]}{\blank[4mm]} - this works as expected, but only for numbered titles - I need it also for TOC and Preface. (3) commandbefore={\blank[20mm]} - it inserts the space between the number

[NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
as I cannot combine both the casing conversion and e.g. \bfb in single \groupedcommand. I prefer setting the upercased version of Romannumerals as I do not want small roman literals in the TOC or bookmarks. Are there better ways to accomplish this? \definefontfamily[palatino][rm][Palatino Linotype

Re: [NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Wolfgang Schuster
. I am also considering using just smaller font, but I am facing similar problems as I cannot combine both the casing conversion and e.g. \bfb in single \groupedcommand. I prefer setting the upercased version of Romannumerals as I do not want small roman literals in the TOC or bookmarks

Re: [NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
for the chapter number you can use capitals in combination with a smaller font size. \setuplabeltext[en][chapter=Chapter~] \setuphead [chapter] [alternative=middle, style=\bfc, numberstyle={\setcharactercasing[WORD]\kerncharacters[0.125]\bfa}, numbercommand=\groupedcommand{}{\blank[4mm

[NTG-context] Placing figures with text wrap causes page break

2013-07-05 Thread Philip
] \setupalign [right, nothyphenated] \setupcaptions{style=\tfx\ss] \define\bold{\dontleavehmode\groupedcommand\bf\donothing} \starttext \title{title text} Some text here. \bold{subheader} \placefigure[right,2*hang,nonumber] {Longish caption text} {\externalfigure [graphic.jpg] [0.4 \textwidth]} More

[NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Jan Tosovsky
title this line break is handy (in my use case) \setuphead[chapter][ alternative=middle, style=\bfc, conversion=Romannumerals, numbercommand=\groupedcommand{\cap}{\blank[0.5cm]}, after={\blank[1cm]}, ] % for section it is inappropriate \setuphead

Re: [NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Hans Hagen
][chapter=Chapter~] % while for chapter title this line break is handy (in my use case) \setuphead[chapter][ alternative=middle, style=\bfc, conversion=Romannumerals, numbercommand=\groupedcommand{\cap}{\blank[0.5cm]}, after={\blank[1cm

[NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
title this line break is handy (in my use case) \setuphead[chapter][ alternative=middle, style=\bfc, conversion=Romannumerals, numbercommand=\groupedcommand{\cap}{\blank[0.5cm]}, after={\blank[1cm]}, ] % for section it is inappropriate \setuphead

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
My code: \setuplabeltext[en][chapter=Chapter~] % while for chapter title this line break is handy (in my use case) \setuphead[chapter][ alternative=middle, style=\bfc, conversion=Romannumerals, numbercommand=\groupedcommand{\cap}{\blank[0.5cm

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread luigi scarso
) \setuphead[chapter][ alternative=middle, style=\bfc, conversion=Romannumerals, numbercommand=\groupedcommand{\cap}{\blank[0.5cm]}, after={\blank[1cm]}, ] % for section it is inappropriate \setuphead[section][ align=middle, style=\bfa

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
=\groupedcommand{\cap}{\blank[0.5cm]}, after={\blank[1cm]}, ] % for section it is inappropriate \setuphead[section][ alternative=middle, style=\bfa, sectionsegments=section, % ignore component label ] \starttext \chapter{Foo} \section

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread Wolfgang Schuster
Am 03.06.2013 um 20:28 schrieb luigi scarso luigi.sca...@gmail.com: numbercommand=\groupedcommand{\cap}{\blank[0.5cm]}, But again, are you sure about the \cap command ? It also sets the CHAPTER as small caps . Formatting numbers as smallcaps/fake caps doesn’t make much sense

[NTG-context] How do you customize the chapter number format?

2013-04-29 Thread Lance Larsen
in the table of contents: \setuphead[chapter][numbercommand=\groupedcommand{}{.0\blank[2cm]}] Any suggestions for how I change the numbering so that the 1.0 shows up in the table of contents as well? -Lance Larsen

Re: [NTG-context] How do you customize the chapter number format?

2013-04-29 Thread Wolfgang Schuster
Adding the following command worked, except it did not change the numbering in the table of contents: \setuphead[chapter][numbercommand=\groupedcommand{}{.0\blank[2cm]}] Any suggestions for how I change the numbering so that the 1.0 shows up in the table of contents as well? \define[1

Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Hans Hagen
On 4/21/2013 10:26 AM, Wolfgang Schuster wrote: No, you have to use \hbox too but I think a command with a speaking name would be better. \unexpanded\def\unhyphenated {\groupedcommand{\lefthyphenmin\maxdimen}\donothing} I'll add that. Hans

Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Sietse Brouwer
the sense of the other way, too, and I couldn't hope to compete with the Duden for authority. ;-) \unexpanded\def\unhyphenated {\groupedcommand{\lefthyphenmin\maxdimen}\donothing} \unhyphenated also documented. The name is inconsistent with \setupalign[nothyphenated]; perhaps \nothyphenated

Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Hans Hagen
. No, this was just a gut reaction. I can see the sense of the other way, too, and I couldn't hope to compete with the Duden for authority. ;-) \unexpanded\def\unhyphenated {\groupedcommand{\lefthyphenmin\maxdimen}\donothing} \unhyphenated also documented. The name is inconsistent with \setupalign

Re: [NTG-context] endnotemarkers

2013-04-17 Thread Wolfgang Schuster
, whereas numbercommand does? The manual strongly suggest this to me. \def\fnmarker#1{[#1]} \setupnotation[endnote][numbercommand=\fnmarker,textcommand=\fnmarker] \setupnote[endnote][textcommand=\groupedcommand{[}{]}] \setupnotation[endnote][numbercommand=\groupedcommand{[}{]}] Wolfgang

Re: [NTG-context] footnoterule

2013-04-17 Thread Meer, H. van der
just comes up with a similar solution: \setupnote[endnote][textcommand=\groupedcommand{[}{]}] \setupnotation[endnote][numbercommand=\groupedcommand{[}{]}] Allthough the difference between \setupnote and \setupnotes alludes me. The \setupnotes does not handle the numbercommand

Re: [NTG-context] footnoterule

2013-04-17 Thread Wolfgang Schuster
=\fnmarker] \def\fnmarker#1{[#1]}\def\hifnmarker#1{\high{[#1]}} Wolfgang Schuster just comes up with a similar solution: \setupnote[endnote][textcommand=\groupedcommand{[}{]}] \setupnotation[endnote][numbercommand=\groupedcommand{[}{]}] Allthough the difference between \setupnote

Re: [NTG-context] endnotemarkers

2013-04-17 Thread Hans Hagen
. Why does textcommand has not this effect, whereas numbercommand does? The manual strongly suggest this to me. \def\fnmarker#1{[#1]} \setupnotation[endnote][numbercommand=\fnmarker,textcommand=\fnmarker] \setupnote[endnote][textcommand=\groupedcommand{[}{]}] \setupnotation[endnote

Re: [NTG-context] endnotemarkers

2013-04-17 Thread Meer, H. van der
A minor point perhaps on this textcommand= \groupedcommand for the marking of the notes in the text. I tried this but now the marking is not typeset as a superscript. Hans van der Meer On 17 Apr 2013, at 9:28 PM, Hans Hagen pra...@wxs.nl wrote: On 4/17/2013 8:27 PM, Wolfgang Schuster

Re: [NTG-context] endnotemarkers

2013-04-17 Thread Wolfgang Schuster
Am 17.04.2013 um 21:35 schrieb Meer, H. van der h.vanderm...@uva.nl: A minor point perhaps on this textcommand= \groupedcommand for the marking of the notes in the text. I tried this but now the marking is not typeset as a superscript. \defineprocessor[footnote][left={[},right

Re: [NTG-context] \definehighlight + \words | \WORDS

2012-05-08 Thread Philipp Gesang
. Is there anything wrong with my approach? You can use \definehighlight [tolower] [style={\setcharactercasing[2]}] to create the \tolower command. Perfect, thanks a lot. So it was caused by the \groupedcommand in the definition of \word. Philipp Wolfgang

Re: [NTG-context] \definehighlight + \words | \WORDS

2012-05-08 Thread Hans Hagen
with my approach? You can use \definehighlight [tolower] [style={\setcharactercasing[2]}] to create the \tolower command. Perfect, thanks a lot. So it was caused by the \groupedcommand in the definition of \word. The next version will support named casing: WORD word Word Words capitals cap

Re: [NTG-context] \definehighlight + \words | \WORDS

2012-05-08 Thread Wolfgang Schuster
, the more elegant doesn’t work in all cases. Is there anything wrong with my approach? You can use \definehighlight [tolower] [style={\setcharactercasing[2]}] to create the \tolower command. Perfect, thanks a lot. So it was caused by the \groupedcommand in the definition of \word

Re: [NTG-context] \definehighlight + \words | \WORDS

2012-05-08 Thread Philipp Gesang
On 2012-05-08 13:28, Wolfgang Schuster wrote: It would be also useful to change the following line in font-pre.mkiv to use \setcharacterchasing instead of \WORD (won’t work anymore when you remove \groupedcommand from the \WORD as written in the comments in typo-cap.mkiv

Re: [NTG-context] \definehighlight + \words | \WORDS

2012-05-08 Thread Hans Hagen
remove \groupedcommand from the \WORD as written in the comments in typo-cap.mkiv) \definealternativestyle [\v!WORD] [\WORD][\WORD] Additional entries for \word, Words etc. in font-pre.mkvi are useful as well because “style=word” looks better than “style={\setcharacterchasing

[NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss}{}} \define\ColorSwitch% {\groupedcommand{\language[de]\ss\color[darkred]}{}} \starttext English: \date {\PlainSwitch German \date} English: \date

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Hans Hagen
On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss}{}} \define\ColorSwitch% {\groupedcommand{\language[de]\ss\color[darkred]}{}} \starttext English: \date

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss}{}} \define\ColorSwitch% {\groupedcommand{\language[de

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Hans Hagen
On 14-2-2012 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss}{}} \define

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Philipp Gesang
On 2012-02-14 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch% {\groupedcommand{\language[de]\ss

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
Am 14.02.2012 um 13:44 schrieb Hans Hagen: On 14-2-2012 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Wolfgang Schuster
Am 14.02.2012 um 14:26 schrieb Steffen Wolfrum: Am 14.02.2012 um 13:44 schrieb Hans Hagen: On 14-2-2012 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand

Re: [NTG-context] Bug in symb-ini.mkiv?

2012-01-16 Thread Hans Hagen
of using \groupedcommand which is clever enough to identify this case (although \starttext \color[red] test \stoptext would still fail) Hans - Hans Hagen | PRAGMA ADE

[NTG-context] grouped commands in MkIV

2011-10-30 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear syndicate, = \def\TR{\groupedcommand \it} % \def\TR{\groupedcommand \it\/} \def\Test{{\TR Test}} \starttext \Test \stoptext = produces the attached strange result: The first letter gets put at the end. Also, is italic correction no longer supported in mkiv

Re: [NTG-context] grouped commands in MkIV

2011-10-30 Thread Wolfgang Schuster
Am 30.10.2011 um 20:16 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear syndicate, = \def\TR{\groupedcommand \it} % \def\TR{\groupedcommand \it\/} \def\Test{{\TR Test}} \starttext \Test \stoptext = produces the attached strange result: The first letter gets

Re: [NTG-context] Footnote number followed by a dot

2011-07-02 Thread Wolfgang Schuster
] [numbercommand=\groupedcommand{}{.}] \starttext \dorecurse{12}{test\footnote{test} } \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Footnote number followed by a dot

2011-07-02 Thread Andreas Harder
The output is the same. Use this: \setupnote [footnote] [numbercommand=\groupedcommand{}{.}] \starttext \dorecurse{12}{test\footnote{test} } \stoptext Thanks Wolfgang! Andreas ___ If your question is of interest

Re: [NTG-context] Custom function

2011-06-04 Thread Wolfgang Schuster
{... by hand and add it directly to the setupparagraphs. Can I do such a thing? \definedescription [infos] [location=margin, command=\groupedcommand{\switchtobodyfont[6pt]}{\endgraf}] \starttext \startinfos{Edition de Trilogie de l'enfer en novembre 2011 chez Sens Tonka} \input tufte

  1   2   3   >