[NTG-context] Cross references to column numbers

2019-08-12 Thread Oliver von Criegern
Dear list members, how can I create cross references to column numbers? I have a two column layout with column numbers in the header instead of page numbers (actually, these column numbers are calculated from the page numbers). Now I want to create a cross reference that returns the column nu

Re: [NTG-context] Cross references to column numbers

2019-09-02 Thread Oliver von Criegern
Dear list members, is there any way to get a cross reference to a column in a two column layout? At least, I would need to get some value that tells me whether the target is in the left or in the right column. How to achieve this? This is the more simplified version of the my previous quest

Re: [NTG-context] Cross references to column numbers

2019-09-09 Thread Henri Menke
Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: > Dear list members, > > is there any way to get a cross reference to a column in a two column layout? > > At least, I would need to get some value that tells me whether the target is > in the left or in the right column. How to achieve this? >

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Hans Hagen
On 9/9/2019 10:05 PM, Henri Menke wrote: Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: Dear list members, is there any way to get a cross reference to a column in a two column layout? yes and no: no : there is not something buil tin yes: one can write some hack in a few lines but inst

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Oliver von Criegern
Am 10.09.19 um 13:16 schrieb Hans Hagen: On 9/9/2019 10:05 PM, Henri Menke wrote: Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: Dear list members, is there any way to get a cross reference to a column in a two column layout? yes and no: no : there is not something buil tin yes: one

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Henning Hraban Ramm
Am 2019-09-10 um 13:16 schrieb Hans Hagen : > > On 9/9/2019 10:05 PM, Henri Menke wrote: >> Bump >> On 9/3/19 4:46 AM, Oliver von Criegern wrote: >>> Dear list members, >>> >>> is there any way to get a cross reference to a column in a two column >>> layout? > > yes and no: > > no : there is n

Re: [NTG-context] Cross references to column numbers

2019-11-12 Thread Oliver von Criegern
Am 10.09.19 um 13:16 schrieb Hans Hagen: On 9/9/2019 10:05 PM, Henri Menke wrote: Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: Dear list members, is there any way to get a cross reference to a column in a two column layout? yes and no: no : there is not something buil tin yes: one c

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Oliver von Criegern
Could someone please take a look at this? Am 12.11.19 um 13:02 schrieb Oliver von Criegern: Am 10.09.19 um 13:16 schrieb Hans Hagen: On 9/9/2019 10:05 PM, Henri Menke wrote: Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: Dear list members, is there any way to get a cross reference to a

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
Hi, > On 15 Nov 2019, at 15:44, Oliver von Criegern > wrote: > > Could someone please take a look at this? Well, I can tell you what is wrong … The definition of \referencecolumnnumber is like this: \def\referencecolumnnumber {\numexpr \dimexpr \clf_referenceposx -\cutspace \relax /

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
> On 15 Nov 2019, at 16:31, Taco Hoekwater wrote: > > But that outer \numexpr rounds instead of truncates. so anything that > is past halfway of the column is rounded too far up. This fixes it ^ horizontally Taco __

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Pablo Rodriguez
On 11/15/19 3:44 PM, Oliver von Criegern wrote: > Could someone please take a look at this? > > Am 12.11.19 um 13:02 schrieb Oliver von Criegern: >> [...] >> As you will see, targets A, B and C are all in the first column, and >> targets D, E and F are all in the second column. But the references >

Re: [NTG-context] Cross references to column numbers

2019-11-16 Thread Hans Hagen
On 11/15/2019 8:22 PM, Pablo Rodriguez wrote: On 11/15/19 3:44 PM, Oliver von Criegern wrote: Could someone please take a look at this? Am 12.11.19 um 13:02 schrieb Oliver von Criegern: [...] As you will see, targets A, B and C are all in the first column, and targets D, E and F are all in the