[NTG-context] tooltip in a buffer (beta)

2011-01-28 Thread Peter Rolf
state=start] \definelayer[foo][width=300pt,height=300pt] \setlayerframed[foo][width=300pt,height=300pt]{foo} \starttext \startbuffer[test] \framed[offset=overlay]{\tooltip{\CONTEXT}{a \TEX\ macropackage}} \stopbuffer \setlayerframed[foo][x=0pt,y=0pt][offset=overlay]{\getbuffer[test]} % big ski

Re: [NTG-context] TeX-figures

2011-01-30 Thread Steffen Wolfrum
TEXpage[width=0.99\textheight] \placetable{}{ \bTABLE[offset=3pt,align={flushleft,high},option=stretch,style=...] ... \eTABLE} \stopTEXpage \stopbuffer \getbuffer Works great for me ... Steffen (ver: 2011.01.14 MKIV) ___ If

Re: [NTG-context] Indenting in footnotes

2011-08-15 Thread Wolfgang Schuster
\startbuffer[footnote:a] Note A \stopbuffer \startsetups[footnote:b] Note B \stopsetups %\setvariables[footnote][c={Note C}] \setvariable{footnote}{c}{Note C} \starttext A\footnote{\getbuffer[footnote:a]} B\footnote{\texsetup{footnote:b}} C\footnote{\getvariable{footnote}{c}} \stoptext You can

[NTG-context] width (height?) or 90° rotated tabulate

2011-11-02 Thread Philipp Gesang
)|p(\tabcolsize)|p(\tabcolsize)|] \dorecurse{5}{\dorecurse{4}{\NC\knuth}\NC\NR} \stoptabulate \stopbuffer \starttext \placetable[here,split,90]{none}{\getbuffer[sometable]} \stoptext ··8<· As you can see, I need some advice on

Re: [NTG-context] rotated (landscape) pages in portrait document

2010-10-01 Thread Wolfgang Schuster
C = b \NR \stopalign\stopformula \stopTEXpage \stopbuffer \starttext \framed{\rotate[rotation=90]{\getbuffer[a]}} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Problem with letter module

2012-01-19 Thread Wolfgang Schuster
Am 19.01.2012 um 15:28 schrieb Romain Diss: > I forgot another question: does the 'enclosure' key accept a \getbuffer > command? I tried and it seems that it doesn't work but I am not sure because > my input doesn't compile completely. It tested it and it do

Re: [NTG-context] buffers (append)

2013-01-14 Thread Wolfgang Schuster
ctionality cleanly as conTeXt macros. > I imagine that this might be quite trivial for our TeX programming > experts... (for once, a [useful?] suggestion that in the end will not > entail many hours of work? :) \startbuffer[a] Line 1 \stopbuffer \startbuffer[b] Line 2 \stopbuffer \startte

Re: [NTG-context] startbuffer fails with %

2010-01-06 Thread Hans Hagen
On 5-1-2010 15:27, H. van der Meer wrote: \startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext the buffer content is "all lines between startbuffer and stopbuffer" and both commands hav eto be on a line of their own with s

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Thomas A. Schmitz
Thanks for your suggestion, but I didn't get it to work. In the end, I had recourse to some low-level stuff (caution, ugly code ahead!): \defineoverlay[info][{\getbuffer[info]}] \setupbackgrounds[page][background={info}] \startbuffer[info] \vbox to \paperheight \bgroup \vskip

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-29 Thread Jan U. Hasecke
=shiftblock] \setuppagenumbering     [alternative=doublesided] \starttext \startbuffer     \dorecurse{2}{\input knuth\par}     \startuserdata[shiftblock]     \input ward     \stopuserdata     \dorecurse{2}{\input zapf\par} \stopbuffer \dorecurse{10}{\getbuffer} \stoptext I'll t

Re: [NTG-context] Buffer with syntax highlighting

2016-02-17 Thread Hans Hagen
\item Hello! \stopitemize \stopbuffer which would get the original code and its result: " Sample code: \typebuffer[demo][syntax=ConTeXt] % Specify syntax highlighter, show the code produces: \getbuffer[demo] % Result " Is it possible somehow? the 'option' key d

Re: [NTG-context] \startlines not working in footnotes

