Re: [NTG-context] local picture not found anymore

2013-02-04 Thread Aditya Mahajan
On Tue, 5 Feb 2013, Mojca Miklavec wrote: On Mon, Feb 4, 2013 at 7:52 PM, Meer H. van der wrote: Found this one with a lucky guess. The macro call \doiffile{picture} does find a usable picture file (I guess picture.pdf) in my tex-tree. My conclusion would be that the search no longer starts in

Re: [NTG-context] local picture not found anymore

2013-02-04 Thread Mojca Miklavec
On Mon, Feb 4, 2013 at 7:52 PM, Meer H. van der wrote: > Found this one with a lucky guess. > The macro call \doiffile{picture} does find a usable picture file (I guess > picture.pdf) in my tex-tree. > My conclusion would be that the search no longer starts in the current > directory but does a glo

Re: [NTG-context] Inclusion of title module in ConTeXt

2013-02-04 Thread Marco Patzer
On 2013–02–04 Marco Patzer wrote: > what do you think about uploading your title module to the modules > repository? An answer doesn't necessarily need words ;) Thanks Wolfgang Marco signature.asc Description: Digital signature _

Re: [NTG-context] Sans Serif Math Font

2013-02-04 Thread Hans Hagen
On 2/4/2013 6:06 PM, Troy Henderson wrote: if you really want a sans math font hvmath is probably a candidate (as is informal) Are you talking about this? http://www.micropress-inc.com/fonts/hvmath/hvmain.htm If I were to purchase the OTF version of this font, would I be able (fairly

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
On 02/05/2013 01:47 AM, Wolfgang Schuster wrote: Am 04.02.2013 um 21:11 schrieb Devendra Ghate : Hello, I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title is not moved to the right along wit

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Wolfgang Schuster
Am 04.02.2013 um 21:11 schrieb Devendra Ghate : > Hello, > > I am trying to indent my section/subsection etc. progressively. I am using > *numbercommand* > and added *hspace* before the numbers. But the section title is not moved to > the right along with > the section number and overlaps with

[NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
Hello, I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title is not moved to the right along with the section number and overlaps with it. I tried adding *loffset=2cm* (since all the options of *\

[NTG-context] Inclusion of title module in ConTeXt

2013-02-04 Thread Marco Patzer
Hi Wolfgang et al. what do you think about uploading your title module to the modules repository? Or maybe it can even make it's way into the core. It's just a few lines, nonetheless it's very versatile and handy. Marco signature.asc Description: Digital signature _

Re: [NTG-context] What is changed?

2013-02-04 Thread Wolfgang Schuster
Am 04.02.2013 um 20:12 schrieb Wolfgang Schuster : > > Am 04.02.2013 um 19:26 schrieb "Meer H. van der" : > >> More ideas? > > Move the Lua code to a luacode block or a external and use TeX only to access > the function.

Re: [NTG-context] What is changed?

2013-02-04 Thread Wolfgang Schuster
Am 04.02.2013 um 19:26 schrieb "Meer H. van der" : > More ideas? Move the Lua code to a luacode block or a external and use TeX only to access the function. Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] local picture not found anymore

2013-02-04 Thread Meer H. van der
Found this one with a lucky guess. The macro call \doiffile{picture} does find a usable picture file (I guess picture.pdf) in my tex-tree. My conclusion would be that the search no longer starts in the current directory but does a global search first. That used to be different. Why the change? My

Re: [NTG-context] What is changed?

2013-02-04 Thread Meer H. van der
On 4 feb. 2013, at 19:13, Aditya Mahajan wrote: > On Mon, 4 Feb 2013, H. van der Meer wrote: > >> The following worked without a hitch: >> >> \def\IsNilReturn#1{\edef\tmp{#1}\doifelse{\tmp}{nil}{\color[red]{ERROR}}{\tmp}} >> \def\formatDuration#1{\ctxlua{ >> local s = string.gsub("#1","\

[NTG-context] local picture not found anymore

2013-02-04 Thread H. van der Meer
Having a file picture.jpg worked fine. Now it results in inclusion of "The picture package by Heiko Oberdiek". Suddenly file searching doesn't start with the current directory anymore but somewhere in the /tex-chain. Were the significant changes here? Something to do with Luatex? I didn't follow

Re: [NTG-context] What is changed?

2013-02-04 Thread Aditya Mahajan
On Mon, 4 Feb 2013, H. van der Meer wrote: The following worked without a hitch: \def\IsNilReturn#1{\edef\tmp{#1}\doifelse{\tmp}{nil}{\color[red]{ERROR}}{\tmp}} \def\formatDuration#1{\ctxlua{ local s = string.gsub("#1","\%D","") local d = tostring(hvdm.time:match(s)) tex

[NTG-context] What is changed?

2013-02-04 Thread H. van der Meer
The following worked without a hitch: \def\IsNilReturn#1{\edef\tmp{#1}\doifelse{\tmp}{nil}{\color[red]{ERROR}}{\tmp}} \def\formatDuration#1{\ctxlua{ local s = string.gsub("#1","\%D","") local d = tostring(hvdm.time:match(s)) tex.print(string.sub(d,1,2) ~= "0:" and d or stri

Re: [NTG-context] Getting the content of source lines in a \startlines \stoplines env?

2013-02-04 Thread luigi scarso
On Mon, Feb 4, 2013 at 7:05 PM, Aditya Mahajan wrote: > On Mon, 4 Feb 2013, Wolfgang Schuster wrote: > >> context("{\\bf %s}",l) >> context(true) > > > What does context(true) do? > > Aditya """ Newline tokens are injected by passing true to the co

Re: [NTG-context] Getting the content of source lines in a \startlines \stoplines env?

2013-02-04 Thread Aditya Mahajan
On Mon, 4 Feb 2013, Wolfgang Schuster wrote: context("{\\bf %s}",l) context(true) What does context(true) do? Aditya ___ If your question is of interest to others as

Re: [NTG-context] Getting the content of source lines in a \startlines \stoplines env?

2013-02-04 Thread Wolfgang Schuster
Am 04.02.2013 um 18:11 schrieb Ingo Hohmann : > Hi, > > in another thread I got an answer to the question, how to format lines in an > environment automatically. > Is there a way to get the content of source lines? For example, to save the > line content into a variable? You can save the con

[NTG-context] Getting the content of source lines in a \startlines \stoplines env?

2013-02-04 Thread Ingo Hohmann
Hi, in another thread I got an answer to the question, how to format lines in an environment automatically. Is there a way to get the content of source lines? For example, to save the line content into a variable? Thank you in advance, Ingo

Re: [NTG-context] Sans Serif Math Font

2013-02-04 Thread Troy Henderson
> > if you really want a sans math font hvmath is probably a candidate (as is > informal) > Are you talking about this? http://www.micropress-inc.com/fonts/hvmath/hvmain.htm If I were to purchase the OTF version of this font, would I be able (fairly easily) in ConTeXt to typeset my entire docume

Re: [NTG-context] External figures from other folders

2013-02-04 Thread Alain Delmotte
Thanks for the detailed explanation, Mari. Regards, Alain Le 4/02/2013 17:07, Mari Voipio a écrit : On Mon, Feb 4, 2013 at 5:30 PM, Alain Delmotte wrote: When I worked with a master file and its translations where some figures had translated text and others didn't, I dumped the translated pi

Re: [NTG-context] Sans Serif Math Font

2013-02-04 Thread Hans Hagen
On 2/4/2013 1:05 PM, Troy Henderson wrote: Does the OTF version of the Lucida fonts have "correct" math sans serif? If so, I may likely purchase them. there is no such thing as sans math ... there are sans alphabets but then you still can have issues with symbols ... to some extend \ss in ma

Re: [NTG-context] External figures from other folders

2013-02-04 Thread Mari Voipio
On Mon, Feb 4, 2013 at 5:30 PM, Alain Delmotte wrote: >> When I worked with a master file and its translations where some >> figures had translated text and others didn't, I dumped the translated >> pics in the same directory with my translated tex file, while all the >> untouched graphics could b

Re: [NTG-context] External figures from other folders

2013-02-04 Thread Alain Delmotte
Hi, Le 4/02/2013 15:39, Mari Voipio a écrit : One more trick: ConTeXt will first look for a pic in current directory, then proceed to check out the others defined by \setupexternalfigures. When I worked with a master file and its translations where some figures had translated text and others di

Re: [NTG-context] block with different formatting per line?

2013-02-04 Thread Ingo Hohmann
On 02/03/2013 04:56 AM, Rogers, Michael K wrote: On Feb 1, 2013, at 6:16 PM, Ingo Hohmann wrote: Hi, is it possible to define a block, where lines are automatically formatted differently? For example: first line in caps, second in bold, others normal. Is this possible? And how? If you mean

Re: [NTG-context] External figures from other folders

2013-02-04 Thread Mari Voipio
On Mon, Feb 4, 2013 at 2:03 PM, Marco Patzer wrote: > > \setupexternalfigures > [directory=images] The images can also be elsewhere than in a subdirectory: \setupexternalfigures[directory=../graphics] You can also tell ConTeXt to look into multiple directories: \setupexternalfigures[director

Re: [NTG-context] Title over the image

2013-02-04 Thread Marco Patzer
On 2013–02–04 "H. Özoguz" wrote: \setupcaption [figure] [location=top] \starttext > \startplacefigure [title=blub, reference=fig:demo, number=no] > > \externalfigure[example][width=11.2cm] > > \stopplacefigure \stoptext Marco signature.asc Description: Digital signature _

Re: [NTG-context] Title over the image

2013-02-04 Thread Philipp Gesang
Hi Huseyin! · > Using > > \startplacefigure [title=blub, reference=fig:demo, number=no] > > \externalfigure[example][width=11.2cm] > > \stopplacefigure > > > how can I set the Title of the image over the image, instead of > under the image (that is default) ? The title is actually t

Re: [NTG-context] Title over the image

2013-02-04 Thread Wolfgang Schuster
Am 04.02.2013 um 14:24 schrieb H. Özoguz : > Using > > \startplacefigure [title=blub, reference=fig:demo, number=no] > > \externalfigure[example][width=11.2cm] > > \stopplacefigure > > > how can I set the Title of the image over the image, instead of under the > image (that is default) ? \

Re: [NTG-context] External figures from other folders

2013-02-04 Thread H. Özoguz
Works, Thanks Marco! ___ 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 : http://www.pragma

[NTG-context] Title over the image

2013-02-04 Thread H. Özoguz
Using \startplacefigure [title=blub, reference=fig:demo, number=no] \externalfigure[example][width=11.2cm] \stopplacefigure how can I set the Title of the image over the image, instead of under the image (that is default) ? Thanks Huseyin

Re: [NTG-context] Sans Serif Math Font

2013-02-04 Thread Troy Henderson
Does the OTF version of the Lucida fonts have "correct" math sans serif? If so, I may likely purchase them. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-

Re: [NTG-context] External figures from other folders

2013-02-04 Thread Marco Patzer
On 2013–02–04 "H. Özoguz" wrote: > But how to reference to the image, if it is in another folger. Say > my context mainfile is in ...\projekt and the images are in > \projekt\images, then how to reference correctly directly to the > images in the subfolder "images"? \setupexternalfigures [direc

Re: [NTG-context] short downtime of the contextgarden server

2013-02-04 Thread Mojca Miklavec
Dear ConTeXters, On Thu, Jan 31, 2013 at 11:25 PM, Mojca Miklavec wrote: > > During the weekend there will be a short downtime of the > contextgarden.net server The OS has been upgraded tonight. Please let me know if you spot any unexpected/unnoticed side effects. Mojca _

[NTG-context] External figures from other folders

2013-02-04 Thread H. Özoguz
Hi there, for images I use: \startplacefigure [title=desciption, reference=fig:demo, number=no] \externalfigure[example][width=13cm] \stopplacefigure But how to reference to the image, if it is in another folger. Say my context mainfile is in ...\projekt and the images are in \projekt\imag