Re: [NTG-context] luatools error message

2007-08-15 Thread Hans van der Meer
SS.tfm']='fonts/tfm/local/lines-arrows', ['hlxbi8r.tfm']='fonts/tfm/yandy/lucida-h', ['Icon ']={'source/local/EXAMS','source/local'}, ['cmttu10.tfm']='fonts/tfm/local/lines-a

Re: [NTG-context] lilypond

2007-07-06 Thread Henning Hraban Ramm
publishing of my latest version because Ruby texexec had a bug that prevented lilypond from being called, I guess that's gone, but I had no time to check yet. And I didn't adapt the module to LilyPond 2.11, too. (2.10.2x should work.) I don't know if inline LilyPond worked at any

Re: [NTG-context] non-integer bodyfont size

2007-05-11 Thread Hans Hagen
Sanjoy Mahajan wrote: > I'm a bit confused about font sizes. I had a bunch of missing \Delta > symbols in inline math (e.g. $\Delta x$), which I tracked down to > > \setupbodyfont[10.5pt] > > The non-integral point size works for text but not for math (the \Delta > turn

[NTG-context] non-integer bodyfont size

2007-05-11 Thread Sanjoy Mahajan
I'm a bit confused about font sizes. I had a bunch of missing \Delta symbols in inline math (e.g. $\Delta x$), which I tracked down to \setupbodyfont[10.5pt] The non-integral point size works for text but not for math (the \Delta turned into a backquote). How to fix that? type-siz.te

Re: [NTG-context] What module does this document use ?

2007-05-09 Thread Hans Hagen
will be much more layout options, as well as support for units, chemistry, and complex formula building. \StopText \StartText There is a \goto {MathML manual} [manual::], an \goto {example suite} [suite::], and a \goto {experimentation site} [site::]. And there will be more. \St

Re: [NTG-context] Microsoft Word -> Context

2007-04-03 Thread Henning Hraban Ramm
Am 2007-04-03 um 09:20 schrieb Mari Voipio: > Note! If your files contain graphics, for ConTeXt you have to ask > people to send them in separately as pdf, png or jpg (instead of > putting > them inline in the Word file). I have found *this* hard to achieve > once > in a

Re: [NTG-context] Microsoft Word -> Context

2007-04-03 Thread Mari Voipio
s way, because Word's own html is totally useless mess as it doesn't do css...] Note! If your files contain graphics, for ConTeXt you have to ask people to send them in separately as pdf, png or jpg (instead of putting them inline in the Word file). I have found *this* hard to achiev

Re: [NTG-context] How to indent a paragraph

2007-03-30 Thread List Mail
Thanks to all that replied. Comments inline. On 3/30/07, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > > On Fri, 30 Mar 2007 18:06:57 +0800, List Mail wrote: > > I know this is a newbie question. However I have read the fine manual > > (see below), and I still don't k

Re: [NTG-context] \externalimage at the start of line

2007-03-12 Thread Thomas A. Schmitz
On Mar 12, 2007, at 8:40 PM, Dean wrote: > I've just started using ConTeXt and I have run into a small problem > that may be a bug. I'm trying to include a graphics file inline with > text. For my page headers, I need the image to appear at the start of > a line.

Re: [NTG-context] \externalimage at the start of line

2007-03-12 Thread Hans Hagen
Dean wrote: > I've just started using ConTeXt and I have run into a small problem > that may be a bug. I'm trying to include a graphics file inline with > text. For my page headers, I need the image to appear at the start of > a line. If I use the following commands:

[NTG-context] \externalimage at the start of line

2007-03-12 Thread Dean
I've just started using ConTeXt and I have run into a small problem that may be a bug. I'm trying to include a graphics file inline with text. For my page headers, I need the image to appear at the start of a line. If I use the following commands: \externalimge[logo] Some text her

Re: [NTG-context] Some questions about context

2007-03-05 Thread Aditya Mahajan
he two commands \increment\mycount to increase your own > counter by one and the command \decrement\mycount to reduce your own > counter by one. There are also numbers, which I find easier to use. See http://wiki.contextgarden.net/Counters >> 5) In mathematics, in context there are th

Re: [NTG-context] problem with inline use of \lim

2007-02-12 Thread Taco Hoekwater
Aditya Mahajan wrote: > So, if I understand correctly, there is no difference between > \mathop{...} and \mathop{...}\displaylimits. Yes. /me was definately wrong Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/li