2017-01-31 Thread Rik
missed something? I am using the latest minimals. Alan Place that section into a buffer: \starttext Here is a footnote. \startbuffer[fn:abcd] \startlines a b c d \stoplines \stopbuffer \footnote{Some text: \getbuffer[fn:abcd] And some more

[NTG-context] about table operation in lua-ConTeXt

2017-02-12 Thread Jeong Dal
while keeping the table m untouched. Please tell me how to do it. Thank you. Best regards, Dalyoung \startbuffer[test] \startluacode m = {{0, 2, 4},{2, 3 , 4}, {2, 2, -6}} local tempM = {} tempM = m table.remove(tempM) context(#tempM, “, ” , #m) \stopluacode \stopbuffer \starttext getbuffer

[NTG-context] aligning a table alignment with local footnotes

2017-05-29 Thread Alan Bowen
tes \stopbuffer \startplacetable[title=Test, align=middle] {\getbuffer[Tab01]} \stopplacetable \stoptext If the footnote is commented out, the table is centered (as I want it). With the footnote, the table is flushleft. I have managed to get what I need by defining the \hsize of

[NTG-context] Problems with setfirstline

2017-10-18 Thread Rik Kabel
]  \Setupbodyfont{\setupbodyfont[#1,11pt]} \define[1] \DisplayExample{\switchtobodyfont[#1]\getbuffer} \setupfirstline [alternative=line, style=\setfontfeature{smallcaps}] \setupinitial   [location=text,n=2,color=darkred] \setuphead  [chapter

[NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Jaroslav Hajtmar
10 more than it should be). WHY? \startxtable \startxrow \startxcell Column 1\stopxcell \startxcell Column 2\stopxcell \stopxrow \setcounter[mycounter][0] % initializing at this point works fine \dorecurse{5}{\getbuffer[groups]} \stopxtable \stoptext

Re: [NTG-context] float combinations

2013-04-13 Thread Marco Patzer
ext=, stopper=] \setupitemgroup [subfigure] [a, text] \starttext \startbuffer Dutch scenery \startsubfigure \startitem A cow \stopitem \startitem A mill \stopitem \stopsubfigure \stopbuffer \startplacefigure [title=\getbuffer, list=Dutch scenery, reference=fig:scenery] \sta

Re: [NTG-context] Why does startlines not work in a function

2013-04-26 Thread Hans Hagen
e 6 longline 7 longline 8 \stoplines \stopbuffer \startbuffer [meta:personalInfo:] \startlines shortline 1 shortline 2 shortline 3 shortline 4 \stoplines \stopbuffer \starttext \getbuffer[meta:personalInfo:\getvariable{meta}{personalInfo}] \stopt

Re: [NTG-context] letter module: File ended while scanning use of \buff_gobble

2013-09-01 Thread Peter Münster
On Mon, Mar 04 2013, Wolfgang Schuster wrote: > \usemodule[letter] > > \startsetups[letter:section:content] > \getbuffer[MyLetter] > \stopsetups > > \setuplettersection[content][alternative=setups] > > \def\StartLetter > {\starttext >\grabbufferdata[

Re: [NTG-context] Question to \startlines

2014-07-28 Thread Tomas Hala
# \starttext # # \startbuffer[] # \startlines # text # text # \stoplines # \stopbuffer # # \getbuffer[] # # \stoptext # # Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wik

[NTG-context] running headers on postponed makeup

2010-12-18 Thread Philipp Gesang
kup] \startmymakeup \vfill\externalfigure[cow][width=\hsize]\vfill \stopmymakeup \stopbuffer \setuppagenumbering[alternative=doublesided,location=footer] \setupheadertexts [{\getmarking[section]}] [outer] [outer] [{\getmarking[section]}] \starttext \startpostponing[+2] \getbuffer[m

Re: [NTG-context] Indenting in footnotes

2011-08-15 Thread Cecil Westerhof
e:a] > Note A > \stopbuffer > > \startsetups[footnote:b] > Note B > \stopsetups > > %\setvariables[footnote][c={Note C}] > \setvariable{footnote}{c}{Note C} > > \starttext > > A\footnote{\getbuffer[footnote:a]} > > B\footnote{\texsetup{footnote:b}} >

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Wolfgang Schuster
stuck at the following: \def\starttransliterate {% \bgroup\dostarttransliterate% } \def\stoptransliterate {% \egroup \transliterate{% \getbuffer[trl]% }% } \def\dostarttransliterate{% \dostartbuffer[trl][starttransliterate][stoptransliterate]% } and the buffer content

Re: [NTG-context] Where to put a module?

2010-03-07 Thread Wolfgang Schuster
stuck at the following: \def\starttransliterate {% \bgroup\dostarttransliterate% } \def\stoptransliterate {% \egroup \transliterate{% \getbuffer[trl]% }% } \def\dostarttransliterate{% \dostartbuffer[trl][starttransliterate][stoptransliterate]% } and the buffer content

[NTG-context] How to align a STEPchart?

2010-03-11 Thread Otared Kavian
{$c=2a+3b$} \text {with $a=5$} \cell {$c=10+3b$} \text {and $b=6$} \cell {$c=10+18$} \text {we get} \cell {$c=28$} \stopSTEPtable \stopbuffer How can one center this STEPchart? \getbuffer[test-chart] \stoptext I should add that \startalignment[middle], or \placefigure

[NTG-context] How can one center or align a float?

2010-04-08 Thread Otared Kavian
$} \cell {$c=10+3b$} \text {and $b=6$} \cell {$c=10+18$} \text {we get} \cell {$c=28$} \stopSTEPtable \stopbuffer How can one center the following \type{\STEPchart}? \getbuffer[test-chart] \stoptext I should add that \startalignment[middle], or \placefigure do

Re: [NTG-context] Help on \dostartbuffer needed

2010-04-27 Thread Antoine Cailliau
Mmm... \getbuffer[LST] obviously Sorry for the noise On 27 April 2010 15:04, Antoine Cailliau wrote: > Hi, > > I'm trying to deal with \dostartbuffer. > > I found an old message on the ML about \dostartbuffer > http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.h

[NTG-context] XY arranging

2010-07-01 Thread Henning Hraban Ramm
is is page \recurselevel} \vfill \stopbuffer \setupheadertexts[\CONTEXT] \starttext \dorecurse{16}{\getbuffer[Fakepage]\page} \stoptext Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I&#x

Re: [NTG-context] hyphenated url

2010-10-27 Thread Taco Hoekwater
%20on%20tradepolicy.pdf} \stopbuffer \setupinteraction [state=start] \starttext test\footnote{test \getbuffer[comurl] text.} text. \stoptext ___ If your question is of interest to others as well, please add an ent

