Re: [NTG-context] Plotting a graph of a function f, like f(x) = e^x, with MetaPost

2011-10-12 Thread Mojca Miklavec
On Thu, Oct 13, 2011 at 01:19, Paul Menzel wrote: > Am Donnerstag, den 13.10.2011, 00:28 +0200 schrieb Mojca Miklavec: >> On Thu, Oct 13, 2011 at 00:13, Paul Menzel wrote: >> > Am Mittwoch, den 12.10.2011, 07:36 +0200 schrieb Alan Braslau: >> > >> >> Metapost can now perform calculations in double

Re: [NTG-context] Plotting a graph of a function f, like f(x) = e^x, with MetaPost

2011-10-12 Thread Paul Menzel
Am Donnerstag, den 13.10.2011, 00:28 +0200 schrieb Mojca Miklavec: > On Thu, Oct 13, 2011 at 00:13, Paul Menzel wrote: > > Am Mittwoch, den 12.10.2011, 07:36 +0200 schrieb Alan Braslau: > > > >> Metapost can now perform calculations in double precision floating point. > >> At this time, it is in th

Re: [NTG-context] Plotting a graph of a function f, like f(x) = e^x, with MetaPost

2011-10-12 Thread Mojca Miklavec
On Thu, Oct 13, 2011 at 00:13, Paul Menzel wrote: > Am Mittwoch, den 12.10.2011, 07:36 +0200 schrieb Alan Braslau: > >> Metapost can now perform calculations in double precision floating point. >> At this time, it is in the svn version and does not work yet as >> such integrated in ConTeXt (through

Re: [NTG-context] Plotting a graph of a function f, like f(x) = e^x, with MetaPost

2011-10-12 Thread Paul Menzel
Dear Alan, Am Mittwoch, den 12.10.2011, 07:36 +0200 schrieb Alan Braslau: > Metapost can now perform calculations in double precision floating point. > At this time, it is in the svn version and does not work yet as > such integrated in ConTeXt (through mplib). Taco promises this for soon... gr

[NTG-context] metafun manual: Typo on page 382, section 9.3 drawing functions

2011-10-12 Thread Paul Menzel
Dear ConTeXt folks, I am sorry to bother you with these kind of messages. On page 382 of the Metafun manual [1] (Fr 08 Okt 2010 13:44:26 CEST) it should be In this case the pairs (log(x), x) and … so (log(x), x) instead of (x, x). Thanks, Paul [1] http://www.pragma-ade.com/general/man

Re: [NTG-context] Solution to a "superscript" problem?

2011-10-12 Thread Aditya Mahajan
On Wed, 12 Oct 2011, Hans Hagen wrote: On 12-10-2011 21:43, Otso Helenius wrote: Hello, I've been trying to come up with a few methods to add definitions to text with the help of the metafun and context manuals. The first method adds the definition as sort of a "superscript" on top of the word

Re: [NTG-context] Solution to a "superscript" problem?

2011-10-12 Thread Otso Helenius
\unexpanded\def\WordDef {\dodoubleargument\doWordDef} \def\doWordDef[#1][#2]% {\dontleavehmode\hbox\bgroup \setbox\scratchbox\hbox{#2}% \raise\strutheight\hbox to \wd\scratchbox{\hss\rotate[rotation=25]{\tfxx\color[red]#1}\hss}% \hskip-\wd\scratchbox \box\scratchbox \eg

Re: [NTG-context] Solution to a "superscript" problem?

2011-10-12 Thread Hans Hagen
On 12-10-2011 21:43, Otso Helenius wrote: Hello, I've been trying to come up with a few methods to add definitions to text with the help of the metafun and context manuals. The first method adds the definition as sort of a "superscript" on top of the word, and the second one marks multiple words

[NTG-context] Solution to a "superscript" problem?

2011-10-12 Thread Otso Helenius
Hello, I've been trying to come up with a few methods to add definitions to text with the help of the metafun and context manuals. The first method adds the definition as sort of a "superscript" on top of the word, and the second one marks multiple words with a curly bracket and adds the defi

[NTG-context] beta

2011-10-12 Thread Hans Hagen
Hi, I uploaded a new beta. There are a few new things and some changes: - The flow chart module has been rewritten for mkiv and cf Wili it does a decent job so I've replaced the old one. This is the one that can be extended (discussed at the context conference). - I'm rewriting stepcharts (s

Re: [NTG-context] \cite doesn't work correctly

2011-10-12 Thread Steffen Wolfrum
Am 12.10.2011 um 11:33 schrieb Pontus Lurcock: > On Wed 12 Oct 2011, Steffen Wolfrum wrote: > >> the \cite command behaves strange, when used in projects: >> >> The expected output would be: >> >> Me and You; >> Name, P..Test.. >> >> but it is only >> >> ; >> Name, P..Test.. >> >> >> And

[NTG-context] Include section number in reference

2011-10-12 Thread Marco
Hi, the example below leads to: I Foo A Bar subsection A What I need is: I Foo A Bar subsection I.A How to convince \in… to include the section element? % \definestructureconversionset [myset] [ Romannumerals, Romannumerals, Romannumerals, Character,

Re: [NTG-context] I don't understand scale value of \scale[scale=700], 700 = 70% ?

2011-10-12 Thread luigi scarso
On Wed, Oct 12, 2011 at 1:47 PM, Stéphane Klein wrote: > Le 11/10/2011 15:09, Peter Münster a écrit : >> On Tue, Oct 11 2011, Stéphane Klein wrote: >> >>> Do you have a tip ? >> >> There is \scale[...]{...}: >> >> \starttext >> \dontleavehmode >> \scale[scale=700]{•} • \scale[scale=1700]{•} >> \st

[NTG-context] I don't understand scale value of \scale[scale=700], 700 = 70% ?

2011-10-12 Thread Stéphane Klein
Le 11/10/2011 15:09, Peter Münster a écrit : > On Tue, Oct 11 2011, Stéphane Klein wrote: > >> Do you have a tip ? > > There is \scale[...]{...}: > > \starttext > \dontleavehmode > \scale[scale=700]{•} • \scale[scale=1700]{•} > \stoptext > I don't understand the scale value : * 700 = 70% ? * 170

Re: [NTG-context] How can I align characters vertically middle and not align on baseline ?

2011-10-12 Thread Stéphane Klein
Le 12/10/2011 11:32, Wolfgang Schuster a écrit : Am 12.10.2011 um 09:04 schrieb Stéphane Klein: Hi, in ConTeXT file, I've this : It’s ConTeXt with a small “t” at the end. {\tfa } {\viii AAA} How can I do to middle align vertically all A, and not align on baseline ? \defineframed[ce

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Wolfgang Schuster
Am 12.10.2011 um 12:31 schrieb Mari Voipio: > On Wed, Oct 12, 2011 at 12:37, Wolfgang Schuster > wrote: >> When the fonts are in your Windows font directory you can try this: >> >> \usemodule[simplefonts] >> >> \setmainfont[Lucida Bright] > > It works! And I learned something new and useful t

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Mari Voipio
On Wed, Oct 12, 2011 at 12:37, Wolfgang Schuster wrote: > When the fonts are in your Windows font directory you can try this: > > \usemodule[simplefonts] > > \setmainfont[Lucida Bright] It works! And I learned something new and useful today, now I finally understand why it is called "simplefonts"

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Henning Hraban Ramm
Am 2011-10-12 um 11:04 schrieb Mari Voipio: Encouraged by the recent User Meeting, I'm experimenting with sans serif fonts, trying to find something that I could use all over our documents (European languages) and that would be acceptable to the design people. Besides Lucida you/they might li

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Wolfgang Schuster
Am 12.10.2011 um 11:23 schrieb Mari Voipio: > On Wed, Oct 12, 2011 at 12:11, luigi scarso wrote: >> The lucidabr and lucida packages on CTAN are free, but the Lucida fonts >> are not: you must order them from TUG or another source to actually >> typeset anything in Lucida. The TUG Lucida web pa

Re: [NTG-context] \cite doesn't work correctly

2011-10-12 Thread Pontus Lurcock
On Wed 12 Oct 2011, Steffen Wolfrum wrote: > the \cite command behaves strange, when used in projects: > > The expected output would be: > > Me and You; > Name, P..Test.. > > but it is only > > ; > Name, P..Test.. > > > And this result is the same when run from product or from component.

Re: [NTG-context] How can I align characters vertically middle and not align on baseline ?

2011-10-12 Thread Wolfgang Schuster
Am 12.10.2011 um 09:04 schrieb Stéphane Klein: > Hi, > > in ConTeXT file, I've this : It’s ConTeXt with a small “t” at the end. > {\tfa } {\viii AAA} > > How can I do to middle align vertically all A, and not align on baseline ? \defineframed[centerframe][frame=off,location=middle,strut=

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Hans Hagen
On 12-10-2011 11:22, luigi scarso wrote: On Wed, Oct 12, 2011 at 11:20 AM, Hans Hagen wrote: best wait till the otf version is available (Mojca will probably announce that here some day soon) and forget about the type 1's Uh ... the otf version will be "free" ? no, but relatively cheap and

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Mari Voipio
On Wed, Oct 12, 2011 at 12:11, luigi scarso wrote: > The lucidabr and lucida packages on CTAN are free, but the Lucida fonts > are not: you must order them from TUG or another source to actually > typeset anything in Lucida.  The TUG Lucida web pages explain the > details -- see http://tug.org/luc

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread luigi scarso
On Wed, Oct 12, 2011 at 11:20 AM, Hans Hagen wrote: > best wait till the otf version is available (Mojca will probably announce > that here some day soon) and forget about the type 1's Uh ... the otf version will be "free" ? -- luigi

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Hans Hagen
On 12-10-2011 11:16, Wolfgang Schuster wrote: Am 12.10.2011 um 11:04 schrieb Mari Voipio: Hello! Encouraged by the recent User Meeting, I'm experimenting with sans serif fonts, trying to find something that I could use all over our documents (European languages) and that would be acceptable t

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Wolfgang Schuster
Am 12.10.2011 um 11:04 schrieb Mari Voipio: > Hello! > > Encouraged by the recent User Meeting, I'm experimenting with sans > serif fonts, trying to find something that I could use all over our > documents (European languages) and that would be acceptable to the > design people. > > One of the

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread luigi scarso
On Wed, Oct 12, 2011 at 11:04 AM, Mari Voipio wrote: > Hello! > > Encouraged by the recent User Meeting, I'm experimenting with sans > serif fonts, trying to find something that I could use all over our > documents (European languages) and that would be acceptable to the > design people. > > One o

[NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Mari Voipio
Hello! Encouraged by the recent User Meeting, I'm experimenting with sans serif fonts, trying to find something that I could use all over our documents (European languages) and that would be acceptable to the design people. One of the possibilities would be Lucida, but I'm not having much success

Re: [NTG-context] Bug in export with \definehighlight

2011-10-12 Thread Hans Hagen
On 12-10-2011 05:26, Aditya Mahajan wrote: The "bug" is with xml.css.fontspecification function that does not handle style=mono (or sans and serif for that matter). The proper solution is to convert from context font specification into html font specification for all styles. I've added mono/ty

Re: [NTG-context] about \startstructureblockenvironment

2011-10-12 Thread Wolfgang Schuster
Am 12.10.2011 um 09:11 schrieb Jeong Dalyoung: > Dear all, > > There is an error message, "undefined control sequence as below when I use > "\startstructureblockenvironment": Use \startsectionblockenvironment. Wolfgang _

[NTG-context] about \startstructureblockenvironment

2011-10-12 Thread Jeong Dalyoung
Dear all, There is an error message, "undefined control sequence as below when I use "\startstructureblockenvironment": mtx-context | run 1: luatex --fmt="/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/Users/graph/ConTeXt/te

[NTG-context] How can I align characters vertically middle and not align on baseline ?

2011-10-12 Thread Stéphane Klein
Hi, in ConTeXT file, I've this : {\tfa } {\viii AAA} How can I do to middle align vertically all A, and not align on baseline ? Thanks for your help. Regards, Stephane -- Stéphane Klein blog: http://stephane-klein.info Twitter: http://twitter.com/klein_stephane pro: http://www.is-webdesi