Re: [NTG-context] problem with inline use of \lim

2007-02-12 Thread Aditya Mahajan
On Mon, 12 Feb 2007, Taco Hoekwater wrote: > Aditya Mahajan wrote: >> On Mon, 12 Feb 2007, M.J. Kallen wrote: >> >> >>> Hi all, >>> >>> this may have been mentioned before, but I haven't been able to find >>> an answer to this: if I e.g. use $\lim_{t\rightarrow\infty} f(t)$, >>> the subscript of \

Re: [NTG-context] problem with inline use of \lim

2007-02-12 Thread Taco Hoekwater
Aditya Mahajan wrote: > On Mon, 12 Feb 2007, M.J. Kallen wrote: > > >>Hi all, >> >>this may have been mentioned before, but I haven't been able to find >>an answer to this: if I e.g. use $\lim_{t\rightarrow\infty} f(t)$, >>the subscript of \lim appears underneath it, i.e. in displaystyle. >>In

Re: [NTG-context] problem with inline use of \lim

2007-02-12 Thread Aditya Mahajan
On Mon, 12 Feb 2007, M.J. Kallen wrote: > Hi all, > > this may have been mentioned before, but I haven't been able to find > an answer to this: if I e.g. use $\lim_{t\rightarrow\infty} f(t)$, > the subscript of \lim appears underneath it, i.e. in displaystyle. > In LaTeX, it appears below right

[NTG-context] problem with inline use of \lim

2007-02-12 Thread M.J. Kallen
Hi all, this may have been mentioned before, but I haven't been able to find an answer to this: if I e.g. use $\lim_{t\rightarrow\infty} f(t)$, the subscript of \lim appears underneath it, i.e. in displaystyle. In LaTeX, it appears below right of \lim, much like with $\sum_{i=1}$. The latter be

Re: [NTG-context] Newbie question: math font and bibliography

2007-02-10 Thread Zulkifli Hidayat
ay Magazine: Normal and Bold Math Combination by Hans Hagen and I find that bold math in inline equation is bold upright but in formula it is bold italics. Furthermore, I can't type a bold greek > symbol in an inline equation. A file test is below. I also tried in Contextlive and got the s

[NTG-context] Newbie question: math font and bibliography

2007-02-08 Thread Zulkifli Hidayat
ombination by Hans Hagen and I find that bold math in inline equation is bold upright but in formula it is bold italics. Furthermore, I can't type a bold greek symbol in an inline equation. A file test is below. I also tried in Contextlive and got the same result. I use the 23.01.2007 contex

Re: [NTG-context] Manual (English) Update soon?

2006-12-29 Thread Sanjoy Mahajan
wercase letters \item first \item second \item third \stopitemize \subject{Math} An equation can be typeset inline like $e^{\pi i}+1=0$, or as a displayed formula: \startformula \int_0^\infty t^4 e^{-t}\,dt = 24. \stopformula % don't use $$...$$ (the plain TeX equivalent) You can also hav

Re: [NTG-context] ' undefined inside \startformula .. \stopformula

2006-12-27 Thread Hans Hagen
s because of the loading order of files. For > the time being, you can copy the definitions to cont-new.tex or to the > top of your tex file. > such temp hacks go into cont-new indeed and when ok can go into a core module > Hans, what is the proper way of getting this to work. A

[NTG-context] ' undefined inside \startformula .. \stopformula

2006-12-26 Thread Sanjoy Mahajan
I just noticed this test file failing: \starttext $f'(x)$ \startformula f^\prime(x)\quad f'(x) \stopformula \stoptext It gives: ! Undefined control sequence. l.4 f^\prime(x)\quad f' (x) As you can see from lack of complaint about $f'(x)$, the ' s

Re: [NTG-context] \startquotation, \cite and footnotes

2006-12-03 Thread Oliver Buerschaper
> >> 1. Is there an automated way to place citations into footnotes? So >> whenever I use \cite in the running text it should produce a footnote >> with the reference alongside the usual footnotes. However, when \cite >> is invoked within a footnote it should just type out the

Re: [NTG-context] \startquotation, \cite and footnotes

2006-12-03 Thread Taco Hoekwater
ote > with the reference alongside the usual footnotes. However, when \cite > is invoked within a footnote it should just type out the reference > inline (in the footnote, of course ;-). So far I've done this > manually with \footnote{\cite{key}} (which at times produced it

