Re: [NTG-context] checking for an undefined constant

2010-06-25 Thread Wolfgang Schuster
\doifalldefinedelse {commalist} {then ...} {else ...} %D \stoptyping %D So \doifdefined{Homeworks}{...} Low level (etex) solutions: \ifdefined\Homeworks ... \fi \unless\ifx\Homeworks\undefined ... \fi Wolfgang

Re: [NTG-context] checking for an undefined constant

2010-06-25 Thread Vyatcheslav Yatskovsky
\doifdefinedelse{string}{then ...} {else ...} %D \doifalldefinedelse {commalist} {then ...} {else ...} %D \stoptyping %D \doifdefined{Homeworks}{...} Low level (etex) solutions: \ifdefined\Homeworks ... \fi \unless\ifx\Homeworks\undefined ... \fi -- Best Regards, Vyatcheslav Yatskovsky

[NTG-context] Difference in whitespace around section head from mkII to mkIV

2010-06-01 Thread Adam Fuller
CFD results suprised me. \item Volute: Trying to reconcile the need for predictable axial runner inlet flow, low loss, and no flow-spanning vanes or struts has led to an adaptation of previous Giddens volutes. I'll talk about the changes that were made, and show that the new volute looks

Re: [NTG-context] unicode subscripts

2010-05-30 Thread Hans Hagen
‚‰â‚‹â‚Œâ‚Š$ %D \stopbuffer %D %D \typebuffer \blank \getbuffer \blank \unprotect \unexpanded\def\mathunicodesupercrap#1{\mathortext{{^{#1}}}{\high{#1}}} \unexpanded\def\mathunicodesubcrap #1{\mathortext{{_{#1}}}{\low {#1}}} \ifdefined\installanddefineactivecharacter\else \def

Re: [NTG-context] table bug

2010-05-23 Thread Hans Hagen
\dostoptable a ssomehow lookahead % in alignments fail then, so we relax it and define it locally. \let\stoptabel\relax \def\dostoptable if i remember right taco and i had plans to look into some of these alignment lookahead problems some day in the perspective of luatex (low priority) Hans

[NTG-context] math alignment broken? (was \startmathalignment vertical spacing)

2010-05-19 Thread Alan BRASLAU
Mar 2010, Troy Henderson wrote: Is there any way to change the amount of vertical space produced by \NR within \startmathalignment ... \stopmathalignment? There is no such high-level interface. You will have to resort to a low-level \openup. \starttext \startformula \startalign \NC

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-14 Thread Henning Hraban Ramm
] \definegridsnapping[broad][maxheight,maxdepth,strut,0.8] \definegridsnapping[fit] [maxheight,maxdepth,strut,1.2] \definegridsnapping[first][first] \definegridsnapping[last] [last] \definegridsnapping[high] [minheight,maxdepth,none] \definegridsnapping[low] [maxheight

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-13 Thread Hans Hagen
,0.8] \definegridsnapping[fit] [maxheight,maxdepth,strut,1.2] \definegridsnapping[first][first] \definegridsnapping[last] [last] \definegridsnapping[high] [minheight,maxdepth,none] \definegridsnapping[low] [maxheight,mindepth,none] \definegridsnapping[line] [line

Re: [NTG-context] Multiple pleas for help (long)

2010-04-27 Thread Wolfgang Schuster
where they should (so that the grid lines bisect the bowls of all the lower-case a's). There is another page that does not start with a subject title but directly with a printed line containing an emoticon, and it has exactly the same problem as the first page, with the text sitting just low

[NTG-context] Multiple pleas for help (long)

2010-04-26 Thread Scott Steele
just low enough that the grid lines bisect the bowls of the lower-case a's. Pages with emoticons on them do not exhibit this problem when the emoticon is not on the first printed line, and all lines remain correctly positioned on the grid. You can see below how I'm putting in the emoticons. Many

Re: [NTG-context] lua, footnotes, interaction

2010-04-17 Thread Hans Hagen
(and \protected and \unexpanded and ...) long before they showed up as primitives when \expanded was added, it was agreed that that name could be used even if it clashed with context internals; ok, it add confusion for users who use low level code, but as we always have \normalexpanded in context it's

[NTG-context] footnote marks fail

2010-04-12 Thread Michael Saunders
in text look a little too low, too short and much too bold. It looks like Context is still scaling and elevating on its own. The marks before the footnotes are much too large and far, far too high. Context seems to be trying to squeeze them between the lines. This also seems to force extra space

[NTG-context] moving section heads

2010-04-10 Thread Steffen Wolfrum
}\stopsetups \setuphead[chapter] %[grid={page,7pt,fit,low},align=middle,alternative=paragraph,before={\blank[18pt]},after={\blank[18pt]}]% - MkII [grid={low,offset:7pt},align=middle,alternative=paragraph,before={\blank[18pt]},after={\blank[18pt]}]% -MKIV \starttext \chapter{Chapter} test

Re: [NTG-context] Hanging indents

2010-04-05 Thread Taco Hoekwater
Tom wrote: I have a series of paragraphs for which the first line of each should not be indented, but the following lines should be. I can't figure out what option or combination of options will give me this result. Very low-level, but \noindent before the first paragraph would do the trick

[NTG-context] caption on the inner side

2010-04-05 Thread Hubertus
Hello all, I was wondering if it possible to do something of this sort: \setupcaptions[location=low] \placefigure[outer][]{ Caption } {\externalfigure[test.jpg][width=0.5\textwidth]} So what I try is to get the caption not on the left side of the image but inner. From the location pramametar

Re: [NTG-context] Hans' presentation: using plain TEX (from TUG 2009) [apologies if OT]

2010-04-03 Thread Graham Douglas
and not a little frustration, at times... And it keeps me pleasantly occupied with an absorbing and very low-cost hobby :-) If there would be any interest, I'd be happy to write it up at some point if anyone would benefit --- but it'd need scrutiny from resident experts prior to publication: peer

