Re: [NTG-context] xml attribute conditional

2011-12-13 Thread Jon Crump
\enabletrackers[xml.parse,xml.path] \startxmlsetups xml:body \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:text \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:div:entext \setlatin{\switchtobodyfont[palatino,\Size] \xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:div

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

2011-12-12 Thread Wolfgang Schuster
couple of > minimal examples, mostlyI manage to elaborate from 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,

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

2011-12-09 Thread Hans Hagen
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] > > Wolf

Re: [NTG-context] Text in margin

2011-11-28 Thread Wolfgang Schuster
;> 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

Re: [NTG-context] Text in margin

2011-11-28 Thread Kip Warner
ll 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\sw

Re: [NTG-context] Text in margin

2011-11-28 Thread Wolfgang Schuster
;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 exam

Re: [NTG-context] Text in margin

2011-11-27 Thread Kip Warner
ou linked me 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={smallitali

Re: [NTG-context] Text in margin

2011-11-27 Thread Wolfgang Schuster
ur_text, >backgroundcolor=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://bitbuck

[NTG-context] Text in margin

2011-11-27 Thread Kip Warner
efore={\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

[NTG-context] Text in margin

2011-11-24 Thread Kip Warner
efore={\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

[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

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? > > >> > > >&g

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

2011-11-24 Thread Paul Menzel
> >> Is there a font having subscripts included? > >> > >> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par} > >> > >> \starttext > >> \ShowSubscript[dejavu] > >> \ShowSubscript[antykwa-torunska] > >> \ShowSubscr

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

2011-11-24 Thread Wolfgang Schuster
>> Is there a font having subscripts included? >>> >>> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par} >>> >>> \starttext >>> \ShowSubscript[dejavu] >>> \ShowSubscript[antykwa-torunska] >>> \ShowSubscript[antykwa-poltawskiego] &g

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] >

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

2011-11-24 Thread Wolfgang Schuster
always forget about that. > > It is also not in XITS. > > Neither > >\setupbodyfont[xits] > > or > >\setupbodyfont[euler] > > or > >\usetypescript[palatino] \setupbodyfont[palatino,10pt,rm] > > worked. Is there a f

[NTG-context] Layout: partial width blocks

2011-11-23 Thread Peter Park Nelson
Title, 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[abs

Re: [NTG-context] Simplefonts question

2011-11-14 Thread Lutz Haseloff
;> >> Greetings Lutz > > Here is how I would do it: > > \definefontfeature[cond][default][extend=.8] > \usemodule[simplefonts] > \setmainfont[Linux Libertine O] > \setsansfont[aller][scale=0.9] % downscale Aller a bit, since it has a bigger > x-height than Li

Re: [NTG-context] Simplefonts question

2011-11-14 Thread Christian
nsed Aller? > > Greetings Lutz Here is how I would do it: \definefontfeature[cond][default][extend=.8] \usemodule[simplefonts] \setmainfont[Linux Libertine O] \setsansfont[aller][scale=0.9] % downscale Aller a bit, since it has a bigger x-height than Libertine \definesimp

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

2011-11-11 Thread Christian
] >\definefontsynonym [SansSemiBold] [MyriadPro-SemiBold] > [features=default] >\definefontsynonym [SansSemiBoldItalic] [MyriadPro-SemiBoldIt] > [features=default] > \stoptypescript > > \starttypescript [myriadpro] > \definetypeface [myriadpro] [ss] [sans] [myr

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

2011-11-10 Thread Peter Park Nelson
] \stoptypescript \starttypescript [myriadpro] \definetypeface [myriadpro] [ss] [sans] [myriadpro] [default] \stoptypescript \usetypescript[myriadpro] \starttext \switchtobodyfont[myriadpro,ss] \sb Hello \si Italic \stoptext -- Peter Park

Re: [NTG-context] Problems with linespacing

2011-11-04 Thread Wolfgang Schuster
r when there is a empty line after the paragraph. You can also write a typescript and enable your typeface, the \setupinterlinespace can than be omitted (my typescript package provides support for Aller): \usetypescriptfile[type-aller] \starttext \start \switchtobodyfont[aller-light,36pt] Ich

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,24p

[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 va

Re: [NTG-context] When is \usetypescript needed?

2011-07-31 Thread Wolfgang Schuster
Am 31.07.2011 um 09:34 schrieb Marcin Borkowski: > OK, but isn't this because of \switchtobodyfont and not > \setupbodyfont? No. > Anyway, thanks for this example - though I have no idea why is that > working this way. It happens only when you try to load a new typeface a \hb

Re: [NTG-context] When is \usetypescript needed?

2011-07-31 Thread Marcin Borkowski
t \usetypescript to show the header. > > %\usetypescript[helvetica] > > \setupheader[style={\switchtobodyfont[helvetica]}] > > \setupheadertexts[pagenumber] > > \starttext > \input knuth > \stoptext OK, but isn't this because of \switchtobodyfont and not \setupbodyfont

Re: [NTG-context] When is \usetypescript needed?

2011-07-30 Thread Wolfgang Schuster
Am 31.07.2011 um 02:44 schrieb Marcin Borkowski: > And I didn't notice anything wrong with headers when not using > \usetypescript, by the way. Try this, uncomment \usetypescript to show the header. %\usetypescript[helvetica] \setupheader[style={\switchtobodyfon

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

2011-07-26 Thread Paul Menzel
obe PDF document \starttext \startlines[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 \st

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

2011-07-19 Thread Cecil Westerhof
2011/7/19 Wolfgang Schuster > > I have the following document: > > \setupheader[ > > after={\startalignment[center]\hairline\stopalignment}, > > style={\switchtobodyfont[9pt]}, > > ] > > \setupheader[text][after=\hairline,...] &g

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

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

2011-07-19 Thread Christian
xt-boun...@ntg.nl] Im > Auftrag von 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]\ha

[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] Interesing error message in MKIV:

2011-07-12 Thread Wolfgang Schuster
no] [12pt,rm] When you want a different font 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