[NTG-context] \startquotation, \cite and footnotes

2006-12-02 Thread Oliver Buerschaper
wever, when \cite is invoked within a footnote it should just type out the reference inline (in the footnote, of course ;-). So far I've done this manually with \footnote{\cite{key}} (which at times produced its own strange results like two footnote blocks on the same page). 2. When typ

Re: [NTG-context] relative scaling for fonts

2006-11-16 Thread Hans Hagen
; Hm. Just typeset fontstrips, scale the doc up/down on the screen and find the best visual match. You need to do that only once for a given combination of fonts. In most cases i use lm for monospaced and palatino for math when combined with other fonts, and my experience is that one really

Re: [NTG-context] bookmarks using linebreaks in chapter titles

2006-11-03 Thread Sanjoy Mahajan
Thanks Aditya and Wolfgang for the information. I've added it all to the wiki <http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers> so let me know if you find any problems there. I noticed two possible bugs when trying out a few examples -- see below. >> If I inline the \

Re: [NTG-context] bookmarks using linebreaks in chapter titles

2006-11-03 Thread Wolfgang Schuster
setupinteraction[state=start] > > \placebookmarks[chapter] > > \setupinteractionscreen[option=bookmark] > > > > \setuphead[chapter][before={\bgroup\def\1{\hfil\break}}, after={\egroup}] > > > > \starttext > > \chapter{Long\1 title} > > hello > > > > \st

Re: [NTG-context] bookmarks using linebreaks in chapter titles

2006-11-02 Thread Aditya Mahajan
fil\break}}, after={\egroup}] > > \starttext > \chapter{Long\1 title} > hello > > \stoptext > == > If I inline the \1, as in \chapter{Long\hfil\break title}, then it's > mostly fine except that the b

[NTG-context] bookmarks using linebreaks in chapter titles

