Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Wolfgang Schuster
// \definestartstop //[abblist] //[before={\setupbackgrounds[text][background=verticalline] // \starttextbackground[text] // \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] // \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated

Re: [NTG-context] Changing the font in quotation

2012-11-16 Thread Marco Patzer
://wiki.contextgarden.net/Command/setupdelimitedtext That means, you can use the style key as follows: \setupdelimitedtext [quotation] [style=sans] If you defined sans to be Helvetica, that's all you need, but this depends on you document setup. You can also use \switchtobodyfont. \setupdelimitedtext

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Aditya Mahajan
work.. Search for style: \definevimtyping [ctyping] [style={\switchtobodyfont[small,tt]}] \starttext \startctyping #include stdio.h \stopctyping \stoptext Or if you want to globally change the style of all typing environments: \setupvimtyping [style=] Also see http

Re: [NTG-context] Making math smaller

2012-10-25 Thread Marcin Borkowski
that \switchtobodyfont[small] did work. So my question now becomes: why is that so? Best, Even better;), -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ If your

Re: [NTG-context] math: \text does not scale properly

2012-10-21 Thread Hans Hagen
: \unprotect \ifdefined\font_basics_switchtobodyfont\else \def\font_basics_switchtobodyfont#1{\switchtobodyfont[#1]}% \fi \def\mathstyleface#1% #1 is number (\normalmathstyle) {\ifcase#1\relax \textface \or \textface \or \textface \or \textface

Re: [NTG-context] math: \text does not scale properly

2012-10-20 Thread Aditya Mahajan
, which works. There is another bug with \text. {\switchtobodyfont[sans] $\text{sans}$} does not switch to sans font. Both the incorrect scaling and wrong font switch can be corrected by restoring the old definition of \text in math-ini.mkiv. Based on the comments in that file, this will come

Re: [NTG-context] Russian sentence in Czech text in Mark II in ConTeXt Suite installation on Linux in UTF8

2012-09-24 Thread Mojca Miklavec
[gentium][t2a] \starttypescript [gentium-rus] [t2a] \definetypeface [gentium] [rm] [serif] [gentium] [default] [encoding=\typescripttwo] \stoptypescript \usetypescript[gentium][ec] \usetypescript[gentium-rus][t2a] \setupbodyfont[gentium] \starttext program pro počítačovou sazbu {\switchtobodyfont

[NTG-context] Luatex crash with x86-64 Linux binary

2012-09-10 Thread Brian R. Landy
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][1,4,3,2][style={\switchtobodyfont[modern,rm]\bf}]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][5][topframe=on]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][20][align={flushleft,lohi

[NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Steffen Wolfrum
Hi, please have a look at this minimal example below: you'll find three formulas (1), (4), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm

Re: [NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Wolfgang Schuster
\bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \stoptext It’s a bug in the formula numbering. Natural tables perform three runs

Re: [NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Steffen Wolfrum
\placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \stoptext It’s a bug

[NTG-context] Bold math trouble

2012-08-12 Thread Kumar Appaiah
=texnansi] \definetypeface [boldmath] [mm] [boldmath] [modern] [modern] [encoding=texnansi] \switchtobodyfont[palatino,14pt] \starttext Hi \startformula x = \boldsymbol{\Sigma}\Sigma \stopformula \stoptext /code The issue I have is that this doesn't work, and throws me: ! Math formula deleted

Re: [NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Wolfgang Schuster
), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE

Re: [NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Steffen Wolfrum
at this minimal example below: you'll find three formulas (1), (4), (5) What happen to (2) and (3)? Steffen ... \starttext \placeformula \startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula

Re: [NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Hans Hagen
\startformula a+b=c \stopformula \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}] \bTR \bTD[width=35mm] \placeformula \startformula c-a=b \stopformula \eTD \eTR \eTABLE \placeformula \startformula c-b=a \stopformula \stoptext It’s a bug in the formula numbering. Natural tables

Re: [NTG-context] Bold math trouble

2012-08-12 Thread Hans Hagen
] \usetypescript[palatino][texnansi] \definetypeface[mainface][mm][math][modern][modern][encoding=texnansi] \definetypeface [boldmath] [mm] [boldmath] [modern] [modern] [encoding=texnansi] \switchtobodyfont[palatino,14pt] \starttext Hi \startformula x = \boldsymbol{\Sigma}\Sigma \stopformula

Re: [NTG-context] Bold math trouble

2012-08-12 Thread Kumar Appaiah
] [modern] [modern] [encoding=texnansi] \switchtobodyfont[palatino,14pt] \starttext Hi \startformula x = \boldsymbol{\Sigma}\Sigma \stopformula \stoptext /code The issue I have is that this doesn't work, and throws me: ! Math formula deleted: Insufficient symbol fonts. \mathboldsymbol

Re: [NTG-context] Luatex error in latest beta (standalone)

2012-08-03 Thread Alan Bowen
\relax 1692\restoreglobalbodyfont 1693\switchtobodyfont[\noteparameter\c!bodyfont]% 1694\setupalign[\noteparameter\c!align]} 1695 1696 %D The footnote mechanism defaults to a traditional one 1697 %D column way of showing them. By default we precede them by 1698 %D

[NTG-context] A strange problem, probably with \startitemize[columns]

2012-07-28 Thread Marcin Borkowski
\egroup} \def\todo#1{{\em \kap{do dopisania}: #1}} %\setupinteraction[state=start] \enablemode[nauczyciel] %\disablemode[nauczyciel] \def\startteacher{\grabbufferdata[teacher][startteacher][stopteacher]} \doifmodeelse{nauczyciel}{\def\stopteacher{\par{\switchtobodyfont[small]\getbuffer[teacher]\par

