[NTG-context] Problem to place a label in an environment \startMPcode \stopMPcode

2015-12-31 Thread Fabrice Couvreur
Hello, The code below works perfectly without the placement of the label, but if I want to place the label, it no longer works. Thank you \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \switchtobodyfont [pagella, 9pt] \placerecipe

Re: [NTG-context] More ebgaramond issues (newotf, finding fonts and kerning)

2015-11-02 Thread Hans Hagen
avern Tomato {\it Vowel Tavern Tomato}\par} \starttext \Test {\tfxx \Test} \switchtobodyfont[8pt] \Test \stoptext This was tested on W10/64 using ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.11.1 int: english/english, with EBGaramond files version 0.016 (April 2014) in

[NTG-context] More ebgaramond issues (newotf, finding fonts and kerning)

2015-11-01 Thread Rik Kabel
\setupbodyfont[ebgaramond] \def\Test{Vowel Tavern Tomato {\it Vowel Tavern Tomato}\par} \starttext \Test {\tfxx \Test} \switchtobodyfont[8pt] \Test \stoptext This was tested on W10/64 using ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.11.1 int: english/english

Re: [NTG-context] More ebgaramond issues (newotf, finding fonts and kerning)

2015-11-01 Thread josephcanedo
Tavern Tomato {\it Vowel Tavern Tomato}\par} \starttext \Test {\tfxx \Test} \switchtobodyfont[8pt] \Test \stoptext This was tested on W10/64 using ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.11.1 int: english/english, with EBGaramond files version 0.016 (April 2014) installed in C:\Windows

Re: [NTG-context] Oddity: \buildtextaccent shifts glyph right