Re: [NTG-context] beta

2012-01-02 Thread Andreas Harder
1 for tex.getcount() >>> ! TeX capacity exceeded, sorry [input stack size=1]. >> >> fixed > > • \processxtablebuffer[…] > > \starttext > \startbuffer[table] > \startxtable > \startxrow \startxcell test \stopxcell \stopxrow > \stopxtable > \stop

Re: [NTG-context] Buffers vs. \def

2012-04-18 Thread Wolfgang Schuster
t; \startbuffer[BufB] > This is buffer B. > \stopbuffer > > \starttext > \BufA > \getbuffer[BufB] > > \ifx\BufC\undefined No buffer C.\else\BufC\fi \ifdefined\BufC … \else … \fi Sometimes \setvariables is a better method to store texts in a document. > \stoptext >

[NTG-context] imposition 2UP = empty pages

2012-04-20 Thread Henning Hraban Ramm
\midaligned{This is page \recurselevel} \vfill \stopbuffer \setupheadertexts[\CONTEXT] \starttext \dorecurse{16}{\getbuffer[Fakepage]\page} \stoptext Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an as

Re: [NTG-context] A problem with modes

2012-06-26 Thread Wolfgang Schuster
7; mode. > \stopamode > > \stoptext > > Can I use \startmode with \definestartstop? No you can’t. > Or is there a better way to do something like this? It depends on what you want to do. You can create a buffer command: \def\startamode{\grabbufferdata[amode][startamode][s

Re: [NTG-context] Two questions about buffers

2012-06-30 Thread Wolfgang Schuster
gt; suggested to me a few days ago). However, there's a problem with > \baselineskip; here is an example: > > \starttext > > \def\startMyEnv{\dostartbuffer[MyEnv][startMyEnv][stopMyEnv]} > \def\stopMyEnv{{\tfxx\getbuffer[MyEnv]\par}} > > \input tufte > > \startMyEnv &g

Re: [NTG-context] Columns within a layer

2009-12-25 Thread Wolfgang Schuster
ht=\paperheight] > > \startbuffer[test] > \startcolumns[n=2] > \input zapf > \stopcolumns > \stopbuffer > > > > \starttext > > > \startstandardmakeup > > \setlayerframed >[text] >[x=1cm, > y=3cm] >[width=12cm, >

[NTG-context] \start-\stop footnotes

2007-02-16 Thread Idris Samawi Hamid
\stopbuffer {\typebuffer[footnote] \getbuffer[footnote]} \page But this does nothing. [before=\footnote{, after=}] does not work either (and is not equivalent to (b/e}group). Please advise! Best Idris -- Professor Idris Samawi Hamid Department of Philosophy

Re: [NTG-context] numbered subitems

2007-09-30 Thread Aditya Mahajan
itemize[n,stopper={},width=1em] > \item item 2.1 > \item item 2.2 > \item item 2.3 > \stopitemize > \item item 3 > \startitemize[n,stopper={},width=1em] > \item item 3.1 > \item item 3.2 > \stopitemize > \stopbuffer > % > \setupitemize[n,serried,pack

[NTG-context] Re: referencing line numbers of a typing environment

2003-04-06 Thread Guy Worthington
est}/ETEX test test test test/BTEX \bf(nota bene)/ETEX test test test test /BTEX \bf(nota bene)/ETEX test \stoptyping \stopbuffer \starttext \bgroup\setuptyping[option=commands]\getbuffer\egroup \stoptext - If you can't either, then either you or I are going to

[NTG-context] suppressing hyphenation and setlayerframed

2004-07-27 Thread Eros Albertazzi
,nothyphenated,width} that was suggested in the reply here is the piece I work with: \setlayerframed[page][preset=righttop, column=1,line=30][width=\dimexpr((\paperwidth-2cm)/2),align=]{\getbuffer[b]} with the buffer: \startfiguretext [left][]{} {\externalfigure[t1][width=.2\textwidth

Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-12 Thread Nikolai Weibull
f]} > {\input zapf \relax}} > > \placefigure > {What a caption} > {\placelegend[location=right] > {\externalfigure[cow.pdf]} > {\input zapf \relax}} > using buffers makes sense here: > \startbuffer > lots of text > \stopbuffer > > \placefigu

