[NTG-context] Disappearing font feature

2019-12-21 Thread Rik Kabel
[line] \stopbuffer \setupalign [middle] \starttext \obeylines \JHair \getbuffer[Sampler] \JThin \getbuffer[Sampler] \JLigh \getbuffer[Sampler] \JBook \getbuffer[Sampler] \JMedi \getbuffer[Sampler] \JSemi \getbuffe

Re: [NTG-context] Disappearing font feature

2019-12-22 Thread Hans Hagen
lash\ ; ' , . / \{ \} \| : " < > ? \fontname\font \blank [line] \stopbuffer \setupalign [middle] \starttext \obeylines \JHair \getbuffer[Sampler] \JThin \getbuffer[Sampler] \JLigh \getbuffer[Sampler] \JBook

[NTG-context] Changing font for math function

2015-05-12 Thread Maggyero
}}$ \stopbuffer \starttext \defineparagraphs[myparagraphs][n=5, rule=on] \setupparagraphs[myparagraphs][1][width=\dimexpr 0.3\textwidth\relax] \setupparagraphs[myparagraphs][2][width=\dimexpr 0.3\textwidth\relax] \setupparagraphs[myparagraphs][3][width=\dimexpr 0.3\textwidth\relax] \section{{\tt \backsla

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

2015-05-12 Thread Hans Hagen
\stopbuffer \starttext \defineparagraphs[myparagraphs][n=5, rule=on] \setupparagraphs[myparagraphs][1][width=\dimexpr 0.3\textwidth\relax] \setupparagraphs[myparagraphs][2][width=\dimexpr 0.3\textwidth\relax] \setupparagraphs[myparagraphs][3][width=\dimexpr 0.3\textwidth\relax] \section{{\tt \backslash set

Re: [NTG-context] problem with Segoe Ui Symbol as fallback font

2023-01-04 Thread Jacob Kauffmann via ntg-context
-fallback] \stoptypescript \definefontfamily[mainface][mm][mainface] \definefontfamily[mainface][rm][pagella][bf=style:bold] \usetypescript[mainface] \setupbodyfont[mainface] \startbuffer The quick brown fox jumps over the lazy dog \stopbuffer \starttext % \rm % works {\rm \getbuffer}\par {\ss

[NTG-context] Kerning and Minion Pro

2009-01-16 Thread Andreas Harder
:MinionPro-Regular*nonekerned at 100pt]\getbuffer[KernTest] }} {\vbox{\blue\definedfont[name:MinionPro-Regular*basekerned at 100pt]\getbuffer[KernTest] }} {\vbox{\darkgray\definedfont[name:MinionPro-Regular*nodekerned at 100pt]\getbuffer[KernTest] }} \stopoverlay \stopTEXpage \st

[NTG-context] section prefix=+

2005-12-21 Thread David Arnold
nput tufte \section[parabola]{The Parabola} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of

[NTG-context] (bug?) itlc removes liga

2017-07-28 Thread Pablo Rodriguez
] [EB Garamond] \startbuffer[words] office final floor affliction \stopbuffer \startbuffer[ligatures] {\em \getbuffer[words]}\\ {\bi \getbuffer[words]}\\ {\getbuffer[words]}\\ {\bf \getbuffer[words]}\\ \stopbuffer \starttext \startTEXpage[offset=1em

Re: [NTG-context] math align

2006-01-16 Thread David Arnold
respective half of the page? wikiable: \definecombination[twoformulas][location=top,align=middle] \startalignment[middle] \dontleavehmode \startcombination [twoformulas][2*1] {\getbuffer[1]} {} {\getbuffer[2]} {} \stopcombination \stopalignment \def\StartTwo{\startalignment[middle

Re: [NTG-context] section prefix=+ (oops)

2005-12-21 Thread David Arnold
d}}{Second caption} \stopcombination \stopbuffer \completecontent \chapter[quadratic]{Quadratic Functions} \input tufte \section[parabola]{The Parabola} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple

[NTG-context] line notes compress

2013-12-02 Thread Hans Hagen
][compress=yes,compressmethod=stopper] \getbuffer \setupnote[MyNote][compress=yes,compressmethod=separator] \getbuffer \setupnote[MyNote][compress=yes,compressmethod=space] \getbuffer \setupnote[MyNote][compress=yes,compressmethod=] \getbuffer \setupnote[MyNote][compress=no

Re: [NTG-context] wrong itemize indenting

2010-10-07 Thread Andreas Harder
=.5em] > \item \dorecurse{20}{eins } > \item \dorecurse{20}{zwei } > \item \dorecurse{20}{drei } > \stopitemize > \stopbuffer > \getbuffer % -> correct indenting > \bTABLE > \bTR\bTD \getbuffer \eTD\eTR > \eTABLE > \getbuffer % -> wrong indenting > \stopt

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen
btw, in mkiv you show chars with \usemodule[fnt-25] ... \startbuffer[mathtest] \begingroup\mm\mr\showmathfontcharacters\endgroup \stopbuffer \starttext \usetypescript[cambria] \setupbodyfont[cambria, 12pt] \getbuffer[mathtest] \usetypescript[lmvirtual] \setupbodyfont[lmvirtual

Re: [NTG-context] make array of tables

2006-04-27 Thread Hans Hagen
right now. > Is it possible to use \startcombination in some way? > Or, is there any way to perform such a display? > \startbuffer[a] your first table \stopbuffer etc \startcombination[3*2] {\getbuffer[a]} {a} {\getbuffer[b]} {b} {\getbuffer[c]} {c} {\getbuffer[d]} {d} {\g

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
ween \frac{} and \tfrac{} ? \frac switches the math style while \tfrac (textstyle), \dfrac (displaystyle) and \sfrac (scriptstyle) enforce a certain style. begin example \startbuffer[frac] \frac{1}{2} + \dfrac{1}{2} - \tfrac{1}{2} + \sfrac{1}{2} \stopbuffer \starttext \startformula \getb

[NTG-context] Wrong counting of lines and paragraphs

2020-08-07 Thread Marcus Vinicius Mesquita
=bold] \setuphead[subject][alternative=text,style=bolditalic] \setuphead[subsubject][alternative=text,style=\ss] \setuphead[subsubsubject][alternative=text,style=\ss\it] \startbuffer[waltham] \input waltham \stopbuffer \starttext \startlinenumbering \starttitle[title={Waltham}] \dorecurse{4}{\getb

[NTG-context] howto \getbuffer inside of \startTEX ... \stopTEX

2005-04-03 Thread VnPenguin
Hi all, I have a following code: -- \startbuffer \bTABLE \bTR \bTH title1 \eTH \bTH title2 \eTH \eTR \bTR \bTD data1 \eTD \bTD data2 \eTD \eTR \eTABLE \stopbuffer \startTEX \getbuffer \stopTEX \getbuffer

Re: [NTG-context] overrule italics

2017-06-04 Thread Hans Hagen
\starttext \startbuffer \startbuffer[demo] \start \getbuffer[setup] \subject{[ {\myslanted myslanted} ] [ {\it it} ] [ {\slanted slanted} ] [ $x=1$ ]} [ {\myslanted myslanted} ] [ {\it it} ] [ {\slanted slanted} ] [ $x=1$ ] \typebuffer[setup] \black

Re: [NTG-context] howto \getbuffer inside of \startTEX ... \stopTEX

2005-04-03 Thread h h extern
VnPenguin wrote: Hi all, I have a following code: -- \startbuffer \bTABLE \bTR \bTH title1 \eTH \bTH title2 \eTH \eTR \bTR \bTD data1 \eTD \bTD data2 \eTD \eTR \eTABLE \stopbuffer \startTEX \getbuffer \stopTEX \getbuffer

Re: [NTG-context] TikZ and wrong drawing order

2015-06-11 Thread Mojca Miklavec
s hidden behind the semi-transparent layer. > > > I have no idea what tikz is doing: > > \usemodule[tikz] > > \definecolor[light][s=1,a=1,t=0.1] > \definecolor[dark] [s=1,a=1,t=0.95] > > \defineframedtext[normal] [width=4cm, background=color] > \defineframedtext[reverse][width=4

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Hans Hagen via ntg-context
On 8/2/2021 8:54 PM, Benjamin Buchmuller via ntg-context wrote: That's great, I wikified a Note for testing if a buffer exists or has content (using the \getbuffer[…] approach for the moment). If I was asked, I'd opt for \doifelseemptybuffer (doifemptyelse?) since one could think

[NTG-context] Changing font for math function

2015-05-13 Thread Maggyero
ematics[functionstyle=\backslash rm\backslash tf,textstyle=\backslash rm\backslash tf]} (default setup)} \define\mathfunctionstyle{\rm\tf} \define\mathtextstyle{\rm\tf} \startmyparagraphs \switchtobodyfont[rm] {\tt \backslash switchtobodyfont[rm]}\crlf {\tt \backslash tf}: {\tf \getbuffer}\par {\tt \b

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread vm via ntg-context
\starttext \startbuffer \starttabulate[|T] \NC U+0002D \NC - \NC -- \NC --- \NC\NR \NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR \NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR \stoptabulate \stopbuffer \nohyphencollapsing \getbuffer \setupbodyfont[pagella] \getbuffer \dohyphencollapsing \getbuffer

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-17 Thread Jeong Dal
Dear Hans, It is very interesting example. Thank you for a new method. Best regards, Dalyoung > > \def\determinednoflines#1% > {\localcontrolled{\determinenoflines{#1}}\noflines} > > \startbuffer >\input tufte > \stopbuffer > > \fillinrules[n=\determinednof

Re: [NTG-context] tnum and aligncharacter=yes

2013-10-21 Thread Hans Hagen
eature[with-tnum][default][tnum=yes] \definefontfamily[mainface][sans][Alwyn New] \setupbodyfont[mainface] \setupTABLE[alignmentcharacter=., aligncharacter=yes] \starttext \startbuffer \bTABLE \bTR \bTD 111.111 \eTD \eTR \bTR \bTD 444.444 \eTD \eTR \eTABLE \stopbuffer \getbuffer\addfeature[wit

Re: [NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Thomas Floeren
. (It completely annihilates any whitespace.) Compile this to see what I mean: \definepapersize[Tmp][width=120mm,height=400mm] \setuppapersize [Tmp] \setupwhitespace[2\lineheight] \startbuffer bla, bla\crlf bla, bla \stopbuffer \starttext Normal text: \getbuffer\par \getbuffer I

Re: [NTG-context] Nested floats

2012-03-10 Thread Marco
] \bTR \bTD abc \eTD \bTD def \eTD \eTR \bTR \bTD ghi \eTD \bTD jkl \eTD \eTR \eTABLE \stopbuffer \starttext \startchapter [title=First] \startsection [title=1st Section] \startplacetable \startcombination [2*1] {\getbuffer} {(a)} {\getbuffer} {(b)} \

Re: [NTG-context] (bug?) itlc removes liga

2017-07-29 Thread Jean-Pierre Delange
n, itlc=yes] \setupitaliccorrection [global, always] \definefontfamily [mainfont] [rm] [EB Garamond] \startbuffer[words] office final floor affliction \stopbuffer \startbuffer[ligatures] {\em \getbuffer[words]}\\ {\bi \getbuffer[words]}\\

Re: [NTG-context] Which commands to use to show setups?

2018-11-24 Thread Wolfgang Schuster
{\startdescription{\cmdbasicsetup[...]} ... \stopdescription}: \startbuffer [basicsetup] \cmdbasicsetup [startxtable] \stopbuffer \typebuffer [basicsetup] \getbuffer  [basicsetup] When you show the syntax of a command without the options: \startbuffer [shortsetup] \cmdshortsetup [startxtable] \stopbuffer

Re: [NTG-context] math align

2006-01-16 Thread Hans Hagen
-(x-3)}{x+2}\cr &=\frac{2-x+3}{x+2}\cr &=\frac{5-x}{x+2}} \stopformula} \stopbuffer \startbuffer \startcombination[2*1] {\externalfigure[1][width=0.45\textwidth,type=buffer]}{} {\externalfigure[2][width=0.45\textwidth,type=buffer]}{} \stopcombination \stopbuffer

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Benjamin Buchmuller via ntg-context
or has >> content (using the \getbuffer[…] approach for the moment). >> If I was asked, I'd opt for \doifelseemptybuffer (doifemptyelse?) since one >> could think of similar commands that test for empty "objects". >> Is there an option for testing blocks? (I ac

[NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-17 Thread Rik Kabel
extra whitespace} With text here there is no extra whitespace before the itemization. \getbuffer[Item] \subsection{No extra whitespace} With text here there is no extra whitespace before the itemization. \getbuffer[Item] \section{Extra whitespace} \getbuffer[Item] With no

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Wolfgang Schuster
onTeXt or LuaTeX because it does only appear with OpenType math fonts: Input: \usemodule[simplefonts] \setmainfont[Calluna] \startbuffer[example] \input ward\par \startformula c^2=a^2+b^2 \quad \binom{1}{2} \stopformula \stopbuffer \starttext \getbuffer[example] \setmathfont[palatino]\get

[NTG-context] Font problem...

2003-08-20 Thread Gilles Pérez-Lambert
harter][default][encoding=ec] \setupbodyfont[charter,10pt] \startbuffer[tufte] \input tufte \stopbuffer \starttext \getbuffer[tufte] \blank {\it\getbuffer[tufte]} \blank {\bf\getbuffer[tufte]} \blank {\sc\getbuffer[tufte]} \bla

Re: [NTG-context] nested colors problem

2017-01-21 Thread Hans Hagen
uffer \dontleavehmode \blackrule[color=colX,width=3cm]\hskip-1.5cm \blackrule[color=colY,width=3cm] \stopbuffer \getbuffer \par \color[colY]{\getbuffer} \setupcolors[rgb=no] \getbuffer \par \color[colY]{\getbuffer} \setupcolors[rgb=no,cmyk=no] \getbuffer \par \color[colY]{\getbuffer} \stoptex

