Re: [NTG-context] missing reference of items

2015-12-04 Thread Alan BRASLAU
hen how must I setup my "cite" to get the reference label of an > > item? > > > > In my "manual bibliography" (as in > > http://wiki.contextgarden.net/Manual_Bibliography), I have > > > > \definereferenceformat[cite][left={[},right={]

Re: [NTG-context] missing reference of items

2015-12-04 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 4. Dezember 2015 um 16:34 The same seems to be true for \at and \about. Then how must I setup my "cite" to get the reference label of an item? In my "manual bibliography" (as in http://wiki.contextgarden.net/Ma

Re: [NTG-context] missing reference of items

2015-12-04 Thread Henning Hraban Ramm
Am 2015-12-04 um 19:58 schrieb Wolfgang Schuster : >> \item is documented to take a reference: \item[myref] >> But this reference is always unknown if I try to access it, see example: >> Siehe \in[eins] oder so. >> My error or ConTeXt bug? > You can use the \in comm

Re: [NTG-context] missing reference of items

2015-12-04 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 4. Dezember 2015 um 12:57 Hi wizards (I’m trying to adapt http://wiki.contextgarden.net/Manual_Bibliography, but that doesn’t really matter.) \item is documented to take a reference: \item[myref] But this reference is always unknown if I

[NTG-context] missing reference of items

2015-12-04 Thread Henning Hraban Ramm
Hi wizards (I’m trying to adapt http://wiki.contextgarden.net/Manual_Bibliography, but that doesn’t really matter.) \item is documented to take a reference: \item[myref] But this reference is always unknown if I try to access it, see example: \starttext Siehe \in[eins] oder so

Re: [NTG-context] vertical space with \reference

2015-11-21 Thread Michael Green
> On Nov 20, 2015, at 1:50 PM, Hans Hagen wrote: > On 11/20/2015 7:17 PM, Michael Green wrote: >> Context puts extra vertical between “Line one" and “Line two” in this >> example. Should it do that? >> >> \starttext >> Line one. >> >> \refe

Re: [NTG-context] vertical space with \reference

2015-11-20 Thread Hans Hagen
On 11/20/2015 7:17 PM, Michael Green wrote: Context puts extra vertical between “Line one" and “Line two” in this example. Should it do that? \starttext Line one. \reference[refs]{}% Line two. \stoptext yes because you inject an (invisible) signal .. also, think of it: where does th

[NTG-context] vertical space with \reference

2015-11-20 Thread Michael Green
Context puts extra vertical between “Line one" and “Line two” in this example. Should it do that? \starttext Line one. \reference[refs]{}% Line two. \stoptext I ask because pandoc inserts \reference[refs]{}% at the beginning of its bibliography section; that produces extra vertical spa

Re: [NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Eidenbenz Michael
image \btxfield{title} \stopsetups \starttext %\enabletrackers % [publications.setups] \bild[tug2014]\par \input tufte \bildref[tug2014] \page \placebtxrendering[duane] \stoptext On 10.10.2015, at 11:35, Hans Hagen wrote: > On 10/10/2015 10:26 AM, Eidenbenz

Re: [NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Hans Hagen
On 10/10/2015 10:26 AM, Eidenbenz Michael wrote: Hello, I have double colons (::) in my reference points. (It's actually the same string I also use to refer to my publication database) But they wont show up as you can see in the example below. Is there any way to fix this? Thanks for

[NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Eidenbenz Michael
Hello, I have double colons (::) in my reference points. (It's actually the same string I also use to refer to my publication database) But they wont show up as you can see in the example below. Is there any way to fix this? Thanks for your help and best regards Michael - \star

Re: [NTG-context] \reference and \setupinteraction[focus=...] not working

2015-10-08 Thread Christoph Reller
Hi everybody, An even more minimal example \setupinteraction[state=start,focus=standard] % <- defect %\setupinteraction[state=start, focus=fit]% <- works \starttext \reference[tuf]{Tufte} \input tufte \page \about[tuf]. \stoptext The resulting PDF has an annotation that point

Re: [NTG-context] formatting of reference links

2015-09-21 Thread Henning Hraban Ramm
hing. The surroundings were upright not-bold, >> the reference links were still upright bold. >> > Can you make a example for this because I get a normal upright number when I > use style=normal. You’re right (of course). I can’t reproduce the problem any more. Greetlings, Hrab

Re: [NTG-context] formatting of reference links

2015-09-18 Thread Wolfgang Schuster
” which is not what you want when the surrounding text is italic or bold. Maybe, but it didn’t do anything. The surroundings were upright not-bold, the reference links were still upright bold. Can you make a example for this because I get a normal upright number when I use style=normal. \setup

Re: [NTG-context] \reference and \setupinteraction[focus=...] not working

2015-09-17 Thread Christoph Reller
Root->Names > with names (#2) and (#3) and these named destinations are completely > correct. The problem is that the link annotations on page 3 reference named > destinations by the names (tuf) and (knu). > > \setupinteraction[state=start,focus=standard] %focus=fit > \startt

Re: [NTG-context] formatting of reference links

2015-09-17 Thread Henning Hraban Ramm
he surrounding text is italic or bold. Maybe, but it didn’t do anything. The surroundings were upright not-bold, the reference links were still upright bold. > The example below shows why "style=NAME” is not always the same as > “style=\COMMAND”. Thank you! Gree

Re: [NTG-context] formatting of reference links

2015-09-17 Thread Wolfgang Schuster
Henning Hraban Ramm 17. September 2015 07:49 Thank you, I had only tried style=normal This is wrong because “style=normal” is in most cases the same as "style=\tf” which is not what you want when the surrounding text is italic or bold. The example below shows why "style

Re: [NTG-context] formatting of reference links

2015-09-16 Thread Henning Hraban Ramm
Am 2015-09-16 um 19:06 schrieb Wolfgang Schuster : >> How can I setup reference links (\at{page}[someref]) that they don’t get >> bold, but keep the text style? > \setupinteraction[style=] Thank you, I had only tried style=normal Greetlings, Hraban --- http://ww

Re: [NTG-context] formatting of reference links

2015-09-16 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 16. September 2015 13:58 Hi, simple question for that I didn’t find an answer in wiki or ML archive: How can I setup reference links (\at{page}[someref]) that they don’t get bold, but keep the text style? \setupinteraction[style=] Wo

[NTG-context] formatting of reference links

2015-09-16 Thread Henning Hraban Ramm
Hi, simple question for that I didn’t find an answer in wiki or ML archive: How can I setup reference links (\at{page}[someref]) that they don’t get bold, but keep the text style? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an as

[NTG-context] \reference and \setupinteraction[focus=...] not working

2015-09-14 Thread Christoph Reller
destinations in Root->Names with names (#2) and (#3) and these named destinations are completely correct. The problem is that the link annotations on page 3 reference named destinations by the names (tuf) and (knu). \setupinteraction[state=start,focus=standard] %focus=fit \starttext \startsect

[NTG-context] Latest beta: reference to items broken in mkiv

2015-04-01 Thread Otared Kavian
-broken.tex \starttext \startitemize[n] \startitem[ref:1] Item 1, reference 1 \stopitem \startitem[ref:2] Item 2, reference 2 \stopitem \startitem[ref:3] Item 3, reference 3 \stopitem \stopitemize See \in{Item}[ref:2] above. \stoptext %%% end ref-item-broken.tex

Re: [NTG-context] Reference to prologue becomes "Chapter 1"

2015-01-10 Thread Wolfgang Schuster
> Am 10.01.2015 um 15:18 schrieb Gerben Wierda : > > I have a chapter in the frontmatter that has no chapter number. The first > chapter in the real book is Chapter 1. > > But when I refer to \in{chapter}[prologue], what I get is "chapter 1". Is > there a way I can make \in{chapter}[prologue]

[NTG-context] Reference to prologue becomes "Chapter 1"

2015-01-10 Thread Gerben Wierda
I have a chapter in the frontmatter that has no chapter number. The first chapter in the real book is Chapter 1. But when I refer to \in{chapter}[prologue], what I get is "chapter 1". Is there a way I can make \in{chapter}[prologue] return something like "the prologue"? I'm using mkii G __

Re: [NTG-context] Reference text differing from title

2014-12-29 Thread Wolfgang Schuster
setupinteraction[state=start] > \placebookmarks[chapter] > \defineselector[chaptertitle][max=2,n=2] > \setuphead[chapter][textcommand={\setupselector[chaptertitle][n=1]}] > \starttext > \startchapter[reference=sec:short,title=\select{chaptertitle}{Long title for > the chapter}{Short title}] >

Re: [NTG-context] Reference text differing from title

2014-12-29 Thread Christoph Reller
> Is it possible to change the text shown in \about[...] to be something >> else than the text given to the title key of \startsection? >> > >> > \starttext >> > \startsection[ >> > title={Very Long}, >> > % referencetext={Short}, % <- is

Re: [NTG-context] \startitem [reference=xxx]

2014-12-17 Thread Alan BRASLAU
On Wed, 17 Dec 2014 20:16:18 +0100 Otared Kavian wrote: >\startitem[first] >This is a first item. >\stopitem Thanks. It does work. I did not think about trying this (obsolete) syntax. Wouldn't it be a good idea to respect the explicit "reference=f

Re: [NTG-context] \startitem [reference=xxx]

2014-12-17 Thread Otared Kavian
regards: OK > On 17 Dec 2014, at 17:30, Alan BRASLAU wrote: > > Hello, > > An item in an itemized list can have a reference: > > \startitemize [n] > \item[first] This is a first item; > \item[second] This is a second item. > \stopitemize > > \in{item}[fi

[NTG-context] \startitem [reference=xxx]

2014-12-17 Thread Alan BRASLAU
Hello, An item in an itemized list can have a reference: \startitemize [n] \item[first] This is a first item; \item[second] This is a second item. \stopitemize \in{item}[first] appears before \in{item}[second]. How does this work with \startitem\stopitem? I tried, of course: \startitem

Re: [NTG-context] Reference text differing from title

2014-11-25 Thread Christoph Reller
the title key of \startsection? > > > > \starttext > > \startsection[ > > title={Very Long}, > > % referencetext={Short}, % <- is there something like this? > > reference=mysec] > > We are now in \about[mysec]. % <- should render as "Short" >

Re: [NTG-context] Reference text differing from title

2014-11-25 Thread Wolfgang Schuster
erencetext={Short}, % <- is there something like this? > reference=mysec] > We are now in \about[mysec]. % <- should render as "Short" > \stopsection > \stoptext > > I have tried the following, but it introduces vertical white space: > > \starttext >

[NTG-context] Reference text differing from title

2014-11-24 Thread Christoph Reller
Hi, Is it possible to change the text shown in \about[...] to be something else than the text given to the titel key of \startsection? \starttext \startsection[ title={Very Long}, % referencetext={Short}, % <- is there something like this? reference=mysec] We are now in \about[my

Re: [NTG-context] Automatic reference prefixing in heads with prefix=+ broken?

2014-10-12 Thread Christoph Reller
y setting >> prefix=+. This is a really cool feature but I cannot get it to work. Why >> does the following example not work: >> >> \setupinteraction[state=start] >> \setuphead[chapter][prefix=+] >> >> \starttext >> >> \startchapter[reference

Re: [NTG-context] Automatic reference prefixing in heads with prefix=+

2014-09-29 Thread Christoph Reller
wing example not work: > > \setupinteraction[state=start] > \setuphead[chapter][prefix=+] > > \starttext > > \startchapter[reference=chap1,title={First Chapter}] > \startsection[reference=sec1,title={First Section in First Chapter}] > Reference \type{sec1} is \about[sec1].\par &

[NTG-context] Automatic reference prefixing in heads with prefix=+

2014-09-27 Thread Christoph Reller
Hi, Various documents mention a namespace feature for references by setting prefix=+. This is a really cool feature but I cannot get it to work. Why does the following example not work: \setupinteraction[state=start] \setuphead[chapter][prefix=+] \starttext \startchapter[reference=chap1,title

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-18 Thread Mark Szepieniec
OK, thanks both of you, its looks like I need to sanitize all mentioned characters, since the reference strings will generally originate from formats other than ConTeXt, and we don't want ConTeXt to do any processing on them, aside from comparisons to resolve references. As for Aditya'

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-17 Thread Aditya Mahajan
s would be very helpful. Thanks in advance, Mark On Tue, Sep 9, 2014 at 12:20 AM, Mark Szepieniec mailto:mszep...@gmail.com>> wrote: I'm trying to fix a problem in pandoc (see https://github.com/jgm/pandoc/pull/1589) where it doesn't properly sanitize the reference la

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-17 Thread Hans Hagen
, Mark On Tue, Sep 9, 2014 at 12:20 AM, Mark Szepieniec mailto:mszep...@gmail.com>> wrote: I'm trying to fix a problem in pandoc (see https://github.com/jgm/pandoc/pull/1589) where it doesn't properly sanitize the reference labels in ConTeXt output, causing errors

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-17 Thread Mark Szepieniec
epieniec wrote: > I'm trying to fix a problem in pandoc (see > https://github.com/jgm/pandoc/pull/1589) where it doesn't properly > sanitize the reference labels in ConTeXt output, causing errors during > compilation when a label contains '#' for example. Note that

[NTG-context] Permissible characters in ConTeXt reference labels

2014-09-08 Thread Mark Szepieniec
I'm trying to fix a problem in pandoc (see https://github.com/jgm/pandoc/pull/1589) where it doesn't properly sanitize the reference labels in ConTeXt output, causing errors during compilation when a label contains '#' for example. Note that this sanitizing is needed in add

Re: [NTG-context] Leave out reference to page if on the same page?

2014-08-02 Thread Gerben Wierda
On 02 Aug 2014, at 18:58, Otared Kavian wrote: > Regarding the text encodings understood by mkii and mkiv, one can always use > UTF-8 in both. > Unless you have some very uncommon characters in your ascii file, the > migration from ascii to utf-8 is quite easy, at least on a Mac (I don’t know

Re: [NTG-context] Leave out reference to page if on the same page?

2014-08-02 Thread Otared Kavian
Hi Gerben, Regarding the text encodings understood by mkii and mkiv, one can always use UTF-8 in both. Unless you have some very uncommon characters in your ascii file, the migration from ascii to utf-8 is quite easy, at least on a Mac (I don’t know what OS you are using): for instance you can

Re: [NTG-context] Leave out reference to page if on the same page?

2014-08-02 Thread Gerben Wierda
On 02 Aug 2014, at 15:12, Gerben Wierda wrote: > I suspected as such. I’m afraid to move to mkiv at this stage of my project. > Is mkiv downwards compatible with mkii? What must I do to see if my project > compiles with mkiv? I’m running currently commands like Later for me. I read: Mark IV n

Re: [NTG-context] Leave out reference to page if on the same page?

2014-08-02 Thread Gerben Wierda
On 01 Aug 2014, at 16:13, Otared Kavian wrote: >> […] >> I’ve tried to add this to my environment and product file, but even without >> using it, it ends in an error: >> >> (/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-tpd.mkii >> specials: loading definition file fdf >> (/u

Re: [NTG-context] Leave out reference to page if on the same page?

2014-08-01 Thread Otared Kavian
On 01 Aug 2014, at 13:30, Gerben Wierda wrote: > […] > I’ve tried to add this to my environment and product file, but even without > using it, it ends in an error: > > (/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-tpd.mkii > specials: loading definition file fdf > (/usr/loca

Re: [NTG-context] Leave out reference to page if on the same page?

2014-08-01 Thread Gerben Wierda
ge >> offpage >> onspread >> offspread >> never >> >> Typing \conditionalat instead of \at is what I as a simpleton user can >> handle… > > \unprotect > > \unexpanded\def\strc_references_conditional#1#2[#3]#4[#5]% > {te

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-26 Thread Hans Hagen
\strc_references_conditional#1#2[#3]#4[#5]% {text}[condition][reference] {\doifcheckedpagestate{#5}% {\doifelse{#3}\v!precedingpage{#1{#2}[#5]}\ignorespaces}% {\doifelse{#3}\v!hencefore{#1{#2}[#5]}\ignorespaces}% {\doifelse{#3}\v!current {#1{#2}[#5]}\ignorespaces}% {\doifelse{#3

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-25 Thread Hans Hagen
hen I test it with today's beta, I see that "current" is set in some iterations, but never shows up in the final version of the page, so references on the same page always come out as "backward" or "forward". well, in the case of 5 alternatives current will

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-25 Thread Rik Kabel
On 2014-07-25 07:06, Hans Hagen wrote: On 7/24/2014 2:03 PM, Otared Kavian wrote: Hi, Thanks for your attention, Wolfgang: indeed removing \analyzecurrentreference from your example allows mkiv to typeset correctly and obtain the expected result. > yet another sparsely documented f

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-25 Thread Gerben Wierda
Thanks all for the discussion. As a simple user, I think I must pass. All this complexity in my document text and setup is too much trouble and it seems risky (wjhat am I going to break?). Far less work to do a small check at the end. What I was looking for was something simple that made for ins

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-25 Thread Hans Hagen
On 7/24/2014 2:03 PM, Otared Kavian wrote: Hi, Thanks for your attention, Wolfgang: indeed removing \analyzecurrentreference from your example allows mkiv to typeset correctly and obtain the expected result. > yet another sparsely documented feature ... in beta: % tests/mkiv/pa

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread luigi scarso
On Thu, Jul 24, 2014 at 1:38 PM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > > > I won’t trust this pagenumber check because when a reference appears at > the begin of a page > it can sometimes use the pagenumber of the previous page (hard to notice > when

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Rik Kabel
On 2014-07-24 07:20, Otared Kavian wrote: Hi Rik, As a matter of fact the example given by Wolfgang works despite mkiv complaining about \analyzecurrentreference being unknown… Whent the typesetting stops because of this command, saying « run » or rather « r » continues the typesetting. How

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Wolfgang Schuster
Am 24.07.2014 um 14:03 schrieb Otared Kavian : > Hi, > > Thanks for your attention, Wolfgang: indeed removing > \analyzecurrentreference > from your example allows mkiv to typeset correctly and obtain the expected > result. > > Regarding Marco Patzer’s smartref command, I can typest the

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Otared Kavian
\smartref{equation}[eq:Fermat]. \startplacefigure [reference=fig:alpha] \externalfigure \stopplacefigure \startplacefigure [reference=fig:beta] \externalfigure \stopplacefigure \input knuth.tex \placeformula[eq:Fermat] \startformula a,b,c \in {\Bbb N}^*, \quad n \geq 3, \quad a^n + b^n = c^n \imply

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Wolfgang Schuster
; is shown in \in{figure}[FOO1]% > \doifreferencefoundelse{FOO1}{\ifnum\realfolio=\currentreferencepage\else\at{page}[FOO1]\fi}{}\page% > \placefigure[none][FOO1]{FOO1}{\externalfigure[cow.pdf][width=1cm]} > > \stoptext I won’t trust this pagenumber check because when a reference appe

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Wolfgang Schuster
and had no problems. What could be improved in the module is the check for left/right pages because the current check can fail when the reference appears at the begin of a page. Wolfgang ___ If your question is of

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread luigi scarso
On Thu, Jul 24, 2014 at 1:20 PM, Otared Kavian wrote: > Hi Rik, > > As a matter of fact the example given by Wolfgang works despite mkiv > complaining about > \analyzecurrentreference > being unknown… Whent the typesetting stops because of this command, saying > « run » or rather « r » continues

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Otared Kavian
control sequence with > \analyzecurrentreference. > > As others pointed out in related discussions, there is another serious > shortcoming with this. References should be relative to the current page > spread, which on doublesided layouts includes two pages, verso and recto. A >

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-23 Thread Rik
undefined control sequence with \analyzecurrentreference. As others pointed out in related discussions, there is another serious shortcoming with this. References should be relative to the current page spread, which on doublesided layouts includes two pages, verso and recto. A reference to

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-23 Thread Otared Kavian
there a trick to let ConTeXt automatically omit the reference when %the picture happens to appear on the correct page (or change the %reference to « on this page »). In other words, can one make a sort of %conditional reference that only mentions the page if it is not the %present page? % %ConTeXt has a

[NTG-context] Leave out reference to page if on the same page?

2014-07-23 Thread Gerben Wierda
Suppose I have this fragment: is shown in \in{figure}[foo] on \at{page}[foo]. \placefigure [] [foo] I would like to leave the fragment “on \at{page}[foo]” out of the text if the figure ends up on the same page as the \at. Is that doable or is this a matter of manual tweaking at

Re: [NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Wolfgang Schuster
apply to a apply a different format for certain counters etc. > And by the way, the name \setupreferencestructureprefix does not sound really > natural to me because we are talking about a reference NUMBER and there is > not always a prefix. What about changing it to something like \se

[NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Maggyero
talking about a reference NUMBER and there is not always a prefix. What about changing it to something like \setupreference or \setupreferencenumber (like \setuppagenumber)? ___ If your question is of interest to others as

Re: [NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Wolfgang Schuster
Am 22.05.2014 um 18:51 schrieb Maggyero : > I have found how to get the conversion of numbers in references (the > 'prefixconversion' key in '\setupreferencestructureprefix' command), but I > still do not know how to change their style. I have tried the 'style' key and > 'prefixstyle' key but

[NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Maggyero
I have found how to get the conversion of numbers in references (the 'prefixconversion' key in '\setupreferencestructureprefix' command), but I still do not know how to change their style. I have tried the 'style' key and 'prefixstyle' key but without success. After checking in ConTeXt source, I h

[NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-21 Thread Maggyero
I would like to change the style and conversion of reference numbers for the \in{myprefix}{mysuffix}[mylabel] command. Is there a \setupreference[numberstyle=, numberconversion=] command to do that? ___ If your

Re: [NTG-context] page reference to figure fails when figure location is "none"

2014-04-06 Thread Sanjoy Mahajan
Hans Hagen writes: > more a side effect .. in mkii we store refs independently, in mkiv they > can also travel with other properties (like lists and here we have no > list entry > > in the next beta this will work ok That make sense. I will try it out. I have found a few other buglets with p

Re: [NTG-context] page reference to figure fails when figure location is "none"

2014-04-06 Thread Hans Hagen
On 4/6/2014 12:14 PM, Sanjoy Mahajan wrote: Using a recent MkIV beta (2014.03.27), it seems that a page reference to a figure fails if the figure location is "none." Here is a minimal example: \starttext \input knuth \placefigure[none][regularref]{}{\pagereference[wor

[NTG-context] page reference to figure fails when figure location is "none"

2014-04-06 Thread Sanjoy Mahajan
Using a recent MkIV beta (2014.03.27), it seems that a page reference to a figure fails if the figure location is "none." Here is a minimal example: \starttext \input knuth \placefigure[none][regularref]{}{\pagereference[workaroundref] \externalfigure[cow.pdf]} \input kn

Re: [NTG-context] Reference in a startcombination environment

2014-01-20 Thread MANUEL GONZALEZ SUAREZ
o: Re: [NTG-context] Reference in a startcombination environment Hi, you can use the second optional argument of \in to give a suffix for the float number. \setupexternalfigures[location=default] \starttext \startplacefigure[title={Combination},reference={fig:test}] \startcombinatio

Re: [NTG-context] Reference in a startcombination environment

2014-01-20 Thread Wolfgang Schuster
Hi, you can use the second optional argument of \in to give a suffix for the float number. \setupexternalfigures[location=default] \starttext \startplacefigure[title={Combination},reference={fig:test}] \startcombination[2*1] \startcontent \externalfigure[cow][width=4cm

Re: [NTG-context] Reference in a startcombination environment

2014-01-20 Thread Wolfgang Schuster
Hi, you can the second optional argument of \in to give a suffix for the float number. On 20.01.2014 23:56:33, MANUEL GONZALEZ SUAREZ wrote: Dear friends I would like to know if I can make a reference (via \in, \at, etc.) in a \startcombination ... \stopcombination environment to each

[NTG-context] Reference in a startcombination environment

2014-01-20 Thread MANUEL GONZALEZ SUAREZ
Dear friends I would like to know if I can make a reference (via \in, \at, etc.) in a \startcombination ... \stopcombination environment to each subfigure. For example, I have a Figure 1.1. (Sky) contains (a) the moon (b) the stars. How could get it to appear in the text "see Figure 1.

Re: [NTG-context] reference to structureuservariable

2014-01-20 Thread Wolfgang Schuster
Hi Peter, you can use \namedstructureuservariable{section}{foo} to access the foo variable of the section. Wolfgang On 20.01.2014 10:39:01, Peter Münster wrote: Hi, How can I read a structureuservariable at the end of the section, when there are subsections? Example: --8<---

[NTG-context] reference to structureuservariable

2014-01-20 Thread Peter Münster
Hi, How can I read a structureuservariable at the end of the section, when there are subsections? Example: --8<---cut here---start->8--- \starttext \startsection[title=sec][foo=bar] % \edef\myFoo{\structureuservariable{foo}} % workaround \startsubsection[tit

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-04 Thread Wolfgang Schuster
Am 04.12.2013 um 20:11 schrieb Jan Tosovsky : > On 2013-12-04 Wolfgang Schuster wrote: >> Am 04.12.2013 um 18:56 schrieb Jan Tosovsky : >>> On 2013-12-04 Hans Hagen wrote: >>>> >>>> there is a (somewhat incomplete) reference definition in xml forma

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-04 Thread Jan Tosovsky
On 2013-12-04 Wolfgang Schuster wrote: > Am 04.12.2013 um 18:56 schrieb Jan Tosovsky : > > On 2013-12-04 Hans Hagen wrote: > >> > >> there is a (somewhat incomplete) reference definition in xml format > >> so your (b) is in principle covered; > > > >

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-04 Thread Wolfgang Schuster
c command/macro contains a description with the list of >>> all available params (sensible subset of JavaDoc annotations) >>> >>> I can imagine to extract this info and: >>> >>> A) build the static command reference website with all the hyperlinks >

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-04 Thread Jan Tosovsky
vailable params (sensible subset of JavaDoc annotations) > > > > I can imagine to extract this info and: > > > > A) build the static command reference website with all the hyperlinks > > B) eventually generate PDF variant of the same > > C) export it into the form

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-04 Thread Hans Hagen
On 12/4/2013 9:59 AM, Keith J. Schultz wrote: I do have a request: would it be possible to finish the section on overlays and stacks in the manual or at least start on it. I need that information because I need to use stacks inside of frames and these are then stacked inside of others. The examp

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-04 Thread Keith J. Schultz
Hi Hans, Am 04.12.2013 um 00:44 schrieb Hans Hagen : [snip, snip] > > > the problem with tex (and therefore context) is that we are dealing with > quite some interaction between unpredictable user input, macro (expansions), > tex-internals, resources like fonts, patterns and whatever, etc. an

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-03 Thread Hans Hagen
On 12/3/2013 10:59 PM, Jan Tosovsky wrote: Dear All, in another thread I was dreaming ... to have always the complete and up to date command/macro reference with basic descriptions and list all of the parameter/options... 'Spoiled' by goodies offered by various Java APIs (bas

[NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-03 Thread Jan Tosovsky
Dear All, in another thread I was dreaming ... to have always the complete and up to date command/macro reference with basic descriptions and list all of the parameter/options... 'Spoiled' by goodies offered by various Java APIs (based on http://en.wikipedia.org/wiki/Javadoc ) I am mi

Re: [NTG-context] reference error

2013-11-04 Thread Hans Hagen
feature request to http://tracker.luatex.org/ I’n not sure is going to change this because the reference parser removes trailing/leading spaces in references. One shouldn’t forgot the reference commands accept more than simple references to a section, float etc. but also hyperlinks to other pages

Re: [NTG-context] reference error

2013-11-04 Thread Wolfgang Schuster
you really want a space at the end, then you could add a feature > request to http://tracker.luatex.org/ I’n not sure is going to change this because the reference parser removes trailing/leading spaces in references. One shouldn’t forgot the reference commands accept more than simple refere

Re: [NTG-context] reference error

2013-11-04 Thread Peter Münster
On Sun, Nov 03 2013, Wolfgang Werners-Lucchini wrote: >> \in{Kapitel}[chap:vorwort with space at the end ], >> \in{Kapitel}[chap:vorwort2 with space at the end ], >> \in{Kapitel}[chap:vorwort3 with space at the end ], >> \in{Kapitel}[chap:vorwort without space at the end] and >> \in{Kapitel}[chap:

Re: [NTG-context] reference error

2013-11-03 Thread Wolfgang Werners-Lucchini
> \starttext > \startchapter > [ title=Vorwort, reference=chap:vorwort with space at the end ] > \stopchapter > > \startchapter > [ title=Vorwort, reference={chap:vorwort2 with space at the end} ] > \stopchapter > > \startchapter > [ title=Vorwort, reference={ch

Re: [NTG-context] reference error

2013-11-03 Thread Peter Münster
On Sun, Nov 03 2013, Wolfgang Werners-Lucchini wrote: > Puuh! If the parser of this reference strings allows spaces, why > doesn't work 'reference={chap:neu}'? \starttext \startchapter [ title=Vorwort, reference=chap:vorwort with space at the end ] \stopchapter \startch

Re: [NTG-context] reference error

2013-11-03 Thread Wolfgang Werners-Lucchini
> If you remove the space, i.e. Puuh! If the parser of this reference strings allows spaces, why doesn't work 'reference={chap:neu}'? Wolfgang ___ If your question is of interest to others as w

Re: [NTG-context] reference error

2013-11-02 Thread Mikael P. Sundqvist
If you remove the space, i.e. \starttext \startchapter [ title={Vorwort}, reference=chap:vorwort] Siehe \in{Kapitel}[chap:neu] \at{Seite}[chap:neu]. \stopchapter \startchapter [ title={Neu}, reference=chap:neu] Bla. \stopchapter \stoptext it works here. /Mikael On Sat, Nov 2, 2013 at 1:49

[NTG-context] reference error

2013-11-02 Thread Wolfgang Werners-Lucchini
Hallo, I must do someting wrong --- \starttext \startchapter [ title={Vorwort}, reference=chap:vorwort ] Siehe \in{Kapitel}[chap:neu] \at{Seite}[chap:neu]. \stopchapter \startchapter [ title={Neu}, reference=chap:neu ] Bla. \stopchapter \stoptext --- I get an error: unknown reference

Re: [NTG-context] extra - in reference

2013-09-10 Thread Meer, H. van der
xpect this sectionstopper to turn up in the reference to the chapter number. Can you point out how to suppress the sectionstopper in the references (if for now) while keeping it between the marker and the title? And if you are also of the opinion that the sectionstopper shouldn't turn up at

Re: [NTG-context] extra - in reference

2013-09-10 Thread Wolfgang Schuster
Am 10.09.2013 um 10:51 schrieb "Meer, H. van der" : > Doing \in{Figure}[fig:figname] neatly typesets for example: "figure 1.4" > Defined as: \startplacefigure[title=figure-title,reference=fig:figname] > > But if I define:\startchapter[title=chapter-title,ref

[NTG-context] extra - in reference

2013-09-10 Thread Meer, H. van der
Doing \in{Figure}[fig:figname] neatly typesets for example: "figure 1.4" Defined as: \startplacefigure[title=figure-title,reference=fig:figname] But if I define:\startchapter[title=chapter-title,reference=chap:chapname] Then \in{Chapter}[chap:chapname] produces: "chapter 6 -

Re: [NTG-context] Missing keys in reference line (letter module)

2013-06-08 Thread Florian Wobbe
>> Hi, >> >> the keys "name" and "phone" are not included in the reference line using the >> minimal example from the correspondence manual below. The reference line >> just contains the date. Also changing the alternative from "a" t

Re: [NTG-context] Missing keys in reference line (letter module)

2013-06-08 Thread Wolfgang Schuster
Am 08.06.2013 um 16:50 schrieb Florian Wobbe : > Hi, > > the keys "name" and "phone" are not included in the reference line using the > minimal example from the correspondence manual below. The reference line just > contains the date. Also changing the

[NTG-context] Missing keys in reference line (letter module)

2013-06-08 Thread Florian Wobbe
Hi, the keys "name" and "phone" are not included in the reference line using the minimal example from the correspondence manual below. The reference line just contains the date. Also changing the alternative from "a" to "b" has no effect. What am I mis

Re: [NTG-context] Detecting reference-errors

2013-04-17 Thread Hans Hagen
On 4/17/2013 12:55 PM, Marco Patzer wrote: On 2013–04–17 "H. Özoguz" wrote: With \at[ref] one can get the pagenumber of a reference. If this reference is not there (maybe in another file, not included at that moment) there is no error given, but two question marks ??. That is of cou

Re: [NTG-context] Detecting reference-errors

2013-04-17 Thread Marco Patzer
On 2013–04–17 "H. Özoguz" wrote: > With \at[ref] one can get the pagenumber of a reference. If this > reference is not there (maybe in another file, not included at that > moment) there is no error given, but two question marks ??. > That is of course useful, but what if I

<    1   2   3   4   5   6   7   >