[NTG-context] Re: weekend update

2024-06-23 Thread Gerion Entrup
gt; \definestacking[one] > > \definestacking[two] > > > > \startstackingsteps[one,two,{one,two}] > > \startTEXpage[offset=1ts] > > \getbuffer > > \stopTEXpage > > \stopstackingsteps > > I have crude macros which provide this features (save stuff

Re: [NTG-context] Different printing positions on cards

2010-07-23 Thread Jaroslav Hajtmar
] \leftaligned{\recurselevel\ - Front}% \stopbuffer \startbuffer[Back] \leftaligned{\recurselevel\ - Back}% \stopbuffer \def\printactionpageone{% \setupbackgrounds [page][background={pozadifront}]% \getbuffer[Front]\page% }% \def\printactionpagetwo{% \setupbackgrounds [page][background={pozadiback

Re: [NTG-context] Problem with special first page of chapter setup

2005-10-31 Thread Peter Rolf
tups[chapter:after]}] > > \startsetups chapter:before > > \page[left] > > \noheaderandfooterlines > > \startalignment[left,nothyphenated] > \startnarrower[4*left] > \noindent \em \getbuffer [chapter:quote] > \stopnarrower > \stopalig

Re: [NTG-context] Figure number off one time

2006-08-01 Thread David Arnold
On Aug 1, 2006, at 1:01 AM, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Mon, 31 Jul 2006, David Arnold wrote: >> >> >>> All, >>> >>> I would like to use: >>> >>> \placefigure >>> [right][fig:pythagoras] >>>

[NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
{\getbuffer[combined]} \stoplinecorrection %\startlinecorrection[blank] %\midaligned{\processMPbuffer[two]} %\stoplinecorrection \stoptext I am getting this error: ! Arithmetic overflow. \@@raggedskipb \setraggedness ...e \@@raggedskipa \@@raggedskipb

Re: [NTG-context] z0---z1---z2---z3---cycle strange effect

2007-06-14 Thread Mojca Miklavec
tupbodyfont[palatino,10pt] >\definefont[RotFont][RegularBold] > \stopMPenvironment > \stopbuffer > > \definefont[RotFont][RegularBold] > > \getbuffer[mpenv] > > \setupcolors[state=start] > > \starttext > > \startuseMPgraphic{axis} >tickstep := 1cm ; tickle

Re: [NTG-context] Float control

2023-03-02 Thread Denis Maier via ntg-context
riggered some > > additional features). > > A few (important) observations on floats: > > \startplacefloat > \stopplacefloat > triggers a paragraph break. > > I therefore locate them always at the beginning or at the end of a paragraph > of text. >

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Hans Hagen
] \getbuffer\\ \amainface\getbuffer\\ \smainface\getbuffer \stopTEXpage \stoptext Not embedding all glyphs for the fallback font (failing to type "force=yes") could lead to weird results. Not to mention when a font isn’t embedded at all. there are severwl tr

Re: [NTG-context] file to buffer

2021-08-17 Thread Wolfgang Schuster via ntg-context
} \stopnointerference \typebuffer[knuth] \getbuffer[knuth] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] issue with \placenotes[linenote]

2022-01-04 Thread Hans Hagen via ntg-context
\stopbuffer \getbuffer \placenotes[linenote] \stoptext I cannot compile it. ConTeXt complains about "\placenotes[linenote]" being undefined. Is there something I’m missing or have I hit a bug? Many thanks for your help, can you check with \unprotect \def\strc_linenotes

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-29 Thread Bruce Horrocks
Your example seems to work: I see the \getbuffer[MyBuffer] command typed (not executed) with colour coding on the keyword and line numbered; then the block text fakewords from the visual module; then the \fakewords macro shown (again not executed) as per the default for typing. What were you