2015-09-06 Thread Rik
fiddling... Something like \definefontfamily [test] [serif] [ebgaramond] \setupbodyfont [test,12pt] \define\que% {\bgroup \setbox0\hbox{q}% \setbox2\hbox to \wd0{\kern0.3em\switchtobodyfont[6pt] ʒ}% \setbox4\hbox to \wd0{\kern0.1em\textacute}% \hbox to \wd0 \bgroup \hss\copy0

Re: [NTG-context] Oddity: \buildtextaccent shifts glyph right

2015-09-06 Thread Thomas A. Schmitz
cases or better quality and manual fiddling... Something like \definefontfamily [test] [serif] [ebgaramond] \setupbodyfont [test,12pt] \define\que% {\bgroup \setbox0\hbox{q}% \setbox2\hbox to \wd0{\kern0.3em\switchtobodyfont[6pt] ʒ}% \setbox4\hbox to \wd0{\kern0.1em\textacute

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-22 Thread Hans Hagen
On 8/21/2015 11:50 PM, Rik Kabel wrote: On 2015-08-21 09:10, Hans Hagen wrote: mostly changed names of the fonts, a missing directive (i'll add a fallback for that) and such ... patched in the next beta Hans, This morning's release fixed the newotf module problem, but not the font face

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-21 Thread Hans Hagen
][ebgaramond][default] % \definetypeface[Secondary][rm][serif][palatino][default] % \definetypeface[Secondary][rm][serif][libertine][default] \stoptypescript \setupbodyfont [modern, 10pt] %\setupbodyfont [palatino, 10pt] \starttext % {\switchtobodyfont[Secondary]Oops

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-21 Thread Rik Kabel
On 2015-08-21 09:10, Hans Hagen wrote: mostly changed names of the fonts, a missing directive (i'll add a fallback for that) and such ... patched in the next beta Hans, This morning's release fixed the newotf module problem, but not the font face problem. Was that to be expected? -- Rik

[NTG-context] \switchtobodyfont issue, also with newotf

2015-08-20 Thread Rik Kabel
] % \definetypeface[Secondary][rm][serif][palatino][default] % \definetypeface[Secondary][rm][serif][libertine][default] \stoptypescript \setupbodyfont [modern, 10pt] %\setupbodyfont [palatino, 10pt] \starttext % {\switchtobodyfont[Secondary]Oops!\par}% Oops! Default tf

Re: [NTG-context] (announcement) from pandoc to ConTeXt

2015-07-10 Thread Pablo Rodriguez
mind to solve the following scenario: I may want to a special mono typeface only for urls. This mono typeface would be different from the general mono font. The problem when using \setupbodyfont or \switchtobodyfont is that it doesn’t work with other sizes than the default one. This sample shows

Re: [NTG-context] font features in XeTeX

2015-07-06 Thread Robert Zydenbos
] [features={StylisticSet=11}] \switchtobodyfont [hauptfont] Dies ist mit Features, denke ich. {\switchtobodyfont [schoenfont] Und jetzt schreiben wir etwas in Fraktur, das ist ja schöner.} \stoptext ___ If your question

Re: [NTG-context] font features in XeTeX

2015-07-06 Thread Wolfgang Schuster
[schoenfont] [rm] [Xserif] [UnifrakturMaguntia] [default] [features={StylisticSet=11}] \switchtobodyfont [hauptfont] Dies ist mit Features, denke ich. {\switchtobodyfont [schoenfont] Und jetzt schreiben wir etwas in Fraktur, das ist ja schöner.} \stoptext Below is a MkIV example where I enabled

Re: [NTG-context] Automatic character replacements/substitutions

2015-05-29 Thread Mojca Miklavec
OT] [range=lowercasegreeknormal] \definefontfamily [mathmojca] [rm] [Lucida Bright OT] \definefontfamily [mathmojca] [mm] [Lucida Bright Math OT] \starttext \switchtobodyfont[textmojca] \startlines alpha: α beta: β gamma: γ \stoplines \switchtobodyfont[mathmojca

Re: [NTG-context] Automatic character replacements/substitutions

2015-05-28 Thread Wolfgang Schuster
=lowercasegreeknormal] \definefontfamily [mathmojca] [rm] [Lucida Bright OT] \definefontfamily [mathmojca] [mm] [Lucida Bright Math OT] \starttext \switchtobodyfont[textmojca] \startlines alpha: α beta: β gamma: γ \stoplines \switchtobodyfont[mathmojca] \startlines alpha: α beta: β gamma: γ \stoplines

[NTG-context] Changing font for math function

2015-05-13 Thread Maggyero
\tf} \startmyparagraphs \switchtobodyfont[rm] {\tt \backslash switchtobodyfont[rm]}\crlf {\tt \backslash tf}: {\tf \getbuffer}\par {\tt \backslash it}: {\it \getbuffer}\par {\tt \backslash sl}: {\sl \getbuffer}\par {\tt \backslash bf}: {\bf \getbuffer}\par {\tt \backslash bi}: {\bi \getbuffer}\par

Re: [NTG-context] Changing font for math function

2015-05-12 Thread Hans Hagen
][3][width=\dimexpr 0.3\textwidth\relax] \section{{\tt \backslash setupmathematics[mathlabelstyle=\backslash tf]} (default)} \startmyparagraphs \switchtobodyfont[rm] {\tt \backslash switchtobodyfont[rm]}\crlf {\tt \backslash tf}: {\tf \getbuffer}\par {\tt \backslash bf}: {\bf \getbuffer}\par {\tt

[NTG-context] Changing font for math function

2015-05-12 Thread Maggyero
] \setupparagraphs[myparagraphs][3][width=\dimexpr 0.3\textwidth\relax] \section{{\tt \backslash setupmathematics[mathlabelstyle=\backslash tf]} (default)} \startmyparagraphs \switchtobodyfont[rm] {\tt \backslash switchtobodyfont[rm]}\crlf {\tt \backslash tf}: {\tf \getbuffer}\par {\tt \backslash

[NTG-context] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pavneet Arora
Hello, I am trying to have inter-line space change according to the current size of the body font, which I modify with \switchtobodyfont, but I cannot seem to affect the desired change as per the MWE below. \setupinterlinespace seems to take its lead from the original \setupbodyfont

[NTG-context] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pavneet Arora
Thanks Pablo! Hi Paavnet, yes, you need a paragraph to make \setupinterlinespace work. -- Pavneet Arora m: 647.406.6843 Waroc Informatikt: 416.937.9276 ___ If your question is of interest

Re: [NTG-context] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pablo Rodriguez
On 04/30/2015 02:18 PM, Pavneet Arora wrote: Hello, I am trying to have inter-line space change according to the current size of the body font, which I modify with \switchtobodyfont, but I cannot seem to affect the desired change as per the MWE below. \setupinterlinespace seems to take

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
Hello, I've tracked down the problem : \def\numeroLigneCode#1{\inframed[width=fit,strut=yes,frame=off,rightframe=on]{\switchtobodyfont[9pt]#1}} \definetyping[code][numbering=line,page=yes,bodyfont=9pt,before={% \begingroup% \setuplinenumbering[location

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
][numbering=line,page=yes,bodyfont=9pt,tab=2] \setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em] \defineparagraphs[TwoCols][n=2,before=,after=] \starttext

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
Am 29.04.2015 um 15:05 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Hello, I've tracked down the problem : \def\numeroLigneCode#1{\inframed[width=fit,strut=yes,frame=off,rightframe=on]{\switchtobodyfont[9pt]#1}} \definetyping[code][numbering=line,page=yes,bodyfont=9pt,before

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
] \setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em] \defineparagraphs[TwoCols][n=2,before=,after=] \starttext \startTwoCols \startcode one two three \stopcode \TwoCols hum \stopTwoCols \stoptext I've tried to use