2006-11-02 Thread Sanjoy Mahajan
[chapter] \setupinteractionscreen[option=bookmark] \setuphead[chapter][before={\bgroup\def\1{\hfil\break}}, after={\egroup}] \starttext \chapter{Long\1 title} hello \stoptext == If I inline the \1, as in \chapter{Long\hfil\break

Re: [NTG-context] url compared to hyperref

2006-10-26 Thread Sanjoy Mahajan
example tex code is placed inline in a message, unless it needs attaching due to strange character codes or whitespace issues, in which case quoted-printable encoding makes it easier to scan than base64 encoding does.) >From an earlier message in this thread: Here is an example that I put on

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Hans Hagen
gt;>>> >>>>> Hi, >>>>> >>>>> How can I define a command that is the inline version of \startTEX ... >>>>> \stopTEX. (I need to show inline commands in color). >>>>> >>>> \setupcolors[st

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Mojca Miklavec
On 10/25/06, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Wed, 25 Oct 2006, Aditya Mahajan wrote: > > > On Wed, 25 Oct 2006, Hans Hagen wrote: > > > >> Aditya Mahajan wrote: > >>> Hi, > >>> > >>> How can I define a command t

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Aditya Mahajan
On Wed, 25 Oct 2006, Aditya Mahajan wrote: > On Wed, 25 Oct 2006, Hans Hagen wrote: > >> Aditya Mahajan wrote: >>> Hi, >>> >>> How can I define a command that is the inline version of \startTEX ... >>> \stopTEX. (I need to show inline commands in co

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Aditya Mahajan
On Wed, 25 Oct 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> Hi, >> >> How can I define a command that is the inline version of \startTEX ... >> \stopTEX. (I need to show inline commands in color). There had been a >> discussion on this in the past,

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Hans Hagen
Aditya Mahajan wrote: > Hi, > > How can I define a command that is the inline version of \startTEX ... > \stopTEX. (I need to show inline commands in color). There had been a > discussion on this in the past, and Taco had suggested a solution > > http://archive.con

[NTG-context] In-line syntax highlighting for type

2006-10-24 Thread Aditya Mahajan
Hi, How can I define a command that is the inline version of \startTEX ... \stopTEX. (I need to show inline commands in color). There had been a discussion on this in the past, and Taco had suggested a solution http://archive.contextgarden.net/thread/20050907.093522.baf795f5.en.html which is

Re: [NTG-context] eqnalign

2006-10-02 Thread Aditya Mahajan
.. \NC ... \NR \stopalign \stopformula I think that it is possible to add such a macro. I will try to do this when a bit later in the week. [1] By design, TeX is very intelligent when it comes to line breaking of text and inline math, but does nothing about line breaking of display math. It will be nice (

Re: [NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)

2006-09-27 Thread Hans Hagen
Sanjoy Mahajan wrote: > > My hypothesis was refuted by testing the rectangle. I had hoped (if > that's the right word) that the internal conversion was using the width > where it should have used the height, which is why the ellipse would > cause problems. Which is why I tried the square, and it

Re: [NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)

2006-09-26 Thread Sanjoy Mahajan
Hans Hagen <[EMAIL PROTECTED]> wrote: > > If test.mp draws a square or rectangle instead of an ellipse, then > > there's no difference (both versions of test.tex work). > looks like a bbox error I didn't think so, because after mptopdf got hold of the figure, the whitespace around the figure was

Re: [NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)

2006-09-26 Thread Hans Hagen
btw, a convenient way to visualize such thing sis: \placefigure[force,none]{}{\externalfigure[test.1][frame=on]} \placefigure[force,none]{}{\externalfigure[test-1.pdf][frame=on]} i.e. it was not related to spacing around the float, but a problem in the rewrite of core-fig -

Re: [NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)

2006-09-26 Thread Hans Hagen
Hi in core-fig.tex patch: \def\dogetfiguresizeeps {\dogetEPSboundingbox\wantedfigurefullname\!!widtha\!!heighta\!!widthb\!!heightb \xdef\analyzedfigurewidth {\the\!!widthb}% \xdef\analyzedfigureheight{\the\!!heightb}} somehow i assumed that i was dealing with bbox values thanks for tes

Re: [NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)

2006-09-26 Thread Hans Hagen
Sanjoy Mahajan wrote: > > If test.mp draws a square or rectangle instead of an ellipse, then > there's no difference (both versions of test.tex work). > looks like a bbox error Hans - H

Re: [NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)

2006-09-26 Thread Hans Hagen
Sanjoy Mahajan wrote: > I'm using the 2006.09.26 beta, and noticed an extra gap before some > external metapost figures. Here is a small test: > > test.mp = > beginfig(1) > draw fullcircle scaled (0.75in) xscaled 1.5; > endfig; > end > ===

[NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)

2006-09-26 Thread Sanjoy Mahajan
I'm using the 2006.09.26 beta, and noticed an extra gap before some external metapost figures. Here is a small test: test.mp = beginfig(1) draw fullcircle scaled (0.75in) xscaled 1.5; endfig; end ==

Re: [NTG-context] metafun: verbatimtex coming too late?

2006-09-24 Thread Sanjoy Mahajan
I had wondered: > only the label that is directly in the figure ("Inline in the > figure.") comes out in 7pt. The other one, produced by the drawtext > macro, comes out in 12pt. > A possible solution is to put the verbatimtex at the beginning of > the mp file or after

[NTG-context] metafun: verbatimtex coming too late?

2006-09-24 Thread Sanjoy Mahajan
; \stopMPinclusions \startstaticMPfigure{fig} drawtext; label(btex Inline in the figure. etex, (2in,0)); \stopstaticMPfigure hello, in 12pt, for comparison. \placefigure[force,none]{}{\usestaticMPfigure[fig]} \stoptext === cut here However

Re: [NTG-context] Captions in Combinations

2006-09-12 Thread Pepe Barbe
the same size, but they don't. Any ideas why this might be? This is very weird but I noticed the problem might be because I am using inline Math in the captions. The caption of the entire combination has mixed test and math and the size of the math is larger than the text

Re: [NTG-context] environment files and indenting

2006-08-08 Thread Taco Hoekwater
Sanjoy Mahajan wrote: > But if I inline the environment file, to get > > \startenvironment ne > \setupindenting[medium,yes] > \stopenvironment > \starttext > \placeformula\startformula > x = 10 > \stopformula > \stoptext > > then texexec doesn't pro

[NTG-context] environment files and indenting

2006-08-07 Thread Sanjoy Mahajan
ptext texexec'ing test.tex says: Overfull \hbox (17.62474pt too wide) in paragraph at lines 4--4 [][] But if I inline the environment file, to get \startenvironment ne \setupindenting[medium,yes] \stopenvironment \starttext \placeformula\startformula x = 10 \stopformula \stoptext then texex

Re: [NTG-context] adding an icon (flushed left) in a displayed formula with equation number

2006-08-07 Thread Aditya Mahajan
equation number, but pushed to the left edge of the page >> (I probably should say text area). >> >> Possible? > > It should be possible to do this using a special version of \startalign, > but I cannot figure it out. Maybe Aditya can help? Here is one solution. Explaina

Re: [NTG-context] metafun & \sometxt: should black be "black" or "textcolor"?

2006-08-06 Thread Mojca Miklavec
an I extract the color from \setupGNUPLOT[foregroundcolor=yellow] and store it to a variable "color gp_foregroundcolor;" defined in a module? Any other thoughts about it? > > A question for you or Hans: can please someone explain me in a few > > words what's the main strateg

Re: [NTG-context] metafun & \sometxt: should black be "black" or "textcolor"?

2006-08-06 Thread Taco Hoekwater
exactly how TeX processes it (and metapost > shrinks/expands/shifts/colors) it inline. TeX typesets the argument of the \sometxt macro in a hbox and writes its box dimensions to . To the metapost file, a zero-padded serial number is written instead, and MP uses the dimensions it finds in fo

Re: [NTG-context] metafun & \sometxt: should black be "black" or "textcolor"?

2006-08-06 Thread Mojca Miklavec
w words what's the main strategy/philosophy behind \sometxt. I don't understand exactly how TeX processes it (and metapost shrinks/expands/shifts/colors) it inline. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] russian

2006-08-05 Thread Mojca Miklavec
can imagine that you also got the files "garbled" just as I did (I mean: written inline instead of getting attachments unless you downloaded your mail with some program): 0. not necessary [texmfstart] ctxtools --update (although I had problems downloading the latest beta) 1. check if

Re: [NTG-context] whitespace

2006-07-29 Thread Taco Hoekwater
Hans van der Meer wrote: > Why does \startframedtext does not honor the outside setting > by \setupwhitespace? Because its contents are most often used as a kind of inline figure, where normal paragraph spacing does not apply. Greetings, Taco _

Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN
milar before the code actually shows the integral instead of a plus sign, but Wim can figure that out himself, no doubt :-) - somehow display and inline math render differently; something for taco That is normal. One is with an operator with \limits, one without.

Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN
- first extend the math collection (use decimen, since there is a linesplit bug with " here) I will implement your suggestion, thanks - then load the times font - somehow display and inline math render differently; something for taco \startMPenvironment[global] \startmathcoll

Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread Taco Hoekwater
y shows the integral instead of a plus sign, but Wim can figure that out himself, no doubt :-) > - somehow display and inline math render differently; something for taco That is normal. One is with an operator with \limits, one without. Taco ___ n

Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread Hans Hagen
> p := p scaled 0.15cm; > draw p; > \stopMPcode > \stoptext > make sure that mp knows about the definitions: - first extend the math collection (use decimen, since there is a linesplit bug with " here) - then load the times font - somehow display and inline math rend

Re: [NTG-context] ConTeXt + asymptote

2006-06-29 Thread Sanjoy Mahajan
hat ConTeXt parses the metapost output inline, doable since metapost puts out such a restricted subset of postscript. So it is easy (at least for tex wizards!) to integrate metapost with ConTeXt (i.e. for inline metapost code, like the asymptote environment in latex). The asymptote eps files, be

Re: [NTG-context] reference formatting

2006-06-23 Thread Aditya Mahajan
gt;>> The left and right are not in setupreferencing. >> > > I finally came up with this, a bit of a kludge I admit: > \let\originalin=\in > \definereferenceformat[parenthesizedin][left=(,right=),command= > \originalin] > \let\in=\parenthesizedin Be careful with t

Re: [NTG-context] mathsize

2006-06-15 Thread Taco Hoekwater
Hans van der Meer wrote: > When doing inline math I see that the mathsize does adapt when \tfa, > \tfb, etc are used, but not for \tfx and \tfxx. That seems strange to > me, because in the manual in the font table \tfx \tfxx \tfa etc. are > advertised as equivalent operati

[NTG-context] mathsize

2006-06-15 Thread Hans van der Meer
When doing inline math I see that the mathsize does adapt when \tfa, \tfb, etc are used, but not for \tfx and \tfxx. That seems strange to me, because in the manual in the font table \tfx \tfxx \tfa etc. are advertised as equivalent operations. It also accounts for a lot more typing (and mistakes

Re: [NTG-context] backgroundcolor broken in 2006-06-07

2006-06-10 Thread Hans van der Meer
-06-07 ones did texhash did texmfstart texexec --make en nl checked format versions typesetting not ok Now many things having to do with metapost go wrong, among these: textext, (inline) textbackground. 5. move out the context base files in tex/context/base

Re: [NTG-context] Fwd: Math 120 textbook for Fall 2006

2006-06-05 Thread Hans Hagen
e they retain the structure cq. mathematical concepts while for tex/presentation mml it's a kind of gamble what the formula represents we currently are involved in a project where math is dealt with as follows: - open math for complex math (converted to content mml) - simple inline el

Re: [NTG-context] slithering captions

2006-05-22 Thread Sanjoy Mahajan
> oops, cloned [figures], Ah, thanks. For inline figures, 'here' will place it here if possible, otherwise float to the next page. Is there an equivalent of 'here' for margin figures ('marginhere'?)? With 'margin', they float completely so are n

Re: [NTG-context] treat framed and externalfigure as characters

2006-05-10 Thread Peter Münster
things and a tex speciality which takes > while to get accustomed to; a similar case is > > {\bf whatever} rest of par Hello Hans, I tried this: \setupindenting[big,yes] \starttext \input tufte {\bf whatever} rest of par \input tufte \stoptext But I don't see the problem... ? >

Re: [NTG-context] treat framed and externalfigure as characters

2006-05-09 Thread Hans Hagen
teach them about things like \dontleavehmode > there is no need for further efforts. So, such a switch would be very > welcome (I would put it into cont-sys.tex)! > but then it would break other things and your collegues would scream about that btw, there is \inframed

Re: [NTG-context] \k in inline math

2006-04-26 Thread Sanjoy Mahajan
From:Taco Hoekwater <[EMAIL PROTECTED]> > \definecommand k {\buildtextogonek} > (but i knew what to look for) Now I do too. I'll add that alternative to future egrep regexps. > \unexpanded\def\k{\mathortext\kappa{\dohandleaccent{k}}} Thanks, that works. -Sanjoy `Never underestimate th

Re: [NTG-context] \k in inline math

2006-04-26 Thread Taco Hoekwater
Sanjoy Mahajan wrote: > \starttext > $\k T$ > \stoptext > > The above test file, to my surprise, compiled fine. [In Plain TeX I > usually define \k as \kappa, but I had forgotten to carry over that > definition.] The pdf output showed a T with little hook as a subscript. > > I can redefine \k a

[NTG-context] \k in inline math

2006-04-26 Thread Sanjoy Mahajan
\starttext $\k T$ \stoptext The above test file, to my surprise, compiled fine. [In Plain TeX I usually define \k as \kappa, but I had forgotten to carry over that definition.] The pdf output showed a T with little hook as a subscript. I can redefine \k as \kappa, but that might overwrite an im

Re: [NTG-context] \to broken in figure captions

2006-04-26 Thread Aditya Mahajan
On Wed, 26 Apr 2006, Sanjoy Mahajan wrote: > In inline math, \to works fine (produces a right arrow), but in a figure > caption all hell breaks loose. > > The culprit may be this redefinition of \to in enco-ini.tex: > > $ find texmf -name '*.tex' |xargs egrep

[NTG-context] \to broken in figure captions

2006-04-26 Thread Sanjoy Mahajan
In inline math, \to works fine (produces a right arrow), but in a figure caption all hell breaks loose. The culprit may be this redefinition of \to in enco-ini.tex: $ find texmf -name '*.tex' |xargs egrep -n '\\((e|g|)def|let)\\to\b' texmf/tex/context/base/core-pos

Re: [NTG-context] ConTeXt + asymptote

2006-04-25 Thread Hans Hagen
.asy > --- a/base/babel.asy Tue Feb 07 23:34:29 2006 -0500 > +++ b/base/babel.asy Tue Apr 25 00:28:42 2006 -0400 > @@ -1,4 +1,6 @@ void babel(string s) > void babel(string s) > { > + if (texengine == "tex") > +abort("No babel package in plain TeX."

Re: [NTG-context] emacs lisp for context in AucTeX

2006-04-20 Thread Johan Sandblom
s it on (no > copyright) in case others find it useful. I used variants for a decade > with the old tex mode, but just rewrote it for auctex and for context's > display math syntax (which deprecates $$...$$). > > The purpose: > > 1. If you type {, [, or (, the appropriate ri

[NTG-context] emacs lisp for context in AucTeX

2006-04-19 Thread Sanjoy Mahajan
[, or (, the appropriate right delimiter is inserted for you and the insertion point is placed between them. So I never get unbalanced XYZ errors. If you think it's a misfeature, delete the last three local-set-key's in the TeX-mode-hook. 2. Same feature if you type $ for inlin

Re: [NTG-context] Units and XML

2006-04-10 Thread Hans Hagen
Johannes Graumann wrote: > Hans, > > Since you seem to be working on this: when using inline physml I noticed > that > 1 > when used in a figure caption formated like this: > \setupcaptions[style=small,width=\textwidth] > > does not scale properly - it remains at 1

Re: [NTG-context] Units and XML

2006-04-09 Thread Johannes Graumann
Hans, Since you seem to be working on this: when using inline physml I noticed that 1 when used in a figure caption formated like this: \setupcaptions[style=small,width=\textwidth] does not scale properly - it remains at 12pt, since \setupbodyfont[12pt,modern]. Joh Hans Hagen wrote

Re: [NTG-context] Q about mathml || tex-native?

2006-03-20 Thread Alexander Lazic
Hi, On Mon 20.03.2006 11:40, Hans Hagen wrote: > >you can also think of a mixture: content mathml for nicely structured >formulas and a simple tex mode for inline math: [nice testcode snipped] >(i will provide a 'calcmath' filter once luatex is there) Thanx for expl

Re: [NTG-context] Q about mathml || tex-native?

2006-03-20 Thread Hans Hagen
tter. But if you prefer to > type in your formulas,the tex way is much easier to input. > you can also think of a mixture: content mathml for nicely structured formulas and a simple tex mode for inline math: \defineXMLargument[tm]{\XMLtexmath} \def\XMLtexmath#1{\bgroup\setnormalcatcodes\scan

[NTG-context] Nath bugs?

2006-02-27 Thread Jay Belanger
I've been trying to make some notes on typesetting math in ConTeXt, and using nath seems the way to go. An odd thing about using \binom with nath: in displayed equations, it works fine, in inline equations, \binom{1}{2} will typeset "1(2)" (with a raised "2").

Re: [NTG-context] GNU Emacs/ AucTeX configuration for ConTeXt

2005-12-04 Thread Hans Hagen
Johan Sandblom wrote: I think possibly that the reason for the sparse syntax highlighting is the higher frequency of inline definitions in ConTeXt, making it impossible to keep up with it. I think it should be parsable, but requires emacs-lisp skills way beyond mine. it's not that hard;

Re: [NTG-context] GNU Emacs/ AucTeX configuration for ConTeXt

2005-12-03 Thread Johan Sandblom
possible to automate using mmm, but I never tried. > 4. You know advanded features I must know ? ;-) There is TeX debugging just as for LaTeX, automatically locating the error in the source and explaining it. I think possibly that the reason for the sparse syntax highlighting is the higher fr

Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-28 Thread Christopher Creutzig
ements for different types of what ConTeXt calls typing: for inline code fragments, for something you invoke (use for its options and for the placeholders to be replaced by actual values), should be obvious but there are also and – the difference is a bit subtle; programmers might also use , , ,

Re: [NTG-context] lilypond inclusion

2005-09-18 Thread Hans Hagen
Christopher Creutzig wrote: ther. So, would this way save or gain anything? (Besides, I still have the hope that I could somehow ask lilypond to tell me some sort of baseline, for inline material. I don't expect that to work well with its pdf output.) why not ask the author of lil

[NTG-context] Re: Small matrices

2005-09-17 Thread David Arnold
Cobby, In amsmath, there is \begin{smallmatrix} \end{smallmatrix} Don't know how in Context. I'll find out. Does anyone on the context list know how to do this? On Sep 17, 2005, at 6:35 PM, Jacob Miles-Prystowsky wrote: Dave, Quick TeX question for you: How do I produce a sm

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Christopher Creutzig
oing probably requires a gs installation anyway. I don't think lilypond creates pdf of better quality than texutil does from the eps, either. So, would this way save or gain anything? (Besides, I still have the hope that I could somehow ask lilypond to tell me some sort of baseline, for inline m

Re: [NTG-context] some highlighted \type-ing

2005-09-07 Thread Nikolai Weibull
g options never raise an error anyway). I reported this bug back in April but no one replied. The problem is that the first character is read and then not given back the right catcode so that the typing stuff can process it correctly. This mainly affected me when I was trying to write inline C c

[NTG-context] some highlighted \type-ing

2005-09-06 Thread Mojca Miklavec
Hello, How can I make highlighted \type-d text? I would like \type{\thisTeXcommand[option=something]} to be highlighted in TEX style. (The question could also be relevant for the wiki, where inline text can only be "highlighted" with or , but not with something similar to or .)

Re: [NTG-context] Sparklines to be in ConTeXt?

2005-07-31 Thread Hans Hagen
Tobias Wolf wrote: Hey, what do you people actually think about E. Tufte's Sparklines?² They are a great and innovative thing in my mind; both in the information mediating and the typographic sense. Can you be a bit more specific? You mean small and/or condense inline graphics? (b

Re: [NTG-context] Re: test suite in the garden

2005-07-26 Thread Mojca Miklavec
ovp and vptovf programs in detail. And I am so miserable at > that; all kinds of optimizations that makes the code unreadable. :) > > Let me extend the suggestion, for we miss a ConTeXt test suite for a > > long time now: > > > > - users send test cases > > - te

[NTG-context] Re: test suite in the garden

2005-07-26 Thread Patrick Gundlach
a > long time now: > > - users send test cases > - test cases get typeset with the actual ConTeXt and converted to PNG > (like inline samples) > - user "votes" if it looks right, if not adds comment > - test case gets saved, including PNG, ConTeXt version and vote/comm

Re: [NTG-context] inline MP refresh problem

2005-07-26 Thread Eckhart Guthöhrlein
On Mon, 25 Jul 2005 at 23:56:53+0200, Hans Hagen wrote: > >>how do you define the graphic? > > > >\startreusableMPgraphic{kreis} > > fill fullcircle scaled 1cm withcolor red; > >\stopreusableMPgraphic > >\starttext > > \reuseMPgraphic{kreis} > >\stoptext > > > >When I remove 'withcolor red

Re: [NTG-context] inline MP refresh problem

2005-07-26 Thread Taco Hoekwater
It still doesn't work here. There have been complaints about arguments not numeric on line 1889, but changing == to eq had no influence on the final result. Still need an additional run. As you said, the problem does not occur when you use runtime MP processing, and would have gone unnoticed if

Re: [NTG-context] test suite in the garden

2005-07-25 Thread Hans Hagen
make it easier to discover any broken functionality. Oh, another quest for our magic Patrick! ;-) Let me extend the suggestion, for we miss a ConTeXt test suite for a long time now: - users send test cases - test cases get typeset with the actual ConTeXt and converted to PNG (like inline

Re: [NTG-context] music typesetting for ConTeXt

2005-07-25 Thread Hans Hagen
- www/lilypond/LilyPond_002dbook.html I'd like to see (and use) a similar integration with ConTeXt - I guess it's similar to MetaPost integration: - support for inline code, i.e. \startLilyPond (LilyPond code) \stopLilyPond or \LilyPond{short code sample} - support for complete files (the

Re: [NTG-context] inline MP refresh problem

2005-07-25 Thread Hans Hagen
Eckhart Guthöhrlein wrote: On Mon, 25 Jul 2005 at 17:21:56+0200, Hans Hagen wrote: when I change inline MP graphics, these are not recreated during the subsequent texexec run. I need to call texexec once again to have them refreshed. I have just installed a new box, but I think I have

[NTG-context] music typesetting for ConTeXt

2005-07-25 Thread Henning Hraban Ramm
l I'd like to see (and use) a similar integration with ConTeXt - I guess it's similar to MetaPost integration: - support for inline code, i.e. \startLilyPond (LilyPond code) \stopLilyPond or \LilyPond{short code sample} - support for complete files (there's \lilypondfile in the

[NTG-context] test suite in the garden (was: Strange behaviour of \bTABLE)

2005-07-25 Thread Henning Hraban Ramm
broken functionality. Oh, another quest for our magic Patrick! ;-) Let me extend the suggestion, for we miss a ConTeXt test suite for a long time now: - users send test cases - test cases get typeset with the actual ConTeXt and converted to PNG (like inline samples) - user "votes&q

<    3   4   5   6   7   8   9   >