Re: [NTG-context] Using Luatex.

2011-06-30 Thread Wolfgang Schuster
,stretch] \input zapf \stop \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

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] > > &

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

2011-06-23 Thread Kip Warner
[bfe=RegularBold at 30pt] \definebodyfont[11pt][rm][bft=RegularBold at 30pt] %\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

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 fo

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 wrote: > Hey list, > > I am trying to change the body font of my document in t

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

2011-06-10 Thread Mojca Miklavec
le, the background text 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] \definetext

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: > > · > > > > \startMPenvironment %[global] > > \switchtobodyfont[sans] > > %\

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

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

[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

[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 \

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][ >

[NTG-context] Custom function

2011-06-03 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 \

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

2011-06-03 Thread Jon Crump
\xmlregistersetup{xml:teisetups} \environment ara-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:di

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

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

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

2011-05-26 Thread 王雨施
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 Mathieu DUPONT
paced > > (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={\switchtobodyfo

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

2011-05-25 Thread Steffen Wolfrum
yes, alternative=c,style={\switchtobodyfont[10pt]\bf\setuplocalinterlinespace[line=4.2ex]}, before={\blank[line]},after={\blank[halfline]} ] \setuplist[section,subsection][ label=yes, alternative=c,style={\switchtobodyfont[10pt]\setuplocalinterlinespace[line=2.8ex]},

[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 wi

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

2011-05-22 Thread Wolfgang Schuster
gt; guess there > is some kind of a conflict. I'm using ConTeXt ver: 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]

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

2011-05-22 Thread Wolfgang Schuster
add 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 \switchtob

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 maki

[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.

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

2011-05-21 Thread Wolfgang Schuster
m I missing > something here? Is there something wrong 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 repl

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

2011-04-26 Thread Matthieu Stigler
ffset=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

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

2011-04-26 Thread mat
text... 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 sc

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

2011-04-01 Thread Wolfgang Schuster
ize *after* \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} \switchtob

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

2011-04-01 Thread Thomas A. Schmitz
t}] > > \definestartstop[quote] > [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont[8.5pt]\setupinterlinespace[line=10.5pt]},after={\stopnarrower}] > > > \starttext > > Test {\ss text} test\footnote{text {\ss text} test} test. > &

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

2011-04-01 Thread Steffen Wolfrum
fault] [size] \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]\switc