Re: [NTG-context] simple signature boxes

2015-04-25 Thread henman
and \startcombination[ cos * rows ]] But no matter what order I give to [ n x c ] the result is always a vertical split and not a horizontal one. You have to add an empty pair of braces after each part of your combination: \starttext { \switchtobodyfont[8pt] \startcombination[2*1] { \framed[frame=off

Re: [NTG-context] simple signature boxes

2015-04-24 Thread Thomas A. Schmitz
an empty pair of braces after each part of your combination: \starttext { \switchtobodyfont[8pt] \startcombination[2*1] { \framed[frame=off,topframe=on,leftframe=on,rulethickness=2pt,width=6cm, align={flushleft}] { \fillinrules[n=1]{\bf Buyer's Signature

[NTG-context] simple signature boxes

2015-04-24 Thread henman
signature linr and the right of the page for a Seller's signature. % Mimimal Expample Follows: \starttext { \switchtobodyfont[8pt] \startcombination[2*1] { \framed[frame=off,topframe=on,leftframe=on,rulethickness=2pt,width=6cm, align={flushleft}] { \fillinrules[n=1

Re: [NTG-context] how to insert symbols into document?

2015-04-18 Thread Wolfgang Schuster
??}} \switchtobodyfont[testfont] ◆ : \checkedtextchar{25C6}{{\tttf ??}} \stoptext Wolfgang___ 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

Re: [NTG-context] how to insert symbols into document?

2015-04-18 Thread Hans Hagen
◆ : \checkedtextchar{25C6}{{\tttf ??}} \switchtobodyfont[testfont] ◆ : \checkedtextchar{25C6}{{\tttf ??}} \stoptext ok, i'll include the fallback sin the test (next beta) Hans -- - Hans Hagen

Re: [NTG-context] Selecting fonts using the built-in simplefonts module

2015-03-29 Thread Jörg Weger
[junction-light] [mm] [Latin Modern Math] \setupbodyfont[junction] \starttext \input ward \bf \input ward \blank \switchtobodyfont[junction-light] \tf \input ward \bf \input ward \stoptext 2. How does one switch fonts in-line for small snippets of text? I used to use '{\simplefont

Re: [NTG-context] Selecting fonts using the built-in simplefonts module

2015-03-29 Thread Pablo Rodriguez
in the preamble: \usemodule[simplefonts] This is required to use the \simplefont command. But with the new interface you should use: \definefontfamily[heydingsicons][rm][Humeur] And then, in text: {\switchtobodyfont[heydingsicons] q}~123.456.7890 3. This may be a more generic

Re: [NTG-context] Selecting fonts using the built-in simplefonts module

2015-03-29 Thread Wolfgang Schuster
] [rm] [Junction]\definefontfamily [junction] [mm] [Latin Modern Math]\definefontfamily [junction-light] [rm] [Junction] [tf=style:light,bf=style:regular]\definefontfamily [junction-light] [mm] [Latin Modern Math]\setupbodyfont[junction]\starttext\input ward \bf \input ward\blank \switchtobodyfont

Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-16 Thread Mojca Miklavec
On Sat, Mar 14, 2015 at 1:10 PM, Hans Hagen pra...@wxs.nl wrote: On 3/14/2015 10:50 AM, Mojca Miklavec wrote: Hello, I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}] Now I'm looking for the magic keywoard to also decrease

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
initial prd_book.tex === \startproduct prd_book \project project_cataoia \starttext \start \startstandardmakeup[doublesided=no] \ss \hairline \start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Chess}% \blank[line] \leftaligned{and the Art of}% \blank[line

Re: [NTG-context] Problem in using vlingrid() and hlingrid() macros (Metafun)

2015-03-15 Thread Fabrice
Hi, To solve my problem, I finally used a loop to draw a grid. Fabrice \starttext \start \switchtobodyfont[small] \startMPcode path p ; u := 2cm ; v:= 1cm ; p := (-u,-5v)--(3u,-5v)--(3u,4v)--(-u,4v)--cycle ; drawoptions(withpen pencircle scaled 0.5pt withcolor \MPcolor

Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-15 Thread Alan BRASLAU
On Sat, 14 Mar 2015 13:10:28 +0100 Hans Hagen pra...@wxs.nl wrote: the obvious: \setupcombinations[style={\switchtobodyfont[8pt]}] How about \switchtobodyfont[small] to handle nesting? Alan ___ If your question

[NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-14 Thread Mojca Miklavec
Hello, I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}] Now I'm looking for the magic keywoard to also decrease the size of captions inside combinations, as in the following case for example (otherwise the subcaptions are too

Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-14 Thread Hans Hagen
On 3/14/2015 10:50 AM, Mojca Miklavec wrote: Hello, I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}] Now I'm looking for the magic keywoard to also decrease the size of captions inside combinations, as in the following case

