[NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Peter Münster
Hello, Do I have to learn lpeg now, in order to port pret-c.lua to v-c.lua, or is there a simpler way? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to

Re: [NTG-context] showfont.pdf does not show fonts

2010-12-03 Thread Mojca Miklavec
On Fri, Dec 3, 2010 at 02:51, Jonas Stein wrote: in okular i see no example in the middle of pages 2-8 on page 9 i can see a formula. Is it my fault or is the file broken? http://www.pragma-ade.com/general/manuals/showfont.pdf None of that. The document is simply designed that way. On the

Re: [NTG-context] How to not scale images?

2010-12-03 Thread Khaled Hosny
On Fri, Dec 03, 2010 at 12:34:47AM +0100, Hans Hagen wrote: On 3-12-2010 12:24, Khaled Hosny wrote: On Fri, Dec 03, 2010 at 12:15:40AM +0100, Hans Hagen wrote: On 3-12-2010 12:08, Khaled Hosny wrote: What option should I pass to \externalfigure to not scale the image, from the manuals it

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Renaud AUBIN
Hi Peters, I can either help or port if needed… Cheers, Renaud Peter Münster pmli...@free.fr a écrit : Hello, Do I have to learn lpeg now, in order to port pret-c.lua to v-c.lua, or is there a simpler way? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

[NTG-context] \setuptyping and \type{}

2010-12-03 Thread Khaled Hosny
Is there a way to setup insertion of some stuff before/after \type{}, tried \setuptyping but only works for \start/stoptyping. \setuptyping[before=\framed] \starttext \type{aa} \starttyping aa \stoptyping \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of

[NTG-context] Formating verbatim text

2010-12-03 Thread Khaled Hosny
The following is listed on the wiki but does not work in MkIV, the commands are just typeset verbatim as well. \setuptyping[option=commands] \starttext \starttyping /BTEX{\em aa}/ETEX \stoptyping \stoptext -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-03 Thread Mojca Miklavec
On Tue, Nov 30, 2010 at 19:16, Hans Hagen wrote: On 30-11-2010 6:23, Herbert Voss wrote: in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu \setupbodyfont[lucida] \def\longrightarrow{\relbar\mkern-4mu\rightarrow} \starttext $\longrightarrow$ \stoptext ok, will be fixed Hans,

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-03 Thread Mojca Miklavec
On Fri, Dec 3, 2010 at 11:42, Mojca Miklavec wrote: Hans, this issues is not fixed. I assume that jointwo(...) function is used to create the longrightarrow and maybe that one doesn't get the spacing right. This fixes the problem indeed: jointwo

[NTG-context] bug report/mkiv: verbatim text bug with tab parameter

2010-12-03 Thread Peter Schorsch
Hi, today I recognized that the tab parameter is not working in setuptyping anymore (actual beta). As soon the tab paramter is set and a tabulator is used in the text, ConTeXt breaks with following error message: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/util-

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-03 Thread Herbert Voss
Am 03.12.2010 12:21, schrieb Mojca Miklavec: IIRC, the original definitions are from plain.tex and amstex.tex. plain.tex says: \def\joinrel{\mathrel{\mkern-3mu}} So I guess that \joinrel indeed needs to be defined on per-font basis instead of being hardcoded into definitions. the

[NTG-context] Another TikZ problem with !

2010-12-03 Thread Yury G. Kudryashov
Hi! Color is not the only place where TikZ treats ! in a special way. For example, in TikZ/LaTeX you can say: \coordinate (A) at (0, 0); \coordinate (B) at (1, 0); \coordinate (C) at ($ (A)!.3!(B) $); % z.C = .3[z.A, z.B] in MetaPost \coordinate (D) at (2, 1); \coordinate (E) at ($ (A)!(B)!(D)

Re: [NTG-context] showfont.pdf does not show fonts

2010-12-03 Thread Jonas Stein
in okular i see no example in the middle of pages 2-8 on page 9 i can see a formula. Is it my fault or is the file broken? http://www.pragma-ade.com/general/manuals/showfont.pdf None of that. The document is simply designed that way. On the bottom of page there's source code that is needed

Re: [NTG-context] Formating verbatim text

2010-12-03 Thread Wolfgang Schuster
Am 03.12.2010 um 10:40 schrieb Khaled Hosny: The following is listed on the wiki but does not work in MkIV, the commands are just typeset verbatim as well. The mechanism has changed in MkIV, you can now write \setuptyping[escape=yes] \starttyping normal /BTEX\em emphasized/ETEX normal

Re: [NTG-context] Another indenting problem

2010-12-03 Thread Wolfgang Schuster
Am 03.12.2010 um 13:03 schrieb Andreas Harder: Hi all, it took me a while to track this down. It seems that if one uses \in[…] and \footnote{…} in the same paragraph the following \noindentation-command is ignored. Here is an example: You’re wrong, the indentation for the blockquote

Re: [NTG-context] \setuptyping and \type{}

2010-12-03 Thread Wolfgang Schuster
Am 03.12.2010 um 10:32 schrieb Khaled Hosny: Is there a way to setup insertion of some stuff before/after \type{}, tried \setuptyping but only works for \start/stoptyping. \setuptyping[before=\framed] You can try to convince Hans to add a command key to \setuptype, untill then you can use

Re: [NTG-context] Another indenting problem

2010-12-03 Thread Andreas Harder
Am 03.12.2010 um 15:45 schrieb Wolfgang Schuster: Am 03.12.2010 um 13:03 schrieb Andreas Harder: Hi all, it took me a while to track this down. It seems that if one uses \in[…] and \footnote{…} in the same paragraph the following \noindentation-command is ignored. Here is an

Re: [NTG-context] Math and bold font

2010-12-03 Thread Vladimir Lomov
Hi. ** Procházka Lukáš Ing. - Pontex s. r. o. [2010-12-03 08:51:41 +0100]: Hello all, I'd to explain some effects in the .pdf from the code bellow. It was copied from co-font.pdf, pg. 19-20; just Abc was added to try something. --- \enableregime[cp1250] \starttext

Re: [NTG-context] Math and bold font

2010-12-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks for the example. I can see that: - In another font(s) (at least in cambria in your example) bold Greek chars are OK. - \bf in math mode causes chars to become vertical, i.e. when I want to get slanted chars, I have to call \it or \sl or \bi explicitly. OK, I thought that the

Re: [NTG-context] next space (problematic example!)

2010-12-03 Thread Steffen Wolfrum
Am 29.11.2010 um 14:39 schrieb Wolfgang Schuster: Am 29.11.2010 um 10:29 schrieb Steffen Wolfrum: Hi, please have a look at this: \definestartstop[redimportant][before={\startcolor[red]\bf\penalty1\hskip\zeropoint},after={\/\stopcolor}] \definestartstop [redimportant]

[NTG-context] \comment broken

2010-12-03 Thread Andreas Harder
Hi, the compilation of \starttext test \comment{test} \stoptext stops (at least for me) with: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/lpdf-wid.lua:124: attempt to call field 'collect' (a nil value) I'm using the latest beta. Greeting Andreas

[NTG-context] One more (?) bib problem

2010-12-03 Thread Jean Magnan de Bornier
Hi all, A small variation on the bib test file from the wiki: \setupbibtex[database=/home/jean/bibmkiv/bib.bib] \starttext \section{section one} \cite[authoryear][hh2010,hh2010b] \section{section two} \cite[authoryear][Eijkhout1991] \placepublications[criterium=cite]

[NTG-context] Float caption separator in MKIV

2010-12-03 Thread Mojca Miklavec
Dear list, it has probably been mentioned somewhere, but I cannot find it. What is the MKIV equivalent of either of the following two commands (which do the same)? \let\floatcaptionsuffix=: \setupcaptions[separator=:] I want to have Figure 1: caption instead of just Figure 1 caption Thanks a

[NTG-context] howto make hyperrefs? (url/mail)

2010-12-03 Thread Jonas Stein
i saw it once in the documentation but i dont find it again now. How can i make a mailaddress clickable in the pdf file? Kind regards, -- Jonas Stein n...@jonasstein.de ___ If your question is of interest to

Re: [NTG-context] howto make hyperrefs? (url/mail)

2010-12-03 Thread Philipp Gesang
Hi Jonas, in context the hyperlink stuff is called “interaction”. On 2010-12-03 19:56:50, Jonas Stein wrote: i saw it once in the documentation but i dont find it again now. * http://wiki.contextgarden.net/url * http://wiki.contextgarden.net/Interaction How can i make a mailaddress

Re: [NTG-context] howto make hyperrefs? (url/mail)

2010-12-03 Thread Jaroslav Hajtmar
Hello Jonas, here are any link examples: \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \def\ahref#1{\color[linkcolor]{\ttx \href{#1}{#1}}} \def\fullahref#1{\color[linkcolor]{\ttx \href{#1}{http://#1}}} \def\mailto#1{\useURL[#1][mailto:#1][][#1]\from[{#1}]}

Re: [NTG-context] howto make hyperrefs? (url/mail)

2010-12-03 Thread Jonas Stein
\setupinteraction[state=3Dstart] \useurl [mymail] [mailto:chair...@example.com] [] [beloved boss] \starttext Send your spam to the \from[mymail]! \stoptext Hope this helps, Philipp Yes, it works fine. I added it into the wiki with some words that can be found if one uses the search

Re: [NTG-context] \setuptyping and \type{}

2010-12-03 Thread Hans Hagen
On 3-12-2010 10:32, Khaled Hosny wrote: Is there a way to setup insertion of some stuff before/after \type{}, tried \setuptyping but only works for \start/stoptyping. \setuptyping[before=\framed] \starttext \type{aa} \starttyping aa \stoptyping \stoptext that would be 'left' and 'right'

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Peter Münster
On Fri, Dec 03 2010, Renaud AUBIN wrote: I can either help or port if needed… Yes, that would be really great!! Thank you! In the meantime, I'll work with an older version. (no time to learn lpeg now...) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Hans Hagen
On 3-12-2010 10:31, Peter Münster wrote: On Fri, Dec 03 2010, Renaud AUBIN wrote: I can either help or port if needed… Yes, that would be really great!! Thank you! In the meantime, I'll work with an older version. (no time to learn lpeg now...) fyi: the name should be more explicit, like

Re: [NTG-context] Another TikZ problem with !

2010-12-03 Thread Hans Hagen
On 3-12-2010 3:19, Yury G. Kudryashov wrote: Hi! Color is not the only place where TikZ treats ! in a special way. For example, in TikZ/LaTeX you can say: \coordinate (A) at (0, 0); \coordinate (B) at (1, 0); \coordinate (C) at ($ (A)!.3!(B) $); % z.C = .3[z.A, z.B] in MetaPost \coordinate (D)

[NTG-context] Typescript Bodoni Old Fashion

2010-12-03 Thread Philipp Gesang
Hi all, [1] I just bought the Bodoni Old Fashion fonts from URW and made a typescript. It is attached to this mail (plus a test file for whoever needs it). Maybe it could be included in the minimals as third-party typescript. [2] Can we get the strings

Re: [NTG-context] One more (?) bib problem

2010-12-03 Thread seasoul
\placepublications[criterium=all] this will place all the references. If only cited publications are in need, use \setuppublications[criterium=cite] I also experimented on this for a long time, then i found this solution from one of Aditya's posts. It works to me now. Hans is in the process to

[NTG-context] abbreviation with Umlaut fails

2010-12-03 Thread Jonas Stein
\definesynonyms[abbreviation][abbreviations] \setupsynonyms[abbreviation][criterium=all] \abbreviation{KüFuSt}{Küstenfunkstelle} fails. Is it a bug? The rest of the Text works fine with Umlauts Kind regards, -- Jonas Stein n...@jonasstein.de

Re: [NTG-context] problem in resume module

2010-12-03 Thread views63
Hi Wolfgang, In new beta also has problem. log: structure : section @ level 3 : 0.0.0 - Education ! Missing number, treated as zero. to be read again ) \currenttableformat -s0|s0rp(.15\textwidth ) |s0w(.025\textwidth

[NTG-context] some issue in the OpenType MATH

2010-12-03 Thread views63
\starttext \startformula \int_a^b f(x)=I \stopformula Hi all, There are some issue in the OpenType MATH example: \startformula \left|\matrix{1 1 1 1\cr 0 2 3 1\cr 0 0 3 1\cr 0 0 0 2}\right| = 12. \stopformula \setupbodyfont[cambria] $\int_a^bf(x)=I$ \startformula% The symbol of

Re: [NTG-context] One more (?) bib problem

2010-12-03 Thread Jean Magnan de Bornier
Le 04 décembre à 04:23:14 seasoul bioseas...@gmail.com écrit notamment: | \placepublications[criterium=all] | this will place all the references. If only cited publications are in need, | use | \setuppublications[criterium=cite] | I also experimented on this for a long time, then i found this