Re: [NTG-context] simpleslides help needed

2012-07-21 Thread Aditya Mahajan
and ran into my initial difficulties. Use \setupSlideTitle [style={ any font command }] The default value of style is \switchtobodyfont[\SlideTitleSize]. The easiest way to switch fonts is to use \definefont or, if you are using the simplefonts module, \definesimplefont. For example: \usemodule

Re: [NTG-context] math symbol: blacktriangle

2012-07-18 Thread Hans Hagen
\switchtobodyfont[modern-designsize] \subject{modern-designsize} \getbuffer \blank \switchtobodyfont[modern]\subject{modern} \getbuffer \blank \switchtobodyfont[xits] \subject{xits} \getbuffer \blank \switchtobodyfont[pagella] \subject{pagella} \getbuffer \blank

Re: [NTG-context] math symbol: blacktriangle

2012-07-18 Thread Andreas Mang
\meaning\bigtriangledown\NC \NR \NC \type{\triangleleft } \NC \triangleleft \NC \meaning\triangleleft \NC \NR \NC \type{\triangleright} \NC \triangleright \NC \meaning\triangleright \NC \NR \HL \stoptabulate \stopbuffer \starttext \switchtobodyfont

Re: [NTG-context] math symbol: blacktriangle

2012-07-18 Thread Aditya Mahajan
} \NC \triangleright \NC \meaning\triangleright \NC \NR \HL \stoptabulate \stopbuffer \starttext \switchtobodyfont[modern-designsize] \subject{modern-designsize} \getbuffer \blank \switchtobodyfont[modern]\subject{modern} \getbuffer \blank \switchtobodyfont

Re: [NTG-context] bodyfont message

2012-07-11 Thread Hans Hagen
be done global) I am inclined to follow the suggestion, but I cannot think of the most correct way to do this. Someone willing to show it to me? You probably use a large size locally, say \switchtobodyfont[25pt] and in that case you need to define a bodyfontenvironment in order to prevent endless

[NTG-context] setupcaptions

2012-07-11 Thread Meer, H. van der
. Of course I could have used style={\bf\switchtobodyfont[small]}, but I would prefer to refrain from low level font commands when possible. I am right the setupcaptions should work with combined fontsettings, or is it my mistake? Hans van der Meer setup.pdf Description: setup.pdf

Re: [NTG-context] setupcaptions

2012-07-11 Thread Wolfgang Schuster
of ConTeXt's parameter handling I would have expected this to work. Of course I could have used style={\bf\switchtobodyfont[small]}, but I would prefer to refrain from low level font commands when possible. I am right the setupcaptions should work with combined fontsettings, or is it my