[NTG-context] setupformulas options (or defineformula) and effort to reduce the font in math formulas

2015-03-10 Thread Jaroslav Hajtmar
Hello List. I would like some elegant way to diminished font in math formulas... Is there possibility anything as \setupformulas[before={\switchtobodyfont[small]} ]? I need to align formulas, so are not enough to \mathematics {} Below is my fallback. You can do something smarter? Thanx

Re: [NTG-context] setupformulas options (or defineformula) and effort to reduce the font in math formulas

2015-03-10 Thread Jaroslav Hajtmar
={\switchtobodyfont[small]} ]? I need to align formulas, so are not enough to \mathematics {} Below is my fallback. You can do something smarter? define a bodyfont (rm,mm,tt) where the math has an rscale of 0.8 Hans

Re: [NTG-context] setupformulas options (or defineformula) and effort to reduce the font in math formulas

2015-03-10 Thread Hans Hagen
On 3/10/2015 11:45 PM, Jaroslav Hajtmar wrote: Hello List. I would like some elegant way to diminished font in math formulas... Is there possibility anything as \setupformulas[before={\switchtobodyfont[small]} ]? I need to align formulas, so are not enough to \mathematics {} Below is my

[NTG-context] Add labels to a grid (Metafun)

2015-03-06 Thread Fabrice Couvreur
To add labels to a grid, Hans wrote a macro hlintext (Min, Max, Step, Lenght , Format). I do not know what to put in Format. Best regards, Fabrice \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \start \switchtobodyfont[small] \startMPcode input tex; numeric xmin, xmax, ymin, ymax

Re: [NTG-context] Add labels to a grid (Metafun)

2015-03-06 Thread Fabrice
thank you very much Alain, I think I understood for the format @d but for other formats, I will need documentation. Fabrice \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \start \switchtobodyfont[small] \startMPcode xmin := 0; xmax := 22; ymax :=460 ;ymin:=0; u := 0.5cm; v:= 0.025cm

[NTG-context] \setupnotedefinition in mkiv?

2015-03-01 Thread Gerben Wierda
}] \setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}] ___ 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

Re: [NTG-context] \setupnotedefinition in mkiv?

2015-03-01 Thread Gerben Wierda
to an error message in mkiv \setupfootnotes[conversion=set 2,way=bypage,align=flushleft] \setupnotedefinition[footnote][indenting={yes,medium}] \setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}] The new name for \setupnotedefinition is \setupnotation

