David,
The method I use to get bold math is on the wiki:
http://wiki.contextgarden.net/Bold_Math
under Wrapping in a \hbox.
Then, to get a bold x, I would use $\boldsymbol{x}$.
Regards,
David
David Arnold :
How do I get a bold x in math mode?
___
Very interesting, but with these definitions, I can't get roman
characters in formulae. For the moment, the best solution for me is
still the hbox wrapper.
David
Adam Lindsay wrote:
\startmathcollection[default] %eventual patch for math-tex?
\definemathcharacter [a] [nothing] [mi] [61]
Adam Lindsay wrote :
David Munger wrote:
Very interesting, but with these definitions, I can't get roman
characters in formulae. For the moment, the best solution for me is
still the hbox wrapper.
Okay.
What do you mean by can't get roman characters? Can you give an
minimal example
Adam Lindsay wrote :
David Munger wrote:
Adam Lindsay wrote :
David Munger wrote:
Very interesting, but with these definitions, I can't get roman
characters in formulae. For the moment, the best solution for me is
still the hbox wrapper.
Okay.
What do you mean by can't get roman
Hi Mojca,
I must say I understand about nothing about fonts in ConTeXt. But I've
somehow managed do define a bold vector command, working in my
environment. I hope it helps.
\definetypeface [boldmath] [mm] [boldmath] [latin-modern] [default]
% boldsymbol work-around
Hi all,
There have been many requests in the last few months regarding the
RawSteps module, but I had not much time to spend on it before the
holidays. Until Patrick updates the garden, you can grab the updated
module on my website:
http://mhd.selfip.info/tex/
The documentation is also updated
gnuplot is great indeed, but the output is rather large; it would be nice if
there was a real good output mode (say, comparable to the output produced by
metapost: compact, parsable);
btw, is it really that difficult to use gnuplot output in context?
Hans
I often use metapost output
The way I usually do it:
\startformula
\mframed[offset=.3em,rulethickness=1pt]{a^2 + b^2 = c^2}
\stopformula
Regards,
David
Le Vendredi 30 septembre 2005 à 13:41 +0200, Jilani Khaldi a écrit :
Hi All,
how to make a boxed formula with ConTeXt?
Thanks!
Jilani,
Thank you for your answer. I seems that \startformula .. \stopformula
doesn't have any effect to produce a dispaly mode formula.
When I try:
\startformula
\mframed[offset=.3em,rulethickness=1pt]{
I=x-\sqrt2\,\arctan\frac{x}{\sqrt2}+C}
\stopformula
it does typeset a displayed
/
David
Le Jeudi 22 septembre 2005 à 08:56 +0200, Christopher Creutzig a écrit :
David Munger wrote:
Unfortunately, the \StartLong macro is not meant only for producing
line-wise content. In the general case, it contains something else than
just \starttyping block.
Please try
Hans,
The RawSteps module produces virtual slides with stepping, by rendering
the step incrementally on successive pages. Thus, the
\StartSteps...\StopSteps macro has to expand its argument (i.e. the
content of the slide) a certain number of times, depending the number of
requested steps. Of
Hans Hagen:
did you ever try
texexec --mode=demo s-pre-61
using 'layers' is rather robust (no duplicate pages and such);
Of course, I did. The only issue is about JavaScript, which does not
work in most non-Acrobat PDF readers. This is the purpose of the
RawSteps module: to avoid
Le Mercredi 21 septembre 2005 à 14:38 +0200, Christopher Creutzig a
écrit :
David Munger wrote:
\long\def\StartLong#1\StopLong{#1}
\starttext
\StartLong
\starttyping
hallo
\stoptyping
\StopLong
\stoptext
This will produce no error, but no output as well. Maybe we could use
a écrit :
Hi,
\starttyping needs to be followed by a newline, but macro
arguments cannot contain newlines unless \obeylines is in
effect. So:
\def\StartLong{\begingroup\obeylines\doStartLong}
\long\def\doStartLong#1\StopLong{\scantokens{#1}\endgroup}
Cheers,
Taco
David Munger
alternate mechanism to define the \StartLong...\StopLong pair.
However, this is beyond my knowledge. Hans?
Regards,
David
Le Monday 12 September 2005 à 19:04 +0200, Peter Münster a écrit :
On Mon, 27 Jun 2005, David Munger wrote:
I'm currently not at home. I'll be back next week and then I'll try
Hans Hagen :
Hi,
I made a spell checking extension (tex/xml aware), wrapper and some more
stuff for scite. Should work with any recent scite version. Of course
the challenge is to get it working for all kind of encodings.
Is there any interest for this kind of things?
Hans
I always
Hi Peter,
I'm currently not at home. I'll be back next week and then I'll try to
figure out what happens.
Regards,
David
Peter Münster :
Hello,
could somebody help me with the following problem please?
With the following test file, I get the error
ERROR: Illegal parameter number in
Reminds me of this post:
http://archive.contextgarden.net/message/20041101.205339.1e76d98d.html
I bet that is what we all do!
David
Matthias Weber :
Hello again,
oh my, this was a stupid mistake. I added the
[screen] and [print] parameters to \stopmode.
No wonder that is what is being
Hi Stuart,
I use to have the same problem some time ago, and I've found the
solution on the wiki:
http://contextgarden.net/Empty_page_at_the_end
Regards,
David
Le mardi 26 avril 2005 17:01 -0600, Stuart Jansen a crit :
When I divide my document into \startfrontmatter, \startbodymatter,
Le mardi 19 avril 2005 09:43 +0200, Hans Hagen a crit :
David Munger wrote:
Hans,
That's not enough. There is another problem when ConTeXt text has to be
rendered from inside MetaPost graphics. Consider the following code:
\starttext
\startuseMPgraphic{mptest}
label (btex
Solved.
Insert the usual escaping command before line 2769 of texexec.pl:
...
unless ( $dosish !$escapeshell ) {
$cmd =~ s/[^\\]\/\\\/io ;
}
$Problems = system($cmd $MpMpName);
David
___
ntg-context mailing list
ntg-context@ntg.nl
Hi John,
John R. Culleton :
I need to insert some example pages from one document into
another. Both are 8.5 x 11.
I have read the old posts about \startTEXpage etc. and looked at
the source code. But I still have a few questions:
1. Can I select e.g., just page 2 from the external
Hi Steffen,
I'm used to doing it this way:
\def\ChapterTitleCmd#1#2%
{\vbox
{\blank[6*big]{\tfd #1}\blank[big]{\bfd #2}\blank[2*big]}}
\setuphead [chapter] [style={},header=empty,command=\ChapterTitleCmd]
Regards,
David
Steffen Wolfrum :
Hi,
probably a silly question -
Hans,
That's not enough. There is another problem when ConTeXt text has to be
rendered from inside MetaPost graphics. Consider the following code:
\starttext
\startuseMPgraphic{mptest}
label (btex test etex, origin);
\stopuseMPgraphic
\useMPgraphic{mptest}
\stoptext
Even with the patch for
Hi Thomas,
Thanks for trying, but it is not the correct way. Sorry for being
unclear. The point is that shell escaping was not done in the proper
way. Fix 1 used to do it in the configuration file (texexec.ini) which
is basically a bad idea. Shell escaping has to be done properly by
texexec.
I tried today's beta too. Got exactly the same output as Otared's.
Regards,
David
Otared Kavian :
Then after making a texhash, ran again context and ended up with an
error, which is not exactly as yours:
No pages of output.
Transcript written on cont-en.log.' instead of a
Sorry to bother again, but could somebody please check if they get these
undesired page numbers within the interaction menu from this code?
It seems to me that it is a bug, unless there is some setup command
missing in my code.
Thanks for any help,
David
David Munger :
Hello
Hans,
unless ( $dosish ! $escapeshell ) {
$cmd =~ s/[^\\]\/\\\/io ;
}
The space before the gets replaced by a \ so that cmd was:
... -int=batchmode cont-en
and becomes:
... -int=batchmode\cont-en
Maybe use:
$cmd =~ s/([^\\])\/$1\\\/io ;
David
\hbox to \textwidth {\stretched{pr{\'e}doctoral}}
\hbox to \textwidth {\stretched{pr{}doctoral}}
Right. Thanks.
an other alternative is to use the properties mechanism
Do you mean with something like:
\hbox to \textwidth
{\setuptolerance[stretch]inter word space is stretched} ?
David
Hello,
Is there a way to remove the page number from the interaction menu? I
might be doing something wrong. Thanks for any clue.
Minimal example:
\setuppapersize [S6][S6]
\setuplayout [height=300pt, bottom=24pt]
\setupbodyfont [20pt]
\setupinteraction [state=start, menu=on]
It works pretty well, thanks a lot!
David
Taco Hoekwater wrote :
\setupcite[author,year][left=,right=] % disable braces
\def\citewithpages[#1]#2{% new command
(\cite[author][#1], \cite[year][#1], #2)%
}
\citewithpages[davidson2001]{pp. 163-170}
Hello,
Is it possible to get page numbers (or a chapter number) displayed in a
citation, e.g.
\cite[authoryears]{pp. 163-170}[davidson2001]
and
see \cite[authoryear]{chap. 3}[davidson2001]
would format as:
(Davidson, 2001, pp. 163-170)
and
see Davidson (2001) chap. 3
Thanks for any clue,
The bib module won't complete the publications list when there is more
than one cite command. Try the following:
\usemodule[bib]
\startpublication[k=biskamp2003,t=inbook,
a={Biskamp},y=2003,n=1,s=Bis03]
\author[]{Dieter}[D.]{}{Biskamp}
Giuseppe Bilotta wrote :
\appendtoks
\livesupsub@
\to\everymath
in t-nath.tex after the definition of livesupsub@ and
killsupsub@
Hmm... It seemed to work at first, but it just moved the problem. Now
it's (\sum) limits that are typeset like in inline style.
Maybe Hans has some
\bfm seems broken in 2004.12.06
Compiling the following:
\setupformulas [method=bold]
\starttext
\startformula
{\bfm x}
\stopformula
\stoptext
results in:
...
! Bad number (127).
argument \defaultskewcharmi
\dosetskewchar ...ar \empty \skewchar \textfont #1
Hi NIkolai,
It might not be the only way, this should work:
\placefigure
[here]
[fig:somelabel]
{Caption}
\placelegend{Figure}
{Text}
Nikolai Weibull wrote :
How do I get a figure with text that is displayed like
Figure
Text
Caption
where we first have the
Giuseppe Bilotta wrote :
Try the attached nath module.
Works great. Thanks.
David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
Patrick Gundlach wrote :
Dear ConTeXt (and texshow-web) users,
I am currently translating texshow-web into various languages. Well
I'd like to, but all languages besides german (and english) give me
headaches... So I am looking for some native speakers to help me
translating. The job is
Hello Giuseppe,
Thanks for your good work. Sorry for reminding this bug to you, but it's
the only reason why I can't use nath even though I wish a lot. About the
problem unicode characters in toc.
Ref.: http://www.ntg.nl/pipermail/ntg-context/2004/005306.html
I attached a minimal example
Ok. I got a simpler example (no TOC):
\usemodule [nath]
\enableregime [utf]
\starttext
^^c3^^a9
\stoptext
With nath, I get ^^c3^^a9 in the output; without, I get .
Thanks for any help,
David
___
ntg-context mailing list
[EMAIL PROTECTED]
Otared Kavian wrote :
Hi David and all ConTeXters,
I was away from my e-mail so I am late in answering.
Thank you for the file you put on your site. Indeed everything works
as intended (the \placeformula no longer advances with each step),
and I think one may suggest to Hans to include
Hans Hagen wrote :
David Munger wrote:
I'm sorry, I'm no TeX/ConTeXt guru and I really have no idea of how to
achieve this. I think now we need Hans' help.
I haven't followed the discussion so closely, what is the problem?
We're trying to implement steps-without-JavaScript for slides
,
%D title=\CONTEXT\ User Module,
%D subtitle=Raw steps for slides,
%D author=David Munger,
%D date=\currentdate,
%D copyright={David Munger}]
% Thanks to Otared Kavian whose work inspired this module,
% and who contributed to its development
Otared Kavian wrote :
Hi David,
I could not get through the example file: here is what I get:
Argh... It's because of the line splits in email. I just put the file on
my website:
http://cfd.homelinux.org/tex/
Regards,
David
___
ntg-context
Otared Kavian wrote :
Hi David, Hi all Contexters,
Sorry for being late in answering.
I just tried to test your code but did not succeed in showing things
step by step, even after adding:
\def\Subject#1{\centerline{\bf #1}}
\setuppapersize [S6][S6]
\setupcolors[state=start]
and
Hi all,
Inspiring from Otared Kavian's code and Han's presentation styles with
support for steps, I cooked the following in order to solve the non
JavaScript version issue. I post it in case it could be useful to other
people.
This implementation supports an \{Only|From|Until}Step[n] syntax as
Hi Otared,
Thanks a lot for you macros. They do the job pretty well. They remind me
of the way Prosper does things. When I have time, I'll try to find out
how to Wiki your post. Thanks again!
David
Otared Kavian wrote :
Hi David,
A few months ago I had to use steps in my presentations, but
10:58 +0100, Hans Hagen a crit :
Henning Hraban Ramm wrote:
Am 02.11.2004 um 07:04 schrieb David Munger:
Could someone tell me if I'm doing something bad here, please?
File test.tex
---
\usemodule[pre-original]
\starttext
\Subject{Test}
step 1
Hi,
Could someone tell me if I'm doing something bad here, please?
File test.tex
---
\usemodule[pre-original]
\starttext
\Subject{Test}
step 1
\presentationstep
step 2
\stoptext
---
texexec --mode=step --output=pdf test.tex
This gives me a
Hi,
I can't figure out how to get \definemathsymbol work with txfonts
extended-A math fonts:
\definemathsymbol [oiint] [op] [txexa] [09]
\starttext
I want to get this: \getglyph{txexa}{\char09}
\startformula
\oiint f(x,y) \,da
\stopformula
\stoptext
Thanks for any help,
David
Oh, great! I'm really looking forward to get this new version. By
the
way, would you be so kind to include some multiline equation
environment? Something like (or better than)
\[
first part of very long equation
\eqbreak
second part of very long equation
\eqbreak
third part of
And by the way, is there a way to lock the total width of the table
without setting the width of individual cells?
you can set the 'offset'; think of each table cell as being something
\framed
Ahh... So that was the point. Works perfectly. Thank you.
And how about locking the table's total
Is there some way of telling startcases/stopcases to behave in
display
mode?
Yup, I just changed a couple of things and now we have a
\startbigcases ... \stopbigcases for this. Will upload new
version soon.
Oh, great! I'm really looking forward to get this new version. By the
way, would you be
there has been a fix in the guillemots (wrong latin modern defs)
It works great now. Thanks a lot, Hans.
David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
Hello,
Processing this source:
\enableregime [utf]
\mainlanguage [french]
\starttext
Let's quote \quote{something}.
\stoptext
with
ConTeXt ver: 2004.4.9 fmt: 2004.5.20 int: english mes: english
results in pdf with strange symbols instead of french quotation marks.
It used to work fine with:
Hello Giuseppe,
I'm having a little trouble with the cases in amsl.
Compiling this:
\[
f(x) =
\startcases
0 \text{if $x -\epsilon$} \\
\frac12 \text{if $x \epsilon$}
\stopcases
\]
results in an error around the \frac. Changing it to \dfrac makes the
input compile ok, but
Hi all,
I've just found a little workaround for using boldsymbols. It works
even with the nath module. It's probably not the best way of doing it,
but since it does the trick for me, I guess it might useful to other
ConTeXters.
Here it is:
\define[1]\boldsymbol{{\hbox{\formula{\bfm #1
\define[1]\boldsymbol{{\hbox{\formula{\bfm #1
When using nath, it doesn't work with inline formulas. So in that case,
better use
\unprotect
[EMAIL PROTECTED] \bfm #1 [EMAIL PROTECTED]
\protect
___
ntg-context mailing list
[EMAIL PROTECTED]
\enableregime[utf]
in the preamble and unicode characteurs in the document are typeset
correctly. But, in the table of contents and in the index, they are
replaced with their hex codes with some garbage.
how does the \jobname.tuo file looks like? maybe you run a 7 bit tex
(in which care you
Hello,
I'm using
\enableregime[utf]
in the preamble and unicode characteurs in the document are typeset
correctly. But, in the table of contents and in the index, they are
replaced with their hex codes with some garbage.
Anything I might be doing wrong?
David
Hello,
The following outputs a nice bold displayed omega (the first one), and
a thin normal inline one (the second one):
\usemodule [nath]
\setupbodyfont [12pt]
\definebodyfont [12pt] [mm] [mibf=cmmib10 sa 1]
\starttext
\[\bfmath \omega\] $\bfmath \omega$
\stoptext
Note that replacing nath
Hello,
Compiling the following results in indented text following the formula:
% interface=en tex=pdfetex output=pdftex
\usemodule [nath]
\setupindenting [medium]
\starttext
\section{Some section}
Let
\placeformula
\[
f(x) = x^2,
\]
where $x$ means nothing.
\stoptext
I'd like where $x$ means
Hello,
I know this topic was treated in the past years, but I couldn't find the
answer in mailing list archives.
So, is there any ConTeXt equivalent to LaTeX's \psfrag command? It would be
very useful to process PostScript output from vector graphics drawing
programs.
David
in
ConTeXt are described in the METAFUN-manual on pages 9, 81-82, 115
For your refernce I attach a small demo file using your code ...
Kind regards Willi
David Munger wrote:
Hello,
The following code results in no label output:
\starttext
\startMPcode
label.top(btex Some label etex, (1cm,1cm
Patrick Gundlach wrote :
Do you have \protectbufferstrue in cont-sys.tex?
That was the exact point. It fixed it. Thanks a lot!
David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
Patrick Gundlach wrote :
Hi David,
So, is there any ConTeXt equivalent to LaTeX's \psfrag command?
No.
It would be very useful to process PostScript output from vector
graphics drawing programs.
How does psfrag from LaTeX work internally? Perhaps we are able to
make something similar.
I
what ConTeXt version do you have? It sounds like an older one.
texexec says:
ConTeXt ver: 2003.12.12 fmt: 2003.12.14 int: english mes: english
Freshly downloaded, but poorly installed by a novice... Actually I replaced
the ConTeXt part from the debian unstable package source. So teTeX and
Hello Giuseppe, you've done a great work with amsl an nath modules!
Seems that there is a little bug when you try to gather more than two
formulas:
\placeformula
\startgather
f(x) = x \\
g(x) = x^2 \\
h(x) = x^3
\stopgather
When doing so, I end up with the last two equations on the same
\placeformula
\startgather
f(x) = x \\
g(x) = x^2 \\
h(x) = x^3
\stopgather
I will look into this. Are you using amsl only or nath too?
It works well with amsl only. Though it would be nice to have an option to
chose between individual numbering or one number for all equations.
The
What version of ConTeXt are you using?
texexec says:
ConTeXt ver: 2003.1.31 fmt: 2003.10.4 int: english mes: english
I'm using the version included in debian unstable's tetex package.
* formula (sub)numbering needs a good cleanup in ConTeXt (just
like math support in general ...). I need to
Monday, December 8, 2003 Giuseppe Bilotta wrote:
Regarding your problem(s):
* with the ConTeXt version I have (2003.09.26), all lines in
the gather are separate. The whole block has a single number,
though. This is both with, and without nath.
* formula (sub)numbering needs a good cleanup
[Sorry if this is a repost. The first time, I posted from the wrong email
account.]
---
Hello Giuseppe, you've done a great work with amsl an nath modules!
Seems that there is a little bug when you try to gather more than two
formulas:
\placeformula
\startgather
f(x) = x
72 matches
Mail list logo