Re: [NTG-context] relative references?

2013-07-07 Thread Steffen Kram
Hi Wolfgang, I already tried using \setuphead[…][prefix=+], this are my definitions: \setuphead [chapter][command=\ChapterCmd, style={\ss\bfc}, page=right, number=yes, frame=off, placehead=yes, align=left, before={}, after={\blank[3*line]}, header=nomarking, prefix=+] \setuphead

Re: [NTG-context] relative references?

2013-07-04 Thread Wolfgang Schuster
Am 02.07.2013 um 17:30 schrieb Steffen Kram s...@kram.io: Hello, is it possible to reference parts of a document in a relative style? My structure is as follows: \startproduct … \startbodymatter \component chapterFoo/main \component chapterBar/main \stopbodymatter …

[NTG-context] relative references?

2013-07-02 Thread Steffen Kram
Hello, is it possible to reference parts of a document in a relative style? My structure is as follows: \startproduct … \startbodymatter \component chapterFoo/main \component chapterBar/main \stopbodymatter … \stopproduct Each of my chapters uses \chapter, \section … \subsubsubsection

Re: [NTG-context] relative references in OSX Lion

2011-09-14 Thread Ian Lawrence
I got to the bottom of this with the aid of paper (lots) and a pencil. My misunderstanding was this. The home folder for context is not the folder from which the tex file is invoked. Context has one fixed home folder. You can set this by a bash profile and then completely forget that you have.

Re: [NTG-context] relative references in OSX Lion

2011-08-26 Thread Ian Lawrence
OK, playing out my failures in public for the greater good…? Here is what I got: ref.pdf Description: Adobe PDF document From this tex file: ___ \enabletrackers[graphics.locating] \starttext \setupexternalfigures[directory={graphics,../graphics}] hello world \externalfigure[pic.pdf]

Re: [NTG-context] relative references in OSX Lion

2011-08-26 Thread Hans Hagen
On 26-8-2011 14:02, Ian Lawrence wrote: \externalfigure[pic.pdf] \externalfigure[/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf] graphics inclusion locations: local,global graphics inclusion path list: . .. ../.. graphics ../graphics graphics inclusion strategy:

Re: [NTG-context] relative references in OSX Lion

2011-08-26 Thread Taco Hoekwater
You have a problem with your current directory. On 08/26/2011 02:02 PM, Ian Lawrence wrote: Here is the file: context /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex And here is the graphic graphics inclusion found:

Re: [NTG-context] relative references in OSX Lion

2011-08-26 Thread Ian Lawrence
Thanks…now I need unravel why the self-contained tex from Wolfgang did not run…and the other piece of more substantial work is also giving grief on this machine, in spite of working on another Mac…both of these are put together by experts… But at least I have something working, so I can begin

Re: [NTG-context] relative references in OSX Lion

2011-08-23 Thread Ian Lawrence
Is anyone else successfully running context on OS X Lion? Apparently the relative references work in the terminal - that's the command line interface to unix. I can move around different folders using relative reference there. However there is a complete failure to repeat relative references

Re: [NTG-context] relative references in OSX Lion

2011-08-23 Thread Hans Hagen
On 23-8-2011 15:37, Ian Lawrence wrote: \doifmodeelse{*product} {\setupexternalfigures[directory={graphics}]} {\setupexternalfigures[directory={../graphics}]} what happen if you just say \setupexternalfigures[directory={graphics,../graphics}] also say \enabletrackers[graphics.locating] to

Re: [NTG-context] relative references in OSX Lion

2011-08-23 Thread Wolfgang Schuster
Am 23.08.2011 um 15:37 schrieb Ian Lawrence: Is anyone else successfully running context on OS X Lion? Apparently the relative references work in the terminal - that's the command line interface to unix. I can move around different folders using relative reference there. However there is

[NTG-context] Relative references to floats

2010-06-09 Thread Andreas Schneider
Hello, is there currently (in MkIV) some way to have relative references to floats? I imagine something like ... as you can see \above[fig:somefigure]. which would print ... as you can see above. if the figure is above the current paragraph or ... as you can see below. if it is below. Maybe

Re: [NTG-context] Relative references to floats

2010-06-09 Thread Wolfgang Schuster
Am 09.06.10 14:43, schrieb Andreas Schneider: Hello, is there currently (in MkIV) some way to have relative references to floats? I imagine something like ... as you can see \above[fig:somefigure]. which would print ... as you can see above. if the figure is above the current paragraph or ...

Re: [NTG-context] Relative references to floats

2010-06-09 Thread Andreas Schneider
Wolfgang Schuster wrote: Am 09.06.10 14:43, schrieb Andreas Schneider: Hello, is there currently (in MkIV) some way to have relative references to floats? I imagine something like ... as you can see \above[fig:somefigure]. which would print ... as you can see above. if the figure is above