Re: [NTG-context] Simplefonts question

2011-11-14 Thread Christian
][features=cond] % this way, only titles are condensed \setuphead[chapter][style={\switchtobodyfont[titlefont,35pt]}] \mainlanguage[de] \starttext \chapter{Dudelsackpfeifenmachergesellen sind lustige Leute} Dudelsackpfeifenmachergeselle {\ss Dudelsackpfeifenmachergeselle

Re: [NTG-context] Simplefonts question

2011-11-14 Thread Lutz Haseloff
a bigger x-height than Libertine \definesimplefonttypeface[titlefont][aller][features=cond] % this way, only titles are condensed \setuphead[chapter][style={\switchtobodyfont[titlefont,35pt]}] \mainlanguage[de] \starttext \chapter{Dudelsackpfeifenmachergesellen sind lustige Leute

Re: [NTG-context] Fonts in Mk IV -- \definefontalternative documentation?

2011-11-11 Thread Christian
] [sans] [myriadpro] [default] \stoptypescript \usetypescript[myriadpro] \starttext \switchtobodyfont[myriadpro,ss] \sb Hello \si Italic \stoptext -- Peter Park Nelson peter.park.nel...@gmail.com

[NTG-context] Fonts in Mk IV -- \definefontalternative documentation?

2011-11-10 Thread Peter Park Nelson
[myriadpro] \definetypeface [myriadpro] [ss] [sans] [myriadpro] [default] \stoptypescript \usetypescript[myriadpro] \starttext \switchtobodyfont[myriadpro,ss] \sb Hello \si Italic \stoptext -- Peter Park Nelson peter.park.nel...@gmail.com

Re: [NTG-context] Problems with linespacing

2011-11-04 Thread Wolfgang Schuster
typeface, the \setupinterlinespace can than be omitted (my typescript package provides support for Aller): \usetypescriptfile[type-aller] \starttext \start \switchtobodyfont[aller-light,36pt] Ich bin Blindtext. Von Geburt an. Es hat lange gedauert, bis ich begriffen habe, was es bedeutet

Re: [NTG-context] math signs in itemize

2011-09-25 Thread R. Ermers
=yes,align={normal,hyphenated}] \setupinteraction[style=] \define[2]\QuotationCommand { \setupindenting[no] \switchtobodyfont[arial,10pt] \textrule{#1}\blank \vfil\nobreak\penalty1\endgraf \startcolumns#2\stopcolumns \hspace \nobreak\penalty1000 \textrule } \definetypeface[braqqadocio][ss

Re: [NTG-context] insert unicode character

2011-09-21 Thread Wolfgang Schuster
Am 20.09.2011 um 09:09 schrieb Hans van der Meer: I looked into the recent Fonts in Context book, but could not figure out how to access characters directly in unicode. In my case this is inside a MetaPost picture something like: \switchtobodyfont[courier,24pt] .. label (UNICODE

[NTG-context] insert unicode character

2011-09-20 Thread Hans van der Meer
I looked into the recent Fonts in Context book, but could not figure out how to access characters directly in unicode. In my case this is inside a MetaPost picture something like: \switchtobodyfont[courier,24pt] .. label (UNICODE character U+2B06 here… How to? Hans van der Meer

[NTG-context] `\setupinterlinespace` and `\{start, stop}standardmakeup`

2011-07-26 Thread Paul Menzel
[align=flushright,style={\switchtobodyfont[36pt,ss]}] Very long title which should cover two lines \stoplines \startstandardmakeup \startlines[align=flushright,style={\switchtobodyfont[36pt,ss]}] Very long title which should cover two lines \stoplines \stopstandardmakeup \startstandardmakeup[align

[NTG-context] Use of \hairline in the header

2011-07-19 Thread Cecil Westerhof
I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setuplayout[ footer=0mm, header=10mm, ] \setupheadertexts[] \setupheadertexts[Documentation for product XYZ –concept–] [version: 2001

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Christian
Cecil Westerhof Gesendet: Dienstag, 19. Juli 2011 12:21 An: mailing list for ConTeXt users Betreff: [NTG-context] Use of \hairline in the header I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Wolfgang Schuster
Am 19.07.2011 um 12:21 schrieb Cecil Westerhof: I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setupheader[text][after=\hairline,...] Wolfgang

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Cecil Westerhof
2011/7/19 Wolfgang Schuster schuster.wolfg...@googlemail.com I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setupheader[text][after=\hairline,...] Works. Thanks. -- Cecil Westerhof

Re: [NTG-context] Interesing error message in MKIV:

2011-07-12 Thread Wolfgang Schuster
for the titlepage then switch to helvetica *in* the standardmakeup environment and don’t switch font before and after the environment. \setupbodyfont[palatino] \startsetups[titlepage] \switchtobodyfont[helvetica] \stopsetups \starttext \startstandardmakeup[align=middle,setups=titlepage] How

Re: [NTG-context] Using Luatex.

2011-07-01 Thread Wolfgang Schuster
\start \kerncharacters[0.01] \input zapf \stop \start \setupalign[hz] \input zapf \stop \start \switchtobodyfont[9.8bp] \input zapf \stop \stoptext Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] Changing Body Font

2011-06-25 Thread Kip Warner
On Thu, 2011-06-23 at 05:31 +0200, Wolfgang Schuster wrote: Am 23.06.2011 um 01:33 schrieb John Haltiwanger: Please take a look at the simplefonts module. \usemodule[simplefonts] \setmainfont[Ubuntu] \switchtobodyfont[11pt] (please correct me anyone, if I'm wrong). Use

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
] %\setmainfont[Ubuntu] %\switchtobodyfont[11pt] \definelayout [fullpage] [\c!backspace=0pt, \c!topspace=0pt, \c!width=\v!middle, \c!height=\v!middle, \c!header=0pt, \c!footer=0pt] \setuppagenumbering [\c!alternative=\v!doublesided] \def\startchapter#1% {\chapter[#1]{#1}\index{#1

Re: [NTG-context] Changing Body Font

2011-06-22 Thread John Haltiwanger
Please take a look at the simplefonts module. \usemodule[simplefonts] \setmainfont[Ubuntu] \switchtobodyfont[11pt] (please correct me anyone, if I'm wrong). On Wed, Jun 22, 2011 at 4:10 PM, Kip Warner k...@thevertigo.com wrote: Hey list, I am trying to change the body font of my document

Re: [NTG-context] Changing Body Font

2011-06-22 Thread Wolfgang Schuster
Am 23.06.2011 um 01:33 schrieb John Haltiwanger: Please take a look at the simplefonts module. \usemodule[simplefonts] \setmainfont[Ubuntu] \switchtobodyfont[11pt] (please correct me anyone, if I'm wrong). Use \setupbodyfont to change the font size for whole document, \switchtobodyfont

Re: [NTG-context] [metafun] MPenvironment / font switching

2011-06-10 Thread Mojca Miklavec
should be typeset (drawn) as lm sans, whereas the main font should be left untouched (serif). An alternative to Wolfgang's answer when you want to use complex font definitions (or other complex commands) is to use \sometxt. \usetypescript[iwona] \definetextext[myfont]{\switchtobodyfont[iwona,ss

[NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Philipp Gesang
font should be left untouched (serif). · \startMPenvironment %[global] \switchtobodyfont[sans] %\setupbodyfont[sans] \stopMPenvironment %\start\setupbodyfont[sans] \startuseMPgraphic{bg} verbatimtex \setupbodyfont[sans] etex

Re: [NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Wolfgang Schuster
should be typeset (drawn) as lm sans, whereas the main font should be left untouched (serif). · \startMPenvironment %[global] \switchtobodyfont[sans] %\setupbodyfont[sans] \stopMPenvironment %\start\setupbodyfont[sans

Re: [NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Philipp Gesang
On 2011-06-09 23:31:49, Wolfgang Schuster wrote: Am 09.06.2011 um 23:20 schrieb Philipp Gesang: snip/ · \startMPenvironment %[global] \switchtobodyfont[sans] %\setupbodyfont[sans] \stopMPenvironment %\start

[NTG-context] Custom function

2011-06-07 Thread Alexandre Leray
Hello, I'm rather new to ConTeXt and would like to simplify my document, in order to simplify processing of documents. I have this: \defineparagraphs[infos][n=1] \setupparagraphs[infos][1][ style={\switchtobodyfont[6pt]}, %command=, ] \starttext \startinfos \smash

[NTG-context] Custom function

2011-06-04 Thread Stéphanie Vilayphiou
Hello, I'm rather new to ConTeXt and would like to simplify my document, in order to simplify processing of documents. I have this: \defineparagraphs[infos][n=1] \setupparagraphs[infos][1][ style={\switchtobodyfont[6pt]}, %command=, ] \starttext \startinfos \smash

Re: [NTG-context] Custom function

2011-06-04 Thread Wolfgang Schuster
Am 03.06.2011 um 16:50 schrieb Stéphanie Vilayphiou: Hello, I'm rather new to ConTeXt and would like to simplify my document, in order to simplify processing of documents. I have this: \defineparagraphs[infos][n=1] \setupparagraphs[infos][1][ style={\switchtobodyfont[6pt

[NTG-context] marginal material in Arabic, tei/xml context mkiv

2011-06-03 Thread Jon Crump
-sty \startxmlsetups xml:body \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:lb \MarText{\tfxx{xml linebreak numbers}} \xmlflush{#1} \stopxmlsetups \definemargindata [MarText][right][color=red] \startxmlsetups xml:div:arab \setarabic{\switchtobodyfont[Arabic

[NTG-context] line numbers in margin from xml in context mkiv

2011-05-27 Thread Jon Crump
} \stopxmlsetups \startxmlsetups xml:pb    \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:lb        \MarText{\tfxx{xml pb/lb numbers}}        \xmlflush{#1} \stopxmlsetups \definemargindata [MarText][right][color=red] \startxmlsetups xml:div:arab        \setarabic{\switchtobodyfont[Arabic] \xmlflush

[NTG-context] Why \goto not wok in ConTeXt in Win7

2011-05-26 Thread 王雨施
the following, can anyone help me. Thanks I use context --mode=screen test to compile the document \starttext \title[content]{mulu} \placecontent \chapter{One} \setuppagenumbering [style=\tfx, location=] \startmode[screen] \switchtobodyfont[8pt] \setupfootertexts [{haha}][{\goto{back

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Steffen Wolfrum
to have the long titles on multiples lines being only single interline spaced (2.8ex). Is there something I could add in the \setuplist[chapter] command ? Thanks for any hint ! Something like this? \setuplist[chapter][ label=yes, alternative=c,style={\switchtobodyfont[10pt

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
hint ! Something like this? \setuplist[chapter][ label=yes, alternative=c,style={\switchtobodyfont[10pt]\bf\setuplocalinterlinespace[line=4.2ex]}, before={\blank[line]},after={\blank[halfline]} ] \setuplist[section,subsection][ label=yes

Re: [NTG-context] Font selection problem in MKIV

2011-05-22 Thread Wolfgang Schuster
this to the Wiki along other tutorials for MKIV font usage, so as much information on the subject as possible is appreciated. You’re right, \switchtotypeface accepts all parameters from \switchtobodyfont as second argument because the commands pass it’s arguments to \switchtobodyfont. Wolfgang

Re: [NTG-context] Font selection problem in MKIV

2011-05-22 Thread Wolfgang Schuster
: 2011.05.18 22:26 MKIV Why do you insist on \switchtotypeface when \switchtobodyfont works? Here is a example which works on my machine (requires commercial fonts: \starttext \input ward\par \switchtobodyfont[calluna,8pt] \input ward\par \switchtobodyfont[cambria,10pt] \input ward\par \stoptext Wolfgang

[NTG-context] Using text as a clip path for Metafun free shape paragraphs

2011-05-22 Thread Otso Helenius
Thanks to Wolfgang for the instructions on changing fonts, \switchtobodyfont works as expected. I still have to dig up the exact definitions of both \switchtobodyfont and \switchtotypeface, as the latter command seems to work in Hans' examples (for example showfont.pdf) but not with my

Re: [NTG-context] Font selection problem in MKIV

2011-05-21 Thread Wolfgang Schuster
with the way I select and use multiple fonts in the same document? Try \switchtotypeface[LeagueScript][12pt] \switchtobodyfont[LeageScript] and \switchtotypeface[Pompadour][12pt] \switchtobodyfont[Pompadour] You can also replace (but check the output because the spec-settings give sometimes

[NTG-context] Font selection problem in MKIV

2011-05-21 Thread Otso Helenius
Try \switchtotypeface[LeagueScript][12pt] \switchtobodyfont[LeageScript] Is \switchtobodyfont the recommended way of changing the typeface temporarily anywhere in a document (for example when making cover page graphics)? Its name implies only document body. Nevertheless, \switchtobodyfont

Re: [NTG-context] Font selection problem in MKIV

2011-05-21 Thread Wolfgang Schuster
Am 21.05.2011 um 17:31 schrieb Otso Helenius: Try \switchtotypeface[LeagueScript][12pt] \switchtobodyfont[LeageScript] Is \switchtobodyfont the recommended way of changing the typeface temporarily anywhere in a document (for example when making cover page graphics)? Its name implies

[NTG-context] Context and metapost: using \frac

2011-04-26 Thread mat
... Thanks!! Matthieu \starttext \setupMPpage[offset=1pt] \switchtobodyfont[10pt] % Beginning MetaPost graphic \startMPpage label.top(btex 1.4 etex scaled 1.00, (10, 10)); label.top(btex $\sigma_t$ etex scaled 1.00, (0, 10)); label.top(btex $\displaystyle \frac{\sigma_t}{a}$ etex scaled

Re: [NTG-context] Context and metapost: using \frac

2011-04-26 Thread Matthieu Stigler
=1pt] \switchtobodyfont[10pt] % Beginning MetaPost graphic \startMPpage label.top(btex 1.4 etex scaled 1.00, (10, 10)); label.top(btex $\sigma_t$ etex scaled 1.00, (0, 10)); label.top(btex $\displaystyle \frac{\sigma_t}{a}$ etex scaled 1.00, (0, 10)); \stopMPpage \stoptext Error

Re: [NTG-context] rscale (only for integers?)

2011-04-01 Thread Steffen Wolfrum
] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[10.5pt] \usetypescript[times] \setupbodyfont[times,10.5pt] \setupfootnotes[bodyfont={rm,8.5pt}] \definestartstop[quote] [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont

Re: [NTG-context] rscale (only for integers?)

2011-04-01 Thread Wolfgang Schuster
* \starttext: \definetypeface [times] [rm] [serif] [times] [default] \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2] \setupbodyfont[times] %\setupbodyfont[times,10.5pt] % fails \starttext %text {\ss text} \setupbodyfont[10.5pt] text {\ss text} \switchtobodyfont[8.5pt] text

Re: [NTG-context] Minimal example for Cyrillic

2011-03-31 Thread mathew
is the name of the typescript, default is the character encoding. \usetypescript[myfonts][default] % Finally, use that typeface set, at 10pt base size. % Calling setupbodyfont changes headers and footers as well as body text; % switchtobodyfont just changes body text. \setupbodyfont[nicefonts,10pt

Re: [NTG-context] Minimal example for Cyrillic

2011-03-31 Thread Thomas A. Schmitz
is the character encoding. \usetypescript[myfonts][default] % Finally, use that typeface set, at 10pt base size. % Calling setupbodyfont changes headers and footers as well as body text; % switchtobodyfont just changes body text. \setupbodyfont[nicefonts,10pt] % And finally, the actual document

Re: [NTG-context] LinearShade trouble

2011-03-30 Thread Kumar Appaiah
\setuppapersize[S6][S6] \setuppagenumbering[state=stop] \switchtobodyfont[modern,20pt] \setupcolors[state=start] \setupbackgrounds[page][background=color,backgroundcolor=darkblue] \startcolor[white] \setuptolerance[verytolerant,stretch] \definecolor[a][r=0,g=0,b=1] \definecolor[b][r=0,g=0,b=0.05

Re: [NTG-context] Which standard installed font displays ' and ` good

2011-03-23 Thread Wolfgang Schuster
\definetypeface[mainface-\FontTestCounter][rm][specserif][#1] \switchtobodyfont[mainface-\FontTestCounter] \title{#1} \startpacked ` Backtick\par ' Apostrophe\par ‘ Open curly quote\par ’ Close curly quote\par - hyphen\par – en dash\par — em dash \stoppacked \blank

Re: [NTG-context] Some problems I experienced when using ConTeXt

2011-03-19 Thread Wolfgang Schuster
kerning. As you can see here it’s font dependent: \starttext t/m \switchtobodyfont[pagella]t/m \switchtobodyfont[termes]t/m \switchtobodyfont[iwona]t/m \switchtobodyfont[antykwa-poltawskiego]t/m \stoptext Wolfgang

Re: [NTG-context] Macro for acronyms

2011-03-19 Thread Wolfgang Schuster
Am 19.03.2011 um 03:29 schrieb Cecil Westerhof: At the moment I have I my document: {\switchtobodyfont[1.25em]\bf M}ust {\switchtobodyfont[1.25em]\bf S}hould {\switchtobodyfont[1.25em]\bf C}ould {\switchtobodyfont[1.25em]\bf N}ot now But I like to have a macro for this, so I could

[NTG-context] Different fontsize in header and footer

2011-03-19 Thread Cecil Westerhof
I thought I saw it once, but I can not find it. I like to use another fontsize in my headers and footers. At the moment I have solved it in this way: \setupfootertexts[{\switchtobodyfont[6pt]Pagina \pagenumber \space van \lastpage}] But then I have to do this everywhere I change the text

Re: [NTG-context] Different fontsize in header and footer

2011-03-19 Thread Wolfgang Schuster
Am 19.03.2011 um 15:08 schrieb Cecil Westerhof: I thought I saw it once, but I can not find it. I like to use another fontsize in my headers and footers. At the moment I have solved it in this way: \setupfootertexts[{\switchtobodyfont[6pt]Pagina \pagenumber \space van \lastpage

Re: [NTG-context] Different fontsize in header and footer

2011-03-19 Thread Cecil Westerhof
2011/3/19 Wolfgang Schuster schuster.wolfg...@googlemail.com I thought I saw it once, but I can not find it. I like to use another fontsize in my headers and footers. At the moment I have solved it in this way: \setupfootertexts[{\switchtobodyfont[6pt]Pagina \pagenumber \space van

[NTG-context] Macro for acronyms

2011-03-18 Thread Cecil Westerhof
At the moment I have I my document: {\switchtobodyfont[1.25em]\bf M}ust {\switchtobodyfont[1.25em]\bf S}hould {\switchtobodyfont[1.25em]\bf C}ould {\switchtobodyfont[1.25em]\bf N}ot now But I like to have a macro for this, so I could just do: \Acronym{Must Should Could Not~now} Is more

Re: [NTG-context] Macro for acronyms

2011-03-18 Thread Aditya Mahajan
On Sat, 19 Mar 2011, Cecil Westerhof wrote: At the moment I have I my document: {\switchtobodyfont[1.25em]\bf M}ust {\switchtobodyfont[1.25em]\bf S}hould {\switchtobodyfont[1.25em]\bf C}ould {\switchtobodyfont[1.25em]\bf N}ot now But I like to have a macro for this, so I could just do

Re: [NTG-context] Macro for acronyms

2011-03-18 Thread Cecil Westerhof
2011/3/19 Aditya Mahajan adit...@umich.edu On Sat, 19 Mar 2011, Cecil Westerhof wrote: At the moment I have I my document: {\switchtobodyfont[1.25em]\bf M}ust {\switchtobodyfont[1.25em]\bf S}hould {\switchtobodyfont[1.25em]\bf C}ould {\switchtobodyfont[1.25em]\bf N}ot now But I like

Re: [NTG-context] Macro for acronyms

2011-03-18 Thread Aditya Mahajan
On Sat, 19 Mar 2011, Cecil Westerhof wrote: 2011/3/19 Aditya Mahajan adit...@umich.edu On Sat, 19 Mar 2011, Cecil Westerhof wrote: At the moment I have I my document: {\switchtobodyfont[1.25em]\bf M}ust {\switchtobodyfont[1.25em]\bf S}hould {\switchtobodyfont[1.25em]\bf C}ould

Re: [NTG-context] Macro for acronyms

2011-03-18 Thread Cecil Westerhof
2011/3/19 Aditya Mahajan adit...@umich.edu \definestartstop [FancyFirstLetter] [style={\switchtobodyfont[big]\bf}, color=red] \def\FancyUppercase#1% {\dostartFancyUppercase#1\dostopFancyUppercase} \def\dostartFancyUppercase#1#2\dostopFancyUppercase {\FancyFirstLetter{#1}#2} \def

Re: [NTG-context] math spacing

2011-03-13 Thread Wolfgang Schuster
as such. It’s font related: \starttext \dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$} \switchtobodyfont[pagella] \dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$} \switchtobodyfont[termes] \dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$} \stoptext Wolfgang

[NTG-context] Line spacing on a cover page

2011-03-10 Thread John Haltiwanger
To me the space between 'Freed' and 'by' looks awkward: \starttext \startalignment[left] \bgroup \switchtobodyfont[72pt] {\ss Freed \par by \par Design} \egroup \stoptext -- Should I be using \start..\stoplines ? or is this a bug

Re: [NTG-context] Line spacing on a cover page

2011-03-10 Thread Vedran Miletić
2011/3/10 John Haltiwanger john.haltiwan...@gmail.com To me the space between 'Freed' and 'by' looks awkward: \starttext \startalignment[left] \bgroup \switchtobodyfont[72pt] {\ss Freed \par by \par Design} \egroup \stoptext -- Should I be using

Re: [NTG-context] Line spacing on a cover page

2011-03-10 Thread Wolfgang Schuster
Am 10.03.2011 um 18:28 schrieb John Haltiwanger: \startalignment[left] \bgroup \switchtobodyfont[72pt] {\ss Freed \par by \par Design} \egroup \startlines[align=flushright,style={\switchtobodyfont[72pt,ss]}] Freed by Design \stoplines Wolfgang

Re: [NTG-context] Line spacing on a cover page

2011-03-10 Thread John Haltiwanger
Thanks Verdan and Wolfgang. As I suspected, \startlines was the way to go. On Thu, Mar 10, 2011 at 6:56 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2011 um 18:28 schrieb John Haltiwanger: \startalignment[left] \bgroup \switchtobodyfont[72pt

Re: [NTG-context] Full example of font setup

2011-03-09 Thread Willi Egger
Hi Mathew, I looked at your example. I made some comments on \setuplayout and setup of fonts \switchtobodyfont vs. \setupbodyfont. Willi On 9 Mar 2011, at 18:04, mathew wrote: Hi. I recently returned to TeX after a 20 year absence, and decided ConTeXt was the best choice of package

[NTG-context] setupunderbar not working

2011-03-08 Thread Bart Wise
=12pt,rulecolor=red] \starttext \switchtobodyfont[60pt] This is an \underbar{underlined} word. \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] setupunderbar not working

2011-03-08 Thread Bart Wise
,rulethickness=12pt,rulecolor=red] \starttext \switchtobodyfont[60pt] This is an \underbar{underlined} word. \stoptext But now it complains that setupbar is not recognized: Undefined control sequence... 2 \setupbar[underbar][bottomoffset=2pt,rulethickness=12pt,rulecolor=red] Am I still doing

Re: [NTG-context] setupunderbar not working

2011-03-08 Thread Bart Wise
, color=red] \starttext· \switchtobodyfont[60pt] This is an \underbar{underlined} word.· \stoptext· Thanks Wolfgang for your help! ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] problem with tikz remember picture and overlay.

2011-03-07 Thread Curiouslearn
, % backgroundcolor=gray:9]{\slidetitle{#1}}} \usemodule[simplefonts] \setmainfont[Helvetica] \switchtobodyfont[20pt] \definehead[slidetitle][subject] \setuphead[slidetitle][style=\tfb, color=lightsteelblue] \def\SlideTitle#1{\page\framed[frame

Re: [NTG-context] problem with tikz remember picture and overlay.

2011-03-07 Thread Curiouslearn
}}}    \usemodule[simplefonts]    \setmainfont[Helvetica]    \switchtobodyfont[20pt]    \definehead[slidetitle][subject]    \setuphead[slidetitle][style=\tfb,                           color=lightsteelblue]     \def\SlideTitle#1{\page\framed[frame=off, background=color, %        backgroundcolor=gray:9

[NTG-context] playing colors

2011-03-01 Thread Hans van der Meer
it. What am I missing here? The wiki didn't procure more information then the manual. Hans van der Meer \setuppapersize[A5][A5] \switchtobodyfont[20pt] \starttext \color[red]{hello} \quad \color[green]{hello} \quad \color[cyan]{hello} \quad \showcolor[red] \showcolor[green] \showcolor[cyan

[NTG-context] playing colors more

2011-03-01 Thread Hans van der Meer
Why is the second color in the palet not showing up? I foolowed the example in the manual (section 6 page 6). Strange: adding a third color in the palet (see comment) now shows the first two! Off by one error in a loop?Hans van der Meer\setuppapersize[A5][A5]\switchtobodyfont[20pt]\definepalet[dvb

[NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
\switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-) Anybody out there knowing how to do it? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Wolfgang Schuster
\setupinterlinespace[height=0.2,depth=0] did not help and the kludge \switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-) Anybody out there knowing how to do it? \setupinterlinespace[line=0.5mm] or use MetaPost (not sure what do you want). Wolfgang

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
\switchtobodyfont[0.1pt]} ___ 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/listinfo/ntg-context webpage : http://www.pragma

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
-screen\crlf\start\setupinterlinespace[line=0.5mm]} does not work: DOES WORK A BIT \def\startdvbscreen{DVB-screen\crlf\start\switchtobodyfont[0.1pt]} ___ If your question is of interest to others as well, please add

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hartmut Henkel
[height=0.2,depth=0] did not help and the kludge \switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-) Anybody out there knowing how to do it? maybe \lineskip=0pt helps? Regards, Hartmut ___ If your question

Re: [NTG-context] [t-vim] Line numbers

2011-02-22 Thread Marco
be awesome. 2) To set the font size I do the following, is there a better solution like bodyfont=xyz for definetyping or is it just fine like this? \definevimtyping [PHP] [ syntax=php, before={\switchtobodyfont[small]}, ] I think that the best idea is to add a style=..., and color

Re: [NTG-context] [t-vim] Line numbers

2011-02-21 Thread Aditya Mahajan
think that I should just be able to plug in ConTeXt's line numbering mechanism. 2) To set the font size I do the following, is there a better solution like bodyfont=xyz for definetyping or is it just fine like this? \definevimtyping [PHP] [ syntax=php, before={\switchtobodyfont[small

[NTG-context] [t-vim] Line numbers

2011-02-19 Thread Marco
the following, is there a better solution like bodyfont=xyz for definetyping or is it just fine like this? \definevimtyping [PHP] [ syntax=php, before={\switchtobodyfont[small]}, ] Marco ___ If your question

[NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
] \usetypescript[palatino] \switchtobodyfont[palatino,20pt] \setupcolors[state=start] \definelayer[myLayer] [width=\paperwidth, height=\paperheight] \startsetups layer \setlayer[myLayer][preset=lefttop,x=0.9\paperwidth,y=0.96\paperheight] {\switchtobodyfont[10pt

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Wolfgang Schuster
Am 18.02.2011 um 18:59 schrieb Vnpenguin: \usetypescript[palatino] \switchtobodyfont[palatino,20pt] Replace this (both lines) with \setupbodyfont[palatino,20pt] Wolfgang ___ If your question is of interest

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
On Fri, Feb 18, 2011 at 19:03, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 18.02.2011 um 18:59 schrieb Vnpenguin: \usetypescript[palatino] \switchtobodyfont[palatino,20pt] Replace this (both lines) with \setupbodyfont[palatino,20pt] Wolfgang Wow, it works now. Thank

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Wolfgang Schuster
Am 18.02.2011 um 19:08 schrieb Vnpenguin: Wow, it works now. You can also separate the style and content of a layer with \setlayerframed, e.g. \setlayerframed [mylayer] [x=..., y=..., frame=off, style={\switchtobodyfont[10pt]}] {text} Wolfgang

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
=off,   style={\switchtobodyfont[10pt]}]  {text} Thank you, Regards ___ 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] set-/finishregisterentry is killed

2011-02-17 Thread Steffen Wolfrum
\switchtobodyfont[50pt] START\setregisterentry[index][label={Index_Label}]% Test\dorecurse{10}{This is one long, long paragraph. }% STOP\finishregisterentry[index][label={Index_Label},entries={Index entry}] Test \stoptext Does it work on your machines? Is the syntax changed, do I have to add a certain

[NTG-context] set-/finishregisterentry is killed

2011-02-14 Thread Steffen Wolfrum
Hi, in current beta (2011.02.11 18:18 MKIV) set-/finishregisterentry is killed: Empty pagenumbers only! Please run attached example. Steffen --- \placeindex[method=first,criterium=all,compress=yes] \starttext \switchtobodyfont[50pt] START\setregisterentry[index][label={Index_Label

[NTG-context] Chapter Command causes ToC to not display correctly

2011-02-14 Thread Tom
=on] {\vbox{\headtext{chapter} #1\blank#2}}} \stophiding % headings \definestartstop[dedication][style={\switchtobodyfont[dedication,20pt]},befo re=\page] \definehead [intro] [chapter] \setuphead[chapter][style=\ss\bfd,alternative=middle, command=\MyChapterCommand, header=empty,footer=chapter

[NTG-context] Stretching chapter titles - MKII

2011-02-14 Thread Tom
resulted in abject failure. I am clearly missing something. \def\MyChapterCommand#1#2 {\switchtobodyfont[ss,30pt] \hbox to \hsize {\stretched{Chapter\\One}} \blank[small] \switchtobodyfont[sansbold,20pt] \hbox to \hsize {\stretched{It\\Was\\The\\Best\\Of\\Times}}} \setuphead[chapter

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-14 Thread Hans Hagen
. Numerous attempts at that have resulted in abject failure. I am clearly missing something. \def\MyChapterCommand#1#2 {\switchtobodyfont[ss,30pt] \hbox to \hsize {\stretched{Chapter\\One}} \blank[small] \switchtobodyfont[sansbold,20pt] \hbox to \hsize {\stretched{It\\Was\\The\\Best

Re: [NTG-context] Using fonts from multiple families

2011-02-13 Thread Wolfgang Schuster
] [chapter] \definehead [dedication][chapter] \setuphead[chapter][style=\ss\bfa,alternative=middle] \setuphead[intro][number=no] \setuphead[dedication][number=no,style={\switchtobodyfont[dedication,16pt]}] \definecombinedlist [content][intro,chapter,section] % pagenumbers \setuppagenumbering

Re: [NTG-context] Using fonts from multiple families

2011-02-13 Thread Tom
] [default] \setupbodyfont[mainface] % headings \definehead [intro] [chapter] \definehead [dedication][chapter] \setuphead[chapter][style=\ss\bfa,alternative=middle] \setuphead[intro][number=no] \setuphead[dedication][number=no,style={\switchtobodyfont[dedication,16pt]}] \definecombinedlist

Re: [NTG-context] Using fonts from multiple families

2011-02-13 Thread Wolfgang Schuster
chapters, sort of, in that the chapter title isn't normally displayed and the body of the chapter is printed in a different font than are the other chapters. Add this to my example: \definestartstop[dedication][style={\switchtobodyfont[dedication]}] You can now write in your document \dedication

Re: [NTG-context] Using fonts from multiple families

2011-02-13 Thread Tom
={\switchtobodyfont[dedication]}] You can now write in your document \dedication{...} and \startdedeication ... \stopdedication Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Using fonts from multiple families

2011-02-13 Thread Wolfgang Schuster
of paragraph of text. Using a frame seems like using a sledgehammer to pound a tack. Why not? \defineframedtext [dedication] [frame=off, align=middle, style={\switchtobodyfont[dedication]}, width=\textwidth] You can also \setupalign to \definestartstop: \definestartstop [dedication

[NTG-context] Getting paragraphs to indent

2011-02-13 Thread Tom
] [default] \definetypeface [dedication] [rm] [serif] [chancery] [default] \setupbodyfont[mainface] % headings \definestartstop[dedication][style={\switchtobodyfont[dedication,20pt]}] \definehead [intro] [chapter] \definehead [dedication][chapter] \setuphead[chapter][style=\ss\bfd,alternative

Re: [NTG-context] Getting paragraphs to indent

2011-02-13 Thread Wolfgang Schuster
Am 13.02.2011 um 21:40 schrieb Tom: My intention is to indent all paragraphs that do not follow whitespace. However, my code isn't making that happen. What am I doing wrong? \definestartstop[dedication][style={\switchtobodyfont[dedication,20pt]}] \definehead [dedication][chapter] Don’t

Re: [NTG-context] Getting paragraphs to indent

2011-02-13 Thread Tom
={\switchtobodyfont[dedication,20pt]}] \definehead [dedication][chapter] Don't define two commands with the same name, \definestartstop[dedication] was meant as alternative to \definehead[dedication]. To force a page break you can add before=\page to \definestartstop. \setupindenting[medium

[NTG-context] Using fonts from multiple families

2011-02-12 Thread Tom
] \switchtobodyfont[serif] \setuphead [chapter][style=sansbold, alternative=middle] \definehead [intro][chapter] \setuphead [intro][number=no] \definecombinedlist [content][intro,chapter,section] \setuphead[chapter][style=sansbold] \starttext {\cg Dedication} \page \completecontent \intro{Introduction

Re: [NTG-context] Typescript troubles with semibold font.

2011-02-09 Thread Taco Hoekwater
] \stoptypescript \starttypescript [myriadpro] \definetypeface [myriadpro] [ss] [sans] [myriadpro] [default] \stoptypescript \usetypescript[myriadpro] \starttext \switchtobodyfont[myriadpro,ss] \sb Hello \si Italic \stoptext

Re: [NTG-context] Typescript troubles with semibold font.

2011-02-09 Thread Christian
[myriadpro] [ss] [sans] [myriadpro] [default] \stoptypescript \usetypescript[myriadpro] \starttext \switchtobodyfont[myriadpro,ss] \sb Hello \si Italic \stoptext ___ If your question is of interest

Re: [NTG-context] Iwona-Light error

2011-02-09 Thread Tom
That works. Now I get: Cannot find Helvetica-Caps.mf for Postscript font. \usetypescriptfile[type-one] \usetypescript[postscript][ec] \setupbodyfont[postscript,12pt] \starttext \switchtobodyfont[ss] \showbodyfont \showbodyfontenvironment \input knuth \stoptext Tom Benjey 717-258-9733 voice 717

[NTG-context] (again) wrong page with \finishregisterentry

2011-02-08 Thread Steffen Wolfrum
lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen --- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishregisterentry

[NTG-context] wrong page with \finishregisterentry

2011-01-30 Thread Steffen Wolfrum
lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen --- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishregisterentry

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