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 [section][style

Re: [NTG-context] relative references?

2013-07-04 Thread Wolfgang Schuster
Am 02.07.2013 um 17:30 schrieb 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 > … > \stopp

[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 ma

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
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 t

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: /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/tria

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> strate

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-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 ther

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 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 wi

Re: [NTG-context] relative references

2011-08-13 Thread Email Lists
Apparently it worked on another machine, so there is something grim about mine at the moment I'm on holiday for a week now, about 200 km from the offending / offensive computer, so there will be a pause. Kind regards Ian On 12 Aug 2011, at 19:02, Wolfgang Schuster wrote: > > Am 12.08

Re: [NTG-context] relative references

2011-08-12 Thread Wolfgang Schuster
Am 12.08.2011 um 12:45 schrieb Ian Lawrence: > That was very kind of you, and I'd like to buy you a beer, even though your > example seemed to be much more complex than mine. Can you make a real minimal example of your method and provide as zip. The advantage of the extra code in my example is

Re: [NTG-context] relative references

2011-08-12 Thread Hans Hagen
On 12-8-2011 12:45, Ian Lawrence wrote: That was very kind of you, and I'd like to buy you a beer, even though your example seemed to be much more complex than mine. I assume your example ought to run 'out of the box' by just issuing the commend 'context relabs'. So I did, and what I got for

Re: [NTG-context] relative references

2011-08-12 Thread Hans Hagen
On 11-8-2011 6:05, Wolfgang Schuster wrote: The usual payment is a bottle of beer at a TeX conference ;) we should introduce a counter for that (you probably can drown in beer by now) Hans -

Re: [NTG-context] relative references

2011-08-12 Thread Ian Lawrence
That was very kind of you, and I'd like to buy you a beer, even though your example seemed to be much more complex than mine. I assume your example ought to run 'out of the box' by just issuing the commend 'context relabs'. So I did, and what I got for my trouble was the following pdf (OK, so t

Re: [NTG-context] relative references

2011-08-11 Thread Ian Lawrence
So here is the simplest example I could manage… There are three folders trial.. Containing the file that is called relabs.tex trial/graphics/.. Containing pic.pdf trial/tex… Containing pickedup.tex Here is the contents of relabs.tex \starttext with absolute reference to another tex file \

Re: [NTG-context] relative references

2011-08-11 Thread Alan Braslau
On Thu, Aug 11, 2011 at 06:05:30PM +0200, Wolfgang Schuster wrote: > > The usual payment is a bottle of beer at a TeX conference ;) > On Thu, Aug 11, 2011 at 07:11:22PM +0300, Mari Voipio wrote: > > This so-called advice is free. :-D > Mari, Do you mean that you will not be coming to Basseng

Re: [NTG-context] relative references

2011-08-11 Thread Mari Voipio
On Thu, Aug 11, 2011 at 18:55, Ian Lawrence wrote: > Anyone else had an issue with these? > > Work done on one system, transferred to another, and apparently the relate > references all fail. > > Both unix - based machines… > > The offending machine (where the refs seem not to work) is OSX Lion….

Re: [NTG-context] relative references

2011-08-11 Thread Wolfgang Schuster
Am 11.08.2011 um 17:55 schrieb Ian Lawrence: > Anyone else had an issue with these? > > Work done on one system, transferred to another, and apparently the relate > references all fail. > > Both unix - based machines… > > The offending machine (where the refs seem not to work) is OSX Lion…. >

[NTG-context] relative references

2011-08-11 Thread Ian Lawrence
Anyone else had an issue with these? Work done on one system, transferred to another, and apparently the relate references all fail. Both unix - based machines… The offending machine (where the refs seem not to work) is OSX Lion…. Some samples: This works: /Users/Ian/SPT_PDF_context/ConTEXt_p

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

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 ".

[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. Ma