Re: [NTG-context] nested colors problem

2017-01-21 Thread Peter Rolf
26 21:43 >> >> Maybe intended behaviour, maybe a bug. Donno. > > colorspace, color and transparency are different axis > > \definecolor[colX] [r=.5] > \definecolor[colY] [t=.5,a=1] > > \starttext > > \startbuffer > \dontleavehmode > \blackrule[colo

[NTG-context] \getbuffer question

2006-01-19 Thread David Arnold
All, If you do something like: \startbuffer \setupYadaYada . . . . \stopbuffer Then you do: \getbuffer will the setup be in a group, and only pertain to the stuff set with \getbuffer? ___ ntg-context mailing list ntg-context@ntg.nl http

[NTG-context] Typing efficiency

2020-09-04 Thread Jan Willem Flamma
Dear list member, Following up from:https://www.mail-archive.com/ntg-context@ntg.nl/msg94719.html The below MWE works but how can I avoid having to type    \startmode[en]    \getbuffer[en]    \stopmode    \startmode[nl]    \getbuffer[nl]    \stopmode after every block of text?  I tried to

[NTG-context] Re: Odp: ntg-context digest, Vol 1 #484 - 13 msgs

2003-09-24 Thread Patrick Gundlach
Hi, > It works but if I use > \startnitram > \getbuffer > \stopnitram > > I have as result: > \getbuffer > ;) right, that is verbatim mode :) > I would like to define some code in buffer and use it > as example (typing this code) and show how it works (use this

Re: [NTG-context] \getbuffer question

2006-01-19 Thread Taco Hoekwater
David Arnold wrote: Then you do: \getbuffer will the setup be in a group, and only pertain to the stuff set with \getbuffer? No, normally they will live on (buffers often contain definitions). But you can use \setupbuffer[before=\begingroup,after=\endgroup] Cheers, taco

[NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-02 Thread Antoine Cailliau
oman\TwoColumns \getbuffer[Plato] \stopTwoColumns \startTwoColumns Italic\TwoColumns {\it\getbuffer[Plato]} \stopTwoColumns \startTwoColumns Semi bold\TwoColumns {\sb\getbuffer[Plato]} \stopTwoColumns \startTwoColumns Bold\TwoColumns {\bf\getbuffer[Plato]} \stopTwoColumns \startTwoColumns S

Re: [NTG-context] Ugly bug with TikZ in recent ConTeXt MKIV

2010-11-18 Thread Hans Hagen
ikz] \starttext \startbuffer[1] \starttikzpicture \draw[->] (0,0)--(1cm,1cm); \stoptikzpicture \stopbuffer % \ruledhbox{\getbuffer[1]} \ruledhbox {\ruledhbox{\getbuffer[1]} \ruledhbox{\getbuffer[1]}} \ruledhbox {\ruledhbox{\getbuffer[1]}% \ruledhbox{\getbuf

[NTG-context] setupheadnumber loses table of contents

2005-12-21 Thread David Arnold
\stopbuffer \completecontent \chapter{The Process of\crlf Growing Wheat} \input tufte \startbuffer \startcombination[2*1] {\useMPgraphic{david}}{First caption} {\useMPgraphic{david}}{Second caption} \stopcombination \stopbuffer \placefigure[][fig:11] {This is the caption of the figure.} {\getbuffer

[NTG-context] font selection in LMTX

2019-05-09 Thread Pablo Rodriguez
][cg][Arial Narrow][tf=file:ARIALN.TTF] \setupbodyfont[mainface] \startbuffer \ConTeXt\ is awesome!\par \stopbuffer \starttext \startTEXpage[offset=1em] \getbuffer \ss\getbuffer \tt\getbuffer \cg\getbuffer \stopTEXpage \stoptext I have no problem to get

[NTG-context] Indent after \startline[… ]

2009-12-16 Thread Andreas Harder
Hi all, how can I prevent the indent after a \startline[…]-construct. Here is an example: \setupindenting[medium,next,yes] \def\NoIndent{\noindentation{\red\bf Indent?}\enspace} \startbuffer \dorecurse{3}{\dorecurse{10}{some text, } \par } \stopbuffer \starttext \showframe \getbuffer

[NTG-context] getbuffer now fails

2008-03-23 Thread Hans van der Meer
I had this code working (it was in an article I submitted for NTG-MAPS a while ago, july 2007). Now this same code gives an error on getbuffer. What happened to getbuffer? Is it possible a \fi has disappeared in the getbuffer code between now and last july? Is there a quick patch because now

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Cedric Mauclair
> > \setmainfont[Calluna] > > \startbuffer[example] > \input ward\par > \startformula > c^2=a^2+b^2 \quad \binom{1}{2} > \stopformula > \stopbuffer > > \starttext > > \getbuffer[example] > > \setmathfont[palatino]\getbuffer[example] > > \setmathfont[eul

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-20 Thread Pablo Rodriguez
makeup] \startmakeup[standard][align=middle] 123 \stopmakeup \stopbuffer \getbuffer[makeup] \startpostponing[3] \getbuffer[makeup] \stoppostponing \input knuth \getbuffer[makeup] \input knuth \getbuffer[makeup] \stoptext It is also weird tha

Re: [NTG-context] font selection in LMTX

2019-05-09 Thread Wolfgang Schuster
[mainface][tt][Cousine]  \definefontfamily[mainface][cg][Arial Narrow][tf=file:ARIALN.TTF]  \setupbodyfont[mainface]  \startbuffer  \ConTeXt\ is awesome!\par  \stopbuffer  \starttext  \startTEXpage[offset=1em]  \getbuffer  \ss\getbuffer  \tt\getbuffer  \cg

[NTG-context] bug with fonts in LMTX (Win7)?

2019-07-17 Thread Pablo Rodriguez
][tt][Cousine] \definefontfamily[mainface][cg][Arial Narrow][tf=file:ARIALN.TTF] \setupbodyfont[mainface] \startbuffer \ConTeXt\ is awesome!\par \stopbuffer \starttext \startTEXpage[offset=1em] \getbuffer \ss\getbuffer \tt\getbuffer \cg\getbuffer

[NTG-context] Odp: ntg-context digest, Vol 1 #484 - 13 msgs

2003-09-24 Thread ^Nitram^
tnitram > crazy > \stopnitram > \stoptext It works but if I use \startnitram \getbuffer \stopnitram I have as result: \getbuffer ;) I would like to define some code in buffer and use it as example (typing this code) and show how it works (use this code). I can use \getbuffer and \

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-17 Thread Hans Hagen
\fillinrules[n=\determinednoflines{\getbuffer}, width=fit]{first} \fillinrules[n=\determinednoflines{\getbuffer}, width=broad]{first} \fillinrules[n=\determinednoflines{\getbuffer}, width=3cm]{first} \fillinrules[n=\determinednoflines{\getbuffer}, width=3cm,distance=.5em,separator=:]{first

Re: [NTG-context] Problem using \scale

2023-02-10 Thread Hans Hagen via ntg-context
o scale? \starttext \startbuffer[address] Name \crlf Address 1 \crlf A long line that wraps \crlf Town \crlf Postcode \stopbuffer \framed[width=3cm,align=flushleft]{\getbuffer[address]} \framed[width=3cm,align=flushleft]{\scale[factor=fit]{\getbuffer[address]}} \stoptext \starttext \startbuffer[a

[NTG-context] Font switching, default features, and a request

2023-08-13 Thread Hamid,Idris
الْأَسْمَرُ السَّرِيعُ يَقْفِزُ فَوْقَ الْكَلْبِ الْكَسُولِ! The quick brown fox jumps over the lazy dog! \stoplines \stopbuffer {\tfxx \type{\tfxx} \getbuffer} {\tfx \type{\tfx} \getbuffer} \type{\tf} \getbuffer {\tfa \type{\tfa} \getbuffer} {\tfb \type{\tfb} \getbuffer} {\tfc \type{\tfc} \getbuffer

Re: [NTG-context] Ugly bug with TikZ in recent ConTeXt MKIV

2010-11-18 Thread Mojca Miklavec
a problem before and it still works perfectly in both pdfTeX and XeTeX. So something really looks suspicious on the MKIV part. I would love to help debugging, but I have zero clue what and where to look for. > \usemodule[tikz] > > \starttext > > \startbuffer[1] >    \start

[NTG-context] xtable formatting issues

2012-01-18 Thread Brian Landy
\stopxcell \startxcell[background=color,backgroundcolor=yellow,width=1.0in] 1in? \stopxcell \stopxrow \stopxtable \stopbuffer \getbuffer[testtable1] \getbuffer[testtable2] \startxtable \startxrow \startxcell[fnit] \getbuffer[testtable1] \stopxcell \startxcell[wd2] \getbuffer[testtable1

Re: [NTG-context] Nested floats

2012-03-10 Thread Prashanth
ter [title=First] \startsection [title=1st Section] \startplacetable \startcombination [2*1] {\getbuffer} {(a)} {\getbuffer} {(b)} \stopcombination \stopplacetable \stopsection \stopchapter \startchapter [title=Second] \startplacetable [loca

[NTG-context] tabulate and p(fixed)/p(fit)

2010-11-22 Thread Herbert Voss
can some please explain the (for me) funny output of p(fit) and p(fixed)? Herbert, mkiv and ii \starttext %\showframe \showstruts \startbuffer \toplinebox{\framed[width=2cm,height=0.8cm]{i}} \stopbuffer \starttabulate[|p|p|] \NC \getbuffer \NC some more text \NC\NR \NC

Re: [NTG-context] Indent after \startline[…]

2009-12-16 Thread Wolfgang Schuster
> \dorecurse{3}{\dorecurse{10}{some text, } \par } > \stopbuffer > > > \starttext \showframe > \getbuffer \blank > > \startlinenumbering > \startline[lin:1] > \NoIndent \getbuffer > \stopline[lin:1] > > \NoIndent \getbuffer > \stoplinenumber

[NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-13 Thread Aditya Mahajan
trouble with placefigure This is a dummy paragraph to support a little bit of math to show the trouble with placefigure} \stopbuffer \starttext \getbuffer[figure] \getbuffer[test] \page \getbuffer[figure] \getbuffer[mathtest] \stoptext Thanks, Aditya -- Aditya Mahajan, EECS Systems

[NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?

2007-07-02 Thread Hamid Kamrani
What's the reaosn for this behaviour? Try: \starttext \startbuffer \start \setupTABLE[frame=on] \bTABLE\bTR\bTD text \eTD\eTR\eTABLE \stop \stopbuffer \framed[offset=overlay]{\getbuffer} \startbuffer \start \setupTABLE[frame=on] \setupTABLE[c][1][align=right] \bTABLE\bTR\bTD text \eT

Re: [NTG-context] \raggedright?

2005-03-13 Thread Willi Egger
\starttext {\raggedright{ \getbuffer[Knuth]}} \blank[2*big] {\raggedleft {\getbuffer[Ward]}} \blank[2*big] {\raggedright {\getbuffer[Zapf]}} \framedtext[align=left,width=9cm,fram=on,offset=.5cm]{ \getbuffer[Zapf]} \stoptext ___ ntg-context

[NTG-context] Change behavior for \getbuffer

2015-03-27 Thread Rik Kabel
The behavior of \getbuffer has changed with the new beta. With the following sample code, one line of text is produced with the 2015-03-25 beta. Two lines of text are produced with the more recent betas. \startbuffer A \stopbuffer \starttext A \getbuffer \stoptext -- rik

Re: [NTG-context] Which commands to use to show setups?

2018-11-25 Thread Tommaso Gordini
they have to be used > > according to needs? > > > > Are there other commands of this kind? > > \usemodule[setups] > > \starttext > > When you describe a command, e.g. > \type{\startdescription{\cmdbasicsetup[...]} ... \stopdescription}: > > \startbuffer

Re: [NTG-context] \CAP command does not work

2004-08-10 Thread Hans Hagen
Salman Khilji wrote: Why don't I see capitals in the following example? \setupbodyfont [cmr,12pt] \starttext \startbuffer[test] The quick brown fox jumps over the lazy dog. \stopbuffer \getbuffer[test] \CAP{\getbuffer[test]} \stoptext in this case you should follow Hraban's sugge

[NTG-context] Ligatures blocking -- why block unspecified ligatures?

2021-05-12 Thread denis.maier
,liga=yes] \definefontfeature[default:block][default][blockligatures=yes] % block certain ligatures globally, but not f|fl, f|fi \blockligatures [ft,fft,fj,ffj,fk] \definefontfamily[times][rm][Times New Roman] \startbuffer[test] fj\\ ffi\\ ffl\\ ff\\ fi \stopbuffer \starttext \getbuffer[test

Re: [NTG-context] Styling of included buffers or files

2020-05-17 Thread Marco Patzer
I can do something like this: > > \startcolumns > \getbuffer[Muenchen] > \stopcolumns > > Or do something with \defineparagraph > > Is it somehow possible to apply styles to all buffers that gets > included via \getbuffer by defining a special getbuffer-style? \setupbuff

Re: [NTG-context] Indent after \startline[…]

2009-12-16 Thread Andreas Harder
] >> >> \def\NoIndent{\noindentation{\red\bf Indent?}\enspace} >> >> \startbuffer >> \dorecurse{3}{\dorecurse{10}{some text, } \par } >> \stopbuffer >> >> >> \starttext \showframe >> \getbuffer \blank >> >&g

[NTG-context] Table width trouble

2006-04-22 Thread nico
topbuffer % ok \bTABLE[frame=on,width=3em] \getbuffer \eTABLE % nok, messy table \bTABLE[frame=on] \setupTABLE[c][each][width=3em] \getbuffer \eTABLE % ok, width=3em for each column \bTABLE[frame=on,width=0.1pt] \setupTABLE[c][each][width=3em] \getbuffer \eTABLE % ok \bTABLE[frame=on] \ge

Re: [NTG-context] Slides and notes

2003-11-03 Thread Hans Hagen
omment \input ward \stoppagecomment \page \stopbuffer \setuppagecomment[state=start,location=right] \getbuffer \setuppagecomment[state=start,location=bottom] \getbuffer \setuppagecomment[state=start,location=left]\getbuffer \setuppagecomment[state=start,location=top] \getbuffer \st

Re: [NTG-context] getbuffer now fails

2008-03-23 Thread Wolfgang Schuster
was in an article I submitted for NTG-MAPS > a while ago, july 2007). Now this same code gives an error on getbuffer. > What happened to getbuffer? Is it possible a \fi has disappeared in > the getbuffer code between now and last july? Is there a quick patch > because now I get stuck o

Re: [NTG-context] ASCII mode within \footnote

2019-11-04 Thread Wolfgang Schuster
e=\blank,    after=\blank] \starttext Normal comment: \startbuffer     % comment \stopbuffer \typebuffer \getbuffer Comment in \type{asciimode} environment: \startbuffer     \startasciimode     % comment     \stopasciimode \stopbuffer \typebuffer \getbuffer Comment in the argument of

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Denis Maier via ntg-context
ith one longer stanza \stoplines \stopbuffer \startbuffer[lines2] \startlines[inbetween={\blank}] this is a poem with some stanzas here is another one and another one \stoplines \stopbuffer \starttext Just the buffers. One: \getbuffer[lines1] Two: \getbuffer[lines2] Via paragraphs

Re: [NTG-context] International characters in math

2005-07-05 Thread Adam Lindsay
{b}+\dot{c}}$$ >\stopbuffer > >\starttext >\getbuffer >\switchtobodyfont[mytf] >\getbuffer >\switchtobodyfont[modern] >\getbuffer >\stoptext > >Third formula remains roman. Why so? I dunno. I might be tempted to call it a bug... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-21 Thread Hans Hagen
[A9] \starttext \startbuffer[makeup] \startmakeup[standard][align=middle] 123 \stopmakeup \stopbuffer \getbuffer[makeup] \startpostponing[3] \getbuffer[makeup] \stoppostponing \input knuth \getbuffer[makeup] \input knuth

Re: [NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?

2007-07-04 Thread Hamid Kamrani
\eTABLE \stopbuffer % vertical mode \getbuffer % horizontal mode %\dontleavehmode\getbuffer \placetable[frame=off] {whow} {\placelegend[align={right}] {\dontleavehmode\getbuffer} {NOTE: hmode or not hmode the legend is still off to the left} } \stoptext On 7/4/07, Wolfgang

[NTG-context] math problems in last beta (cont-en and cont-xp)

2009-03-23 Thread Lutz Haseloff
= mc^2 \bigotimes \sum$ $α^2 + β^2 = γ^2$ \blank[big] \stopbuffer \getbuffer[mathbuffer] \usetypescript[lucida][texnansi] \setupbodyfont[lucida] \getbuffer[mathbuffer] \usetypescript[cambria] \switchtotypeface[cambria] \getbuffer[mathbuffer] \usetypescript[palatino] \switchtotypeface[palatino

Re: [NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-14 Thread Hans Hagen
le > with placefigure > \startformula >a = b > \stopformula > This is a dummy paragraph to support a little bit of math to show the > trouble > with placefigure > This is a dummy paragraph to support a little bit of math to show the > trouble > with placefigure}

Re: [NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?

2007-07-02 Thread Wolfgang Schuster
2007/7/2, Hamid Kamrani <[EMAIL PROTECTED]>: > What's the reaosn for this behaviour? > > Try: > > \starttext > \startbuffer > \start > \setupTABLE[frame=on] > \bTABLE\bTR\bTD text \eTD\eTR\eTABLE > \stop > \stopbuffer > \framed[offset=overlay]{\get

Re: [NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-09 Thread Hans Hagen
\dorecurse{20}{\ruby[spread]{XYZ}{fooledbar} }\par \dorecurse{20}{\ruby{extremely}{wide} }\par \dorecurse{20}{\ruby{wide}{extremely} }\par stopbuffer \testfeatureonce{1}{\start \setupinterlinespace[16pt] \setupruby[location=none] \getbuffer \stop \page} \testfeatureonce

Re: [NTG-context] Change behavior for \getbuffer

2015-03-28 Thread Hans Hagen
On 3/28/2015 1:50 AM, Rik Kabel wrote: The behavior of \getbuffer has changed with the new beta. With the following sample code, one line of text is produced with the 2015-03-25 beta. Two lines of text are produced with the more recent betas. \startbuffer A \stopbuffer

[NTG-context] Styling of included buffers or files

2020-05-17 Thread Jan U. Hasecke
Hi all, I am currently writing a text where I want to include text snippets either by including files or including buffers. What is the best way to style all these included buffers? I know that I can do something like this: \startcolumns \getbuffer[Muenchen] \stopcolumns Or do something with

Re: [NTG-context] Multi-line labels in MetaPost

2009-08-22 Thread Hans Hagen
Aditya Mahajan wrote: Hans, should we add this to strc-ali? sure, i'll also do the same with getbuffer, as often using buffere is convenient in such cases: \unexpanded\def\getbuffer {\dodoubleempty\dogetbuffer} \starttext \startbuffer[a] $\startmathmatrix \NC 1 \NC 1 \NR \NC

Re: [NTG-context] (no subject)

2004-02-03 Thread Vit Zyka
> Because buffers are verbatim-like environments. > > -- > Giuseppe "Oblomov" Bilotta Hi, I expected that buffers are verbatimly stored to the file immediately in the time of processing \startbuffer...\stopbuffer thand the file is read processing \getbuffer. But it seems

Re: [NTG-context] tnum and aligncharacter=yes

2013-10-21 Thread Wolfgang Schuster
efinefontfeature[with-tnum][default][tnum=yes] >> \definefontfamily[mainface][sans][Alwyn New] >> \setupbodyfont[mainface] >> \setupTABLE[alignmentcharacter=., aligncharacter=yes] >> \starttext >> \startbuffer >> \bTABLE \bTR \bTD 111.111 \eTD \eTR \bTR \bTD 444.4

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Aditya Mahajan
nHead, ] \defineitemgroup[itemz] \setupitemgroup[itemz][each][joinedup] \startbuffer[Item] \startitemz \item Item \item Item \stopitemz \stopbuffer \starttext \section{No Whitespace} No extra whitespace before items. \getbuffer[Item] \section{Extra Whitespace} \getbuffer[Item] Unexpected

[NTG-context] new upload - hyphenation

2020-08-11 Thread Hans Hagen
test\-test\par test-test \par \stopbuffer \blank \start \nl \hsize 2mm\getbuffer \stop \blank \blank \start \nl \hsize 2mm \nohyphens \getbuffer \stop \blank \startbuffer \nohyphens NEDERLANDS {\dohyphens Nederlands} nederlands\par \stopbuffer \blank \start \nl \hsize 2mm \getbuffer

[NTG-context] subsection and special characters

2009-10-31 Thread Bernd Militzer
n t statt bekannt. \stopbuffer % \starttext % \startchapter[title={Vorbemerkungen}] \startsection[title={Test}] \getbuffer\hfill OK \stopsection \startsection[title={Das Dokument}] \startsubsection[title={Allgemein}] \getbuffer\hfill PROBLEM !? \stopsubsection \startsubsection[title={

Re: [NTG-context] Change behavior for \getbuffer

2015-03-28 Thread Alan BRASLAU
On Fri, 27 Mar 2015 20:50:52 -0400 Rik Kabel wrote: > The behavior of \getbuffer has changed with the new beta. With the > following sample code, one line of text is produced with the > 2015-03-25 beta. Two lines of text are produced with the more recent > betas. > > \s

[NTG-context] framed and footnotes

2009-10-18 Thread Wolfgang Murth
b=.62] \def\cautionbox#1{ \framed[background=color,backgroundcolor=caution,framecolor=red,align=normal,width=\textwidth]{#1}} \startbuffer \input tufte \stopbuffer \starttext \cautionbox{\getbuffer} \cautionbox{\getbuffer\footnote{And now a little footnote} \par\getbuffer} But as the text cont

[NTG-context] Size of the font (Metapost + xtable)

2019-09-23 Thread Fabrice Couvreur
pencircle scaled 2pt ; label.llft(btex \m{O} etex,origin) ; label.rt(btex \m{A} etex,0.7cm*dir 0) ; label.lft(btex \m{M} etex,0.7cm*dir 180) ; \stopMPcode \stopxcell \startxcell

Re: [NTG-context] Typing efficiency

2020-09-04 Thread Taco Hoekwater
mma wrote: > > Dear list member, > > Following up from: > https://www.mail-archive.com/ntg-context@ntg.nl/msg94719.html > > The below MWE works but how can I avoid having to type > \startmode[en] > \getbuffer[en] > \stopmode > \s

[NTG-context] math align

2006-01-15 Thread Hans Hagen
rtformula \eqalignno { %D a &= b & \formulanumber \cr %D c &= d \cr %D&= e \cr %D&= f & \formulanumber %D } \stopformula %D \stopbuffer %D %D \typebuffer \getbuffer %D %D \startbuffer %D \placeformula \startformula \startalign %D \NC a \EQ b \NR[+] %D \NC c

Re: [NTG-context] math align

2006-01-15 Thread David Arnold
rcr}}{\def\\{&\doalignNR[+][]\crcr}}% % end of compatibility mode \numberedeqalign{#2}} %D \startbuffer %D \placeformula \startformula \eqalignno { %D a &= b & \formulanumber \cr %D c &= d \cr %D&= e \cr %D&= f & \formulanumber %D } \stopformula %D \stopbuffer %D %

Re: [NTG-context] Keeping track of hyphenations

2021-03-20 Thread Hans Hagen
[hyphenation.applied.visualize] % \enabletrackers[hyphenation.applied.console] \startbuffer \samplefile{tufte} \blank {\hsize 4em \dorecurse{4}{x\discretionary{aa}{bb}{cc}x #1 }} \blank \stopbuffer \starttext \switchtobodyfont[modern] \getbuffer \switchtobodyfont[pagella

Re: [NTG-context] math symbol: blacktriangle

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

[NTG-context] expansion problem with \getbuffer again (mkiv)

2009-09-28 Thread Peter Rolf
\blankskip \fi \endgroup l.3 \stopblankhandling \dovspacing ...argument #1\else \s!default \fi ")} \leavevmode ... l.20 \setlayer[FOO]{\getbuffe

Re: [NTG-context] update

2022-08-05 Thread Hans Hagen via ntg-context
y \enabletrackers[math.dictionaries] \starttext \definemathgroupset[demoa][binary arithmic,nary relation] \definemathgroupset[demob][binary relation,nary relation] % \tracingmath2 \tracingonline2 \showmakeup[mathglue] \startbuffer[a] $ a \leq b \geq c < d > e = \naturalnumbers = ℕ$ \stopbuffer \getb

Re: [NTG-context] Which commands to use to show setups?

2018-11-25 Thread Wolfgang Schuster
Are there other commands of this kind? \usemodule[setups] \starttext When you describe a command, e.g. \type{\startdescription{\cmdbasicsetup[...]} ... \stopdescription}: \startbuffer [basicsetup] \cmdbasicsetup [startxtable] \stopbuffer \typebuffer [basicsetup]

Re: [NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Wolfgang Schuster
from it. \starttext \startbuffer \vrule width 4cm height 4cm depth 0pt\relax \stopbuffer \typebuffer \getbuffer \startbuffer \hrule width 4cm height 4cm depth 0pt\relax \stopbuffer \typebuffer \getbuffer \startbuffer \frule width 4cm height 4cm type fill\relax \stopbuffer \typebuffer

  1   2   3   4   5   6   7   8   9   10   >