Re: [NTG-context] Hans' presentation: using plain TEX (from TUG 2009) [apologies if OT]

2010-04-03 Thread Hans Hagen
learnt a lot through trial + error and not a little frustration, at times... And it keeps me pleasantly occupied with an absorbing and very low-cost hobby :-) If there would be any interest, I'd be happy to write it up at some point if anyone would benefit --- but it'd need scrutiny from resident

Re: [NTG-context] \startmathalignment vertical spacing

2010-03-31 Thread Aditya Mahajan
On Wed, 31 Mar 2010, Troy Henderson wrote: Is there any way to change the amount of vertical space produced by \NR within \startmathalignment ... \stopmathalignment? There is no such high-level interface. You will have to resort to a low-level \openup. \starttext \startformula \startalign

Re: [NTG-context] code with reserved words

2010-03-23 Thread luigi scarso
to a pretty-printer for Python with low priority -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] code with reserved words

2010-03-23 Thread R. Bastian
/Verbatim_with_LuaTeX but {\bf ...} I use context 2010.01.26 Mk IV or texexec well, I'm working to a pretty-printer for Python with low priority Attendo ;-) -- luigi ___ If your question is of interest to others

Re: [NTG-context] code with reserved words

2010-03-23 Thread Erik Margraf
, is there a way to get Python code with reserved words highlighted ? Not colored as in http://wiki.contextgarden.net/Verbatim_with_LuaTeX but {\bf ...} I use context 2010.01.26 Mk IV or texexec well, I'm working to a pretty-printer for Python with low priority Attendo

Re: [NTG-context] lbrack?

2010-03-22 Thread Hans Hagen
? i'll change it to lbrack + rbrack ... indeed we should use mml names in char-def and then have a list of equivalents but it has a low priority Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] grid + section in text - unwanted vertical space

