with luaTeX any more. This has a weird
consequence on
many modules which relied exactly on that trick.
Short example of what goes wrong:
\starttext
\startbuffer[a]
Hello world!
\stopbuffer
\typebuffer[a]
%\executesystemcommand{dosomethingwith \jobname-a.tmp}
\stoptext
The problem is that MK
are not going to be
written to files with luaTeX any more. This has a weird consequence on
many modules which relied exactly on that trick.
Short example of what goes wrong:
\starttext
\startbuffer[a]
Hello world!
\stopbuffer
\typebuffer[a]
%\executesystemcommand{dosomethingwith \jobname-a.tmp
several times that buffers are not going to be
written to files with luaTeX any more. This has a weird consequence on
many modules which relied exactly on that trick.
Short example of what goes wrong:
\starttext
\startbuffer[a]
Hello world!
\stopbuffer
\typebuffer
!
\stopbuffer
\typebuffer[a]
%\executesystemcommand{dosomethingwith \jobname-a.tmp}
\stoptext
The problem is that MK II created a file \jobname-a.tmp and lilypond
module processed exactly that file further. In MK IV, that file is not
created any more (you can check that by running the above
0.000278
YDIM 0.000278
\stopbuffer
\starttext
\framed
[width=6cm,frame=off,align=flushleft,background=color,backgroundcolor=re
d]{\typebuffer[1arc]}
\stoptext
HTH
Thomas
On Jul 15, 2007, at 5:45 PM, WolfgangZ wrote:
Hi,
I get an extra blank line at the beginning of the starttyping
:
\setupcolors[state=start]
\setuptyping[before=,after=]
\startbuffer
BYTEORDER M
\stopbuffer
\starttext
\framed[background=color,backgroundcolor=red]{\typebuffer}
\framed[align=flushleft,background=color,backgroundcolor=red]{\typebuffer}
\framed[align=flushleft,background=color,backgroundcolor=red
and the workaround:
\setupcolors[state=start]
\setuptyping[before=,after=]
\startbuffer
BYTEORDER M
\stopbuffer
\starttext
\framed[background=color,backgroundcolor=red]{\typebuffer}
\framed[align=flushleft,background=color,backgroundcolor=red]{\typebuffer}
\framed[align=flushleft
Aditya Mahajan wrote:
\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
\NC a \NC =b
\NC A \NC =B \NR[+]
\NC c \NC =d
\NC C \NC =D \NR[+]
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer
I can confirm that there is an extra number. I do not know what
On Mon, 19 Feb 2007, Wim Neimeijer wrote:
Aditya Mahajan wrote:
\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
\NC a \NC =b
\NC A \NC =B \NR[+]
\NC c \NC =d
\NC C \NC =D \NR[+]
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer
I can
test test test test test
\footnote{This is another basic footnote.
\metanote{This is another footnote to a footnote.}}
test test test test test test test test test test test test test.
\stoplinenumbering%
\stopbuffer
{\typebuffer[footnote] \getbuffer[footnote]} \page
example the group is being created by the braces in
{\typebuffer \getbuffer})
Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
to a footnote.}}
test test test test test test test test
\footnote{This is another basic footnote.
\metanote{This is another footnote to a footnote.}}
test test test test test test test test test test test test test.
\stoplinenumbering%
\stopbuffer
{\typebuffer[footnote
\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
This is almost OK, but has one formula number too much here:
\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
a =b
A =B \\
c =d
C =D \\
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer
This results in a very weird formula
\typebuffer
\getbuffer
Do not use the latex syntax.
This results in a very weird formula numbering
Something is broken. AFAIK, this should not give you any number.
\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
\NC a \NC =b
\NC A \NC =B \NR
\NC c
\csname\previoussection{#1}\c!number\endcsname%
\csname\??se#1\c!separator\endcsname%
\fi
\@@shortsectionnumber{#1}%
\fi}
\protect
% End Patch
%D Now let us see how we can get the desired output.
%D \startbuffer
%D \setupsection[section-3][separator=-]
%D \stopbuffer
%D \typebuffer
%D
Hans Hagen wrote:
Aditya Mahajan wrote:
On Mon, 16 Oct 2006, Aditya Mahajan wrote:
On Sun, 15 Oct 2006, Vit Zyka wrote:
Great, thank you Hans!
Let us process to teh next two problems also visible in the test file.
1. [snip]
2. Accented characters inside \typebuffer are type set
On Mon, 16 Oct 2006, Aditya Mahajan wrote:
On Sun, 15 Oct 2006, Vit Zyka wrote:
Great, thank you Hans!
Let us process to teh next two problems also visible in the test file.
1. [snip]
2. Accented characters inside \typebuffer are type set as
\dochar {225}
This seems to be a bug
Aditya Mahajan wrote:
On Mon, 16 Oct 2006, Aditya Mahajan wrote:
On Sun, 15 Oct 2006, Vit Zyka wrote:
Great, thank you Hans!
Let us process to teh next two problems also visible in the test file.
1. [snip]
2. Accented characters inside \typebuffer are type set as
\dochar {225
Aditya Mahajan wrote:
On Sun, 15 Oct 2006, Vit Zyka wrote:
Great, thank you Hans!
Let us process to teh next two problems also visible in the test file.
1. [snip]
2. Accented characters inside \typebuffer are type set as
\dochar {225}
This seems to be a bug. In utf
mode is OK.
Vit
P.S. Today's beta shows even more problems:
- inside typebuffer: only '\dochar {225}' instead of \'a in latin2
hm, sample ... maybe some pre-expansion problem
- some metapost graphics is wrong
example ...
But I suggest to solve them step by step.
sure
Hans
2006-05-28.
In context 2006-09-10 this error appears only in normal mode. Screen
mode is OK.
Vit
P.S. Today's beta shows even more problems:
- inside typebuffer: only '\dochar {225}' instead of \'a in latin2
- some metapost graphics is wrong
But I suggest to solve them step by step
\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.tex}
\start
\getbuffer\typebuffer
\stop
On Mon, 31 Jul 2006, Aditya Mahajan wrote:
On Mon, 31 Jul 2006, Hans van der Meer wrote:
The ConTeXt manual tells me on page 237:
You can define your own buffer with:
\definebuffer[...]
... name
After this command /getbuffer and \typebuffer are available where
buffer
On Aug 1, 2006, at 0:21, Aditya Mahajan wrote:
On Mon, 31 Jul 2006, Hans van der Meer wrote:
The ConTeXt manual tells me on page 237:
You can define your own buffer with:
\definebuffer[...]
... name
After this command /getbuffer and \typebuffer are available where
The ConTeXt manual tells me on page 237: You can define your own buffer with: \definebuffer[...] ... name After this command /getbuffer and \typebuffer are available where buffer is the name of the buffer.I do: \definebuffer[left] \startbuffer[left] left\crlf \stopbuffer \typeleftand it gives me
On Mon, 31 Jul 2006, Hans van der Meer wrote:
The ConTeXt manual tells me on page 237:
You can define your own buffer with:
\definebuffer[...]
... name
After this command /getbuffer and \typebuffer are available where
buffer is the name of the buffer.
I do
\{and\}}}
However, things get real weird.
\title{\type{$\Pr\{A\}$}}
gives me
you can try:
\title{\retype{$\Pr\{A\}$}}
watch the space after \Pr
Thanks for the hint.
I also found out
\startbuffer
$\Pr\{A\}$
\stopbuffer
\title{\typebuffer}
which seems pretty robust.
Aditya
Context supports everything that latex array provides, with a slightly
different syntax. Some extract from the update on myway on alignment
(I am still working on it)
% \def\ShowExample
% {\hairline
%\typebuffer
%\hairline
%\getbuffer}
\CONTEXT\ provides \tex{startmatrix} for generic
array provides, with a slightly
different syntax. Some extract from the update on myway on alignment
(I am still working on it)
% \def\ShowExample
% {\hairline
%\typebuffer
%\hairline
%\getbuffer}
\CONTEXT\ provides \tex{startmatrix} for generic alignment mechanism.
\startbuffer
={\blank[small]},
before={\blank[small]}]
\def\ShowExample
{\startexample
% \nobreak
\typebuffer
\stopexample
\getbuffer}
\setvariables
[magazine]
[title={Using \textbackslash startalign and friends},
author=Aditya Mahajan,
date=\currentdate,
]
\starttext \setups
\stopcombination}
%D
%D \startbuffer
%D \in figure[fig:three calls]
%D \in{figure}[fig:three calls]
%D \in figure a[fig:three calls]
%D \in{figure}{a}[fig:three calls]
%D figure~\in[fig:three calls]
%D \stopbuffer
%D
%D \typebuffer
%D
%D This turns up as:
%D
%D \startlines
%D \getbuffer
%D \stoplines
I
since in typing each line is a par
Ok, this seems to work:
\def\startTypeMidaligned{%
\dostartbuffer[typemidaligned][startTypeMidaligned][stopTypeMidaligned]}
\def\stopTypeMidaligned{\setuptyping[margin=0pt]%
\setbox\scratchbox\hbox{%
\framed[frame=off,offset=overlay,align=lohi]{\typebuffer
occurs at some other place.
If it is important, I can try to make a minimal file to reproduce the
problem with latest stable release.
there is a dangling line of the background due to a break
\def\ShowExample
{\startexample
\nobreak
\typebuffer
\stopexample
\getbuffer
information from newtexexec.
better use (for th emoment):
\defineframedtext
[example]
[width=\textwidth,
background=screen,
backgroundscreen=.85,
frame=off,
after={\blank[small]},
before={\blank[small]}]
\def\ShowExample
{\blank[small]
\startexample
\typebuffer
):
\usemodule[newmmu]
as in:
\usemodule[newmmu]
\starttext
Quick and dirty in||line units:
\startbuffer
phys
cn 10 /cn
cu Newton/ Square/ Meter/ Per/ Sec/ /cu
/phys
\stopbuffer
\typebuffer \processXMLbuffer
A more \MATHML||like unit application:
\startbuffer
phys apply unit/
cn 10 /cn
csymbol
\fi \fi \fi \fi
\handlever...
\processfileverbatim ...expandafter \readline \fi
\closein \verbatiminput
\e...
...
*l.25 \ShowExample*
Strange. Try
\def\ShowExample{\typebuffer\showbuffer
/MathML;
mfenced separators= open= close=
mix/mi
miy/mi
/mfenced
/mml:math
\stopbuffer
\typebuffer
is rendered as:
\processXMLbuffer
saves keystrokes and is less error prone (differences in code)
Hans
___
ntg-context
: [...]
\startbuffer
mml:math xmlns=http://www.w3.org/1998/Math/MathML;
mfenced separators= open= close=
mix/mi
miy/mi
/mfenced
/mml:math
\stopbuffer
\typebuffer
is rendered as:
\processXMLbuffer
saves keystrokes and is less error prone (differences in code
Patrick Gundlach wrote:
Hello again,
I know I can use \starttyping with commands by saying
\setuptyping[option=commands] and then /BTEX \red{a red text}}/ETEX.
Can I do the same for \typebuffer[mybuf]? So for example:
No, you can't because buffers are files, and \typefile explicitly
Conisder
\setupcolors[state=start]
\setuptyping[option=anything] %Any value that is not a valid option
% none, color, normal, commands, slanted
\starttext
\startbuffer
$\sum_{i=1}^n \frac{1}{2} n \cdot (n+1)$
\stopbuffer
\typebuffer
\stoptext
The text is typed
Hello again,
I know I can use \starttyping with commands by saying
\setuptyping[option=commands] and then /BTEX \red{a red text}}/ETEX.
Can I do the same for \typebuffer[mybuf]? So for example:
\startbuffer[a]
verbatim text
/BTEX \red{a red text}}/ETEX
verbatim text
\stopbuffer
\typebuffer
%
% \def\stopsplit
% {\doalignNR[+][]\crcr % for a number on last line
%\stopalign}
%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
%D \typebuffer \getbuffer
%D
%D
.
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 \getbuffer
Thanks
Aditya
--
Aditya Mahajan, EECS Systems
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
\stopbuffer
\typebuffer \getbuffer
it's only used when m
line
%\stopalign}
%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
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC
\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 \EQ d \NR
%D \NC\EQ f \NR[for:demo-a-1]
%D \NC\EQ g \NR[for:demo
= 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 \EQ d \NR
%D \NC\EQ f \NR[for:hans]
%D \NC\EQ g \NR[for:whoelse][a]
%D \NC\EQ h \NR[for:whomore][b]
%D \NC
.
However, with multiple columns, \NC ... \NC does not work as expected.
Consider
\usemodule[math-ext]
\starttext
Three columns work correctly if I use \
\startbuffer
\startformula \startalign[n=3]
a = b = c \\
d = e = f
\stopalign \stopformula
\stopbuffer
\typebuffer \getbuffer
But they do
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \EQ b \NR[+]
%D \NC c \EQ d \NR
%D \NC\EQ f \NR[for:hans]
%D \NC\EQ g \NR[for:whoelse][a]
%D \NC\EQ h \NR[for:whomore][b]
%D \NC\EQ i \NR
%D \stopalign \stopformula
%D \stopbuffer
%D
%D
}}
%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
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \EQ b \NR[+]
%D \NC c
\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 \EQ d \NR
%D \NC\EQ f \NR[for:hans]
%D \NC\EQ g \NR[for:whoelse][a]
%D \NC
\currentvalue]}
%D \framed{\ab}
%D \stopbuffer
%D \typebuffer
%D
%D Gives: \getbuffer
Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
scaled 6000]\test TEST \par
%D \stopbuffer
%D
%D \typebuffer
%D
%D \startpacked
%D \getbuffer
%D \stoppacked
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
} with a frame ...
\stopbuffer
\typebuffer
\startlines
\getbuffer
\stoplines
The \type {\Shaped} macro was defined as:
\typebuffer[def]
this last line had no [def] so the wrong buffer was shown; it's indeed defined
by \defineframed[Shapes]
Hans
[hallo] %% define a buffer named hallo
Hallo from buffer
\stopbuffer
\starttext
\StartSteps[Test] %% \StartSteps needs an argument
%% used as the title of the slide
%\NextStep %% this is optional...
\typebuffer[hallo] %% instead of \starttyping...\stoptyping
\startbuffer[tufte]
\input tufte
\stopbuffer
\startbuffer[knuth]
\input knuth
\stopbuffer
\dorecurse{100}{test \footnote{\typebuffer[knuth]}
\endnote{eee}\endgraf}
\page
\placenotes[endnote]
\setupnote[endnote][location=none]
\starttext
\dorecurse{100}{test \endnote{eee}\endgraf}
\page
://partners.adobe.com/public/developer/en/font/5091.Design_MM_Fonts.pdf]
\setupinteraction[state=start]
\startbuffer
\url[Adobe]
\from[Adobe]
\stopbuffer
\starttext
\typebuffer
\getbuffer
\stoptext
--
Patrick
--
ConTeXt wiki and more: http://contextgarden.net
--
But I got exactly the line \getbuffer in \startTEX ... \stopTEX
instead of its content.
How to get buffer in this case please.
just \typebuffer as in:
\setupcolors[state=start] \setuptyping[option=TEX]
\starttext
\startbuffer
\bTABLE
\bTR
\bTH title1
Hi everybody, please consider:
---
\definetyping[TEX]
\setuptyping[TEX][option=TEX]
\starttext
\startbuffer[A]
\somemacro[bla][obla=vbla]
\stopbuffer
\typebuffer[A]
\stoptext
---
It works perfectly. I would like to type buffer
Gerben Wierda wrote:
I have been trying to do this for a test with larger notes, but this fails:
\starttext
\startbuffer[tufte]
\input tufte
\stopbuffer
\startbuffer[knuth]
\input knuth
\stopbuffer
\dorecurse{100}{test \footnote{\typebuffer[knuth]} \endnote{eee}\endgraf}
\page
\placenotes[endnote
Gerben Wierda wrote:
I have been trying to do this for a test with larger notes, but this fails:
\starttext
\startbuffer[tufte]
\input tufte
\stopbuffer
\startbuffer[knuth]
\input knuth
\stopbuffer
\dorecurse{100}{test \footnote{\typebuffer[knuth]} \endnote{eee}\endgraf}
it's \getbuffer else you
= Original Message From Hans Hagen [EMAIL PROTECTED] =
\starttext
\startbuffer[tufte]
\input tufte
\stopbuffer
\startbuffer[knuth]
\input knuth
\stopbuffer
\dorecurse{100}{test \footnote{\typebuffer[knuth]} \endnote{eee}\endgraf}
it's \getbuffer else you indeed get a verbatim
Nikolai Weibull wrote:
* Willi Egger (Mar 20, 2005 18:00):
May be you should try a buffer to put the typing in. In the overlay
you can call the buffer with \typebuffer[...]
\startbuffer[title]
...
\stopbuffer
\defineoverlay
[TitleGraphic]
[{\startcolor[titlegraphic]\typebuffer[title
Hi Nikolai,
May be you should try a buffer to put the typing in. In the overlay you
can call the buffer with \typebuffer[...]
Willi
Nikolai Weibull wrote:
I would like to put a rather large and complicated regular expression
into the title-page of a document I'm writing. So far, I haven't had
* Patrick Gundlach (Mar 20, 2005 19:20):
Hello Nicolai,
k, please.
put your \typebuffer stuff in \framed[align=lohi]
That was a very good suggestion, thank you. It worked out fine. This
is what I do now:
\defineoverlay
[TitleGraphic]
[{\framed
[align=middle,width
test test
test \linenote {oeps} test test test test test test
test \extralinenote {oeps} test test test test test test
test \stoplinenote [well] test test test test test test
\stoplinenumbering
\stopbuffer
{\typebuffer[test] \getbuffer[test]} \page
\startbuffer[setup]
\setuplinenumbering
[align=left
Hi all,
I have problem with paragraph background in columnset environment:
\definetextbackground
[TXBG]
[frame=no,offset=0.25em,location=paragraph]
\definecolumnset[main][n=2]
\startcolumnset[main]
...
\starttextbackground[TXBG]
\typebuffer[BUFFER]
\stoptextbackground
...
\stopcolumnset
\typebuffer[demo]
\processXMLbuffer[demo]
\relax
\stoptext
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74
On Wed, Nov 03, 2004 at 02:19:19PM +0100, Eckhart Guthöhrlein wrote:
On Wed, Nov 03, 2004 at 01:39:45PM +0100, Hans Hagen wrote:
Eckhart Guthöhrlein wrote:
Hi all,
I'm using \typebuffer to typeset some metapost code. How can I tell it
to either ignore tabs or treat them like 1,2,3
Hi all,
I'm using \typebuffer to typeset some metapost code. How can I tell it
to either ignore tabs or treat them like 1,2,3,... spaces, instead of
printing ^^I?
Another question: There has been a thread on telling \typebuffer what
type of code on this list some time ago, without a final
Eckhart Guthöhrlein wrote:
Hi all,
I'm using \typebuffer to typeset some metapost code. How can I tell it
to either ignore tabs or treat them like 1,2,3,... spaces, instead of
printing ^^I?
Another question: There has been a thread on telling \typebuffer what
type of code on this list some time
On Wed, Nov 03, 2004 at 01:39:45PM +0100, Hans Hagen wrote:
Eckhart Guthöhrlein wrote:
Hi all,
I'm using \typebuffer to typeset some metapost code. How can I tell it
to either ignore tabs or treat them like 1,2,3,... spaces, instead of
printing ^^I?
Another question: There has been
{%
\framed[align={lohi,right},
frame=on,
offset=10pt,
background=screen,
screen=0.8,
foregroundcolor=darkred]{\typebuffer}}
{\externalfigure[slide1.pdf]}
My graphic slide1.pdf is about the right size, so I didn't have to adjust
its width. However, I'd like the graphic to be centered
]
\starttext
\startbuffer
x=linspace(-2,4);
y=x.^2-2*x-3;
plot(x,y)
xlabel('x')
ylabel('y')
title('y = x^2 -2x -3')
grid on
\stopbuffer
\typebuffer % test
\placesidebyside{%
\framed[align={lohi,right},
frame=on,
offset=10pt,
background=screen,
screen=0.8,
width=.5
[width=middle]
\typebuffer \page
\stoptext
so, associate a handling (see hand-* files) with a font (before it's
used! else pdftex does ignore it)
but ... be prepared ... context is set up for the latest pdftex and
there are some bugs in hz an desp when used with protruding (thanh is
working
to avoid that.
Here's what I have so far:
\def\typebufferframed[#1]{%
\vskip\parskip
\framed[background=color,
backgroundcolor=gray,
frame=on,
strut=yes,
offset=2mm,
width=broad,
framecolor=black,
align=right]%
{\vskip -11mm\typebuffer[#1]\vskip -5mm}}
\starttext
Plain
sources
- i want to stimulate users to writ etheir own styles not to mimick
existing ones (i.e. avoid the 'all tex files look the same' problem)
- also: most examples in manuals are typeset using
\startbuffer
...
\stopbuffer
\typebuffer \getbuffer
so ... there are no hidden tricks (unless
Willi Egger wrote:
\startbuffer[test]
\starttyping
pack .ok .cancel .help -side top
\stoptyping
\stopbuffer
\startbuffer[test]
pack .
\stopbuffer
\starttext
\SideFigure{right}{pack2}{figure.jpg}{0.25}
{
\getbuffer[test]
\typebuffer[test]
}
Hans
and
put the contents in your document with \typebuffer?
hi,
Yes, exacly something like that.
for example
\startbuffer [deque]
class
DEQUE [G]
inherit
DOUBLE_LINKED_LIST[G]
rename
extend as insertRight,
prepend as insertLeft
end
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 \typebuffer, but I would like to put code
into a 'nice' frame ;)
I can
and \typebuffer, but I would like to put code
into a 'nice' frame ;)
I wasn't able to notice what you want in the first mail. Sorry.
I can do it by \framed[number of options]{\typebuffer}, but I would
like to do it in better way - by defining own command and use
\Command{\getbuffer
201 - 282 of 282 matches
Mail list logo