Re: [NTG-context] clutter with \start and \stop

2012-07-04 Thread Rogers, Michael K
\startsection[title=Tufte] \startcolumns[n=2] \input tufte \stopcolumns \stopsection \startsection[title=Tufte and Knuth] \startcolumns[n=2] \switchtobodyfont[big] % Note that the font size is switched back after \stopcolumns \input tufte \stopcolumns \input knuth \startcolumns[n=2] \input tufte

Re: [NTG-context] Two questions about buffers

2012-06-30 Thread Hans Hagen
and does not adapt the baseline use \switchtobodyfont[small] or \tfxx\setupinterlinespace instead - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

Re: [NTG-context] \placeregister[index]—preventing page break before

2012-06-27 Thread Alan Bowen
] \page[makeup] \stopcomponent The registers are defined in an environment file as follows; %Passages \defineregister[Passage][Passages] \setupregister[Passage][n=3,% balance=yes,% pagestyle={\switchtobodyfont[9.6pt]\em},% textstyle={\switchtobodyfont[9.6pt]},% criterium=all,% interaction

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Alfredo Catalina
I'm sorry but I don't know how to use them. I've tried \setupMPinstance [metafun] [textcolor=red] and got an undefined control sequence error. I've also tried \startMPenvironment [global] \usetypescript[palatino][ec] \switchtobodyfont[palatino,7pt] \stopMPenvironment and it changed

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Wolfgang Schuster
] \switchtobodyfont[palatino,7pt] \stopMPenvironment and it changed the font size but the font type is not palatino. 1. Do you use MkII or MkIV? 2. Do you want Palatino only for the metapost labels or also for the main font in the document? Wolfgang

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Wolfgang Schuster
. \setupbodyfont[pagella,11pt] %\setupMPinstance[metafun][textstyle=sans] \setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}] \starttext \input knuth \startMPcode draw textext(I’m different!) ; \stopMPcode \stoptext Wolfgang

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Alfredo Catalina
\setupbodyfont[pagella,11pt] %\setupMPinstance[metafun][textstyle=sans] \setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}] \starttext \input knuth \startMPcode draw textext(I’m different!) ; \stopMPcode \stoptext It gives an error: ! Undefined control sequence

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Aditya Mahajan
On Sun, 10 Jun 2012, Alfredo Catalina wrote: \setupbodyfont[pagella,11pt] %\setupMPinstance[metafun][textstyle=sans] \setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}] \starttext \input knuth \startMPcode draw textext(I’m different!) ; \stopMPcode \stoptext It gives

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
=1sp,#1] \let\doitem\item \def\item{\doitem[]\hbox{}\kern12pt\rightskip=0pt}% } \def\stopouteritemize{\stopitemize\endgroup} \setupenumerations [indentnext=no] \setupdescriptions [indentnext=no] \unexpanded\def\smalltyping{% \switchtobodyfont[tt]% \parindent=0pt } % typing

[NTG-context] problem with switchtobodyfont