Re: [NTG-context] \setupnotedefinition in mkiv?

2015-03-01 Thread Wolfgang Schuster
=flushleft] \setupnotedefinition[footnote][indenting={yes,medium}] \setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}] The new name for \setupnotedefinition is \setupnotation and the counter settings have moved from \setupnote to \setupnotation. Wolfgang

Re: [NTG-context] mkiv \setupnotedefinition

2015-02-27 Thread Gerben Wierda
][indenting={yes,medium},style={\switchtobodyfont[10pt]}] What do I need to change? Thanks, G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] mkiv \setupnotedefinition

2015-02-27 Thread Gerben Wierda
[endnote][indenting={yes,medium},style={\switchtobod... The line says: \setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}] What do I need to change? Thanks, G___ If your

[NTG-context] Bug with macro tightfunction (Metafun)

2015-02-16 Thread Fabrice Couvreur
Hi, This code generates an error while it was working fine a month ago. Best regards, Fabrice \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \start \switchtobodyfont[small] \startMPcode input hvdm; input tex; l:=3mm; r:=0.6; alfa:=45; beta:=0; gamma:=0

Re: [NTG-context] Bug with macro tightfunction (Metafun)

2015-02-16 Thread Pablo Rodriguez
and beta from 2014.11.26 21:43. Just in case it might help, Pablo \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \start \switchtobodyfont[small] \startMPcode input hvdm; input tex; l:=3mm; r:=0.6; alfa:=45; beta:=0; gamma:=0; defineDefaultArrow (l, r, alfa, beta

Re: [NTG-context] Bug with macro tightfunction (Metafun)

2015-02-16 Thread Hans Hagen
On 2/16/2015 6:00 PM, Fabrice Couvreur wrote: Hi, This code generates an error while it was working fine a month ago. Best regards, Fabrice \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \start \switchtobodyfont[small] \startMPcode input hvdm; input tex; l:=3mm; r:=0.6

Re: [NTG-context] Where is error in my code?

2015-01-28 Thread Mojca Miklavec
On Wed, Jan 28, 2015 at 5:49 AM, Van Dung Tang nguyen...@gmail.com wrote: I edit 1 file metafun with follow: \startMPenvironment \usetypescript[times][texnansi] \switchtobodyfont[times,10pt] \stopMPenvironment \startMPpage fill fullcircle scaled 2cm withcolor red; label(\sometxt{Cn

[NTG-context] Where is error in my code?

2015-01-28 Thread Van Dung Tang
I edit 1 file metafun with follow: \startMPenvironment \usetypescript[times][texnansi] \switchtobodyfont[times,10pt] \stopMPenvironment \startMPpage fill fullcircle scaled 2cm withcolor red; label(\sometxt{Cn},origin) withcolor white; \stopMPpage After run context and recieve 1 picture

[NTG-context] Where is error in my code?

2015-01-28 Thread Van Dung Tang
I edit 1 file metafun follow: \startMPenvironment \usetypescript[times][texnansi] \switchtobodyfont[times,10pt] \stopMPenvironment \startMPpage fill fullcircle scaled 2cm withcolor red; label(\sometxt{Cn},origin) withcolor white; \stopMPpage Ngu-Hanh.pdf Description: Adobe PDF document

Re: [NTG-context] Where is error in my code?

2015-01-28 Thread Hans Hagen
On 1/28/2015 5:49 AM, Van Dung Tang wrote: I edit 1 file metafun with follow: \startMPenvironment \usetypescript[times][texnansi] \switchtobodyfont[times,10pt] \stopMPenvironment \startMPpage fill fullcircle scaled 2cm withcolor red; label(\sometxt{Cn},origin) withcolor white; \stopMPpage

Re: [NTG-context] Where is error in my code?

2015-01-28 Thread Keith Schultz
to set font use \definefontfamily and \setbodyfont commands. regards Keith. Am 28.01.2015 um 05:45 schrieb Van Dung Tang nguyen...@gmail.com: I edit 1 file metafun follow: \startMPenvironment \usetypescript[times][texnansi] \switchtobodyfont[times,10pt] \stopMPenvironment

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-26 Thread Gerben Wierda
: \startmode[standalone] \setupfootertexts[pagenumber][{\jobname-\filename{\currentcomponent}}] \def\maybeendnotes {\subsubject{Notes} \placenotes[endnote] \subsubject{Bibliography} \switchtobodyfont[9pt] \placepublications[criterium=all]} \appendtoks \maybeendnotes

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-26 Thread Keith Schultz
} \switchtobodyfont[9pt] \placepublications[criterium=all]} \appendtoks \maybeendnotes \to \everystoptext \stopmode So, what would be easiest for me if I know what commend to use instead of the texexec command. G [snip, snip

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-26 Thread Gerben Wierda
And the environment file has: \startmode[standalone] \setupfootertexts[pagenumber][{\jobname-\filename{\currentcomponent}}] \def\maybeendnotes {\subsubject{Notes} \placenotes[endnote] \subsubject{Bibliography} \switchtobodyfont[9pt] \placepublications[criterium=all

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-19 Thread Hans Hagen
\zeropoint\par] \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \defineframed [myframed] [width=6cm, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=on, framecolor=red, background=color, backgroundcolor

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-18 Thread Fabrice
] [figure] \setupfloat [recipe] [default={right,none}] \defineframed [myframed] [width=6cm, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=on, framecolor=red, background=color, backgroundcolor=lightgray] \definecolor[Border][c=0.00, m

Re: [NTG-context] Center two frames

2015-01-14 Thread Wolfgang Schuster
Am 14.01.2015 um 13:14 schrieb Pablo Rodriguez oi...@gmx.es: \defineframed [Myframed] [width=0.6\textwidth, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=off, framecolor=0.625white, background=borderline, ] You can replace the framed

Re: [NTG-context] Center two frames

2015-01-14 Thread Pablo Rodriguez
={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=off, framecolor=0.625white, background=borderline, ] \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \starttext \startuniqueMPgraphic{borderline} path p ; p := unitsquare xscaled \overlaywidth yscaled

[NTG-context] Center two frames

2015-01-13 Thread Fabrice Couvreur
, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=off, framecolor=0.625white, background=borderline, ] \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \startsetups[table:initialize] \setupTABLE[start] [align={lohi

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Pablo Rodriguez
] \starttext \startxtable \startxrow \startxcell \start \switchtobodyfont[small] \startMPpage[instance=graph] drawoptions(withpen pencircle scaled 1pt); w := 10cm; h := 8cm; ahlength := .25cm; draw begingraph (w,h) numeric xmin, xmax, ymin, ymax; xmin := 0; xmax :=100

[NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice Couvreur
,style=small] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \usemodule[graph] \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \startTwoColumns \start \switchtobodyfont[small] \startMPpage[instance=graph] drawoptions(withpen pencircle scaled 1pt); w

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-06 Thread Alan BRASLAU
]{}{ \startframedtext[ width=6cm, frame=on, framecolor=H1prime, location=middle, background=color, backgroundcolor=H4] \switchtobodyfont[10pt] Ingrédients (pour 4 personnes) \startitemize[1] \item \unit{1 kg} de pommes de terre \item \unit{60 g} de fromage

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-05 Thread Hans Hagen
][stopper={.},style=bold] \placefigure[right,none]{}{ \startframedtext[ width=6cm, frame=on, framecolor=H1prime, location=middle, background=color, backgroundcolor=H4] \switchtobodyfont[10pt] Ingrédients (pour 4 personnes) \startitemize[1] \item \unit{1 kg} de pommes de terre

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-05 Thread Fabrice
] \placefigure[right,none]{}{ \startframedtext[ width=6cm, frame=on, framecolor=H1prime, location=middle, background=color, backgroundcolor=H4] \switchtobodyfont[10pt] Ingrédients (pour 4 personnes) \startitemize[1] \item \unit{1 kg} de pommes de terre \item \unit{60 g} de fromage râpé

Re: [NTG-context] access to system fonts under MacOSX

2014-12-21 Thread Pablo Rodriguez
, I’m afraid my explanation was incomplete. adventor is the name of a(n already predefined) typescript. So you can use it with \setupbodyfont and \switchtobodyfont. texgyreadventor is the name of the typeface or font family. You should use it with \definefontfamily. But typefaces cannot be invoked

Re: [NTG-context] access to system fonts under MacOSX

2014-12-21 Thread j. van den hoff
can use it with \setupbodyfont and \switchtobodyfont. texgyreadventor is the name of the typeface or font family. You should use it with \definefontfamily. But typefaces cannot be invoked with typescript names and typescripts cannot be invoked with typeface names. This is why \definefontfamily

Re: [NTG-context] mkii definition of \setupnotedefinition

2014-12-13 Thread Wolfgang Schuster
/enumeration code and accepts the same arguments. \setupnotedefinition[endnote][style={\switchtobodyfont[11pt]}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] mkii definition of \setupnotedefinition

2014-12-13 Thread Gerben Wierda
. \setupnotedefinition[endnote][style={\switchtobodyfont[11pt]}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] mkii definition of \setupnotedefinition

2014-12-13 Thread Wolfgang Schuster
[endnote] [style={\switchtobodyfont[10pt]}, headstyle=\ttb, headcolor=blue] \setupnote [endnote] [%textcommand=, %numbercommand=, textstyle=\ssb, textcolor=red] \starttext Ward.\endnote{\input ward } \placenotes[endnote] \stoptext Wolfgang

Re: [NTG-context] two questions on the new simplefonts interface

2014-12-08 Thread Wolfgang Schuster
the \switchtobodyfont command to select a certain font size. [1] http://www.ntg.nl/pipermail/ntg-context/2013/075529.html http://www.ntg.nl/pipermail/ntg-context/2013/075529.html Wolfgang___ If your question is of interest to others

Re: [NTG-context] White Space in Running Headers

2014-12-04 Thread Neal Lester
=middle]{{\switchtobodyfont[24.00pt]\setupinterlinespace[1pt] ee\par} {\switchtobodyfont[10.00pt]\setupinterlinespace[1pt] ee\par} {\switchtobodyfont[24.00pt]\setupinterlinespace[1pt] ee\par

[NTG-context] keep on grid

2014-11-27 Thread Emil Stein
%\definestartstop[citaat] %[before={\startlinecorrection\vskip3pt\setupnarrower[left=5mm,right=0pt]\startnarrower[left,right]\switchtobodyfont[8pt]\setupinterlinespace[line=10pt]}, %after={\stopnarrower\vskip3pt\stoplinecorrection}] \definestartstop[citaat] [before={\vskip3pt\setupnarrower[left=5mm,right=0pt

[NTG-context] Trying to force a particular page sequence

2014-11-26 Thread Gerben Wierda
\start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Foo}% \blank[line] \leftaligned{bar bar bar bar}% \blank[line] \leftaligned{Foo}% \stop \hairline \blank[line] \leftaligned{Foo bar foo bar bar bar bar}% \hairline \blank[line]\rightaligned{Gerben Wierda}% \blank[6cm]\start\leftskip=10cm

Re: [NTG-context] Trying to force a particular page sequence

2014-11-26 Thread Gerben Wierda
with statement Right page with page number on top This is what I have in my prd_book.tex. What is a cleaner way to do this and also one that works? ;-): \starttext \start \startstandardmakeup \ss \hairline \start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Foo}% \blank[line

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Richard Sherman
Wolfgang Schuster schuster.wolfgang at gmail.com writes: ... \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style={\switchtobodyfont[ss,18]}] % Faster method to switch the font

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Wolfgang Schuster
={\switchtobodyfont[ss,18]}] % Faster method to switch the font for \inmargin %\definefont[InmarginStyle][Sans at 18pt] %\setupmargindata[inmargin][style=InmarginStyle] \starttext \dorecurse{10} {\inmargin{Ward} \input ward\par \inmargin[][align=flushleft]{Knuth} \input knuth

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Richard Sherman
Wolfgang Schuster schuster.wolfgang at gmail.com writes: The first line is a comment which says \definefont[InmarginStyle][Sans at 18pt] \setupmargindata[inmargin][style=InmarginStyle] takes less time to change the font than \setupmargindata[inmargin][style={\switchtobodyfont[ss,18

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Wolfgang Schuster
the font than \setupmargindata[inmargin][style={\switchtobodyfont[ss,18]}] Thank you again, very much. I understood what you meant regarding the two methods. What I meant was that this method: \setupmargindata[inmargin][style={\switchtobodyfont[ss,18]}] results in an error, causing

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-24 Thread Wolfgang Schuster
(?!) 1. The font for the pagenumber can be changed with \setuppagenumbering[style=…]. 2. To use a certain font size for the margin text you can either use the \switchtobodyfont command or define a font command with \definefont and use this name as argument for the style key

[NTG-context] Contents again

2014-11-15 Thread Gerben Wierda
I’ve got \start \switchtobodyfont[9pt] \completecontent[level=chapter] \stop to keep the Table of Contents on one page. But with one more chapter, it is now again spread over two. There is however a lot of whitespace between entries. Can I make the vertical whitespace between entries

Re: [NTG-context] Contents again

2014-11-15 Thread Pablo Rodriguez
On 11/15/2014 07:24 PM, Gerben Wierda wrote: I’ve got \start \switchtobodyfont[9pt] \completecontent[level=chapter] \stop to keep the Table of Contents on one page. But with one more chapter, it is now again spread over two. There is however a lot of whitespace between entries. Can I

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
][topframe=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[11pt] \bTR \bTD \color[orange]{\tfa Suite d'instructions correspondant au programme de calcul :} \eTD \bTD \eTD \bTD \color[orange]{\tfa Valeur de la variable $X$ après l'exécution de chaque instruction :} \eTD \eTR

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Fabrice
,lohi},frame=off] \setupTABLE[1][1][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD \starttikzpicture \pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with $A$};\pic [cube face/.append

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
={middle,lohi},frame=off] \setupTABLE[column][3][[width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD %\starttikzpicture %\pic [cube face/.append style

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD[n=3] \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD \starttikzpicture \pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with $A$};\pic [cube face/.append style={ball color=red

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime] \setupTABLE[column][2][[width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][[width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-05 Thread Fabrice
] \setupTABLE[1][1][[width=5cm,align={right,lohi},frame=off] \setupTABLE[1][2,3][bottomframe=off] \setupTABLE[1][3,4][topframe=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[11pt] \bTR \bTD \color[orange]{\tfa Suite d'instructions correspondant au programme de calcul :} \eTD

[NTG-context] Strange behavior with the command \color[]{}

2014-11-02 Thread Fabrice Couvreur
,lohi},frame=off] \setupTABLE[column][3][[width=8cm,align={right,lohi},frame=off] \setupTABLE[1][1][[width=5cm,align={right,lohi},frame=off] \setupTABLE[1][2,3][bottomframe=off] \setupTABLE[1][3,4][topframe=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[11pt] \bTR

[NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Ben Moon
][headstyle=normal, location=top, stopper={.}, width=\makeupwidth, style={\switchtobodyfont[11pt]}] \setuphead[section][style=\bfb] \setuphead[subsection][style=\bfa] \setupheads[indentnext=yes] \setupfloats[indentnext=yes] \setupheadertexts[][{\sl\getmarking[section]}][{\sl \getmarking[chapter

[NTG-context] Change linewidth of a table

2014-09-17 Thread Fabrice Couvreur
=off,rulethickness=1.2pt,rightframe=on] \setupTABLE[row][9][frame=off,rulethickness=1.2pt,bottomframe=on] \setupTABLE[row][1,4,7][frame=off,rulethickness=1.2pt,topframe=on] \setupTABLE[start][align={middle,lohi}] \stopsetups \starttext \startmidaligned \switchtobodyfont[small] \bTABLE[setups

[NTG-context] [doifinset] how it works ?

2014-08-21 Thread Pierre-François Bonnefoi
{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Otared Kavian
,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups \startsetups slide:stop \stopnarrower

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Otared Kavian
{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Wolfgang Schuster
[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups \startsetups slide:stop \stopnarrower \page \stopsetups \starttext \doifinset{\getnumber[slide]}{\slidelist} { \startSlide \SlideTitleSub{Hello there} What is my number

<    1   2   3   4   5   6   7   8   9   10   >