Re: [NTG-context] Position of MetaPost graphics

2011-04-04 Thread Tim Steenvoorden
Thanks Peter! You are right it is easier to draw both the wave and the line in Metapost. And the dx=-\cutspace is just what I needed for left pages! I striped the frames out of the code and placed just the graphics in the layer with a reuseMPgraphic. Also, I pulled out the definition of the wave

Re: [NTG-context] Position of MetaPost graphics

2011-04-04 Thread Wolfgang Schuster
Am 04.04.2011 um 01:22 schrieb Tim Steenvoorden: Thanks Peter! You are right it is easier to draw both the wave and the line in Metapost. And the dx=-\cutspace is just what I needed for left pages! I striped the frames out of the code and placed just the graphics in the layer with a

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread Bernhard Rosensteiner
thanks, Wolfgang. @ C.: Wolfgang posted the solution already. best regards Bernhard lg Bernhard On Sonntag, 03. April 2011 at 19:02, C. wrote: Would you mind telling me how you fixed it? (even if your fix does not apply here) -Ursprüngliche Nachricht- Von: Bernhard

[NTG-context] [OT] ymacs

2011-04-04 Thread luigi scarso
http://www.ymacs.org/ -- 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-context webpage :

[NTG-context] MKIV: Wrong conversion for \date

2011-04-04 Thread Wolfgang Schuster
\NC 04 \NC \currentdate[mm] \NC\NR \NC jj \NC 11 \NC \currentdate[jj] \NC\NR \NC yy \NC 11 \NC \currentdate[yy] \NC\NR \NC weekday \NC Monday \NC \currentdate[weekday] \NC\NR \NC referral \NC 20110404 \NC \currentdate[referral] \NC\NR

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread C.
In MKII \sc switch to a different font but MKIV can just enable the smcp feature. Adding smcp=yes doesn't work as option for \setmainfont because you can use \definfontfeature and overload the default set, the only valid options from \definefontfeature are script, expansion and protrusion.

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread Wolfgang Schuster
Am 04.04.2011 um 12:50 schrieb C.: In MKII \sc switch to a different font but MKIV can just enable the smcp feature. Adding smcp=yes doesn't work as option for \setmainfont because you can use \definfontfeature and overload the default set, the only valid options from \definefontfeature

[NTG-context] fontsize calculation broken

2011-04-04 Thread Henning Hraban Ramm
Since about last week's beta I get an Illegal unit of measure error (pointing to a completely different place) with this line: \definedfont[SansBold at 1.5\fontsize] I just want to adapt the local font size relative to the current setting. It worked before. What should I do? Greetlings

Re: [NTG-context] fontsize calculation broken

2011-04-04 Thread Wolfgang Schuster
Am 04.04.2011 um 15:32 schrieb Henning Hraban Ramm: Since about last week's beta I get an Illegal unit of measure error (pointing to a completely different place) with this line: \definedfont[SansBold at 1.5\fontsize] \definedfont[SansBold sa 1.5] Wolfgang

Re: [NTG-context] simpleslides/metapost bug ?

2011-04-04 Thread Henning Hraban Ramm
Am 2011-03-13 um 22:31 schrieb Thomas Schmitz: what fails is the shadow for the highlight. Aditya wrote this code, so please curse him :-) I must admit I don't really understand what he did there. As a workaround (or solution?): line 835 of simpleslides-s-default.tex: withcolor

Re: [NTG-context] fontsize calculation broken

2011-04-04 Thread Henning Hraban Ramm
Am 2011-04-04 um 16:03 schrieb Wolfgang Schuster: Since about last week's beta I get an Illegal unit of measure error (pointing to a completely different place) with this line: \definedfont[SansBold at 1.5\fontsize] \definedfont[SansBold sa 1.5] Thank you! I should learn those size codes

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread C.
Oh my! So close and yet so far... It works. Thank you very much! -Ursprüngliche Nachricht- Von: Wolfgang Schuster [mailto:schuster.wolfg...@googlemail.com] Gesendet: Montag, 4. April 2011 12:56 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in

[NTG-context] Side effect of virtual fonts

2011-04-04 Thread Ulrike Fischer
I made two copies of luatex-fonts-demo-vf-1.lua named vf-a.lua and vf-b.lua (The original file can be found in \context-minimals\context\tex\texmf-context\tex\generic\context). In both copies I changed the three fonts the virtual font uses as basis to Arial. In vf-b.lua I added after the

Re: [NTG-context] Using forms and saving values

2011-04-04 Thread Wolfgang Schuster
Am 03.04.2011 um 13:00 schrieb Cecil Westerhof: I have –simplified– the following: \starttext \defineframed [action] [width=5cm, height=3cm, offset=none, frameoffset=.5\linewidth] \action{} \stoptext What I would like to do is to let the user input some text and display it in

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread John Haltiwanger
I've putthis on the psuedo-smallcaps wiki page as a more appropriate solution going into the future. On Mon, Apr 4, 2011 at 10:38 PM, C. meta...@gmx.de wrote: Oh my! So close and yet so far... It works. Thank you very much! -Ursprüngliche Nachricht- Von: Wolfgang Schuster

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread John Haltiwanger
Completely misunderstood the problem from the beginning. Wiki entry reverted. But I still hope that there is an easier solution to resolving a psuedo smallcaps from available capitals in a font in mkIV. On Tue, Apr 5, 2011 at 3:49 AM, C. meta...@gmx.de wrote: Erm, these are no pseudo small

Re: [NTG-context] Using forms and saving values

2011-04-04 Thread Cecil Westerhof
2011/4/4 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 03.04.2011 um 13:00 schrieb Cecil Westerhof: I have –simplified– the following: \starttext \defineframed [action] [width=5cm, height=3cm, offset=none, frameoffset=.5\linewidth] \action{} \stoptext What I

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread Wolfgang Schuster
Am 04.04.2011 um 22:54 schrieb John Haltiwanger: Completely misunderstood the problem from the beginning. Wiki entry reverted. But I still hope that there is an easier solution to resolving a psuedo smallcaps from available capitals in a font in mkIV. There is the \cap command. Wolfgang

[NTG-context] A dashed box around a range of objects in flowcharts

2011-04-04 Thread Cecil Westerhof
I use the following: \runMPgraphicsfalse \usemodule[chart] \setupFLOWcharts[ bodyfont={PT Serif,rm,10pt}, ] \starttext \startFLOWchart[subversion] \startFLOWcell \location {2,1} \name {test} \shape {34} \text

[NTG-context] Margin text in doublesided documents

2011-04-04 Thread C.
Hello, in my doublesided document \inmargin texts are always on the left side of the body text. \setuplayout[location=doublesided] \setuppagenumbering[location=right,alternative=doublesided] \setupmargindata[left][style=\tfx] \starttext \chapter{Chapter Knuth testing} \section{Section Knuth

[NTG-context] No indent after a flowchart

2011-04-04 Thread Cecil Westerhof
I am using indent, but do not want indent in the first paragraph. A paragraph after a flowchart is always the first paragraph. Is there a way to have no indent in that paragraph? I could put a \myblank between the flowchart and the paragraph. But that is not a very neat solution. -- Cecil

Re: [NTG-context] Using forms and saving values

2011-04-04 Thread Cecil Westerhof
2011/4/4 Wolfgang Schuster schuster.wolfg...@googlemail.com http://www.pragma-ade.com/show-man-22.htm I tried the first example from fill-in fields: \starttext A few years back, \TEX\ could only produce \fillinfield [dvi]{\DVI} output, but nowadays, thanks to \fillinfield {Han The Thanh}, we