[NTG-context] issue with xtable in latest beta

2015-05-13 Thread Pablo Rodriguez
\textwidth] a \stopxcell \startxcell b \stopxcell \startxcell c \stopxcell \startxcell[width=.2\textwidth] d \stopxcell \stopxrow \stopxtable This is the second paragraph. \getbuffer[somextable] This is the third paragraph. \stoptext

Re: [NTG-context] Reprocessing part of input

2016-02-02 Thread Hans Hagen
... \stopmyinput \stopbuffer but now not executed at once, but stored in and executable from a buffer with \getbuffer[mystoragebuffer]. \setbuffer[foo]bar\endbuffer But of course there might be a better way to execute the same code more than once within one run of TeX. for that to answer

Re: [NTG-context] Parse oddity with modes, compilation halts

2018-01-02 Thread Hans Hagen
] \usemodule[t-vim] \definevimtyping[TEX][syntax=context] \inlineTEX{%} \stopmode ‽ \stoptext Is there any work-around to prevent this, other than avoiding it completely? % \enablemode[test] \starttext \startbuffer[test] \type{%} \stopbuffer \startmode[test] \getbuffer

Re: [NTG-context] Problems with setups module

2018-11-26 Thread Wolfgang Schuster
module? Thanks in advance Tommy \usemodule [setups] \starttext %\startbuffer %\framed [width=3cm,height=1cm] {testo} %\stopbuffer % %\typebuffer %\getbuffer \cmdfullsetup [setuppapersize] \stoptext

[NTG-context] Question and Answer Iteration

