complains that etex is too old? I know it's
probably hopeless till Giuseppe comes back, but I'll ask anyway: Is there any
way to compile a new aleph with the new eTeX and jonathan kew's bugfix for the
extra mem_bot before Giuseppe returns?
All the best
Idris
.
My problem is that I have no output also without 'caled 5cm':
\setupoutput[pdftex]
\starttext
\startuseMPgraphic{test}
picture p; p := btex TEST etex;
draw p;
\stopuseMPgraphic
\useMPgraphic{test}
\stoptext
Sorry, I used too complicated example to describe
Hallo,
my ConTeXt ignore btex-etex command. It works as the btex-etex command
is empty. No text on output. Simple example:
\starttext
\startuseMPgraphic{test}
picture p; p := btex TEST etex scaled 5cm;
draw p;
\stopuseMPgraphic
\useMPgraphic{test
Hello Jiri,
\starttext
\startuseMPgraphic{test}
picture p; p := btex TEST etex scaled 5cm;
draw p;
\stopuseMPgraphic
\useMPgraphic{test}
\stoptext
The file works fine here. Except that only some part of the T is
visible (large scale factor).
Do you
On Fri, Apr 01, 2005 at 11:24:37AM +0200, Patrick Gundlach wrote:
The file works fine here. Except that only some part of the T is
visible (large scale factor).
Do you have write18 enabled? (http://contextgarden.net/Texmf.cnf)
I set
shell_escape = t
in
'=g(x,y)
%1. Plots the graphs of x(t) and y(t)
%2. Plots the graph of (x(t),y(t)) in the phase plane.
%verbatimtex
%\input mtplain
%etex
%Generate standard eps
prologues:=2;
beginfig(0);
%Place RHS of x'=f(t,x,y) here
def fxy(expr t, x, y)=
(0.4-0.01*y)*x
enddef;
%Place RHS of y'=g(t,x,y) here
}
%etex
%Input Context macros
input mp-tool
%define ytick
vardef ytick(expr pos)=
path p;
p:=(-2,0)--(2,0);
draw p shifted pos;
enddef;
%define xtick
vardef xtick(expr pos)=
path p;
p:=(0,-2)--(0,2);
draw p shifted pos;
enddef;
%define pi
pi:=3.14159;
%define cosine in radians
vardef
to introduce some very basic
imitations of Omega's bidi support, prompted by XeTeX's Unicode
capabilities. Unfortunately, it rests on an eTeX check--not a problem
with Omega, but with Aleph, it means we clobber the \pardir primitives!
Oops, indeed.
Sounds like supp-dir needs a no-Omega check, as well
and I were trying to introduce some very basic
imitations of Omega's bidi support, prompted by XeTeX's Unicode
capabilities. Unfortunately, it rests on an eTeX check--not a problem
with Omega, but with Aleph, it means we clobber the \pardir primitives!
Oops, indeed.
Sounds like supp-dir needs
gives an error:
===
This is Aleph, Version 3.141592-1.15-2.1-0.0-rc4 (Web2c 7.5.3)
\write18 enabled.
Copyright (c) 2002--2004 the Aleph task force
entering extended mode
(test.tex
ConTeXt ver: 2005.03.16 fmt: 2005.3.21 int: english mes: english
systems : eTeX
:) )
texbytopic.pdf,
cseq.html,
The Advanced TEXBook (seem good; maybe i will buy it)
etex-man.pdf
Again, if you have some others...
luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
book as well; (david gave a nice few days course for the ntg
long ago so i also have the preprint somewhere)
etex-man.pdf
Again, if you have some others...
Beginner's Book of TEX
Seroul, Raymond, Levy, Silvio
1st ed. 1991. Corr. 3rd printing, 1995, XII, 284 pp., Softcover
ISBN: 0-387-97562-4
/teTeX/
share/texmf.t
etex/fonts/type1/public/pxfonts/pxsy.pfb/usr/local/teTeX/share/
texmf.tetex/fo
nts/type1/public/pxfonts/rpxr.pfb/usr/local/teTeX/share/texmf.tetex/
fonts/typ
e1/urw/palatino/uplri8a.pfb
/var/tmp/texfonts/pk/modeless/adobe/palatino/pplr
8r.86pk
Output written on Untitled-2.pdf
: eTeX version 201 - too old (bugs)
I downloaded pdftex 1.20b and tried to build from source, but no matter
what syntax I try, whether as root or as an ordinary user, I fail to get
pdftex to recognize the main texmf tree:
I'm doing
% ./Build --datadir=/usr/freeware/share
and I get
configure
to drop the non etex code]
named glyphs are not so much a problem, but we need to clean up the
fallback encoding defs a bit in order to prevent funny expansion
\def\literateencodedtokens
{% \let\dohandleaccent \keephandleaccent
% \let\dohandlecommand \keephandlecommand
\let\dohandlecharacter
the
sort/index code to become
aware of named glyphs and languages, and we can then plug in language
specific sorting rules [taking care of xml at teh same time]
Great.
[it's worth considering to drop the non etex code]
All right. etex can be everywhere now.
named glyphs are not so much a problem
/ etex / scripts and other subpath, while others were not reorganized
due to whatever historic reason [dvips vs pdftex vs generic], or not implemented
because it was too difficult to implement [web2c engine subpath] or because the
author was not willing to participate (czech stuff), or because
,}//
% e-TeX. This form of the input paths is borrowed from teTeX. A certain
% variant of TDS is assumed here, unaffected by the build variables.
TEXINPUTS.elatex = .;$TEXMF/{etex,tex}/{latex,generic,}//
TEXINPUTS.etex = .;$TEXMF/{etex,tex}/{plain,generic,}//
% pdfTeX. This form of the input
that i can merge it
one thing you can consider playing with is an etex variant; i attach a local
experimental file (it build on the old code, but keeping the calculations within
a \dimexpr may give even more accuracy because internally double precission is used
thanks for taking the time to look
,}//
TEXINPUTS.pdfetex = \
.;$TEXMF/{pdfetex,pdftex,etex,tex}/{plain,generic,context,}//
TEXINPUTS.context = \
.;$TEXMF/{pdftex,etex,tex}/{context,plain,generic,}//
... and so on.
So, anyone have an idea what I might have missed?
--
Matt Gushee
Englewood, CO, USA
} ConTeXt ver: 2004.11.06 fmt: 2004.11.19 int: english mes: english systems : pdfTeX version 110 - please update systems : eTeX version 201 - too old (bugs) ! Undefined control sequence. \c!gebied ={/home/ciro/} \xprocesscommaitem #1,#2-\if ,#1 ,[EMAIL PROTECTED] \xprocesscommaitem \else
Hans Hagen wrote:
first of all, \protected is not what you think it is; i had a \protected
before etex was around; the context name is \unexpanded
Ok, then what's \protected? Is it performing an \unprotect/\protect
pair around the definition? But then, why did it work?
\let
Christopher Creutzig wrote:
Hans Hagen wrote:
first of all, \protected is not what you think it is; i had a
\protected before etex was around; the context name is \unexpanded
Ok, then what's \protected? Is it performing an \unprotect/\protect
pair around the definition? But then, why did
)
entering extended mode
(./novel.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
ConTeXt ver: 2004.11.06 fmt: 2004.11.19 int: english mes: english
systems: pdfTeX version 110 - please update
systems: eTeX version 201 - too old (bugs)
language : language en is active
fmt: 2004.11.19 int: english mes: english
systems: pdfTeX version 110 - please update
systems: eTeX version 201 - too old (bugs)
! Undefined control sequence.
argument \c!gebied
={/home/ciro/}
\xprocesscommaitem #1,#2-\if ,#1
Hi,
Am using eclipse as my editor (eTex) but it is really too heavy, anyone
knows of an editor that works fine within tex and windows.
What about TexWork.
Many thanks.
Dirar.
_
Express yourself instantly with MSN Messenger! Download
Dirar BOUGATEF [EMAIL PROTECTED] writes:
Hi,
Am using eclipse as my editor (eTex) but it is really too heavy,
anyone knows of an editor that works fine within tex and windows.
See:
http://contextgarden.net/Text_editor
especially emacs...
Please share your experience on the wiki
Dirar BOUGATEF wrote:
Am using eclipse as my editor (eTex) but it is really too heavy, anyone
knows of an editor that works fine within tex and windows.
i use scite
Hans
-
Hans Hagen | PRAGMA
: eTeX version 201 - too old (bugs)
--- snip ---
system : macros of module bib loaded
(/usr/local/share/texmf/tex/context/bib/t-bib.tex
system : macros of module list loaded
(/usr/local/share/texmf/tex/context/bib/t-list.tex)
publications : loading formatting style from bibl
Hi Dirar,
I would suggest that you try Scite. This editor integrates very nicely
with Context and Hans has done a great job providing this integration.
Willi
Dirar BOUGATEF wrote:
Hi,
Am using eclipse as my editor (eTex) but it is really too heavy, anyone
knows of an editor that works fine
that Scite will do alignment of tables and other nice
automatic formatting?
At 03:20 PM 11/8/04 +0100, you wrote:
Dirar BOUGATEF wrote:
Am using eclipse as my editor (eTex) but it is really too heavy, anyone
knows of an editor that works fine within tex and windows.
i use scite
Hans
in the
background?
Not really an answer to your question, but I know about this possibility:
\startuniqueMPgraphic{copyright}
draw btex \bf COPYRIGHT etex rotated 60 withcolor .8white;
currentpicture := currentpicture ysized (\overlaywidth-0.5cm);
\stopuniqueMPgraphic
\defineoverlay
background. Suggestions?
The file junk2.tex:
\setupoutput[pdf]
\setupwhitespace[medium]
\startuniqueMPgraphic{concept}
draw btex \bf CONCEPT etex rotated 60 withcolor .8white;
currentpicture:=currentpicture ysized (\overlayheight-0.5cm);
\stopuniqueMPgraphic
\defineoverlay[concept
[pdf]
\setupwhitespace[medium]
\startuniqueMPgraphic{concept}
draw btex \bf CONCEPT etex rotated 60 withcolor .8white;
currentpicture:=currentpicture ysized (\overlayheight-0.5cm);
\stopuniqueMPgraphic
\defineoverlay[concept][\uniqueMPgraphic{concept}]
\setupbackgrounds[page][background
ystems: eTeX version 201 -> too old (bugs)
language : language en is active
protectionstate 0>
system : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color : pale
ish
systems: pdfTeX version 111 -> please update
systems: eTeX version 201 -> too old (bugs)
language : language en is active
protectionstate 0>
system : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems:
update
systems: eTeX version 201 - too old (bugs)
But I do seem to have the latest pdfTeX and eTeX versions:
gimli:~ shiv$ pdftex -v
pdfTeX (Web2C 7.5.2) 3.141592-1.11a
kpathsea version 3.5.2
gimli:~ shiv$ etex -v
e-TeX (Web2C 7.5.2) 3.141592-2.1
kpathsea version 3.5.2
Any idea where my
: eTeX version 201 - too old (bugs)
This is not critical (for most stuff?)
Any idea where my problem could be? Thanks,
Please post the complete output of a simple texexec run. And perhaps
you might want to have a look at the macosxtex mailinglist.
Patrick
--
ConTeXt wiki: http
/web2c/cp8bit.tcx)
**cont-en TypescriptTest.tex
(./TypescriptTest.tex{c:/TeXLive/texmf-var/pdftex/config/pdftex.cfg}
ConTeXt ver: 2004.10.19 fmt: 2004.10.24 int: english mes: english
systems: pdfTeX version 111 - please update
systems: eTeX version 201 - too old (bugs)
language
/cp8bit.tcx)**cont-en TypescriptTest.tex(./TypescriptTest.tex{c:/TeXLive/texmf-var/pdftex/config/pdftex.cfg}
ConTeXt ver: 2004.10.19 fmt: 2004.10.24 int: english mes: english
systems : pdfTeX version 111 - please update
systems : eTeX version 201 - too old (bugs)
language : language en
Metapost page) from
a public directory;
The MetaObj package could be as important as Metapost itself for
the ex-pstricks users; so it should be easy to get the last version
4 - about ConTeXt and Metapost:
What should I put in the verbatimtex ... etex header
to be able to use ConTexT
Maurice Diamantini wrote:
4 - about ConTeXt and Metapost:
What should I put in the verbatimtex ... etex header
to be able to use ConTexT in btex..etex instead of LaTex?
(I don't want use (for now ) the inside ConTeXt document method
for the sake of environnement robustness
Le 26 oct. 04, à 13:53, Hans Hagen a écrit :
Maurice Diamantini wrote:
4 - about ConTeXt and Metapost:
What should I put in the verbatimtex ... etex header
to be able to use ConTexT in btex..etex instead of LaTex?
(I don't want use (for now ) the inside ConTeXt document method
: english mes: english
systems: pdfTeX version 111 - please update
systems: eTeX version 201 - too old (bugs)
language : language en is active
protectionstate 0
system : cont-new loaded
(c:/TeXLive/texmf/tex/context/base/cont-new.tex
systems: beware: some patches
.
Thank you very much.
-- Maurice Diamantini,
verbatimtex % -*-latex-*-
%latex
\documentclass{article}
\usepackage[latin1]{inputenc}
\begin{document}
\sffamily
etex
input mp-tool ; % some initializations and auxiliary macros
input mp-spec ; % macros that support special features
);
% ...
% I'll have to create my one metaObj (later)
% newCircle.a1() circmargin(0.3u);
% label(btex $x^2$ etex, z1);
newCircle.a0(btex 0 etex) circmargin(0.1u);
newCircle.a1(btex 1 etex) circmargin(0.1u);
newCircle.a2(btex 2 etex) circmargin(0.1u);
a0.c = z0;
a1.c = z1;
a2.c = z2
paths to objects and then labels these. Here is my
first try, seems to work:
\startMPinclusions
input metaobj;
\stopMPinclusions
\startreusableMPgraphic{labeltest}
newCircle.a(btex A etex);
newCircle.b(btex B etex);
a.c=origin
(* Please excuse my poor english *)
Semicolon usage in btex ... etex seems weird to me. Can you help me ?
The following source don't produce the expected result :
% WRONG
\startuseMPgraphic{test}
dotlabel.top(btex 2;3 etex, (0,0)) ;
\stopuseMPgraphic
\starttext
... etex seems weird to me. Can you help me ?
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
-1.10b-2.1 (MiKTeX 2.3) entering
extended mode (junk.tex{pdftex.cfg}
ConTeXt ver: 2004.10.07 fmt: 2004.10.15 int: english mes: english
systems : pdfTeX version 110 - please update
systems : eTeX version 201 - too old (bugs)
language : language en is active
}
ConTeXt ver: 2004.10.07 fmt: 2004.10.15 int: english mes: english
systems: pdfTeX version 110 - please update
systems: eTeX version 201 - too old (bugs)
language : language en is active
protectionstate 0
system : cont-new loaded
(F:\miktex\tex\context\base\cont-new.tex
Hello Mojca Miklavec,
The following example works on [EMAIL PROTECTED], but on my computer
it only writes unknown at the place of x. btex etex also doesn't
work in ConTeXt (metaplay) on my computer, although it does without
any problems in metapost/mptopdf.
do you have
\protectbufferstrue
i ran into toks problems like that, and after some heavy
debugging with taco, we found out that there was an etex bug; this is
fixed now (registers 255 were not properly allocated by etex)
you run into that problem because the 'updated protruding/hz support'
allocates registers and due
will fix the tree (map files are now under /fonts/map) and you
need to change the texmf.cnf file accordingly
TEXPSHEADERS =
.;$TEXMF/{fonts/{enc,map,type1,truetype},dvips,pdftex,tex}//;$TEXMF/{etex,tex,pdftex,dvips,fonts/type1}//
TEXFONTMAPS =
.;$TEXMF/{fonts/map//,fontname};$TEXMF/{pdftex,dvips
The following example works on [EMAIL PROTECTED], but on my computer it
only writes unknown at the place of x. btex etex also doesn't work
in ConTeXt (metaplay) on my computer, although it does without any
problems in metapost/mptopdf.
\starttext
\startMPpage
draw textext.origin(x);
draw
Hi,
there is an additional space in the end of the line 653 in supp-mps.tex
(latest alpha):
\immediate\write\MPwrite{verbatimtex \MPinputtranslation etex ;}
It causes e.g. wrong left bbox border in
-
\startuseMPgraphic{c}
draw fullsquare scaled 2cm;
\stopuseMPgraphic
Moin!
First of all thanx to Hans and Willi for testing. It seems that I have to
update my (pdf)etex to a newer version. No bug: lucky Hans, unlucky me ;)
Willi Egger wrote:
Hi Peter
I tried your example wit the alpha version:
This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
...
ConTeXt
3.141592-1.20a-rc4-2.1 (MiKTeX
2.4)output format initialized to DVIentering extended
mode(test.run
ConTeXt ver: 2004.10.07 fmt: 2004.10.7 int:
english mes: english
systems : eTeX
version 201 - too old (bugs)
language : language en is
activeprotectionstate
0system : cont-new
OK, this is not a real error, but the latest version keeps nagging for
updates:
ConTeXt ver: 2004.06.10 fmt: 2004.10.6 int: english mes: english
systems: pdfTeX version 111 - please update
systems: eTeX version 201 - too old (bugs)
This looks more serious:
(/usr/local/teTeX
ver: 2004.10.1 fmt: 2004.10.3 int: english mes: german
systems: pdfTeX version 111 - please update
systems: eTeX version 201 - too old (bugs)
Greetings,
Peter
% interface=en output=pdftex
\setupcolors[state=start]
\setupinteraction[state=start]
\starttext
\showmakeup
\def
example...
ConTeXt ver: 2004.10.1 fmt: 2004.10.3 int: english mes: german
systems: pdfTeX version 111 - please update
systems: eTeX version 201 - too old (bugs)
it looks ok here, do others have the same problem?
(\showmakeup may not be that handy in such cases)
\noindent
\vbox
111 - please update
systems: eTeX version 201 - too old (bugs)
it looks ok here, do others have the same problem?
(\showmakeup may not be that handy in such cases)
\noindent
\vbox{%
\field[Button1]
\field[Button2]
\field[Button3]
}
may better be:
\noindent \vbox{\forgetall
list for ConTeXt users
Betreff: Re: [NTG-context] PPCHTeX Bug?
Am Di, den 14.09.2004 schrieb Henning Hraban Ramm um 14:44:
some PPCHTeX code wouldn't work
Dear readers,
the code in question was the following:
--
\documentclass{article}
\usepackage{etex}
%\usepackage
-context] PPCHTeX Bug?
Am Di, den 14.09.2004 schrieb Henning Hraban Ramm um 14:44:
some PPCHTeX code wouldn't work
Dear readers,
the code in question was the following:
--
\documentclass{article}
\usepackage{etex}
%\usepackage{pstricks,pstcol,pst-plot}
\usepackage{m
=~
/etex|eetex|pdfetex|pdfeetex|pdfxtex|xpdfetex|eomega|aleph/io ) {
$TeXPrefix = *;
}
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
Hans Hagen said this at Fri, 17 Sep 2004 14:33:19 +0200:
if ( $TeXExecutable =~ /etex|
eetex|pdfetex|pdfeetex|pdfxtex|xpdfetex|eomega|aleph/io ) {
$TeXPrefix = *;
}
Mind adding xetex to that list on your next release
On Thu, 26 Aug 2004 22:07:23 +0200, Nikolai wrote:
Hi!
I remember reading somewhere that you can't use btex ... etex in input
.mp files, as there is no possibility for them to be processed at that
time.
That is somewhat incorrect information. You can not use btex ... etex in
a normal way
* Taco Hoekwater [EMAIL PROTECTED] [Aug 27, 2004 11:28]:
I remember reading somewhere that you can't use btex ... etex in
input .mp files, as there is no possibility for them to be
processed at that time.
That is somewhat incorrect information. You can not use btex ... etex
in a normal
On Fri, 27 Aug 2004 12:32:31 +0200, Nikolai wrote:
* Taco Hoekwater [EMAIL PROTECTED] [Aug 27, 2004 11:28]:
If you need run-time TeX labels, you can use the textext() macro from
metafun, or John Hobby's TEX() macro (available after input tex;)
Hm, I tried textext(). Can it be used in
() stuff or other generated
btex ... etex stuff, but no btex ... etex in the picture itself, the
extra run for the labels is not performed. This needs fixing and should
probably not be impossible to fix, but I guess it's yet another one of
my pushing the limits of ConTeXt/MetaPost-problems. I cannot
as well, will check.
Anyway, the real problem was that texexec doesn't run with --mptex when
it actually needs to. If there are textext() stuff or other generated
btex ... etex stuff, but no btex ... etex in the picture itself, the
extra run for the labels is not performed.
Perhaps
Hi!
I remember reading somewhere that you can't use btex ... etex in input
.mp files, as there is no possibility for them to be processed at that
time. I've hit a snag, though, and this would really be a good thing
for me to have. Is there any way to get similar behavior? Basically, I
want
file, consisting of any header commands
specified in the Metapost file, and whatever is between btex and etex
tags. It also puts in stuff so that what's between each pair of tags
gets put on its own page. (This is actually done with the mpto command,
rather than in Metapost itself; if you just run
the next etex, and it will
run the external command makempx with the current filename as argument.
* makempx's goal is to create a file with the same name as it's argument, but
with the extension replaced with .mpx. That file will contain a series of
low-level MetaPost commands for each
dumps out a TeX file, consisting of any header commands
specified in the Metapost file, and whatever is between btex and etex
tags. It also puts in stuff so that what's between each pair of tags
gets put on its own page. (This is actually done with the mpto command,
rather than in Metapost itself
Taco Hoekwater wrote:
- The location pointer in the .mpx file is saved for subsequent labels.
a small addition:
- since we are dealing with parsing, btex .. etex cannot be changed dynamically, which is one of the reasons why metafun has the textext macro which provides an alternative for btex
working on XeTeX drivers for ConTeXt that should get to a 90%
solution soonish... the question will then be what weird ConTeXt
features will you need?
For those not aware, XeTeX is a very interesting eTeX variant that hooks
into MacOSX's advanced typography. It's Unicode-native, and uses
that should get to a 90%
solution soonish... the question will then be what weird ConTeXt
features will you need?
For those not aware, XeTeX is a very interesting eTeX variant that hooks
into MacOSX's advanced typography. It's Unicode-native, and uses native
Mac fonts without any TeXFont-y conversion
Am 21.08.2004 um 20:04 schrieb Adam Lindsay:
For those not aware, XeTeX is a very interesting eTeX variant that
hooks
into MacOSX's advanced typography. It's Unicode-native, and uses native
Mac fonts without any TeXFont-y conversion necessary. It supports
Apple's
AAT features as well as OTF
Henning Hraban Ramm said this at Sat, 21 Aug 2004 20:37:18 +0200:
Am 21.08.2004 um 20:04 schrieb Adam Lindsay:
For those not aware, XeTeX is a very interesting eTeX variant that
hooks
into MacOSX's advanced typography. It's Unicode-native, and uses native
Mac fonts without any TeXFont-y
\cr#2\cr}}$} etex
circleit.aa(btex\strut Start etex); aa.dx=aa.dy;
circleit.bb(btex \stk B{(a|b)^*a} etex);
circleit.cc(btex \stk C{b^*} etex);
circleit.dd(btex \stk D{(a|b)^*ab} etex);
circleit.ee(btex\strut Stop etex); ee.dx=ee.dy;
numeric hsep;
bb.c-aa.c = dd.c-bb.c = ee.c-dd.c = (hsep,0);
cc.c
]
\startreusableMPgraphic{test}
input metaobj;
color t; t:=\MPcolor{Transparent};
setObjectDefaultOption(Box)(fillcolor)(t);
newBox.test(btex Transparent? etex) filled(true);
Obj(test).c=origin;
drawObj(test);
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{test}
\stoptext
[global]
\definecolor[Durchsichtig][r=1.0,g=1.0,b=1.0,t=0.0,a=normal]
\stopMPenvironment
\startreusableMPgraphic{test}
input metaobj;
setObjectDefaultOption(Box)(fillcolor)(\MPcolor{Durchsichtig});
newBox.test(btex Transparent? etex) filled(true);
Obj(test).c=origin
}
input metaobj;
setObjectDefaultOption(Box)(fillcolor)(\MPcolor{Durchsichtig});
newBox.test(btex Transparent? etex) filled(true);
Obj(test).c=origin;
drawObj(test);
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{test}
\stoptext
If I use the fillcolor
. There are also some spacing issues when used in combination with other macro package features. Another complication is that active characters are used for other features as well. I had put it on my todo list to reimplement some of the context verbatim features using etex (more robust and faster
Hello Hans and Matt,
here is my solution:
in texexec.ini change
set TeXFormatFlag to
into:
set TeXFormatFlag to
(empty)
and run texexec like:
texexec --tex=pdfetex file.tex
this is because texexec checks
if ( $TeXFormatFlag eq ) {
if ($TeXProgram =~ /(etex
Hello all, Please see the following code:
GbLabelName="Gubbi";. . . label.bot(btex $GbLabelName$ etex, (0,0) ); .Here I get "GbLabelName" itself in the output instead of "Gubbi".
I tried using "\GbLabelName" and also "\scantokens\GbLabelName&q
Dear gang,
What is the simplest way to add a grey watermark to a draft document that
says DRAFT on each and every page. I will be using eomega so I will have
etex but not pdftex (in case that makes a difference. The DRAFT should
be enlarged (bigger than \tfd perhaps) and run diagonal across
--
\startuseMPgraphic{test}
draw btex $\frac{a}{b}$ etex;
draw btex $\root a \of b$ etex shifted (10,10)
\stopuseMPgraphic
\useMPgraphic{test}
--
as a workaround. But this still looks like an unwanted behaviour to
me.
Patrick
Hi,
any reason you use textext here? Do you need changing labels? If not,
you should use [...] draw btex $\frac{a}{b}$ etex; [...]
I thought textext was just a faster version of btex ... etex and
supposed that this would be the 'way to go', since it is a part of
MetaFun. But I checked out
I put in my ordinary mp files:-
---
input metafun ;
verbatimtex
..any required preliminary ConTeXt statements \setupbodyfont etc.
\starttext
etex
.. normal metapost
verbatimtex
\stoptext
etex
end
---
The assembly script needs a line like
export TEX=texexec
:
\starttext
\startMPpage[offset=4cm]
z1=(0,1cm); z2=(3cm,1cm);
dotlabel.top(btex $z_1$ etex,z1);
dotlabel.top(btex $z_2$ etex,z2);
draw textext($\string\underbrace{\hbox to
decimal(xpart(z2)-xpart(z1))pt{\hss}}$) shifted .5[z1,z2];
\stopMPpage
\stoptext
or:
\starttext
\let
On Fri, 16 Apr 2004 09:31:04 +0200, Hans Hagen [EMAIL PROTECTED] wrote:
the reason for adding newlines after ;'s is that there have been
problems with the metapost buffer length
i didn't test itm, but maybe
s/(btex.*?)\;(.*?etex)/[EMAIL PROTECTED]@[EMAIL PROTECTED]/gmois
to typeset this simple source (test.tex) :
\startuseMPgraphic{fig-mpost}
draw (0,0)--(2cm,2cm) ;
label.ulft(btex $x^2+1$ etex, (1cm,1cm)) ;
\stopuseMPgraphic
\starttext
This is my figure.
\placefigure[here][fig-example]{My figure}{\useMPgraphic{fig
maybe adding
\forceMPTEXgraphictrue
helps
Hans
No, unfortunately this doesn't work.
It still displays
! Unable to make mpx file.
l.39 def Eplus_ = btex
$+$etex enddef;.
Anyway, thanks for your help.
Best regards,
Sebastian
circlib.mp
circlib.mpx
! Unable to make mpx file.
l.39 def Eplus_ = btex
$+$etex enddef;
Transcript written on mpgraph.log.
error in metapost run : mpgraph.mp:39
Enabling \write18 and changing the MPXcommand to texexec --mptex didn't
help.
I would be very grateful
At 17:38 26/02/2004, you wrote:
which case the first character in the body of the command is checked
\doifnextcharelse[... which thus fails but in some manner eats it (even
tricky indeed (will think about it)
go the etex way:
\definecomplexorsimpleempty\startbnfgrammar
\long\def
* Hans Hagen [EMAIL PROTECTED] [Feb 26, 2004 19:10]:
go the etex way:
great! thanks, that worked.
no % are needed after a \cs:
hm, OK. This is a good reason why it would be good to have a tex
programming reference, so that one'd know when it's necessary and when
it's not.
I assume
Thursday, February 12, 2004 Hans Hagen wrote:
Hi,
A numexpr either ends with a \relax or is delimited by ()
So, the following works as expected:
\number\numexpr(1) test
but ... the following gives an error message:
\number\numexpr(1) /test
so, the expr parser looks beyond the )
At 12:59 14/02/2004, you wrote:
Observe that this is congruent with the TeX way of scanning for
assignments.
not entirely since the space is not seen as a delimiter
\count0=123 4
\count0=\numexpr(123) 4
So always put a \relax after an expression :)
yes, but i'm occasionally surpised when a
701 - 800 of 838 matches
Mail list logo