Re: [NTG-context] relative references?
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={\ss\bfb}, page=no, number=yes, frame=off, placehead=yes, align=right, before={\testpage[6]\blank[2*line]}, after={\blank}, prefix=+] \setuphead [subsection][style={\ss\bfa}, page=no, number=yes, frame=off, placehead=yes, align=right, before={\testpage[6]\blank[line]}, after={}, prefix=+] But I can't get cross-chapter reference to work, e.g. a subsection in my second chapter is defined as \chapter[basics]{foo} … \section[development]{bar} referencing this from my fourth chapter with \in{Abschnitt}[basics:development] just produces Abschnitt ??. Have I set up something wrong? Thanks! Steffen Am 04.07.2013 um 12:07 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: 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 … \stopproduct Each of my chapters uses \chapter, \section … \subsubsubsection markers. I would like to use references for each of them. Is it possible to reference for example the subsection Foo AA from the chapter start with an relative reference such as \chapter[sec:foo]{Foo} \in[fooA:fooAA] \section[fooA]{Foo A} \subsection[fooAA]{Foo AA} but when referencing it from the second chapter use a absolute reference: \chapter[sec:bar]{Bar} \in[sec:foo:fooA:fooAA] … Is this possible? Or must I use absolute references and identifiers everywhere? Take a look at page 149ff at the context manual [1] where this is described. [1] http://www.pragma-ade.nl/show-man-9.htm Wolfgang ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] relative references?
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 … \stopproduct Each of my chapters uses \chapter, \section … \subsubsubsection markers. I would like to use references for each of them. Is it possible to reference for example the subsection Foo AA from the chapter start with an relative reference such as \chapter[sec:foo]{Foo} \in[fooA:fooAA] \section[fooA]{Foo A} \subsection[fooAA]{Foo AA} but when referencing it from the second chapter use a absolute reference: \chapter[sec:bar]{Bar} \in[sec:foo:fooA:fooAA] … Is this possible? Or must I use absolute references and identifiers everywhere? Take a look at page 149ff at the context manual [1] where this is described. [1] http://www.pragma-ade.nl/show-man-9.htm Wolfgang ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] relative references?
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 markers. I would like to use references for each of them. Is it possible to reference for example the subsection Foo AA from the chapter start with an relative reference such as \chapter[sec:foo]{Foo} \in[fooA:fooAA] \section[fooA]{Foo A} \subsection[fooAA]{Foo AA} but when referencing it from the second chapter use a absolute reference: \chapter[sec:bar]{Bar} \in[sec:foo:fooA:fooAA] … Is this possible? Or must I use absolute references and identifiers everywhere? Cheers, Steffen ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] relative references in OSX Lion
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. I hope this is correct and save someone else some time. Ian On 23 Aug 2011, at 15:55, Wolfgang Schuster wrote: 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 a complete failure to repeat relative references within Context (absolute references work fine). Even with well structured tex files from Wolfgang or Willi… I have also Lion on my machine and can’t reproduce the behavior you mentioned. I tried it with the small example i sent a while back but everywhere i get the correct output. Wolfgang ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] relative references in OSX Lion
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] \externalfigure[/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf] \stoptext ___ And here is the terminal report…I cannot see anything here, other than a series of not-founds. IN the second \externalfigure I have simply put in the full pathname... Last login: Fri Aug 26 12:52:10 on ttys012 Setting /Users/Ian/context/tex as ConTeXt root. context /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex Ian-MBP:ConTEXt_production_ws Ian$ context /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex mtx-context | run 1: luatex --fmt=/Users/Ian/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en --lua=/Users/Ian/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui --backend=pdf /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex \stoptext This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) \write18 enabled. (/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex ConTeXt ver: 2011.08.23 13:04 MKIV fmt: 2011.8.23 int: english/english system cont-new.mkiv loaded (/Users/Ian/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system ref.top loaded (ref.top) fontslatin modern fonts are not preloaded languageslanguage en is active {/Users/Ian/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) (/Users/Ian/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/Users/Ian/context/tex/texmf-context/tex/context/base/type-otf.mkiv) filesreadfile asked name: 'loc', not found {/Users/Ian/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/Ian/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fontsvirtual math unable to resolve name mapsfromchar fontsfallback modern rm 12pt is loaded graphics inclusion locations: local,global graphics inclusion path list: . .. ../.. graphics ../graphics graphics inclusion strategy: forced format pdf graphics inclusion not found: pic.pdf graphics inclusion not found: ./pic.pdf graphics inclusion not found: ../pic.pdf graphics inclusion not found: ../../pic.pdf graphics inclusion not found: graphics/pic.pdf graphics inclusion not found: ../graphics/pic.pdf graphics inclusion strategy: forced format pdf graphics inclusion found: /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf - /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf graphics inclusion format natively supported by backend: pdf backend xmp using file '/Users/Ian/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml' /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf pagesflushing realpage 1, userpage 1, subpage 1 )/Users/Ian/context/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf/Users/Ian/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf mkiv lua stats used config file - selfautoparent:texmf/web2c/texmfcnf.lua mkiv lua stats used cache path - /Users/Ian/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606 mkiv lua stats resource resolver - loadtime 0.008 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 49 found files, scanned paths: mkiv lua stats stored bytecode data - 294 modules, 63 tables, 357 chunks mkiv lua stats cleaned up reserved nodes - 36 nodes, 9 lists of 424 mkiv lua stats node memory usage - 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list mkiv lua stats node list callback tasks - 6 unique task lists, 5 instances (re)created, 2397 calls mkiv lua stats used backend - pdf (backend for directly generating pdf output) mkiv lua stats loaded patterns - en::2 mkiv lua stats callbacks - 2565 direct, 3023 indirect, 5588 total mkiv lua stats randomizer- resumed with value 0.99820997845298 mkiv lua stats lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls mkiv lua stats result saved in file - ref.pdf mkiv lua stats loaded fonts - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf
Re: [NTG-context] relative references in OSX Lion
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: forced format pdf graphics inclusion not found: pic.pdf graphics inclusion not found: ./pic.pdf graphics inclusion not found: ../pic.pdf graphics inclusion not found: ../../pic.pdf graphics inclusion not found: graphics/pic.pdf graphics inclusion not found: ../graphics/pic.pdf so, where does pic.pdf reside relative to your run path? graphics inclusion strategy: forced format pdf graphics inclusion found: /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf - /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf graphics inclusion format natively supported by backend: pdf )/Users/Ian/context/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf/Users/Ian/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular..otf i remember seeing the double .. in the fontname before ... looks fishy (unrelated to images) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] relative references in OSX Lion
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/trial/graphics/pic.pdf But here are you: Ian-MBP:ConTEXt_production_ws Ian$ Which is probably /Users/Ian/SPT_PDF_context/ConTEXt_production_ws right? Then that means that the graphics path of graphics inclusion path list: . .. ../.. graphics ../graphics expands into: /Users/Ian/SPT_PDF_context/ConTEXt_production_ws /Users/Ian/SPT_PDF_context /Users/Ian /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/graphics /Users/Ian/SPT_PDF_context/graphics none of these contain the file! You would have needed \setupexternalfigures[directory={graphics,trial/graphics}] Best wishes, Taco ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] relative references in OSX Lion
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 to rebuild some confidence and understanding… Kind regards Ian On 26 Aug 2011, at 14:02, Taco Hoekwater wrote: 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/trial/graphics/pic.pdf But here are you: Ian-MBP:ConTEXt_production_ws Ian$ Which is probably /Users/Ian/SPT_PDF_context/ConTEXt_production_ws right? Then that means that the graphics path of graphics inclusion path list: . .. ../.. graphics ../graphics expands into: /Users/Ian/SPT_PDF_context/ConTEXt_production_ws /Users/Ian/SPT_PDF_context /Users/Ian /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/graphics /Users/Ian/SPT_PDF_context/graphics none of these contain the file! You would have needed \setupexternalfigures[directory={graphics,trial/graphics}] Best wishes, Taco ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] relative references in OSX Lion
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 within Context (absolute references work fine). Even with well structured tex files from Wolfgang or Willi… I have razed the whole context installation and reinstalled the latest beta (ConTeXt ver: 2011.08.23 13:04 MKIV fmt: 2011.8.23 int: english/english). No joy at all…so anyone else using Lion? Thanks Ian On 12 Aug 2011, at 11: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 my trouble was the following pdf (OK, so there was more white space, but this was all the content). Wolfgang.pdf There's not much to guide me in the log file ( the only not found was : files readfile asked name: 'loc', not found), but context (ConTeXt ver: 2011.08.04 00:42 MKIV fmt: 2011.8.12 int: english/english) seems not to have found the component text, or the graphic…. So far I have lost days to this…and I'm afraid I'm none the wiser now. But I do appreciate the effort. Thanks. On 12 Aug 2011, at 08:25, Wolfgang Schuster wrote: Am 12.08.2011 um 07:52 schrieb Ian Lawrence: So here is the simplest example I could manage… […] I show you how it’s done without problems on a simple example. All your files are in directory with the two subfolders “tex” for for subparts of your document and “graphic” for figures. relabs.tex relabs-environment.tex tex/pickedup.tex graphics/pic.pdf The content (i attached all files) of the tex-files is: file name=relabs.tex \startproduct relabs \environment relabs-environment \section{Graphic} \placefigure[force] {A Graphic} {\externalfigure[pic]} \section{File} \component pickedup \stopproduct /file file name=relabs-environment.tex \startenvironment relabs-environment \doifmodeelse{*product} {\setupexternalfigures[directory={graphics}]} {\setupexternalfigures[directory={../graphics}]} \usepath[tex] \stopenvironment /file file name=pickedup.tex \startcomponent pickedup \environment relabs-environment \subsection{Text} \input knuth \subsection{Graphic} \placefigure[force] {Another graphic} {\externalfigure[pic]} \stopcomponent /file I used product and component because you can now set different figure paths for both files. When you process the product context should search in the “graphic” folder which is in the same folder but when you process the component context should first go into the parent folder and then look in “graphics”. For the inclusion of files you can specify with “\usepath” where context should look and all you need as argument for \component is the name of the file. Wolfgang test.zip___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] relative references in OSX Lion
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 see where is searched Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] relative references in OSX Lion
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 a complete failure to repeat relative references within Context (absolute references work fine). Even with well structured tex files from Wolfgang or Willi… I have also Lion on my machine and can’t reproduce the behavior you mentioned. I tried it with the small example i sent a while back but everywhere i get the correct output. Wolfgang ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Relative references to floats
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 it's unusual to do that in books/papers, but I thought it might look better than to reference a page or a number if it is expected, that the figure is close by anyway. It would be nice if it could even go so far as to include page offsets ... ... as you can see on the next page or ... as you can see two pages ahead. I have no real need to use this, it was just an idea to tidy up my text a bit (without risking wrong references when the layout changes and floats shift around). So if that is currently possible: awesome ... if not: no harm done :-) Best Regards, Andreas. ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Relative references to floats
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 ... as you can see below. if it is below. Maybe it's unusual to do that in books/papers, but I thought it might look better than to reference a page or a number if it is expected, that the figure is close by anyway. It would be nice if it could even go so far as to include page offsets ... ... as you can see on the next page or ... as you can see two pages ahead. I have no real need to use this, it was just an idea to tidy up my text a bit (without risking wrong references when the layout changes and floats shift around). So if that is currently possible: awesome ... if not: no harm done :-) strc-ref.mkiv: %D A still very rudimentary|/|experimental forward|/|backward %D reference mechanism is provided by the macro \type{\atpage}: %D %D \starttyping %D ... \somewhere{backward text}{forward text}[someref] ... %D ... \atpage[someref] ... %D \stoptyping Wolfgang ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Relative references to floats
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 the current paragraph or ... as you can see below. if it is below. strc-ref.mkiv: %D A still very rudimentary|/|experimental forward|/|backward %D reference mechanism is provided by the macro \type{\atpage}: %D %D \starttyping %D ... \somewhere{backward text}{forward text}[someref] ... %D ... \atpage[someref] ... %D \stoptyping Wolfgang Ah, thank you for pointing that out. Unfortunately it seems to be really quite experimental, as my first tests didn't go so well :D I'll keep it in mind though and play around with it a bit more. Thanks! Andreas. ___ 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-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___