Re: [NTG-context] Conditional float references

2013-10-08 Thread Marco Patzer
On 2013–09–22 Marco Patzer wrote: a couple of times the question came up¹²³ how to create more intelligent referencing. There are already mechanisms in the core, namely \somewhere and \atpage but they both have drawbacks. \somewhere happily prints its text if the figure is placed on the same

Re: [NTG-context] Conditional float references

2013-09-25 Thread Marco Patzer
On 2013–09–25 Otared Kavian wrote: I have not yet tried it with references to maths formulas, theorems, lemmas and such, Me neither. \ifsinglesided \strc_references_do_relative_else\plusone {\def\strc_references_smart_string{\labeltext\v!nextpage}}

Re: [NTG-context] Conditional float references

2013-09-25 Thread Otared Kavian
Hi Marco, Thanks for your answer: indeed I was wrong about the issue I reported about doublesided page numbering. The reason is that I use TeXShop (on a Mac) and the PDF produced is shown in a single page layout (it is however possible to have doublesided layout as well: that's what I tested

Re: [NTG-context] Conditional float references

2013-09-24 Thread Robert Blackstone
On 23 Sep 2013, at 09:57 , Marco Patzer li...@homerow.info wrote: Subject: [NTG-context] Conditional float references a couple of times the question came up??? how to create more intelligent referencing. [….] I don't know if there's interest in integrating such functionality

Re: [NTG-context] Conditional float references

2013-09-24 Thread Robert Blackstone
On 24 Sep 2013, at 19:43 , Marco Patzer li...@homerow.infol wrote: On 2013?09?24 Robert Blackstone wrote: I reproduce the error message here, hoping that you, or somebody elsm, can see what I did wrong. I used mkvi style macros. Either place the following into the first line %%

Re: [NTG-context] Conditional float references

2013-09-24 Thread Otared Kavian
Hi Marco, Your macro is a wonderful help to have smart references: I have not yet tried it with references to maths formulas, theorems, lemmas and such, but Iguess it should work as well. In order to help you nail down some small issues, here is how I used your module: I put the file you sent

Re: [NTG-context] Conditional float references

2013-09-23 Thread Hans Hagen
On 9/22/2013 11:02 PM, Marco Patzer wrote: Hi, a couple of times the question came up¹²³ how to create more intelligent referencing. There are already mechanisms in the core, namely \somewhere and \atpage but they both have drawbacks. \somewhere happily prints its text if the figure is placed

Re: [NTG-context] Conditional float references

2013-09-23 Thread Marco Patzer
On 2013–09–23 Hans Hagen wrote: a couple of times the question came up¹²³ how to create more intelligent referencing. There are already mechanisms in the core, namely \somewhere and \atpage but they both have drawbacks. \somewhere happily prints its text if the figure is placed on the same

[NTG-context] Conditional float references

2013-09-22 Thread Marco Patzer
Hi, a couple of times the question came up¹²³ how to create more intelligent referencing. There are already mechanisms in the core, namely \somewhere and \atpage but they both have drawbacks. \somewhere happily prints its text if the figure is placed on the same double page. In fact, no text at