2010-03-19 Thread Alex Lubberts
My solution was ... : \setuphead[section][grid={low,fit}] Regards, Alex On vr, 2010-03-19 at 15:10 +0100, Wolfgang Schuster wrote: Am 19.03.10 08:21, schrieb Mikael Persson: Dear list, With the following example: \setuplayout[grid=yes] \setuphead[section][alternative=text

[NTG-context] simplefonts

2010-03-13 Thread Michael Saunders
also tried {\switchtobodyfont [lining] 123}, which had no effect. 5. How I could use the superior and inferior shapes in my font---like for the footnotemarks, for example? hm, with sups=yes,subs=yes i guess but better use \high{..} and \low{..} as often such font features are rather limited

Re: [NTG-context] simplefonts

2010-03-13 Thread Wolfgang Schuster
Am 13.03.10 14:27, schrieb Andreas Harder: would you provide an example of how to use this information? font-ini.mkiv %D some low level helpers %D %D \starttyping %D \def\TestLookup#1% %D {\dolookupfontbyspec{#1} %D pattern: #1, found: \dolookupnoffound %D\blank %D\dorecurse

Re: [NTG-context] simplefonts

2010-03-13 Thread Andreas Harder
Am 13.03.2010 um 17:17 schrieb Wolfgang Schuster: Am 13.03.10 14:27, schrieb Andreas Harder: would you provide an example of how to use this information? font-ini.mkiv %D some low level helpers %D %D \starttyping %D \def\TestLookup#1% %D {\dolookupfontbyspec{#1} %D pattern

Re: [NTG-context] simplefonts

2010-03-12 Thread Hans Hagen
{..} and \low{..} as often such font features are rather limited and depend on the font 6. Could I use \definefontfeature to set up the different design sizes of my font (I'm trying to use some standard Adobe fonts like Garamond Premiere Pro, which have design sizes), as well as its other features

[NTG-context] Where is the cow?

2010-03-06 Thread Matthias Weber
. \stopblurb \placefigure[left]{none}{\externalfigure[cow][width=3cm]} \startblurb This is almost working. The figure is too low. \stopblurb \startfiguretext [left]{none}{\externalfigure[cow][width=2in]} \startblurb Something is very wrong here. \stopblurb \stopfiguretext \page \startframedtext

Re: [NTG-context] suggestions for context documentation

2010-03-05 Thread richard . stephens
: the keyword is shown as low when it should be left. Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. CONFIDENTIALITY : This e-mail and any

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-04 Thread James Fisher
. Mm, well, I kinda have the same opinions towards luatex documentation. You can think at luatex as low-level layer which development is driven by mkiv, a very high level layer, which development is influenced by luatex itself (a sort of negative feedback see http:// I understand that concern

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-04 Thread luigi scarso
there on the curious programmer having stumbled across ConTeXt ... None is saying that it's easy. And, really, it's not easy. I don't think so.  The just study the code approach shows an awfully austere, reductionist philosophy. True but I have not said this. TeX comes with TeXBook (high-mid-low level

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-04 Thread James Fisher
, reductionist philosophy. True but I have not said this. TeX comes with TeXBook (high-mid-low level manual ) and Tex-The program- (the code) It's the same here, more or less. Humans understand things from the top down. It's the computers that work from the bottom up. Humans understand things

Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode

2010-03-03 Thread James Fisher
this be a problem with ConTeXt or with XeTeX?) a\high{x}b\low{x}c\highlow{x}{y}d\lowhigh{x}{y} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
documentation (2) ConTeXt does not have any revision control system that I can see (the only source code browser seem to be http://source.contextgarden.net/ which looks entirely custom); all I can find is the SVN of the in-progress manual (3) The low-level macro documentation at http

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Aditya Mahajan
://dl.contextgarden.net/distribution/git/ Hans does not use a public version control system. The above repository is a daily snapshot of ConTeXt files. (3) The low-level macro documentation at http://texshow.contextgarden.net/is a start, but: (i) instead of a custom system with basic editing, a modern

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
://dl.contextgarden.net/distribution/git/ Hans does not use a public version control system. The above repository is a daily snapshot of ConTeXt files. (3) The low-level macro documentation at http://texshow.contextgarden.net/is a start, but: (i) instead of a custom system with basic editing

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread luigi scarso
(in context mkii ): the code base is in C with target CWEB . You can think at luatex as low-level layer which development is driven by mkiv, a very high level layer, which development is influenced by luatex itself (a sort of negative feedback see http://en.wikipedia.org/wiki/Control_theory

Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode

2010-03-02 Thread Wolfgang Schuster
of the superscripted text. So what solutions are to hand? Is there either (1) super/sub commands in text mode, or (2) a way of fixing this in math mode? (Also, would this be a problem with ConTeXt or with XeTeX?) a\high{x}b\low{x}c\highlow{x}{y}d\lowhigh{x}{y} Wolfgang

[NTG-context] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point

2010-02-25 Thread James Fisher
that METAPOST is declarative, so I would expect my line of code to mean: set the x-coordinate of z3 such that angle(z3-z0) = dir(87). AFAICS that provides all the needed information to draw the shape. So, is there another way I can do what I want without falling into low-level trig? Best, James

Re: [NTG-context] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point

2010-02-25 Thread James Fisher
Aha! That certainly works. I suspected I would have to fall back on low-level trig :). Many thanks! On Fri, Feb 26, 2010 at 1:44 AM, Troy Henderson thend...@gmail.com wrote: James, I apologize, but the previous information that I gave you was wrong. Try this instead: z0 = origin; z1

[NTG-context] MkIV grid ?

2010-02-17 Thread Steffen Wolfrum
Hi, I have seen Hans' reply to Peter Rolf from Nov. 19th 2009 on grid snapping (mkiv). What has changed since then? Is there some more info somewhere? I am missing my MkII optimized section setting, like ... grid={page,3.5pt,fit,low} Steffen

Re: [NTG-context] MkIV grid ?

2010-02-17 Thread Hans Hagen
On 17-2-2010 10:58, Steffen Wolfrum wrote: Hi, I have seen Hans' reply to Peter Rolf from Nov. 19th 2009 on grid snapping (mkiv). What has changed since then? Is there some more info somewhere? I am missing my MkII optimized section setting, like ... grid={page,3.5pt,fit,low} i have

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-09 Thread Lubos Kolouch
[background=color,backgroundcolor=white] \bTABLE \bTABLEbody \bTR[topframe=off] \bTD[nr=4,width=100pt,frame=off] Languages \eTD \bTD[width=120pt,frame=off,rightfheight=32pt,align={right,low}] \ {\externalfigure[flcz.png] [width=20pt]} Czech, Slovak \eTD \bTD[width=240pt,frame=off,height=20pt,align

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-08 Thread Taco Hoekwater
[width=120pt,topframe=on,height=32pt,align={right,low}] \ {\externalfigure[flcz.png] [width=20pt]} Czech \eTD the result is that I have the flag, then space and the word Czech In Archlinux (texlive 2009) the text is behind the flag, ie. invisible When I change \ {\extern to for example xx

[NTG-context] Referencing...

2010-01-05 Thread Willi Egger
reference... When extending the list of footnotes again the referencing works only for the last reference. Is there something changed in the approach in MKIV? \starttext \starttabulate[|l|c|r|r|r|] \NC Issue \NC Time \NC Avg.\footnote[av]{Average log\low{10} values} \NC s\footnote[stdv]{Standard

Re: [NTG-context] Call for papers (pracjourn mkiv)

2009-12-15 Thread Aditya Mahajan
[titleheader] \framed[frame=off,width=\textwidth,align=normal,location=low] {\small\setupinterlinespace \doifelsenothing{\TPJissue}{For submission to \TPJ}{\TPJissue}\endgraf \doifelsenothing{\getvariable{pracjourn}{revision}} {Draft of \currentdate[year,/,mm,/,dd]} {Article revision\space

Re: [NTG-context] Table macro choices?

2009-12-06 Thread Wolfgang Schuster
penetration \NC SHOTS \NC Number of shots taken \NC\NR \NC CR \NC Crack\NC IUC \NC Internal undercut \NC SIZE \NC Size of pipe \NC\NR \NC EP \NC Excessive penetration\NC LC \NC Low cover

Re: [NTG-context] TeX as an eBook engine?

2009-12-03 Thread luigi scarso
can also make an (x)html for a WOFF enable browser like firefox 2.6 beta -- it's almost the same of epub, after all Cfr people.mozilla.com/~jkew/woff/woff-spec-latest.html Of course none can say that epub is like pdf from a typographical point of view but for low energy devices can be better epub

Re: [NTG-context] TeX as an eBook engine?

2009-12-03 Thread William Adams
Of course none can say that epub is like pdf from a typographical point of view but for low energy devices can be better epub than pdf. I'll grant that .epub can be more flexible and more appropriate, but one has to keep in mind that one is giving up quite a bit of typographical quality

Re: [NTG-context] TeX as an eBook engine?

2009-12-03 Thread luigi scarso
of epub, after all Cfr people.mozilla.com/~jkew/woff/woff-spec-latest.html Of course none can say that epub is like pdf from a typographical point of view but for low energy devices can be better epub than pdf. I'll grant that .epub can be more flexible and more appropriate, but one has to keep

Re: [NTG-context] TeX as an eBook engine?

2009-12-02 Thread Hans Hagen
, but no big macro packagem just something plain. As Hartmut made pdftex run on similar gadgets I expect some day luatex to run on them as well but it has a real low priority. If one wants reflow, one should use html anyway. Hans

Re: [NTG-context] Heros condensed and Font switching

2009-11-23 Thread Hans Hagen
as \xlf can be a pretty important low level command some day Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477

Re: [NTG-context] grid snapping (mkiv)

2009-11-19 Thread Hans Hagen
] \definegridsnapping[fit] [maxheight,maxdepth,strut,1.2] \definegridsnapping[first][first] \definegridsnapping[last] [last] \definegridsnapping[high] [minheight,maxdepth,none] \definegridsnapping[low] [maxheight,mindepth,none] \definegridsnapping[line] [line] \definegridsnapping[strut

Re: [NTG-context] spacing between floating figure caption and surrounding text

2009-11-17 Thread Vyatcheslav Yatskovsky
Hello Taco Normally, you would do \setupfloat[figure][after=] but that does not seem to work very well for side floats, sorry. Thanks for trying to help! :) Actually, I discovered from It's in details that \placefigure[inner, low]{ } is ok for my situation. Another questions is: how

Re: [NTG-context] Pstricks and Asymptote

2009-11-17 Thread Aditya Mahajan
understand the low level asymptote code, so after a while, integrating asymptote got low on my priorities. Maybe someone else should look at it seriously. Aditya ___ If your question is of interest to others as well

Re: [NTG-context] spacing between floating figure caption and surrounding text

2009-11-17 Thread Vyatcheslav Yatskovsky
Hello Hans, sidespacebefore sidespaceafter Yes, I played with them, but did not understand their logic. Is 'high' equals to sidespacebefore=0 'low' -- to sidespaceafter=0? In other words, how to duplicate the effect of 'low' using sidespace options? Vyatcheslav

Re: [NTG-context] Pstricks and Asymptote

2009-11-17 Thread Mojca Miklavec
are decreasing. I didn't say that it's decreasing. I just said that it's really low, but I meant ConTeXt users with that. There are still plenty LaTeX users around. The main problem is that PS Tricks cannot be very well integrated unless one uses tex-dvips, but ConTeXt doesn't use that for ages

Re: [NTG-context] Pstricks and Asymptote

2009-11-17 Thread Curiouslearn
to go and also try out Metapost again. Mojca, you  said that number of pstricks users are decreasing. I didn't say that it's decreasing. I just said that it's really low, but I meant ConTeXt users with that. There are still plenty LaTeX users around. The main problem is that PS Tricks cannot

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-10 Thread Hans Hagen
Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: BTW, after setting \setupmathematics[lcgreek=normal] with default TeX math font, all low case greek letters are disappeared :( Hans, any idea why ConTeXt is looking for U+03B1 in font LMMath12-Regular rather than

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-10 Thread Aditya Mahajan
On Tue, 10 Nov 2009, Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: BTW, after setting \setupmathematics[lcgreek=normal] with default TeX math font, all low case greek letters are disappeared :( Hans, any idea why ConTeXt is looking for U+03B1

[NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread Vyatcheslav Yatskovsky
Hello, BTW, after setting \setupmathematics[lcgreek=normal] with default TeX math font, all low case greek letters are disappeared :( Vyatcheslav ___ If your question is of interest to others as well, please add

Re: [NTG-context] Usage of filename in document

2009-11-05 Thread Martin Scholz
planet (\in{Fig.}[fig:earthstructure]). The outermost layer is the \emph{crust}, which is made largely of rocks and minerals that have low density. \stopmode%[manuscript

Re: [NTG-context] highlighting chars on a path

2009-10-19 Thread Mojca Miklavec
usually done by overwriting some lua function. Just a tiny warning if you do get a solution from someone: LuaTeX might not be absolutely stable in this respect yet, so you need to take in account some slight possibility that the low level interface undergoes some changes in future. In that case you

[NTG-context] Strange Behaviour for toc

2009-10-12 Thread Martin Scholz
=inner] \definefloat[Bigtable][Bigtables][table] \setupfloat[Bigtable][location=inner] \definefloat[vignette][figure] \setupfloat[vignette][leftmargindistance=- \outermargintotal,rightmargindistance=-\outermargintotal,default= {outer,none,low}] % \setup[vignette][number=no] \definestartstop[Story

Re: [NTG-context] maths sansserif

2009-10-06 Thread R. Bastian
is it possible to get the sansserif font ? (now i write A$_i$ but it is not at the best ...) Thanks Maybe \starttext A\low{i} \stoptext -- luigi Thanks Luigi, it works in this case, but it seems not to be a generic solution. What is the meaning of: - \low

Re: [NTG-context] maths sansserif

2009-10-06 Thread Taco Hoekwater
etc). How is it possible to get the sansserif font ? (now i write A$_i$ but it is not at the best ...) Thanks Maybe \starttext A\low{i} \stoptext or $\ss A_i$ maybe? ___ If your question is of interest to others

Re: [NTG-context] maths sansserif

2009-10-06 Thread R. Bastian
font. My texts are from time to time scattered (? parsemées) with maths expressions (A_i etc). How is it possible to get the sansserif font ? (now i write A$_i$ but it is not at the best ...) Thanks Maybe \starttext A\low{i} \stoptext or $\ss A_i$ maybe? i will use \low, \lohi

Re: [NTG-context] maths sansserif

2009-10-06 Thread R. Bastian
\starttext A\low{i} \stoptext -- luigi Thanks Luigi, it works in this case, but it seems not to be a generic solution. What is the meaning of: - \low Syntax \low{...} {...} text It means:\low macro must be used this manner: \low{text

Re: [NTG-context] maths sansserif

2009-10-06 Thread luigi scarso
On Tue, Oct 6, 2009 at 2:55 PM, R. Bastian rbast...@free.fr wrote: I believe that \low ,\high \lohi must be used with care: \starttext {\ss A\low{\ruledvtop{\hsize=5in\input tufte }}} \blank {\tt B\low{\ruledvtop{\hsize=5in\input knuth }}} \stoptext it works without

Re: [NTG-context] maths sansserif

2009-10-06 Thread Aditya Mahajan
(? parsemées) with maths expressions (A_i etc). How is it possible to get the sansserif font ? (now i write A$_i$ but it is not at the best ...) Thanks Maybe \starttext A\low{i} \stoptext or $\ss A_i$ maybe? or \appendtoks \mathss \to \everydisplaymath Hans, I also needed this recently

Re: [NTG-context] Subscript question

2009-09-08 Thread Hans Hagen
such that the smaller number (or something) is written wright under the bigger number (and not, as usual, at the left of the number). This seams an obvious task but i can´t do it. in math: {}_{x} in text: \low{x

Re: [NTG-context] Why are pretty printer names uppercased?

2009-08-26 Thread Hans Hagen
and as users themselves seldom see the low level definitions it's not worth the trouble Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel

Re: [NTG-context] Multi-line labels in MetaPost

2009-08-22 Thread Michail Vidiassov
\NC \NR \NC 1 \NC 1 \NC \NR \stoptable does not work for me. It complains about dotripletestemptyx, but that seems to be some low level utility code and the error messages say nothing to me :( ConTeXt ver: 2009.08.14 10:48 MKIV Sincerely, Michail

[NTG-context] Frac (was \everymath problem)

2009-08-20 Thread Aditya Mahajan
On Wed, 19 Aug 2009, Wolfgang Schuster wrote: And with \frac it can be configured at context low level (why no key for \setupmathematics?) \chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle, 4=scriptscriptstyle, 5=mathstyle $\frac{a}{b}$ I am thinking

Re: [NTG-context] \everymath problem

2009-08-19 Thread Wolfgang Schuster
\displaystyle \to \everymath as (among other important things) \everymath does initialize \over And with \frac it can be configured at context low level (why no key for \setupmathematics?) \chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle, 4=scriptscriptstyle, 5

Re: [NTG-context] Round-corner textbox with shadow

2009-08-16 Thread Hans Hagen
withcolor .8white ; draw OverlayBox withcolor black ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay [shadow] [\uniqueMPgraphic{shadow}] \setupcolors[state=start] \startframedtext[ height=fit, width=\textwidth, location=inmargin , align=low, frame

[NTG-context] Round-corner textbox with shadow

2009-08-15 Thread Tom
.8white ; draw OverlayBox withcolor black ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay [shadow] [\uniqueMPgraphic{shadow}] \setupcolors[state=start] \startframedtext[ height=fit, width=\textwidth, location=inmargin , align=low, frame=on, % framecolor=black

Re: [NTG-context] Round-corner textbox with shadow

2009-08-15 Thread Peter Rolf
; \stopuniqueMPgraphic \defineoverlay [shadow] [\uniqueMPgraphic{shadow}]   \setupcolors[state=start] \startframedtext[  height=fit,  width=\textwidth,  location=inmargin ,  align=low,  frame=on, % framecolor=black,  framecorner=round,  frameradius=.0625 in,  background

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Hans Hagen
) without renaming the program are a showstopper for me as one cannot predict what will be on the user's system it looks like i have to convert the texutil part to lua (takes a few days and since i mostly use luatex it has a low priority) i uploaded a beta for testing Hans

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Jose Augusto
a few days and since i mostly use luatex it has a low priority) i uploaded a beta for testing Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Peter Münster
] \defineactivecharacter ₁ {\low{\tx1}} \defineactivecharacter ₂ {\low{\tx2}} \defineactivecharacter ₃ {\low{\tx3}} \starttext \startC for(expr₁; expr₂; expr₃) instruction \stopC \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact

Re: [NTG-context] Duotones with spot colors

2009-07-09 Thread Piotr Kopszak
the yellow channel to the spot colour I am going to use. Any ideas (without using Photoshop) ? as it is possible to colorize bw bitmap images in context i suppose that doing the same with a dual channel image is doable as well but i never tried is (low on my list of priorities so you're

Re: [NTG-context] Duotones with spot colors

2009-07-07 Thread Hans Hagen
to convert the yellow channel to the spot colour I am going to use. Any ideas (without using Photoshop) ? as it is possible to colorize bw bitmap images in context i suppose that doing the same with a dual channel image is doable as well but i never tried is (low on my list of priorities so you're

Re: [NTG-context] Module installation

2009-07-06 Thread Hans Hagen
with that type1 font and encoding i'm not sure what you mean but you can force types by adding .tfm or .afm etc (more low level control os possible but not adviced) anyhow, encodings make no sense any more, so when readign a type 1 i read the amf file and remap to unicode ... the luatex backend itself

Re: [NTG-context] spanish tilde-n lost

2009-06-29 Thread Mojca Miklavec
as there was no TeX encoding supporting these characters. An alternative would be to define them directly from Unicode data in MKIV. I'm not suggesting that this needs to be added ... Extra low priority task, or if someone else asks. Mojca

Re: [NTG-context] On creating my own fonts

2009-06-22 Thread Khaled Hosny
caligraphic style, are they usually done with tools like metafont or you just draw then on the screen? I usually draw the glyphs on the screen (or trace scanned paper), however there were Arabic MetaFont fonts (ArabTeX's naskh and another one by Yannis Haralambous) but both were of low artistic quality

Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-06-15 Thread Matthijs Kooijman
) local match_mul = buffers.visualizers.lam.match_mul base, sub = match_mul(res, submatches) if sub then word = base .. \\low{ .. sub .. } -- After a word has been used as a base, allow subscripts -- without _, even for non-numbers. if not bases[base

Re: [NTG-context] Using a tikz package

2009-06-15 Thread Mojca Miklavec
be that the functionality of this package will have to be adapted/implemented in ConTeXt or something else will have to be done \DeclareOption - it might be that this needs to be implemented in semi-low-level ConTeXt (you'll get help on this mailing list); maybe that's the most work, but once you have

[NTG-context] asymptote support

2009-05-22 Thread Mojca Miklavec
of using specials; once the high-level code was in place, all of the low-level support was ready to go. The only thing that I haven't tested is inlinetex mode with the context tex engine. Could someone please test this for me? Thanks

Re: [NTG-context] beta

2009-05-21 Thread Thomas A. Schmitz
] \starttext \quotation{This is a \quote{test.}} \stoptext Urgency: low, but non-nil. OK, this should be enough for the time being. For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access

Re: [NTG-context] how to prevent header at page bottom

2009-05-18 Thread Jos van Gisbergen
\stopproperty}} (i'll make \startoverprint which is actually kind of low level unexpandable but not \dostartproperty which is not intended as user command) - Hans Hagen | PRAGMA ADE

Re: [NTG-context] beta (12.05.2009, 22:36): footnote marker and overprinting

2009-05-14 Thread Hans Hagen
make \startoverprint which is actually kind of low level unexpandable but not \dostartproperty which is not intended as user command) - Hans Hagen | PRAGMA ADE Ridderstraat 27

Re: [NTG-context] beta (12.05.2009, 22:36): footnote marker and overprinting

2009-05-14 Thread Peter Rolf
\stopproperty}} sorry, i couldn't resist. \dostartoverprint was the more 'sexy' alternative ;) to tell the truth i can't quite remember why i chose this one. but i'm sure that i have tested everthing related to overprint. (i'll make \startoverprint which is actually kind of low level

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-13 Thread Hans Hagen
{1}{ hello {\wh 你好}} \tfd \dorecurse{1}{ hello {\wh 你好}} \stoptext this works because the low level system is not frozen but extensible by design (or a feature); of course, the more such extra alternatives we define by default (which we therefore don't) the slower slovenian typesetting

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
will trigger the default font to be used (other approached would demand more definitions at the user end and/or a more low level implementation); the only optimization i can imagine is more clever sharing of the default font but as in other cases one expects the default to be properly scaled

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
) MathGamma etc then automatically will trigger the default font to be used (other approached would demand more definitions at the user end and/or a more low level implementation); the only optimization i can imagine is more clever sharing of the default font but as in other cases one expects

Re: [NTG-context] Opentype features

2009-05-11 Thread Hans Hagen
. MkII (XeTeX): Write the code to use OpenType math fonts and send it to Hans. open type math in mkii is unlikely to happen soon (ok, at some point i can just generate the symbol etc initializations from the mkiv lua tables but it has a very low priority) in mkiv there is some trickery

Re: [NTG-context] presentation module

2009-04-30 Thread R. Bastian
/adjusting graphics/text using a mouse is much easier than do that with keyboard, no and one should compile/adjust xs and ys many times in order to get the right result. not many, max three times : too low/high, too high/low, and then right

Re: [NTG-context] Stable version

2009-04-25 Thread Hans Hagen
complain when a CLI options hasn't been spelt correctly: $ context --batchmoed hm, maybe some day but it has a real low priority Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27

Re: [NTG-context] new beta

2009-04-08 Thread Hans Hagen
is low bandwidth so only used by a few) http://www.pragma-ade.com/context/latest/cont-tmf.zip 2- Your code works fine but if in LaTeX, I compile a document like %%% \documentclass{article} \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \directlua { dofile

<    6   7   8   9   10   11   12   13   14   15   >