[NTG-context] Buglet in figure placement

2009-08-14 Thread Willi Egger
{\getbuffer[ward]} % \strut\quotation{\getbuffer[ward]} \stoptext Running LuaTeX 0.42 and Context 14-08-2009 Kind regards Willi ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Buglet in figure placement

2009-08-14 Thread Hans Hagen
placed next to the figure. Would you be so kind to have a look into this matter? example: \startbuffer[ward] \input ward \stopbuffer \setuplayout[location=middle] \starttext \placefigure [left,none] [] {} {\externalfigure[hacker][height=.3\textheight]} \quotation{\getbuffer

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Andreas Harder
/sometxt.pdf Thank you for the tip, I tried it, but sometext seems deprecated in mkiv ([do we need TeXtexts in MkIV]). I've different buffers named 1–12 and would like to pipe them to Metapost. I thought I could use a textext(\getbuffer[i])-construct, it failed. So I tried it with \setMPtext

Re: [NTG-context] loop textext and \MPstring{…}

2009-08-12 Thread Aditya Mahajan
a textext(\getbuffer[i])-construct, it failed. So I tried it with \setMPtext{}{} … What is the approach to achieve this? Well, if nothing else works, you can always cheat. \startluacode userdata = userdata or {} userdata.labels = { [1] = ABC , [2] = DEF , [3] = GHI } function

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Andreas Harder
to Metapost. I thought I could use a textext(\getbuffer[i])-construct, it failed. So I tried it with \setMPtext{}{} … What is the approach to achieve this? Well, if nothing else works, you can always cheat. \startluacode userdata = userdata or {} userdata.labels = { [1] = ABC , [2

Re: [NTG-context] loop textext and \MPstring{…}

2009-08-12 Thread Mojca Miklavec
a textext(\getbuffer[i])-construct, it failed. So I tried it with \setMPtext{}{} … (There should be at least quotation marks: textext(\getbuffer[i]), but I don't clain that it would work then.) Maybe Hans should answer why \setMPtext fails. Mojca

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Hans Hagen
thought I could use a textext(\getbuffer[i])-construct, it failed. So I tried it with \setMPtext{}{} … What is the approach to achieve this? Well, if nothing else works, you can always cheat. \startluacode userdata = userdata or {} userdata.labels = { [1] = ABC , [2] = DEF , [3

Re: [NTG-context] missing space between text and a formula

2009-08-11 Thread Aditya Mahajan
\stopformula \stopbuffer \setupformulas[spacebefore=0pt] \getbuffer \setupformulas[spacebefore=big] \setupindenting [yes, next, big] \getbuffer \setupformulas[spacebefore=0pt] \getbuffer \stoptext % MKII is getting it completely wrong, especially in the last case: the formula

Re: [NTG-context] t-vim: inline typing?

2009-07-20 Thread Aditya Mahajan
\definevimtyping [RUBY] [syntax=ruby] %D %D \startRUBY %D #! /usr/bin/ruby %D # This is my first ruby program %D puts Hello World %D \stopRUBY %D \stopbuffer %D {\getbuffer} %D This was typed as \typebuffer %D %D The typing can be setup using \type{\setupvimtyping}. %D %D \showsetup{setupvimtyping} %D %D

Re: [NTG-context] Duotones with spot colors

2009-07-09 Thread Piotr Kopszak
[demo-b][color=blue-100]} {spot color} {\externalfigure[demo-b][color=yellow-100]} {spot color} \stopcombination \stopbaselinecorrection \stopbuffer \getbuffer \typebuffer \stoptext The images in the column indexed duotone do not show up. Piotr 2009/7/7 Hans Hagen pra...@wxs.nl: Piotr

Re: [NTG-context] Simple Newbie Question.

2009-07-08 Thread Willi Egger
] \framedtext[align=right,frame=on, width= \textwidth,offset=3pt,framecolor=red]{\tfxx Datasheet:} \stopbuffer \setupfootertexts[{\getbuffer[Footer]}] %\showframe \starttext Here is a Datasheet \stoptext Kind regards Willi On Jul 8, 2009, at 2:57 AM, Stirling Westrup wrote: I'm hoping the answer

[NTG-context] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi, I'm trying to use a buffer together with a custom typing style using the latest beta with MkIV, but so far I've only managed to do this using \startFOO and \stopFOO inside the buffer: \definetyping[FOO][option=FOO] \startbuffer[bar] \startFOO baz \stopFOO \stopbuffer \getbuffer[bar

Re: [NTG-context] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi all, since \startFOO \getbuffer[bar] \stopFOO gives me compile errors. Actually, that turned out to be my own typo. However, this doesn't give me what I want, but just a verbatim \getbuffer[bar]... Gr. Matthijs signature.asc Description: Digital signature

[NTG-context] Crop marks and \setuplayout[nx,ny]

2009-06-07 Thread Nicolas Girard
} \stopbuffer \setlayer[blocks][voffset=1.5cm,hoffset=2mm]{\getbuffer} \startbuffer \vbox{% Name and\hfill\break Address }% \stopbuffer \setlayer[blocks][preset=leftbottom,offset=1.5mm,hoffset=0.5mm]{\getbuffer} \setlayer[blocks][preset=rightbottom,offset=1.5mm]{www.samtfeld.de} \stopstandardmakeup

Re: [NTG-context] The ultimate (?) float problem

2009-05-14 Thread Piotr Kopszak
]{\externalfigure[cow][width=\textwidth,height=40mm]} \setlayerframed[figure][frame=off,x=25mm,y=90mm,align=normal,width=\textwidth]{\getbuffer[zapf]} \setlayerframed[figure][frame=off,x=80mm,y=150mm]{\externalfigure[cow][width=30mm,height=100mm]} \setlayerframed[figure][frame=off,x=25mm,y=150mm,align

[NTG-context] \setuparranging in mkiv

2009-04-17 Thread Otared Kavian
\midaligned{Is this a bug in mkiv?} \vfill \midaligned{This is page \recurselevel} \vfill \stopbuffer \showframe \dorecurse{16}{\getbuffer[TestPage]\page} \stoptext Using mkiv (ConTeXt ver: 2009.04.16 22:27 MKIV fmt: 2009.4.17 int: english/english) I get

Re: [NTG-context] \setuparranging in mkiv

2009-04-17 Thread Hans Hagen
\blank \midaligned{Is this a bug in mkiv?} \vfill \midaligned{This is page \recurselevel} \vfill \stopbuffer \showframe \dorecurse{16}{\getbuffer[TestPage]\page} \stoptext Using mkiv (ConTeXt ver: 2009.04.16 22:27 MKIV fmt: 2009.4.17 int: english/english) I get an error

[NTG-context] Weird interline spacing

2009-04-09 Thread Khaled Hosny
الأكثر عرضة لمثل هذه التهديدات، إلا أن كل نظم التشغيل يمكن تأمينها بأساليب مشابهة. \stopbuffer \starttext \textdir TRT\pardir TRT \getbuffer[testtext] \stoptext signature.asc Description: Digital signature

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-06 Thread Wei-Wei Guo
and Application: An Oriental View \stopunderline \stopbuffer \starttabulate[|l|l|] \NC 中文论文题目: \NC \getbuffer[chinesetitle] \NC \NR \NC 英文论文题目: \NC \getbuffer[englishtitle] \NC \NR \stoptabulate Of cause, the codes do not work. Is there any alternative way? Best wishes, Wei-Wei

Re: [NTG-context] base- vs. node-kerning

2009-04-04 Thread Hans Hagen
to 1cm {\vbox{\MinBase\darkred{\getbuffer[Kerning] {\hbox to 1cm {\vbox{\MinNode{\getbuffer[Kerning] \stopoverlay \stopTEXpage \stoptext ok, fixed in next beta (if your're in a hurry i can send you a patch); bug was introduced when finishing rough ends of right-left

Re: [NTG-context] base- vs. node-kerning

2009-04-04 Thread Andreas Harder
\startTEXpage \startoverlay {\hbox to 1cm {\vbox{\MinBase\darkred{\getbuffer[Kerning] {\hbox to 1cm {\vbox{\MinNode{\getbuffer[Kerning] \stopoverlay \stopTEXpage \stoptext ok, fixed in next beta (if your're in a hurry i can send you a patch); bug was introduced when finishing

[NTG-context] base- vs. node-kerning

2009-04-03 Thread Andreas Harder
{\MinBase\darkred{\getbuffer[Kerning] {\hbox to 1cm {\vbox{\MinNode{\getbuffer[Kerning] \stopoverlay \stopTEXpage \stoptext Greetings Andreas ___ If your question is of interest to others as well

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

2009-03-23 Thread Wolfgang Schuster
\dimen2=20pt \dimen4=15pt \dimen6=30pt \stopbuffer \typebuffer \getbuffer Because we can use \ETEX\ functions with \CONTEXT\ let's try to use them, the following example should work: \startbuffer \ifdim\dimexpr\dimen0/\dimen2\relax\dimexpr\dimen4/\dimen6\relax Second number is bigger. \else

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

2009-03-23 Thread Aditya Mahajan
[mathbuffer] \currentfontname $a^2 + b^2 = c^2$ $E = 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

Re: [NTG-context] New beta

2009-03-13 Thread Hans Hagen
\MyNamespacec\quad \MyNamespaced\quad crap is \ifdefined\MyNamespacecrap\else un\fi defined \stopbuffer \enablecheckparameters \setvalidparameterkeys[MyTest][a,b,c,d] \getbuffer \par \addvalidparameterkeys[MyTest][crap]\getbuffer \par \stoptext in due time we can add such testing

[NTG-context] Simplified input for natural tables

2009-03-08 Thread Wolfgang Schuster
\getbuffer %D \stoplinecorrection \protect \endinput ___ 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

Re: [NTG-context] Simplified input for natural tables

2009-03-08 Thread Aditya Mahajan
\getbuffer %D \stoplinecorrection \protect \endinput Thanks, Aditya ___ 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

[NTG-context] Kerning and Minion Pro

2009-01-16 Thread Andreas Harder
-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 \startTEXpage

Re: [NTG-context] how to get thick and thin borders working in tables (ConTeXt)

2008-12-11 Thread Lars Huttar
lines, the double lines don't go all the way to the top and bottom (see same pdf, second table), so that the double line is not continuous across multiple rows. Any suggestions? The above graphic is used as follows... \start \setupTABLE[c][first][background={table:frame:Lrtb}] \getbuffer

Re: [NTG-context] how to get thick and thin borders working in tables (ConTeXt)

2008-12-09 Thread Lars Huttar
][background={table:frame:Lrtb}] \getbuffer \stop Thanks, Lars ___ 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

Re: [NTG-context] looking for equivalence to LaTeX algorithm package

2008-12-01 Thread Richard Rascher-Friesenhausen
] %=== \starttext %=== \startbuffer \IF{$x=0$} \STATE{do it} \ELSE \STATE{don't do it} \ENDIF \stopbuffer \placealgorithm{ein Algorithmus}\Algorithm{\getbuffer} \startbuffer \FORALL{$x\in R$} \STATE{do it} \ENDFOR \stopbuffer \placealgorithm

Re: [NTG-context] looking for equivalence to LaTeX algorithm package

2008-11-30 Thread Wolfgang Schuster
$ is even} \STATE $X \Leftarrow X \times X$ \STATE $N \Leftarrow N / 2$ \ELSE[$N$ is odd] \STATE $y \Leftarrow y \times X$ \STATE $N \Leftarrow N - 1$ \ENDIF \ENDWHILE \stopalgorithm \stopbuffer \typebuffer \getbuffer %\placealgorithm % {Calculate $y = x^n$} % {\framed[frame=off,align=right,width

Re: [NTG-context] ConTeXt MKIV bug: Chinese left aligned does not work as should

2008-11-10 Thread Hans Hagen
raggedleft but that would influence hyphenation too much however, there is a way out ... \startbuffer 1中% 中% 中% 中% \stopbuffer \framedtext [align={broad,flushright},width=90mm] {\getbuffer

Re: [NTG-context] Some questions about TeX Gyre support in minimals

2008-10-23 Thread Wolfgang Schuster
Полужирный курсив\NC\AR \NC \bs bs \NC \bs Полужирынй наклонный \NC\AR \NC \sc sc \NC \sc Пробный текст\NC\AR \stoptabulate \stopbuffer \usetypescript[mygyre] \setupbodyfont[mygyre] \starttext \section{roman (rm)} {\rm \getbuffer[tests]} \section{sans-serif (ss)} {\ss \getbuffer

Re: [NTG-context] Some questions about TeX Gyre support in minimals

2008-10-23 Thread Aditya Mahajan
\section{roman (rm)} {\rm \getbuffer[tests]} \section{sans-serif (ss)} {\ss \getbuffer[tests]} \section{teletype (tt)} {\tt \getbuffer[tests]} \stoptext I'll update Russian section in the wiki, once these points are clarified. -- Regards, Oleg Kolosov Wolfgang

[NTG-context] Some questions about TeX Gyre support in minimals

2008-10-22 Thread Oleg Kolosov
Полужирный курсив\NC\AR \NC \bs bs \NC \bs Полужирынй наклонный \NC\AR \NC \sc sc \NC \sc Пробный текст\NC\AR \stoptabulate \stopbuffer \usetypescript[mygyre] \setupbodyfont[mygyre] \starttext \section{roman (rm)} {\rm \getbuffer[tests]} \section{sans-serif (ss)} {\ss \getbuffer

[NTG-context] mkiv: Bug in Right to Left numerals?

2008-10-21 Thread Otared Kavian
\textdir TRT \FaarsiA \getbuffer[faarsi] \blank[6*big] \stoptext %% end file bug-RL-numerals.tex bug-RL-numerals.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add

Re: [NTG-context] mkiv: Bug in Right to Left numerals?

2008-10-21 Thread Khaled Hosny
\luatexversion, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp). \blank[6*big] The number input as « 2008 » in Persian is written in the output as « 8002 » in the following Persian text: \blank[6*big] \pardir TRT \textdir TRT \FaarsiA \getbuffer[faarsi] \blank[6*big

Re: [NTG-context] mkiv: Bug in Right to Left numerals?

2008-10-21 Thread Otared Kavian
\getbuffer[faarsi] \blank[6*big] \stoptext %% end file bug-RL-numerals.tex ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] misbehaving \column

2008-10-04 Thread luigi scarso
}{\getbuffer} %%\dorecurse{10}{\fakewords{100}{200}\par} %% \stopcolumnset %% \stoptext \definecolumnset[example][n=4] \starttext \startbuffer \placefigure[tbrl]{tblr}{\externalfigure[fake][width=\One, lines=5]} \placefigure[fxtb:2*4]{fxtb}{\externalfigure[fake][width=\Two, lines=5

[NTG-context] font eatures with fallback fonts

2008-07-31 Thread Khaled Hosny
\textdir TLT\pardir TLT \input knuth \stopbuffer \starttext \ArabType\getbuffer[salah] \hrule \Arabic\getbuffer[salah] \hrule \ArabicFea\getbuffer[salah] \stoptext signature.asc Description: Digital signature ___ If your

Re: [NTG-context] What happened to \reference

2008-07-30 Thread Taco Hoekwater
] {\getbuffer[logic:implicationprogram]} gives an empty result. This used to (say a year ago) get me the contents of the buffer I set up earlier. I tried with 2007.07.25 (the last pre-mkiv release) and that doesn't work either. Afaics, in that version (and all versions since) it was not meant

[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

Re: [NTG-context] hiding content

2008-07-25 Thread Wolfgang Schuster
] \unprotect \def\starthiding {\dostartbuffer[hiddencontent][starthiding][stophiding]} \def\stophiding {\bgroup \setbox\scratchbox\vbox{\getbuffer[hiddencontent]}% \getnoflines{\dimexpr\ht\scratchbox+\dp\scratchbox\relax}% \dorecurse{\number\noflines}{\blank[\v!force,\v!line]}% \egroup

Re: [NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-24 Thread Wolfgang Schuster
[test] \startbuffer[text] \placefigure[left,none]{}{\framed[height=1cm]{graphic}} \input tufte \stopbuffer \setlayerframed[test] [x=.5\paperwidth,y=2em,location=bottom] [width=0.8\textwidth,height=0.3\textheight,align=normal] {\getbuffer[text]} \setupbackgrounds[page][background=test

[NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-23 Thread Uwe Koloska
\setlayerframed[test] [x=.5\paperwidth,y=2em,location=bottom] [width=0.8\textwidth,height=0.3\textheight,align=normal] {\getbuffer[text]} \setupbackgrounds[page][background=test] \starttext \startstandardmakeup \stopstandardmakeup \stoptext

Re: [NTG-context] Howto fit text into a box

2008-06-11 Thread Wolfgang Schuster
at \the\coverfont] \gettwopassdata{cover} \iftwopassdatafound \coverfont\twopassdata \definefont[Cover][Sans at \the\coverfont] \fi \setbox\cover\ruledvbox {\hsize\coverwidth \Cover\setupinterlinespace \setupalign[nothyphenated] \emergencystretch\maxdimen \getbuffer[cover]} \ifdim\ht

Re: [NTG-context] Arabic with LuaTeX vs. XeTeX

2008-06-09 Thread Wolfgang Schuster
وَالنِّسْيَانَ. \stopbuffer \start \TradArabic \pardir TRT \textdir TRT \getbuffer[paragraph] \stop \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Arabic with LuaTeX vs. XeTeX

2008-06-09 Thread Otared Kavian
\TradArabic \pardir TRT \textdir TRT \getbuffer[paragraph] \stop \stoptext ___ 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] Arabic with LuaTeX vs. XeTeX

2008-06-09 Thread Khaled Hosny
، وَالْخَيْرَ وَالشَّرَّ، وَالنَّفْعَ وَالضَّرَّ، وَالسُّكُوْنَ وَالْحَرَكَةَ، وَالْأَرْوَاحَ وَالْأَجْسَامَ، وَالذِّكْرَ وَالنِّسْيَانَ. \stopbuffer \start \TradArabic \pardir TRT \textdir TRT \getbuffer[paragraph] \stop \stoptext

Re: [NTG-context] Howto fit text into a box

2008-06-09 Thread Wolfgang Schuster
[Cover][Sans at \the\coverfont] \fi \setbox\cover\ruledvbox {\hsize\coverwidth \Cover\setupinterlinespace \setupalign[nothyphenated] \emergencystretch\maxdimen \getbuffer[cover]} \ifdim\ht\cover\coverheight \advance\coverfont\fontstep \savetwopassdata{cover}{1}{\the\coverfont} \else

[NTG-context] Correction for \getbuffer

2008-06-02 Thread Wolfgang Schuster
Hi Hans, The definition for \getBUFFER need to be changed because it use the undefined command \dodoprocessTEXbuffer. \def\dodefinebuffer[#1][#2]% {\iffirstargument % else problems \doglobal\increment\nofdefinedbuffers \letvalue{\??bu#1\c!number }\nofdefinedbuffers \letvalue

Re: [NTG-context] Correction for \getbuffer

2008-06-02 Thread Hans Hagen
Wolfgang Schuster wrote: Hi Hans, The definition for \getBUFFER need to be changed because it use the undefined command \dodoprocessTEXbuffer. \def\dodefinebuffer[#1][#2]% {\iffirstargument % else problems \doglobal\increment\nofdefinedbuffers \letvalue{\??bu#1\c!number

[NTG-context] Buffers and commands with optional arguments

2008-05-31 Thread Wolfgang Schuster
]} \starttext % This did work \startletter Text \stopletter \getbuffer[letter] % But this did create a error message from TeX \startletter Text \stopletter \getbuffer[letter] \stopletter One solution for the second text can be solved when I add a \relax after the \startletter command but I

[NTG-context] Homework for Hans and Taco

2008-04-16 Thread Yue Wang
[background=test 4]{\getshapetext}} {test 4} \stopcombination \stopbuffer \placefigure [here][fig:shapes] {A continuous text, typeset in a non||standard shape, spread over four areas, and right alligned.} {\getbuffer} \stoptext Yue Wang

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Wolfgang Schuster
command. Something like: \def\startabstract {\dostartbuffer[abstract][startabstract][stopabstract]} \startsetups titlepage \getbuffer[abstract] \stopsetups \def\starttitlepage {\begingroup \placetitle} \def\stoptitlepage {\setups{titlepage} \endgroup} \setuptitle [author

[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] getbuffer now fails

2008-03-23 Thread Wolfgang Schuster
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 on work that has

Re: [NTG-context] amsmath features

2008-01-21 Thread Aditya Mahajan
\stopformula \stopbuffer Default: \getbuffer Displaylimits: \chardef\intlimitcode\plusone \getbuffer Limits: \chardef\intlimitcode\plustwo \getbuffer \stoptext ___ If your question is of interest to others as well

Re: [NTG-context] amsmath features

2008-01-21 Thread Aditya Mahajan
$ $\iint\nolimits_a^b$ $\iint\displaylimits_a^b$ \startformula \iint\limits_a^b \iint\nolimits_a^b \iint\displaylimits_a^b \stopformula \stopbuffer Default: \getbuffer Displaylimits: \chardef\intlimitcode\plusone \getbuffer Limits: \chardef\intlimitcode\plustwo \getbuffer

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
} \framedtext[settings] \from[reference] \getbuffer[name] # \getfiguredimensionsonly # \getmarking[name][options] # \getvalue # \getvariable # \globalletvalue \godown[dimension] \goto{text}{text}[references] \gotobox{text}[references] \graycolor[text] \grid[options] # \gsaveXMLasdata \hairline \head

Re: [NTG-context] typesetting a formula as a figure

2007-11-25 Thread Wolfgang Schuster
columns). If I use \getbuffer instead of \externalfigure, I got somewhat proper output(fig 2), but the figure is located much higher than the matrix(horizontal alignment is bad). What is wrong in my sample? Is there any option for \startcombination? \placefigure[here][fig:test]{Test

Re: [NTG-context] typesetting a formula as a figure

2007-11-24 Thread Idris Samawi Hamid
between columns). If I use \getbuffer instead of \externalfigure, I got somewhat proper output(fig 2), but the figure is located much higher than the matrix(horizontal alignment is bad). What is wrong in my sample? Is there any option for \startcombination? \start-stopformula are for math display

Re: [NTG-context] typesetting a formula as a figure

2007-11-24 Thread Aditya Mahajan
Then, I got a strange output(fig 1: wide blank spaces between columns). If I use \getbuffer instead of \externalfigure, I got somewhat proper output(fig 2), but the figure is located much higher than the matrix(horizontal alignment is bad). What is wrong in my sample? Is there any option

Re: [NTG-context] typesetting a formula as a figure

2007-11-23 Thread Jeong Dalyoung
\makeupwidth]}{G} {\externalfigure[one.tmp]}{AA} {\externalfigure[one.tmp]}{BB} {\externalfigure[one.tmp]}{CC} \stopcombination} \stoptext Then, I got a strange output(fig 1: wide blank spaces between columns). If I use \getbuffer instead of \externalfigure, I got somewhat proper output(fig 2

Re: [NTG-context] table layout

2007-11-07 Thread Wolfgang Schuster
\AR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttable[|||] \NC Text \NC Text \NC\AR \NC Text \NC Text \NC\AR \NC Text \NC Text \NC\AR \NC Text \NC Text \NC\AR \stoptable \stopbuffer %\tracetablestrue \setuptables[split=no] \getbuffer \setuptables[split=yes] \getbuffer

Re: [NTG-context] table layout

2007-11-07 Thread Peter Rolf
\starttabletail \HL \stoptabletail \starttable[|||] \NC Text \NC Text \NC\AR \NC Text \NC Text \NC\AR \NC Text \NC Text \NC\AR \NC Text \NC Text \NC\AR \stoptable \stopbuffer %\tracetablestrue \setuptables[split=no] \getbuffer \setuptables[split=yes] \getbuffer \setuptables[split

[NTG-context] table layout

2007-11-06 Thread Wolfgang Schuster
\stoptabulate \stopbuffer \getbuffer[tabulate] \page \setuptabulate[header=repeat] \getbuffer[tabulate] \page \newconditional\tabulaterepeatfoot \settrue\tabulaterepeatfoot \def\dosplittabulatebox#1% {\resettsplit \def\tsplitminimumfreelines{2}% \def\tsplitminimumfreespace{0pt

Re: [NTG-context] table layout

2007-11-06 Thread Peter Rolf
Text \NC\NR \NC Text \NC Text \NC Text \NC\NR \NC Text \NC Text \NC Text \NC\NR \stoptabulate \stopbuffer \getbuffer[tabulate] \page \setuptabulate[header=repeat] \getbuffer[tabulate] \page \newconditional\tabulaterepeatfoot \settrue\tabulaterepeatfoot \def

[NTG-context] project structure and dissertations

2007-11-01 Thread Jesse Alama
to the whole text of the preface and do something like \startproduct dissertation \component preface \chapter{Preface} \getbuffer{buf:preface} \startfrontmatter ... with the whole text of the preface in a buffer? I would appreciate any advice! Thanks, Jesse -- Jesse Alama

Re: [NTG-context] numbered subitems

2007-10-01 Thread Henning Hraban Ramm
Am 2007-09-30 um 23:29 schrieb Aditya Mahajan: \startitemize[repeat,4*borad]\getbuffer\stopitemize ^^^ (add this) been too much to the movies, eh? ;-) I guess that should be broad... Greetlings from Lake Constance! Hraban --- http

Re: [NTG-context] numbered subitems

2007-10-01 Thread Alan Bowen
Hi, Aditya— Many thanks. That works and looks quite good. I experimented and find that \startitemize[repeat,broad]\getbuffer\stopitemize looks best. The only downside is that there is still largish a gap between the stopper and the text of the main item as in 1.History

Re: [NTG-context] numbered subitems

2007-09-30 Thread Aditya Mahajan
\stopitemize % \item item 3 % \startitemize[n] \item item 3.1 \item item 3.2 \stopitemize % \item % \startitemize[n] \item item 4.1 \item item 4.2 \stopitemize % \stopbuffer % % \startitemize[n,repeat,6*broad,packed] \getbuffer \stopitemize \blank[3*big] % \startitemize[n,repeat,packed

Re: [NTG-context] numbered subitems

2007-09-30 Thread Alan Bowen
\stopitemize \item item 3 \startitemize[n,stopper={},width=1em] \item item 3.1 \item item 3.2 \stopitemize \stopbuffer % \setupitemize[n,serried,packed,joinedup] \startitemize[repeat]\getbuffer\stopitemize and everything works, except that I cannot seems get the subitems indented

Re: [NTG-context] numbered subitems

2007-09-30 Thread Aditya Mahajan
\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,packed,joinedup] \startitemize[repeat,4*borad]\getbuffer\stopitemize

Re: [NTG-context] noalign in tabulate

2007-08-13 Thread Aditya Mahajan
\stopbuffer \starttext \let\mynoalign\noalign \getbuffer \page \def\mynoalign {\iftrialtypesetting \expandafter\gobbleoneargument \else \expandafter\TABLEnoalign \fi} \getbuffer \stoptext Aditya ___ If your question

Re: [NTG-context] Booktabs equivalent in Context

2007-08-05 Thread Aditya Mahajan
\NC \AR \NC Gnu \NC stuffed \NC 92.50 \NC \AR \NC Emu \NC stuffed \NC 33.33 \NC \AR \NC Armadillo \NC frozen \NC 8.99 \NC \AR \HL[3] \stoptable \stopbuffer \starttext \getbuffer \setuptables[distance=big] \getbuffer \setuptables[distance={{1

Re: [NTG-context] extra math symbols and alignment

2007-08-02 Thread WN
without a section (with Aditya's fix) \blank Math matrix alignment works. \getbuffer \section{Test user defined math matrices but after a section (with Aditya's fix)} Math matrix alignment broken \getbuffer \section{Extra math symbols} \startformula \oiint \oiiint \ointctrclockwise \ointclockwise

Re: [NTG-context] extra math symbols and alignment

2007-08-02 Thread Aditya Mahajan
\stopbuffer \starttext Test user defined math matrices without a section (with Aditya's fix) \blank Math matrix alignment works. \getbuffer \section{Test user defined math matrices but after a section (with Aditya's fix)} Math matrix alignment broken \getbuffer \page \section{Default math characters

Re: [NTG-context] extra math symbols and alignment

2007-08-01 Thread WN
eigenschappen)} \stopformula \stopbuffer \starttext Test user defined math matrices without a section (with Aditya's fix) \blank Math matrix alignment works. \getbuffer \section{Test user defined math matrices but after a section (with Aditya's fix)} Math matrix alignment broken \getbuffer \section

[NTG-context] additional blank line in starttyping environment

2007-07-15 Thread WolfgangZ
BANDROWBYTES 7202 TOTALROWBYTES 7202 BANDGAPBYTES 0 NODATA -32768 ULXMAP $ULXMAP ULYMAP $ULYMAP XDIM 0.000278 YDIM 0.000278 \stoptyping \stopbuffer \framed[width=6cm,frame=off,align=flushleft,background=color,backgroundcolor=red]{\getbuffer[1arc]} \stoptext

Re: [NTG-context] additional blank line in starttyping environment

2007-07-15 Thread Thomas A. Schmitz
ULXMAP $ULXMAP ULYMAP $ULYMAP XDIM 0.000278 YDIM 0.000278 \stoptyping \stopbuffer \framed [width=6cm,frame=off,align=flushleft,background=color,backgroundcolor= red]{\getbuffer[1arc]} \stoptext

Re: [NTG-context] Reset a setup directive

2007-07-11 Thread Wolfgang Schuster
[background=,frame=on] \stopsetups \setupcolors[state=start] \starttext \startbuffer \bTABLE \dorecurse{10} {\bTR \bTD Text \eTD\bTD Text \eTD \eTR} \eTABLE \stopbuffer \start \setups{table:noframe} \getbuffer \stop \start \setups{table:colorlines} \getbuffer \stop \getbuffer \stoptext

Re: [NTG-context] Reset a setup directive

2007-07-11 Thread Saji Njarackalazhikam Hameed
Text \eTD\bTD Text \eTD \eTR} \eTABLE \stopbuffer \start \setups{table:noframe} \getbuffer \stop \start \setups{table:colorlines} \getbuffer \stop \getbuffer \stoptext @Hans: Is it possible to integrate a setups key into \bTABLE to write something like \bTABLE[setups

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

2007-07-04 Thread Wolfgang Schuster
\bTD text \eTD\eTR \eTABLE \stopbuffer % vertical mode \getbuffer % horizontal mode \dontleavehmode\getbuffer \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

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

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

2007-07-04 Thread Wolfgang Schuster
][topframe=on,bottomframe=on] \bTABLE \bTR\bTD \input knuth \relax \eTD\eTR \eTABLE \stopbuffer \stopsetups % vertical mode \getbuffer % horizontal mode %\dontleavehmode\getbuffer \placetable[frame=off] {whow} {\placelegend[align={right}] {\dontleavehmode\getbuffer

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

2007-07-03 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]{\getbuffer} \startbuffer \start \setupTABLE[frame

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

2007-07-03 Thread Hamid Kamrani
=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 \eTD\eTR\eTABLE \stop \stopbuffer \framed[offset=overlay]{\getbuffer

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

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

2007-06-14 Thread Mojca Miklavec
] \usetypescriptonce[serif][times][name,texnansi] \usetypescriptonce[sans][helvetica][name,texnansi] \usetypescriptonce[palatino][texnansi] \setupbodyfont[palatino,10pt] \definefont[RotFont][RegularBold] \stopMPenvironment \stopbuffer \definefont[RotFont][RegularBold] \getbuffer[mpenv

[NTG-context] Back to Metafun Manual

2007-06-06 Thread David Arnold
[sans][helvetica][name,texnansi] \usetypescriptonce[palatino][texnansi] \setupbodyfont[palatino,10pt] \definefont[RotFont][RegularBold] \stopMPenvironment \stopbuffer \definefont[RotFont][RegularBold] \getbuffer[mpenv] \setupcolors[state=start] \starttext \def\showMPline#1#2

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

2007-06-04 Thread David Arnold
] \usetypescriptonce[palatino][texnansi] \setupbodyfont[palatino,10pt] \definefont[RotFont][RegularBold] \stopMPenvironment \stopbuffer \definefont[RotFont][RegularBold] \getbuffer[mpenv] \setupcolors[state=start] \starttext \startuseMPgraphic{axis} tickstep := 1cm ; ticklength := 2mm

[NTG-context] drawarrowpath

2007-06-04 Thread David Arnold
][helvetica][name,texnansi] \usetypescriptonce[palatino][texnansi] \setupbodyfont[palatino,10pt] \definefont[RotFont][RegularBold] \stopMPenvironment \stopbuffer \definefont[RotFont][RegularBold] \getbuffer[mpenv] \setupcolors[state=start] \starttext \startlinecorrection[blank

[NTG-context] split rotated TABLE

2007-05-31 Thread Henning Hraban Ramm
.: \placetable[here,90][tab:religionen]{Götter}% {\framed[width=\textheight, height=\textwidth]{\getbuffer[tab- religionen]}} % rotation included in the placetable parameters; with page instead of here it didn't display anything. % another failed attempt: \rotate[width=\textheight, height=\textwidth

Re: [NTG-context] split rotated TABLE

2007-05-31 Thread Wolfgang Schuster
) at the bottom. I have to look also how one place the caption below the table and not on the right side. I tried several attempts, some didn't display anything, none breaks the table, e.g.: \placetable[here,90][tab:religionen]{Götter}% {\framed[width=\textheight, height=\textwidth]{\getbuffer

Re: [NTG-context] Pagesize papersize: Writing jobname/date outside page area

2007-04-17 Thread Thomas A. Schmitz
][\reuseMPgraphic{Cross}] \defineoverlay[Camera][\reuseMPgraphic{Camera}] \defineoverlay[Info][{\getbuffer[info]}] \startbuffer[info] \vbox to \paperheight \bgroup \vskip -1 cm \framed[frame=off,align=high]{\tt \tx \jobname - \currentdate [y,/,mm,/,dd]\ - \currenttime\ - \realfolio

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) parsing done

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. hmm, I can

<    3   4   5   6   7   8   9   10   >