Re: [NTG-context] Minimal example for Cyrillic

2011-03-31 Thread Thomas A. Schmitz
e typescript we defined immediately > % above, and hence any typescripts it depends on. > % > % This executes the \definetypeface calls to define our typeface set. Again, > % myfonts is the name of the typescript, default is the character encoding. > \usetypescript[myfonts][default]

Re: [NTG-context] Minimal example for Cyrillic

2011-03-31 Thread mathew
ypeface calls to define our typeface set. Again, % myfonts 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; % switchtobod

Re: [NTG-context] LinearShade trouble

2011-03-29 Thread Kumar Appaiah
f today (not much has changed in > mkii anyway) Thanks. Here's the code: \setuppapersize[S6][S6] \setuppagenumbering[state=stop] \switchtobodyfont[modern,20pt] \setupcolors[state=start] \setupbackgrounds[page][background=color,backgroundcolor=darkblue] \startcolor[white] \setuptolerance[very

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

2011-03-23 Thread Wolfgang Schuster
{\increment\FontTestCounter \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 —

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

2011-03-19 Thread Cecil Westerhof
2011/3/19 Wolfgang Schuster > > 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 \lastpa

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

[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 for

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

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

2011-03-19 Thread Wolfgang Schuster
it? Use a different font or add manual 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-polta

Re: [NTG-context] Macro for acronyms

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

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 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

Re: [NTG-context] Macro for acronyms

2011-03-18 Thread Cecil Westerhof
2011/3/19 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 >> >>

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

[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] math spacing

2011-03-13 Thread Wolfgang Schuster
set > 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$} \stopte

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] > > > >

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]}] Fr

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

2011-03-10 Thread Vedran Miletić
2011/3/10 John Haltiwanger > To me the space between 'Freed' and 'by' looks awkward: > > \starttext > \startalignment[left] > > \bgroup > \switchtobodyfont[72pt] > {\ss Freed \par > by \par > Design} >

[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..\stopline

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

Re: [NTG-context] setupunderbar not working

2011-03-08 Thread Bart Wise
orks: \setupcolors[state=start]· \setupbars[underbar][ offset=0.1, rulethickness=0.2, order=foreground, color=red] \starttext· \switchtobodyfont[60pt] This is an \underbar{underlined} word.· \stoptext· Thanks Wolfgang for your help!

Re: [NTG-context] setupunderbar not working

2011-03-08 Thread Bart Wise
estion: \setupcolors[state=start] \setupbar[underbar][bottomoffset=2pt,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 >> \setupb

[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] problem with tikz remember picture and overlay.

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

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

2011-03-07 Thread Curiouslearn
color, % 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[

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hartmut Henkel
g \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? maybe \lineskip=0pt helps? Regards, Hartmut

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
> tight in vertical sense (kludge with vskip of -0.3mm). DOES NOT WORK > > \def\startdvbscreen{DVB-screen\crlf\start\setupinterlinespace[line=0.5mm]} > does not work: DOES WORK A BIT > \def\startdvbscreen{DVB-screen\crlf\start\switchtobodyfont[0.1pt]} > ___

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
art\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.pra

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Wolfgang Schuster
as is possible. Trying > \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 su

[NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
the kludge \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!

[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] playing colors

2011-03-01 Thread Hans van der Meer
. 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

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

2011-02-22 Thread Marco
:) That would 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]}, > >

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

2011-02-21 Thread Aditya Mahajan
to them. I 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={\switcht

[NTG-context] Simplefonts

2011-02-21 Thread Charles Doherty
\usemodule[simplefonts] % load the module \setmainfont[Gentium Basic] \starttext Transcription of gloss on fol. 18 begins here: \blank[2*big] {\switchtobodyfont[14pt]{\simplefont[Mionchló]{Luan cengcegeise i(n)diu duī ingliid dalacha iſ tɼua ī ſcel tuathal do bith dithɼe {\high{\simplefont

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

2011-02-19 Thread Marco
e 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]}, ] Marco ___ If your ques

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