2012-06-05 Thread Brian Landy
Hi, I decided to give the latest minimals a test (I had been using 2012.01.16, updated to 2012.06.05 today), and noticed that switchtobodyfont no longer seems to work properly. Here is a small example: \starttypescript [cleartype] \definetypeface [\typescriptone] [rm] [serif] [constantia

[NTG-context] Multiple layers question

2012-06-04 Thread Marcin Borkowski
][background=bkg] \definelayer[bkg][x=0mm,y=0mm,width=\paperwidth,height=\paperheight] \setlayer[bkg] {\framed[frame=off,width=\paperwidth,height=50mm] {\switchtobodyfont[10mm]\tt Some text}} \setlayer[bkg] {\framed[frame=off,width=\paperwidth,height=\paperheight

Re: [NTG-context] Multiple layers question

2012-06-04 Thread Wolfgang Schuster
this: \setuppagenumbering[state=stop] \setupbackgrounds[page][background=bkg] \definelayer[bkg][x=0mm,y=0mm,width=\paperwidth,height=\paperheight] \setlayer[bkg] {\framed[frame=off,width=\paperwidth,height=50mm] {\switchtobodyfont[10mm]\tt Some text}} \setlayer[bkg

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Wolfgang Schuster
Am 02.06.2012 um 20:13 schrieb Philipp Gesang: Dear listmates, with \switchtobodyfont I get the interface message “fonts:14” from mult-mes.lua (“bodyfont %s is defined (can better be done global)”) which is kinda hard to grep for :( Example: \definebodyfont[42pt][rm][default

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Philipp Gesang
Hi Wolfgang! ···date: 2012-06-03, Sunday···from: Wolfgang Schuster··· Am 02.06.2012 um 20:13 schrieb Philipp Gesang: Dear listmates, with \switchtobodyfont I get the interface message “fonts:14” from mult-mes.lua (“bodyfont %s is defined (can better be done global)”) which is kinda

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Wolfgang Schuster
Am 03.06.2012 um 12:01 schrieb Philipp Gesang: Hi Wolfgang! ···date: 2012-06-03, Sunday···from: Wolfgang Schuster··· Am 02.06.2012 um 20:13 schrieb Philipp Gesang: Dear listmates, with \switchtobodyfont I get the interface message “fonts:14” from mult-mes.lua (“bodyfont %s

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Philipp Gesang
Hi Wolfgang! ···date: 2012-06-03, Sunday···from: Wolfgang Schuster··· \definebodyfontenvironment[42.0pt] %% a dozen times \starttext \switchtobodyfont[42.0pt] %% hundreds of times %\switchtobodyfont[42pt

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Wolfgang Schuster
Am 03.06.2012 um 16:27 schrieb Philipp Gesang: Hi Wolfgang! ···date: 2012-06-03, Sunday···from: Wolfgang Schuster··· \definebodyfontenvironment[42.0pt] %% a dozen times \starttext \switchtobodyfont[42.0pt

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Philipp Gesang
, \definebodyfontenvironment[42.0pt] results in the dimension’s decimal place to be stripped before font definition. Which makes me wonder whether \switchtobodyfont should do a \normalizebodyfontsize on the #specification before triggering the switch? So that 42.0pt be interpreted as 42pt? Now that I’m

[NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-02 Thread Philipp Gesang
Dear listmates, with \switchtobodyfont I get the interface message “fonts:14” from mult-mes.lua (“bodyfont %s is defined (can better be done global)”) which is kinda hard to grep for :( Example: \definebodyfont[42pt][rm][default] \starttext \switchtobodyfont [42pt] \setupbodyfont [42pt

[NTG-context] Adjust the tracking

2012-05-17 Thread Marco
Hi everybody, how does one adjust the tracking of a font? The command \definecharacterkerning does almost what I need. However, it breaks the ligatures. \definecharacterkerning [track] [factor=.01] \starttext \showboxes \switchtobodyfont [72pt] final suffocating flange % all ligatures lost

Re: [NTG-context] greek items broken:

2012-05-09 Thread Wolfgang Schuster
\setupbodyfont [computer-modern-unicode] \csname #1reeknumerals\endcsname{#2}% \egroup% } Use \switchtobodyfont for local font switches. \def\cmu_numerals#1#2% {\bgroup \switchtobodyfont[computer-modern-unicode]% \convertnumber{#1}{#2}% \egroup} Wolfgang

[NTG-context] switching to a different math font (with alternatives) in the middle of document

2012-05-09 Thread Mojca Miklavec
]{Lucida Bright Math OT} $\mathcal{ABC XYZ}$~(StylisticSet=4) ... running text ... \setmathfont{Asana Math} $\mathfrak{ABC XYZ\,abc xyz}$ or do I always need to provide a predefined typescript? How does one switch between stylistic alternatives for math? I have a problem with {\switchtobodyfont

Re: [NTG-context] switching to a different math font (with alternatives) in the middle of document

2012-05-09 Thread Mojca Miklavec
alternatives for math? I have a problem with {\switchtobodyfont[asana] $\mathscript ABC XYZ\,abc xyz$} and I also need to figure out how to get math bold italic sans serif greek alphabet. Any hints welcome. PS: I forgot to send a minimal example. Here it is :) http://meeting.contextgarden.net

[NTG-context] Font for MetaPost graphics

2012-05-02 Thread Marco
The wiki claims setting up an MPenvironment is enough to change the font in MetaPost graphics: \startMPenvironment%[global] \switchtobodyfont [sans] \stopMPenvironment \starttext This should be serif. \startMPcode draw textext(This should be in sans

Re: [NTG-context] Font for MetaPost graphics

2012-05-02 Thread Aditya Mahajan
On Thu, 3 May 2012, Marco wrote: The wiki claims setting up an MPenvironment is enough to change the font in MetaPost graphics: \startMPenvironment%[global] \switchtobodyfont [sans] \stopMPenvironment \starttext This should be serif. \startMPcode draw

Re: [NTG-context] Font for MetaPost graphics

2012-05-02 Thread Marco
On 2012-05-02 Aditya Mahajan adit...@umich.edu wrote: Metapost now runs as a library. All the text is first typeset by ConTeXt and metapost only knows the bounding box of the labels. You can try (untested): \starttext This is serif \switchtobodyfont[sans] \startMPcode draw

[NTG-context] Scaling in setuplayout does not work with setuparranging

2012-04-25 Thread Steffen Fritzsche
=25.4cm,height=19.05cm] \setuppapersize[SPP43][SPP43] \switchtobodyfont[20pt] \startmode[handout] \setuppapersize[SPP43][A4] \setuplayout[scale=0.5,location=middle] %\setuparranging[2TOP] \stopmode \starttext \startitemize \item item \item item \item item \item item \item item \item item \item item

Re: [NTG-context] placefigure adds break

2012-04-12 Thread Alan BRASLAU
]{}{...} \stoppostponing Rest of the text Aditya \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward % \input zapf \input tufte \input ward % \input zapf HERE

[NTG-context] [***SPAM***] placefigure adds break

2012-04-05 Thread Steffen Wolfrum
(marked HERE)? Steffen --- \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf HERE \placefigure[top]{}{\vskip3pt{\externalfigure[foo][frame=off,width

Re: [NTG-context] [***SPAM***] placefigure adds break

2012-04-05 Thread Aditya Mahajan
a paragraph break after the respective word (marked HERE)? Steffen --- \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf HERE \placefigure[top

Re: [NTG-context] [***SPAM***] placefigure adds break

2012-04-05 Thread luigi scarso
On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu wrote: (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text Aditya \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf

Re: [NTG-context] [***NOSPAM***] placefigure adds break

2012-04-05 Thread Steffen Wolfrum
Am 05.04.2012 um 13:25 schrieb luigi scarso: On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu wrote: (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text Aditya \starttext \switchtobodyfont[rm,10pt] \input tufte \input

Re: [NTG-context] [***NOSPAM***] placefigure adds break

2012-04-05 Thread Alan BRASLAU
Rest of the text Aditya \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward % \input zapf \input tufte \input ward % \input zapf HERE% \startpostponing[+1] \placefigure[top]{}{\vskip3pt

Re: [NTG-context] Page numbering in latest beta

2012-04-02 Thread Steffen Fritzsche
': \starttext \setupuserpagenumber[way=byblock] % can be default yes/no? \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setupheader [before={\ss\switchtobodyfont[10pt

[NTG-context] Page numbering in latest beta

2012-03-30 Thread Steffen Fritzsche
: \startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=romannumerals

Re: [NTG-context] Page numbering in latest beta

2012-03-30 Thread Hans Hagen
this up long time ago: What time did you update? I fixed a side effect of some counter code renaming efforts. Hans \startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering

Re: [NTG-context] Page numbering in latest beta

2012-03-30 Thread Wolfgang Schuster
did set this up long time ago: \startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheader[style={\switchtobodyfont[ss,10pt]}] or use \definefont[HeaderFont][Sans at 10pt] in combination with \setupheader[style=HeaderFont

Re: [NTG-context] Page numbering in latest beta

2012-03-30 Thread Hans Hagen
[section][pagenumber][pagenumber][chapter] \setupheader [before={\ss\switchtobodyfont[10pt]}] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=1

[NTG-context] define macro from xml-attribute

2012-03-16 Thread Meer, H. van der
I would like to accomplish the following in xml processing. node macro=various macro calls and then define the attribute value as a TeX macro. For example, to use this in font switching: node macro=\switchtobodyfont[helvetica] Doing this in the following manner does not work: \startxmlsetups

Re: [NTG-context] define macro from xml-attribute

2012-03-16 Thread Hans Hagen
On 16-3-2012 10:25, Meer, H. van der wrote: I would like to accomplish the following in xml processing. node macro=various macro calls and then define the attribute value as a TeX macro. For example, to use this in font switching:node macro=\switchtobodyfont[helvetica] Doing

[NTG-context] placefloat in long parapgraph

2012-03-15 Thread Steffen Wolfrum
triggering a paragraph break? Steffen --- \starttext \switchtobodyfont[rm,48pt] \dorecurse{1}{\input tufte}{\placefigure[here]{something meaningful}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}}\input tufte\par \input ward \stoptext

[NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
.385em\hbox{\switchtobodyfont[16pt]#1}}% size of number in front of FN-text - ??? \def\MyNote#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[8pt]#1}}% size of number in front of FN-text - ??? %% \setupnote[footnote][before=\vskip3.0mm,textcolor=red,rule=\MyRule]% distance lowest line of main

Re: [NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
,depth=.21] \lineskiplimit-\maxdimen \setupwhitespace[2pt] \stopsetups % footnotes bottom page \def\newFNnumber#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[16pt]#1}}% size of number in front of FN-text - ??? \def\MyNote#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[8pt]#1}}% size

[NTG-context] texgyre termes: no ligatures

2012-02-15 Thread Thomas A. Schmitz
), and they do not appear in the current beta. Don't know if this is a luatex or ConTeXt issue. Example: \setupbodyfont[termes,12pt] \starttext office fine flat {\ss office fine flat} {\switchtobodyfont[pagella] office fine flat} \stoptext All best Thomas

Re: [NTG-context] texgyre termes: no ligatures

2012-02-15 Thread Steffen Wolfrum
without ligature is really ugly in this one), and they do not appear in the current beta. Don't know if this is a luatex or ConTeXt issue. Example: \setupbodyfont[termes,12pt] \starttext office fine flat {\ss office fine flat} {\switchtobodyfont[pagella] office fine flat

Re: [NTG-context] texgyre termes: no ligatures

2012-02-15 Thread Hans Hagen
ligature is really ugly in this one), and they do not appear in the current beta. Don't know if this is a luatex or ConTeXt issue. Example: \setupbodyfont[termes,12pt] \starttext office fine flat {\ss office fine flat} {\switchtobodyfont[pagella] office fine flat} \stoptext weird ... if you move

[NTG-context] Two columns type problem

2012-02-13 Thread Martin Bruchanov
\switchtobodyfont[48pt] \color[ChapterNumber]{#1}}} } \setuppagenumbering[% alternative=doublesided, location={footer, center}, % header, middle, inleft, inmargin command=\Page, ] \setupinteraction[state=start,color=black] % klikaci dokument \setupurl[style=type,color

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-18 Thread luigi scarso
On Tue, Jan 17, 2012 at 1:14 PM, Steffen Wolfrum cont...@st.estfiles.dewrote: And this interlineskip is ignored in your solution, test the following please: \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]} \definelistplacement[MyListItemIT][none]#1#2#3

[NTG-context] xtable formatting issues

2012-01-18 Thread Brian Landy
something like the aligncharacter mechanism in natural tables? Thanks, Brian \starttext \setupxtable[wd1][background=color,backgroundcolor=yellow,width=1.0in] \setupxtable[wd2][background=color,backgroundcolor=green,width=2.0in] \setupxtable[fnit][foregroundstyle={\switchtobodyfont[modern,ss

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-17 Thread Steffen Wolfrum
the following please: \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]} \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay,align=middle,style=TOCstyleBF]{#2}\hfill\tf#3} % here

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-17 Thread Wolfgang Schuster
And this interlineskip is ignored in your solution, test the following please: \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]} \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off

[NTG-context] footnote mechanism broken (2)

2012-01-13 Thread Steffen Wolfrum
Hi, an other strange thing related to footnotes can be seen here: \def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % - gives small number %\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % - gives big number \setupnote [footnote] [textcommand=\MyNote] \starttext Hi there!\footnote{I’m

Re: [NTG-context] footnote mechanism broken (2)

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 10:55 AM, Steffen Wolfrum cont...@st.estfiles.dewrote: Hi, an other strange thing related to footnotes can be seen here: \def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % - gives small number %\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % - gives big number

Re: [NTG-context] Undefined controle sequence with usemodule[simpleslides]

2012-01-04 Thread Aditya Mahajan
. \setupTitle [\c!title=, \c!author=, \c!date=\currentdate, \c!style=, \c!color=red, \c!align=\v!middle, \c!before=\vfill, \c!after=\vfill, \c!title\c!style={\switchtobodyfont[\TitleSize]}, \c!title\c!color=, \c!title\c!align=,%\v!middle, \c!author\c!style

[NTG-context] setupheader is ignored

2011-12-16 Thread Steffen Fritzsche
Thanks Hans for fixing the other issue! I've just discovered another problem. So far I switched the font in for my headers with the following command \setupheader [style={\ss\switchtobodyfont[10pt]}] this does not work anymore. Is this on purpose or also a bug? Steffen

Re: [NTG-context] xml attribute conditional

2011-12-13 Thread Jon Crump
\startxmlsetups xml:div:entext \setlatin{\switchtobodyfont[palatino,\Size] \xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:div:artext \setarabic{\switchtobodyfont[Arabic] \xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:div:fnotes \placefootnotes \stopxmlsetups

Re: [NTG-context] Pagemakeup? Was Re: Layers + simplefonts: Using different font in layers?

2011-12-12 Thread Wolfgang Schuster
there once I get the first thing working. \definelayer[cover] \starttext \startpagemakeup[style={\switchtobodyfont[ss,24pt]}] \setlayer[cover][x=3cm,y=4cm]{Place} \setlayer[cover][x=8cm,y=12cm]{your} \setlayer[cover][x=5cm,y=17cm]{text!} \placelayer[cover] \stoppagemakeup \input knuth \stoptext

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Hans Hagen
] That is for Wolfgang to answer but you can try this: % at the top of the file \setupbodyfont[mscore,ss] % then \usemodule[simplefonts] \setmainfont[candara] % in the front page: \start \switchtobodyfont[mscore,ss] the front page \stop \page main text \page \start \switchtobodyfont[mscore,ss] the back

Re: [NTG-context] Math in metapost

2011-11-30 Thread Otared Kavian
Hi, I am not a specialist, but I use the « btex etex » commands, such as dotlabel.bot (btex \switchtobodyfont[10pt] \strut $R$ etex, z1) I just tested with the latest beta, and everything works fine, but not the \pmatrix construct (I tried also with ${k}\choose{n}$, which works fine too

Re: [NTG-context] Text in margin

2011-11-29 Thread Kip Warner
On Tue, 2011-11-29 at 00:19 +0100, Wolfgang Schuster wrote: style={\switchtobodyfont[7pt]\it} or set “foregroundstyle=italic” for \setupmarginframed. To show the complete text you have to increase the backspace. \setuplayout[backspace=3.5cm] Wolfgang Thanks Wolfgang. That did

Re: [NTG-context] Text in margin

2011-11-28 Thread Wolfgang Schuster
is not: \setupmargindata[ style={smallitalic\switchtobodyfont[3pt]}] \setupinmargin[ background=color, color=colour_text, backgroundcolor=colour_page] Make next time a complete example with some text. \setupmargindata [inmargin] [style={\switchtobodyfont[8pt,ss]}, color=red

Re: [NTG-context] Text in margin

2011-11-28 Thread Kip Warner
using the following. The colours are fine, but the rest is not: \setupmargindata[ style={smallitalic\switchtobodyfont[3pt]}] \setupinmargin[ background=color, color=colour_text, backgroundcolor=colour_page] Make next time a complete example with some text

Re: [NTG-context] Text in margin

2011-11-28 Thread Wolfgang Schuster
of the page like it is now. I'm using the following. The colours are fine, but the rest is not: \setupmargindata[ style={smallitalic\switchtobodyfont[3pt]}] \setupinmargin[ background=color, color=colour_text, backgroundcolor=colour_page] Make next time a complete example

[NTG-context] Text in margin

2011-11-27 Thread Kip Warner
={\switchtobodyfont[3pt]} style=\ss\tfx\setupinterlinespace] -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: [NTG-context] Text in margin

2011-11-27 Thread Wolfgang Schuster
=colour_page, bodyfont=3pt, before={\switchtobodyfont[3pt]} style=\ss\tfx\setupinterlinespace] Search for \setupmargindata and \setupmarginframed, you can see all keys for commands in my reference: https://bitbucket.org/wolfs/commands/downloads Wolfgang

Re: [NTG-context] Text in margin

2011-11-27 Thread Kip Warner
to and it unfortunately isn't descriptive enough for me. All I want to do is to make the font small, italicized, and not start off the side of the page like it is now. I'm using the following. The colours are fine, but the rest is not: \setupmargindata[ style={smallitalic\switchtobodyfont[3pt

Re: [NTG-context] Fonts with subscripts (was: url: subscripts not displayed)

2011-11-24 Thread Wolfgang Schuster
] or \usetypescript[palatino] \setupbodyfont[palatino,10pt,rm] worked. Is there a font having subscripts included? \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par} \starttext \ShowSubscript[dejavu] \ShowSubscript[antykwa-torunska] \ShowSubscript[antykwa-poltawskiego] \ShowSubscript[iwona

Re: [NTG-context] [solved] Fonts with subscripts

2011-11-24 Thread Paul Menzel
Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster: Am 24.11.2011 um 13:43 schrieb Paul Menzel: […] Is there a font having subscripts included? \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par} \starttext \ShowSubscript[dejavu] \ShowSubscript[antykwa-torunska

Re: [NTG-context] [solved] Fonts with subscripts

2011-11-24 Thread Wolfgang Schuster
]{\switchtobodyfont[#1]#1: “₂”\par} \starttext \ShowSubscript[dejavu] \ShowSubscript[antykwa-torunska] \ShowSubscript[antykwa-poltawskiego] \ShowSubscript[iwona] \ShowSubscript[cambria] \ShowSubscript[libertine] \stoptext Nice! So in this set only cambria and libertine cannot display

Re: [NTG-context] [solved] Fonts with subscripts

2011-11-24 Thread Paul Menzel
? \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par} \starttext \ShowSubscript[dejavu] \ShowSubscript[antykwa-torunska] \ShowSubscript[antykwa-poltawskiego] \ShowSubscript[iwona] \ShowSubscript[cambria] \ShowSubscript[libertine] \stoptext Nice! So in this set only cambria

Re: [NTG-context] [solved] Fonts with subscripts

2011-11-24 Thread Christian
Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster: Am 24.11.2011 um 13:43 schrieb Paul Menzel: […] Is there a font having subscripts included? \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par} \starttext \ShowSubscript[dejavu

[NTG-context] Double height rows using natural tables?

2011-11-24 Thread Pavneet Arora
Description: Adobe PDF document \setuppapersize[letter] \setuplayout[header=0in,footer=0in,topspace=0.75in,backspace=1.25in] \setuppagenumbering[location=] \switchtobodyfont[11pt] \starttext \startalignment[center] \placetable[here][]{none} \starttable[|cw(0.75in)|lw(1.5in)|cw(0.75in)|lw(1.5in)|] \HL

[NTG-context] Text in margin

2011-11-24 Thread Kip Warner
={\switchtobodyfont[3pt]} style=\ss\tfx\setupinterlinespace] -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

[NTG-context] Layout: partial width blocks

2011-11-23 Thread Peter Park Nelson
, style=\tfb\se, textstyle=\ss] And for the abstract, I have come up with this: \definebodyfontenvironment[10pt][text=10pt,interlinespace=12pt] \defineframedtext[topwidth][% style={\switchtobodyfont[10pt]}, width=.8\makeupwidth, offset=0pt, frame=off] \definedescription[abstract

<    3   4   5   6   7   8   9   10   11   12   >