2019-03-12 Thread Jeroen
wer] [text=Answer, headcommand=\AnswerTextCommand] \defineblock[answer] \startbuffer % \startquestion \input knuth \stopquestion % \beginanswer \startanswer \input knuth \stopanswer \endanswer % \stopbuffer \starttext \dorecurse{10

[NTG-context] Loading Charis SIL

2013-05-07 Thread Willi Egger
er[A] \input knuth \blank[2*line] \stopbuffer \starttext \starttitle[title=Charis SIL test] \getbuffer[A] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wik

Re: [NTG-context] buffers.prepend()

2013-09-03 Thread Hans Hagen
On 9/1/2013 2:30 PM, Peter Münster wrote: On Sun, Sep 01 2013, Wolfgang Schuster wrote: \startrawsetups[letter:section:content] Text before the content of the letter. \getbuffer[MyLetter] Text after the content of the letter. \stoprawsetups Yes, thanks! (I forgot about this part, because

Re: [NTG-context] Argument of \startInvoice has an extra }.

2013-11-09 Thread Peter Münster
nvoice[#1]{\egroup\getparameters[PRM][#1]% \grabbufferdata[myLetter][beginInvoice][endInvoice]} \def\endInvoice{\getbuffer[myLetter]} \def\startInvoice#1\stopInvoice{#1} \starttext \beginInvoice[bla=blub, blub=bla] \startInvoice test \PRMblub \stopInvoice \endInvoice \beginInvoice \startInvoice

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Pierre-François Bonnefoi
Hello Hans, thank you for contributing to solve my problem. I've tried your proposition : how can I get the content of the buffer afterward ? I've tried \getbuffer[Slide] with no success on MKIV beta that I've just updated. Does a buffer work only for verbatim content ? best

[NTG-context] What happened to \reference

2008-07-29 Thread Gerben Wierda
I have started (after a hiatus) to compile my project again using an updated ConTeXt ConTeXt ver: 2008.03.03 00:34 MKII fmt: 2008.3.4 int: english/english and something that used to work has stopped working: \reference[logic:implicationprogram] {\getbuffer[logic:implicationprogram

[NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Thomas A. Schmitz
ntime, I have: \startTEXbuffer[mybuffer] \color[red]{Hello World!} \stopTEXbuffer in the xml, I have mybuffer and in the setups \input MyInputs \startxmlsetups xml:gettexbuffer \getTEXbuffer[\xmlflush{#1}] \stopxmlsetups I tried with simple \startbuffer[mybuffer] ... \getbuffer[mybuffer]

[NTG-context] Columnsets: bug in current beta?

2011-11-26 Thread Peter Park Nelson
] \dorecurse{5}{\input tufte\par} \startbuffer \placefigure[btlr]{A placeholder figure.}{\externalfigure[widefigure][width=\Two]} \stopbuffer \dorecurse{5}{\input tufte\par} \getbuffer \stopcolumnset \stoptext Using the current beta, the figure only cleanly spans one column -- vertical space for the

Re: [NTG-context] SOLVED Re: \bTABLE bug, please help !

2020-03-10 Thread Hans Hagen
On 3/10/2020 3:07 PM, Taco Hoekwater wrote: Hi, Never mind, I got it (starting at \loggingall output for a while). This patch to my input fixes it: \unprotect \setupfootertexts[{\tabl_ntb_next_level \getbuffer[mytable] \tabl_ntb_prev_level}] \protect you beat me on this ... (still

[NTG-context] very long hanging caption

2021-05-02 Thread Jano Kula
align={nothyphenated,flushleft}, distance=4mm, location=righthanging] \startbuffer[caption] \dorecurse{60}{very long caption } \stopbuffer \starttext \startplacefigure[title={\getbuffer[caption]}] \externalfigure[cow][height=40mm,width=80mm] \stopplacefigure \stoptext Thank you,

Re: [NTG-context] help! formulas set smaller?

2010-02-04 Thread Steffen Wolfrum
buffer %D \startformula[9pt] x = 1 \stopformula %D \startformula[7pt] x = 1 \stopformula %D \stopbuffer %D %D \typebuffer \getbuffer So, setting a smaller formula can also be done by \startformula[9pt] ?! Steffen ___

Re: [NTG-context] Real help on \dostartbuffer needed

2010-04-28 Thread Antoine Cailliau
> \definebuffer[Entity,before=\startENUM,after=\stopENUM] > > > \definebuffer[Entity][before=\startENUM,after=\stopENUM] > > \startEntity > ... > \stopEntity > > \getEntity > > or > > \def\startEntity >{\dostartbuffer[Entity][startEntity][

[NTG-context] metafun

2010-10-23 Thread Herbert Voss
\hpos {X-2} {circled} and connected by an \hpos {X-3} {arrow}. As with most things in \CONTEXT, marking these words is separated from declaring what to do with those words. This paragraph is keyed in as: \stopbuffer \getbuffer[a,b]

[NTG-context] Lettermodule: error message

2010-10-24 Thread Willi Egger
ext 27 \startletter 28 Nach unserem Treffen in Brejlov kam schon Vieles in Bewegung. 29 \blank 30 Die offizielle Einladung kommt später. 31 >> \stopletter 32 \stoptext \processlettervalues ...ox {\trialtypesettingtrue \

Re: [NTG-context] Lettermodule: error message

2010-10-24 Thread Hans Hagen
ttingtrue \getbuffer [lettercontent]... should be \settrialtypesetting in mkiv; some of the state macros have been generalized to that they can be consulted at the lua end as we

Re: [NTG-context] Tikz figures not centred

2010-11-11 Thread Vedran Miletić
> > which I use later when I place the figure > > \placefigure{My picture}{\getbuffer[mypic]} > > The problem is that the figure is not centred: it is always aligned with > the left side of the document. I guess this has something to do with > Context not being able to get t

Re: [NTG-context] Placing boxes anywhere on the page

2010-11-16 Thread Wolfgang Schuster
starttextbox[#1]% {\def\stoptextbox{\setlayerframed[textbox][#1]{\getbuffer[textbox]}}% \startbuffer[textbox][starttextbox][stoptextbox]} \starttext \starttextbox[x=2cm,y=4cm,width=8cm,frame=off] some text ... more text ... \stoptextbox \starttextbox[x=6cm,y=12cm,width=8cm,frame=off] another

Re: [NTG-context] Can't use buffers inside a block

2010-11-27 Thread Hans Hagen
\getbuffer \dostopnormalblock \egroup \par ! File ended while scanning use of \dododowithbuffer. When I define the buffer outside the block, it works. it's somewhat tricky as we need to feed back into tex and do so under some catcode assumptions; i now use a different approach can you

Re: [NTG-context] Problem with letter module

2012-01-19 Thread Romain Diss
odule I tried to get rid of a few things which > lead to problems or which didn’t fit into context normal syntax. The > \encl, \cc and \ps had been such a thing and all three value can now only > bet set as keyval argument, e.g. \startletter[enclosure=…] I forgot another question: does the &#

[NTG-context] Buffers vs. \def

2012-04-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, a question - I'm just curious: What is advantage (or maybe intension) of using buffers over \def? Compare: \def\BufA{This is buffer A.} \startbuffer[BufB] This is buffer B. \stopbuffer \starttext \BufA \getbuffer[BufB] \ifx\BufC\undefined No buffer C.\else\Bu

Re: [NTG-context] A problem with modes

2012-06-26 Thread Marcin Borkowski
of this... > > Or is there a better way to do something like this? > > It depends on what you want to do. You can create a buffer command: > > \def\startamode{\grabbufferdata[amode][startamode][stopamode]} > %\def\stopamode {\getbuffer[amode]} > > \starttext >

Re: [NTG-context] Two questions about buffers

2012-06-30 Thread Hans Hagen
x27;s a problem with \baselineskip; here is an example: \starttext \def\startMyEnv{\dostartbuffer[MyEnv][startMyEnv][stopMyEnv]} \def\stopMyEnv{{\tfxx\getbuffer[MyEnv]\par}} \input tufte \startMyEnv \input knuth \stopMyEnv \input tufte \stoptext Am I doing something wrong here? \tfxx

Re: [NTG-context] using two columns on a poster (\setlayerframed)

2012-10-23 Thread Aditya Mahajan
nput tufte \stopcolumns \stopbuffer \definelayer[paper][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=paper] \setlayerframed[paper] [preset=lefttop,hoffset=.05\paperwidth,voffset=5cm] [width=0.9\paperwidth,align=normal,offset=5mm] {\getbuffer[abstract]} I would be gr

Re: [NTG-context] Quick slide templates

2013-02-20 Thread Marco Patzer
lackrule[width=4cm, height=5mm, color=green] \stopbuffer \dorecurse{10}{%% \blackrule[width=\textwidth] \advance\cnt1cm \hskip\cnt \getbuffer[greenbar]\page} \stoptext Marco signature.asc Description: Digital signature _

Re: [NTG-context] Quick slide templates

2013-02-20 Thread Kumar Appaiah
blackrule[width=\myparameter, height=5mm, color=green] > \stopbuffer > > > \starttext > > \processmyparameters[1cm,2cm,3.5cm,4.5cm,8cm,11cm]{ > \getbuffer[greenbar]\page} > > \stoptext Thank you for this solution.

Re: [NTG-context] letter module: File ended while scanning use of \buff_gobble

2013-03-04 Thread Wolfgang Schuster
r your environment and feed the content of this buffer to the letter module. \usemodule[letter] \startsetups[letter:section:content] \getbuffer[MyLetter] \stopsetups \setuplettersection[content][alternative=setups] \def\StartLetter {\starttext \grabbufferdata[MyLetter][StartLetter][Stop

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
block. > > Please try this: > > \bgroup > > \catcode`\^^M=\active > > \gdef\StartLong{\begingroup\obeylines\let^^M^^J\doStartLong} > > \egroup > > \def\doStartLong#1\StopLong{% > \setbuffer[x]#1\endbuffer > \endgroup > \getbuffer[x] > }

Re: [NTG-context] math

2006-01-18 Thread Aditya Mahajan
le for the source. I changed distance=0pt to distance=5cm and see no change. \startbuffer \placeformula \startformula \startalign[n=5,distance=5cm] x &= yy &= xx &= yy &= zz \\ a &= b &= p &= q &= w \\ \stopalign \stopformula \stopbuffer \typebuffer \ge

Re: [NTG-context] math

2006-01-18 Thread Hans Hagen
nsider the following example for the source. I changed distance=0pt to distance=5cm and see no change. \startbuffer \placeformula \startformula \startalign[n=5,distance=5cm] x &= yy &= xx &= yy &= zz \\ a &= b &= p &= q &= w \\ \stopalign \stopformula \stop

Re: [NTG-context] audio files in pdf

2006-02-10 Thread luigi scarso
Steve Hawkins Division Bell Pink Floyd \startTEXpage \button [width=fit,height=fit,align=middle,offset=1em, frame=off,foregroundcolor=middleblue, background=color,backgroundcolor=middleyellow] {\nohyphens \getbuffer[text]} [JS(SpeakToMe{{\directsetup{text}}}]

Re: [NTG-context] Follow up: "Quote before chapter?"

2006-02-17 Thread Hans Hagen
n odd (right side) page but when there is a quote that comes with the� >> chapter I want to have that appear on the opposing side. >> >> G \def\MyChapter[#1]% {\doifsomething{#1} {\page[left] \setupheader[state=empty] \startnarrower[3*left,4*right] \get

Re: [NTG-context] textbackground exceeds its scope

2006-04-23 Thread Hans Hagen
mple \nobreak \typebuffer \stopexample \getbuffer} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038

Re: [NTG-context] textbackground exceeds its scope

2006-04-23 Thread Aditya Mahajan
h latest stable release. > there is a dangling line of the background due to a break > > \def\ShowExample > {\startexample > \nobreak > \typebuffer > \stopexample > \getbuffer} Thank you. This takes care of it. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan

Re: [NTG-context] bug in beta: extra \else

2006-10-18 Thread Vit Zyka
file. >>>> >>>> 1. [snip] >>>> 2. Accented characters inside \typebuffer are type set as >>>> \dochar {225} >>> This seems to be a bug. In utf-8 encoding, if an accented character is >>> the first character of a buffer, it gets type

Re: [NTG-context] framed getbuffer

2007-04-11 Thread Aditya Mahajan
On Thu, 22 Mar 2007, Taco Hoekwater wrote: > Wolfgang Werners-Lucchini wrote: >> Hallo! >> >> The following simple example doesn't compile >> (ConTeXt ver. 2007.01.02 and Live ConTeXt). >> >> What am I doing wrong? > > Diagnostics: > > The problem is not caused by the \framed, but by the (lack of)

Re: [NTG-context] framed getbuffer

2007-04-11 Thread luigi scarso
> This is a serious bug. Even a simple example fails with the same > error. > > \starttext > \framed{ > \startformula > x^2 = x\cdot x > \stopformula} > \stoptext > > A quick workaround is to use frametext instead of framed, but I am > pretty sure that the above example used to work at some stage.

RE: [NTG-context] footnote placement

2005-03-29 Thread Idris Samawi Hamid
>= Original Message From Hans Hagen <[EMAIL PROTECTED]> = > \starttext >> \startbuffer[tufte] >> \input tufte >> \stopbuffer >> \startbuffer[knuth] >> \input knuth >> \stopbuffer >> \dorecurse{100}{test \footnote{\typebuffer[knuth]} \en

[NTG-context] Re: underbrace label across two lines

2023-12-20 Thread Dean Hung
avail. > > > > Any help would be greatly appreciated! > > > > Dean > > Hi, > > Hans will add some annotation mechanism (already on my computer to > test a bit). In your case you can use the first example here: > > \startbuffer > \unframed > [al

[NTG-context] tagged elements in tables (TABLE, tabulate, xtable)

2018-09-29 Thread Rik Kabel
offer the flexibility that tagged elements provide. Can anyone suggest another alternative? Example follows. As supplied, no tagged elements are generated and all is well. Uncomment either the start/stop element lines in the table to get one tagged element in the output, or the getbuffer line to

[NTG-context] issue with optical bounds (OpenType)

2018-12-07 Thread Pablo Rodriguez
d}\fi\page Ω\\ Ὧ\\ Α\\Ἀ\\Α\\Ἁ\\Α\\Ἂ\\Α\\Ἃ\\Α\\Ἄ\\Α\\Ἅ\\Α\\Ἆ\\Α\\Ἇ\\ Ἠ\\Η\\Ἡ\\Η\\Ἢ\\Η\\Ἣ\\Η\\Ἤ\\Η\\Ἥ\\Η\\Ἦ\\Η\\Ἧ\\Η \stopbuffer \starttext \getbuffer \setupalign[nothanging] \feature[+][leftbounds] \getbuffer \stoptext OpenType optical boun

Re: [NTG-context] \resetsetups

2014-08-14 Thread Rik Kabel
en Wierde: \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \p

Re: [NTG-context] Unexpected symbol with Enumeration

2019-10-17 Thread Otared Kavian
G},\quad \cal{H},\quad \cal{K},\quad \cal{L},\quad \cal{M},\quad \cal{P},\quad \cal{S},\quad \cal{T}\stopformula\hairline\stopbuffer\switchtobodyfont[lucidaot]{\bf Lucida OT: }\getbuffer[test]\switchtobodyfont[myfont]{\bf Lucida OT with Asana Math: }\getbuffer[test]\stoptext test-scriptfonts-mkiv.

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Geert Dobbels
tartxcell \cJ \stopxcell} >> \doifdefined{cK}{\startxcell [left] \cK \stopxcell} >> \stopxrow >> \stopbuffer >> >> \setupxtable[offset=0cm, >> frame=off, >> bottomframe=on, >> framecolor=gray, >> option=stretch, >> align=middle] >> >>

Re: [NTG-context] \bar missing in euler

2006-09-12 Thread Aditya Mahajan
\starttext \startbuffer \startmathcollection[euler:texnansi] \definemathsymbol [breve] [accent] [tf] ["15] \stopmathcollection \startmathcollection[euler:ec] \definemathsymbol [breve] [accent] [tf] ["08] \stopmathcollection $\breve e$ \stopbuffer Testing for code in \filename{cont-new.

[NTG-context] Re: How can I force ConTeXt to display my footnote on the same page as my foot note marker?

2024-07-29 Thread Pablo Rodriguez via ntg-context
first one with footnote texts only (as buffers): \startbuffer[fn-1] \input knuth \stopbuffer \startbuffer[fn-2] \input zapf \stopbuffer Your sample file may read: \setuppapersize[A6] \input footnotes.tex \protected\def\bufffn[#1]% {\footnote{\getbuffer[#1]}} \star

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