[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
t; a specification, though. Does the "short" form in ConTeXt exist for a > specific reason? :) > > Gerion > > > On Tue, 16 Apr 2024 06:04:35 +0200 > > Gerion Entrup wrote: > > > > > Hi, > > > > > > I'm trying to customize a cite for

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Gerion Entrup
a bibliography. Currently, > > I'm using the aps style which fits so far, except of the plain number > > as reference. In concrete, I want to change the following: > > - Use the first letter of the last name and the year as reference > > (this should be exactly the short

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Alan Braslau via ntg-context
Gerion Entrup wrote: > Hi, > > I'm trying to customize a cite format in a bibliography. Currently, > I'm using the aps style which fits so far, except of the plain number > as reference. In concrete, I want to change the following: > - Use the first letter of the last name and the

[NTG-context] Customize citation format of a bibliography (use the short form as reference format)

2024-04-15 Thread Gerion Entrup
Hi, I'm trying to customize a cite format in a bibliography. Currently, I'm using the aps style which fits so far, except of the plain number as reference. In concrete, I want to change the following: - Use the first letter of the last name and the year as reference (this should be exactly

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
l in a row.     \startplacetable[mode=columns,reference=demo-1]     \externalfigure[cow][width=\textwidth]     \stopplacetable     \samplefile{tufte} \stoptext so basically we have an "at the spot" placement or a float Is "mode" in floats something new? How is

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
n \in {table} [demo-1]} {below} we can > have >more than one cell in a row. > >\startplacetable[mode=columns,reference=demo-1] >\externalfigure[cow][width=\textwidth] >

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
, when "mode=columns" is used. compare with and without mode columns: \starttext \enablemode[columns] As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have more than one cell in a row. \startplacetable[mode=columns,refere

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Taco Hoekwater
> On 10 Apr 2024, at 13:04, Willi Egger wrote: > > Hello, > > It seems, that the referencing mechanism is failing. I detected this with the > January version and the current version: 2024.04.01 08:59. > > Could some one confirm this? It fails for me as well, when "mode=columns" is used.

[NTG-context] Figure reference failing

2024-04-10 Thread Willi Egger
Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? Kind regards Willi test.pdf Description: Adobe PDF document test.tex Description: Binary data

[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks
> On 7 Feb 2024, at 03:47, Joel via ntg-context wrote: > > I have an extensive multi-book project. Each book has a nickname, like TB for > "Textbook", "WB 1" for the "Workbook, Vol. 1": > > TB -- 01_textbook.tex > WB 1 -- 03_workbook.tex > WB 2 -- 04_workbook.tex > WB 3 -- 05_workbook.tex >

[NTG-context] How to print the book title and section title where \reference is located?

2024-02-06 Thread Joel via ntg-context
on p. 11. To mark the pages, I'm simply dropping in macros called "\requirementA" "\requirementB" on whichever page of whichever book demonstrates it meets the requirement, then the file will aquatically list the book, section, and page number by searching for that macr

[NTG-context] Verbatim Textbox with Reference NUmbering

2023-09-09 Thread Jeroen
This is a longshot, but would be great to have. Below I have at MWE1 the verbatim codefragment textbox I am using. I found in the forum MWE2 which is a textbox with an automatic reference number. Is there a way to get the same for MWE1 with automatic reference numbering like 1.1, 1.2 etc

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-27 Thread Pablo Rodriguez
On 7/26/23 19:47, Pablo Rodriguez wrote: > [...] > The real issue is that I couldn’t make it work with any PDF viewer I > have on Linux. > [...] > I take for granted that Acrobat will deal fine with this, since > destinations in links (GoToR) seem to be fine. Gerion, I was wrong, since I forgot

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-26 Thread Pablo Rodriguez
On 7/25/23 17:38, Pablo Rodriguez wrote: > On 7/24/23 18:04, Gerion Entrup wrote: >> […] > > I’m in a hurry, excuse my rash reply. Sorry, Gerion, my reply yesterday was rushed (no skin condition). The solution is already there (in the test files). You have the file with the

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-25 Thread Pablo Rodriguez
translate them in such a > way, that I can use \in within the outer document to link to them. I’m in a hurry, excuse my rash reply. As far as I know (although I never used them), you can use \in with references to other documents (I guess this is why you need the .tuc file of the other d

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-24 Thread Aditya Mahajan
; - a destination: This is a defined position within a PDF document; so > some position that a PDF viewer is able to jump to. In ConTeXt, you > can set such a position most of the time with the "reference" keyword. > In LaTeX, you use \label. > - a reference: This i

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-24 Thread Gerion Entrup
ble to jump to. In ConTeXt, you can set such a position most of the time with the "reference" keyword. In LaTeX, you use \label. - a reference: This is a link that you can click on and cause the PDF viewer to jump/scroll to the linked destination. In ConTeXt, you can use \in to creat

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-22 Thread Pablo Rodriguez
On 7/20/23 16:25, Gerion Entrup wrote: > [...] > Can I somehow access the references of inner.tex from outer.tex? > For me, it is not that relevant, that the correct number is set, but the > interaction within the outer PDF should work, so clicking on the > reference should scroll

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
nk to them within the main context document? In [2], I found something maybe related but it requires a tuc file. Example: inner.tex: ``` \starttext \startsection[title=References, reference=sec:ref] Some text \placeformula[eq:foo] \startformula 1 + 2 = 3 \stopformula or: \startitemize[n]

Re: [NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
all through the wiki, thinking this was a basic feature, but couldn't get anything to work. I even tried my own custom macros, see below, but strangely, it won't give me the correct title, it tells me the title of the current chapter, instead of the title in which the reference was placed: \define[1]\

[NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
sic feature, but couldn't get anything to work. I even tried my own custom macros, see below, but strangely, it won't give me the correct title, it tells me the title of the current chapter, instead of the title in which the reference was placed: \define[1]\dropref{%    \textreference[#1]{\e

[NTG-context] How to place a page reference multiple times?

2023-03-01 Thread Joel via ntg-context
I need to report every chapter that a particular macro appeared. I would do this by placing `\pagereference[sample]` inside the macro definition, so whenever it is called, it marks the reference info. But I can't seem to get references to work with multiple reference locations marked, example

Re: [NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-02 Thread amano.kenji via ntg-context
\setupinteraction[state=start,focus=standard] was what I wanted. Thanks. --- Original Message --- On Thursday, September 1st, 2022 at 4:42 PM, Pablo Rodriguez via ntg-context wrote: > On 9/1/22 14:36, amano.kenji via ntg-context wrote: > > > I just created a reference t

Re: [NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-01 Thread Pablo Rodriguez via ntg-context
On 9/1/22 14:36, amano.kenji via ntg-context wrote: > I just created a reference to a \section with \in. > > Clicking the \in reference doesn't go to the \section, but to the > page that has the \section. > > Does ConTeXt lack the ability to go to an exact point of a numbered &

Re: [NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-01 Thread Mikael Sundqvist via ntg-context
On Thu, Sep 1, 2022 at 2:37 PM amano.kenji via ntg-context wrote: > > I just created a reference to a \section with \in. > > Clicking the \in reference doesn't go to the \section, but to the page that > has the \section. > > Does ConTeXt lack the ability to go to an exac

[NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-01 Thread amano.kenji via ntg-context
I just created a reference to a \section with \in. Clicking the \in reference doesn't go to the \section, but to the page that has the \section. Does ConTeXt lack the ability to go to an exact point of a numbered element on a page

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Hans Hagen via ntg-context
On 7/21/2022 8:42 PM, Pablo Rodriguez via ntg-context wrote: I guess there has been no newer release since Hans anonunced that. Indeed, for personal reasons no change yet to upload ... will happen one of these days (Mikael and I also need to check some things first). Hans

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Pablo Rodriguez via ntg-context
On 7/21/22 19:48, Alan via ntg-context wrote: > On Fri, 15 Jul 2022 09:10:07 +0200 > Hans Hagen via ntg-context wrote: > >> there will be an update as soon as the mac intel bins are generated > > (still broken) Sorry, Alan, but I get from

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Alan via ntg-context
On Thu, 21 Jul 2022 10:40:01 -0600 Alan via ntg-context wrote: > undefined link location > MWE: > > \setupinteraction [state=start] > > \starttext > > \placeformula [eq] > \startformula > x = 0 > \stopformula > > \page [yes] > > \in{formula} [eq] > > \stoptext I see,

[NTG-context] formula reference link undefined

2022-07-21 Thread Alan via ntg-context
undefined link location MWE: \setupinteraction [state=start] \starttext \placeformula [eq] \startformula x = 0 \stopformula \page [yes] \in{formula} [eq] \stoptext ___ If your question is of

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Johann Birnick via ntg-context
Works, thanks! On Fri, 2022-06-24 at 12:44 +0200, Wolfgang Schuster via ntg-context wrote: > Johann Birnick via ntg-context schrieb am 24.06.2022 um 11:59: > > Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work > > anymore. Any ideas? > > What happens with > >

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Wolfgang Schuster via ntg-context
Johann Birnick via ntg-context schrieb am 24.06.2022 um 11:59: Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work anymore. Any ideas? What happens with     \cite[righttext={{, section 2.1}}] or     \cite[righttext={\textcomma\ section 2.1}] Wolfgang

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Johann Birnick via ntg-context
Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work anymore. Any ideas? Johann On Fri, 2022-06-24 at 09:24 +0200, Henning Hraban Ramm via ntg-context wrote: > Am 24.06.22 um 02:09 schrieb Johann Birnick via ntg-context: > > Hi there, > > > > using \cite[myreference] I

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Henning Hraban Ramm via ntg-context
Am 24.06.22 um 02:09 schrieb Johann Birnick via ntg-context: Hi there, using \cite[myreference] I will get a result like "[1]", or I could also change the "1" into some more detailed information such as a tag. However, I want to obtain something like "[1, section 2.1]". How can I achieve

[NTG-context] Detailed citation of reference

2022-06-23 Thread Johann Birnick via ntg-context
Hi there, using \cite[myreference] I will get a result like "[1]", or I could also change the "1" into some more detailed information such as a tag. However, I want to obtain something like "[1, section 2.1]". How can I achieve this? Thank you very much, Johann

[NTG-context] Reference prefix for sections is ignored

2022-05-12 Thread Wolfgang Schuster via ntg-context
Hi, the automatic reference prefix for section etc. with the setup     \setuphead[chapter][referenceprefix=+] doesn't work anymore (broken since a while). The following patch for strc-sec.mkxl fixes the missing prefix: begin fix \def\strc_sectioning_set_reference_prefix   {\ifempty

[NTG-context] cross-reference query solved

2022-05-11 Thread jbf via ntg-context
To those who assisted me with helpful hints yesterday, thank you. I finally got the cross-referencing working correctly after examining my overall structure in the light of those hints. I think that what was preventing things from working properly, was that I had all the entries for a

Re: [NTG-context] a cross-reference query

2022-05-10 Thread jbf via ntg-context
03 schrieb jbf via ntg-context: Hi list, In an attempt to make a dictionary interactive in certain ways, perhaps I am misusing the \in{}[] command here, but sometimes a reference works and sometimes it doesn't. I have no idea why it doesn't. Here is the situation: Each dictionary entry is

Re: [NTG-context] a cross-reference query

2022-05-10 Thread Taco Hoekwater via ntg-context
> On 10 May 2022, at 04:03, jbf via ntg-context wrote: > > Can anyone give me a hint as to what I might be doing wrong? I realise that > usually these references call on page numbers or section numbers, but I don't > want/need (or do I?) to use those. I simply the reader to be able to click

Re: [NTG-context] a cross-reference query

2022-05-10 Thread Henning Hraban Ramm via ntg-context
dictionary interactive in certain ways, perhaps I am misusing the \in{}[] command here, but sometimes a reference works and sometimes it doesn't. I have no idea why it doesn't. Here is the situation: Each dictionary entry is a section that has been defined as 'entry', hence we have a \startentry[titl

[NTG-context] a cross-reference query

2022-05-09 Thread jbf via ntg-context
Hi list, In an attempt to make a dictionary interactive in certain ways, perhaps I am misusing the \in{}[] command here, but sometimes a reference works and sometimes it doesn't. I have no idea why it doesn't. Here is the situation: Each dictionary entry is a section that has been defined

[NTG-context] different preffixsegments for different reference formats

2021-08-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b]{Section} \itsc[b] and \in[b] \stoptext How can I get that \itsc gets

Re: [NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-05 Thread Hans Hagen via ntg-context
[fn:def] \stoptext Generates a missing reference error for a reference provided on \startfootnote (and \startendnote) accessed by \note: references  > start missing references references  >    1  [][fn:def] references  > stop missing references Con

[NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-04 Thread Rik Kabel via ntg-context
The following example: \starttext abc\footnote[fn:abc]{footnote abc}\ abc def \startfootnote[fn:def]  footnote def \stopfootnote \ def No problem here: abc\note[fn:abc] Problem appears here: def\note[fn:def] \stoptext Generates a missing reference error

[NTG-context] Getting the local float reference within a float and reuse (?) it later (\somelocalfloat?)

2021-07-22 Thread Benjamin Buchmuller
Hi, Is there a more convenient way to get the current reference label (stably) from within a float? For example, I would like to make an "image credits" section at the end of a document, so I do something similar to: \defineblock[credits] \starttext \section[sec:to

[NTG-context] reference chapters from another doc in this doc's toc

2021-03-05 Thread denis.maier
Hi, is it possible to include structure elements from other documents in a toc? E.g. when your having a multivolume book where each book is an individual book, but you want to have a TOC that covers all volumes? Best, Denis

[NTG-context] Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
testproject \product testproduct000 \useexternaldocument[m001][master001][Test Product, Vol.~{\sc ii}] \chapter[oeps]{oeps} test \from[m001], \in{Ch.~}[m001::one], \at{page}[m001::one] {[}test page one{]} test \from[m001], \in{Ch.~}[m001::one], \at{page}[m001::page- reference] {[}test {\bf

Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
Thanks Wolfgang, Hans kindly sent me a simple minimal. I've adjusted it to include a call to \pagereference and it works. I'm currently trying to test my project to see why my own calls to \pagereference do not result in any output, despite the fact that all the calls to the reference ids

Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Wolfgang Schuster
as the reference is to the details associated with, say, a chapter, using \about, \in, and \at. Its doesn't seem to work though with \pagereference: no page number appears in the PDF whatsoever. I have  been following the material here: https://wiki.contextgarden.net/References

[NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
Readers, I'm working on a couple of volumes of papers set up and generated separately (though within the same project). Some of the papers in the second volume make cross references to papers in the first. Now this is working well so long as the reference is to the details associated with, say

[NTG-context] Incorrect css reference in exported html file

2021-02-27 Thread Aditya Mahajan
Hi, This message is prompted by a bug report for t-vim (https://github.com/adityam/filter/issues/43), but the issue is more general. Whenever, `cssfile` in `\setupexport` points to a file now in $PWD, the reference to the file in the exported CSS is incorrect: Consider the following directory

Re: [NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Hans Hagen
On 2/26/2021 6:58 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 26.02.2021 um 18:36: On 2/26/2021 6:01 PM, Lukas/ConTeXt wrote: Hello, after I renewed ConTeXt MkIV, I started to get the following warning: " ... luatex warning  > nodes: unable to store reference from lu

Re: [NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Wolfgang Schuster
Hans Hagen schrieb am 26.02.2021 um 18:36: On 2/26/2021 6:01 PM, Lukas/ConTeXt wrote: Hello, after I renewed ConTeXt MkIV, I started to get the following warning: " ... luatex warning  > nodes: unable to store reference from lua in tex ... (repeated more times) " This happe

Re: [NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Hans Hagen
On 2/26/2021 6:01 PM, Lukas/ConTeXt wrote: Hello, after I renewed ConTeXt MkIV, I started to get the following warning: " ... luatex warning > nodes: unable to store reference from lua in tex ... (repeated more times) " This happens when I try to typeset a looo...ong tab

[NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Lukas/ConTeXt
Hello, after I renewed ConTeXt MkIV, I started to get the following warning: " ... luatex warning > nodes: unable to store reference from lua in tex ... (repeated more times) " This happens when I try to typeset a looo...ong table (by \start/\stop-tabulate) over several pages. It

Re: [NTG-context] Display reference number as Roman number

2021-01-06 Thread Rik Kabel
On 11/24/2020 22:09, Rik Kabel wrote: Hello all, What I thought should be a simple conversion escapes me. I have a reference (created originally via a label defined by \definelabel) that, when referenced as \in[label] or \ref[number][label] displays a number, and that is how I normally use

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-25 Thread Christoph Reller
; >>> \definedescription[desc] >>> \starttext >>> \startdesc[title={Long title},reference=foo,referencetext={Short >>> Title}] >>> \input jojomayer >>> \stopdesc >>> \about[foo] >>> \stoptext >>> >

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-21 Thread Christoph Reller
On Sat, Dec 19, 2020 at 10:43 PM Christoph Reller < christoph.rel...@gmail.com> wrote: > Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: > >> Actually, what you want is: >> >> \definedescription[desc] >> \starttext >> \startdesc[title={Long

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Christoph Reller
Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: > Actually, what you want is: > > \definedescription >[desc] > > \starttext > > \startdesc[title={Long title},reference=foo,referencetext={Short > Title}] > \input jojomayer > \stopdesc &

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Hans Hagen
On 12/19/2020 6:05 PM, Christoph Reller wrote: Hi, In ConTeXt MKIV, there are selectors (\defineselector, \select). In ConTeXt LMTX, they are gone. In LMTX, how can I achieve the following without using selectors: (Different heading and reference texts for descriptions) \defineselector

[NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Christoph Reller
Hi, In ConTeXt MKIV, there are selectors (\defineselector, \select). In ConTeXt LMTX, they are gone. In LMTX, how can I achieve the following without using selectors: (Different heading and reference texts for descriptions) \defineselector[sel][max=2, n=2] \definedescription[desc][headcommand

Re: [NTG-context] repeated chapter in LMTX Reference Manual?

2020-12-04 Thread Hans Hagen
[...] \stopbodymatter \startbackmatter [...] \component luametatex-differences \component luametatex-statistics \stopbackmatter I mean, “Differences with LuaTeX” is the second chapter and the second appendix (sort of) in the “LuaMetaTEX Reference Manual”. I wonder whether

[NTG-context] repeated chapter in LMTX Reference Manual?

2020-12-04 Thread Pablo Rodriguez
[...] \component luametatex-differences \component luametatex-statistics \stopbackmatter I mean, “Differences with LuaTeX” is the second chapter and the second appendix (sort of) in the “LuaMetaTEX Reference Manual”. I wonder whether this is intended. Just in case it might help, Pablo -- http

[NTG-context] Display reference number as Roman number

2020-11-24 Thread Rik Kabel
Hello all, What I thought should be a simple conversion escapes me. I have a reference (created originally via a label defined by \definelabel) that, when referenced as *\in[label]* or *\ref[number][label]* displays a number, and that is how I normally use it. However, I want to display

[NTG-context] no reference output for \namedstructurevariable

2020-07-29 Thread Damien Thiriet
Hello, I am facing some issue with \usernamedvariable. Consider this MWE \starttext \startsection[title={Mammals and eggs},reference={mammals}] \namedstructurevariable{section}{title} \namedstructurevariable{section}{reference} and \currentstructurereference \stopsection \stoptext

[NTG-context] Interaction references with Reference List and Bibliography

2020-06-10 Thread Adam Reviczky
Hi, When I try to create a "Reference List" (for cited references in the document) followed by a "Bibliography" (for the rest of literature, not cited) I get wrong references linked back in the document when citing a reference multiple times, although the citation in the text

Re: [NTG-context] \placetable[location=split] reference ??

2020-05-07 Thread Benjamin Buchmuller
be different as soon as xtable tries to place them … Cheers \startplacetable[reference=tab1,title={A table},location=split] \startxtable[split=repeat] \startxrow \startxcell hi \stopxcell \stopxrow \stopxtable \stopplacetable > On 22 Apr 2020, at 21:10, Benjamin Buchmuller > wrote: > >

[NTG-context] \placetable[location=split] reference ??

2020-04-22 Thread Benjamin Buchmuller
Hi, I would like to reference a table of the following structure. \starttext \startplacetable[reference=tab1,title={A table},location=split] \startxtable \startxrow \startxcell hi \stopxcell \stopxrow \stopxtable \stopplacetable In Table \in[tab1] \stoptext It has [location=split], which I

Re: [NTG-context] Use a counter in a reference?

2020-04-19 Thread Kevin Kenan
refer to them. Something like: >> Here is some \tag[tagref]{\bf text} that is tagged. >> . >> . >> . >> Refer to tag \tagnumber[tagref] on page \at[tagref]. >> What is the best way to do this in ConTeXt? I’ve got a counter for tag >> num

Re: [NTG-context] Use a counter in a reference?

2020-04-13 Thread Thomas A. Schmitz
[tagref] on page \at[tagref]. What is the best way to do this in ConTeXt? I’ve got a counter for tag number, but I’m not sure how to use \reference so that it uses my tag number. For instance: \definecounter[myTagCounter] . . . \reference[tagref]{\rawcountervalue

[NTG-context] Use a counter in a reference?

2020-04-13 Thread Kevin Kenan
way to do this in ConTeXt? I’ve got a counter for tag number, but I’m not sure how to use \reference so that it uses my tag number. For instance: \definecounter[myTagCounter] . . . \reference[tagref]{\rawcountervalue[myTagCounter]} Doesn’t work. But perhaps I’m going about

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-26 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 26.03.2020 um 21:23: Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: This is not possible but maybe the following is a alternative for you. The tabulate can be used in combination with an item group to have auto generated numbers in

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-26 Thread Christoph Hintermüller
Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: > > This is not possible but maybe the following is a alternative for > you. > > The tabulate can be used in combination with an item group to have > auto > generated numbers in a given column. > > \starttext > >

Re: [NTG-context] reference a paragraph

2020-03-25 Thread Wolfgang Schuster
Alan Braslau schrieb am 25.03.2020 um 15:09: Hello, One creates references for structure elements as, for example, \startsubject [reference=sub:mysubject] ... \stopsubject and then can refer to these using, e.g. \on{page} [sub:subject] How might one reference a *paragraph

[NTG-context] reference a paragraph

2020-03-25 Thread Alan Braslau
Hello, One creates references for structure elements as, for example, \startsubject [reference=sub:mysubject] ... \stopsubject and then can refer to these using, e.g. \on{page} [sub:subject] How might one reference a *paragraph*, for example? Parallel syntax might suggest \startparagraph

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-24 Thread Christoph Hintermüller
Hi Wolfgang On Mon, 2020-03-23 at 17:56 +0100, Wolfgang Schuster wrote: > > > Did my first tabulate/itemize example work for you? > > I have no problem including your graphic in a table although the > size > isn't perfect. > > \starttext > > \startplacetab

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-24 Thread Christoph Hintermüller
Thankt you very much to you both On Tue, 2020-03-24 at 13:34 +0100, Pablo Rodriguez wrote: > On 3/24/20 11:01 AM, Christoph Hintermüller wrote: > > [...] > > What alternative installation packages do you recommend exempt > > compiling from sources? > > Hi Christoph, > > I guess

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-24 Thread Pablo Rodriguez
On 3/24/20 11:01 AM, Christoph Hintermüller wrote: > [...] > What alternative installation packages do you recommend exempt > compiling from sources? Hi Christoph, I guess http://pragma-ade.com/install.htm contains what you need. I hope it helps, Pablo -- http://www.ousia.tk

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-24 Thread Christoph Hintermüller
Hi Wolfgang > Did my first tabulate/itemize example work for you? > > I have no problem including your graphic in a table although the > size > isn't perfect. > > \starttext > > \startplacetable[title={some caption},reference={fig:somefig}] >

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
my graphic works. \starttext \startplacetable[title={some caption},reference={fig:somefig}]     \startuseMPgraphic{heap_add_start_with_3}     draw fullcircle scaled 4cm ;     \stopuseMPgraphic     \startitemize[a][stopper=)]     \starttabulate     \NI \useMPgraphic{heap_add_start_with

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 23.03.2020 um 15:27: Hi When using refernece instead of column mode in start combination: Is it possible to tell context to place the reference label left or right of the picture/table etc and not below? Or do i have to use multiple columns and put reference

[NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Christoph Hintermüller
Hi When using refernece instead of column mode in start combination: Is it possible to tell context to place the reference label left or right of the picture/table etc and not below? Or do i have to use multiple columns and put reference manually and how? Following

Re: [NTG-context] Cross-reference expansion with ConTeXt and processing with LuaTeX

2019-09-06 Thread Oliver von Criegern
Many thanks for your response, but unfortunately it does not solve my problem. In your solution, var in TestVarB is the identifier of the reference, which is "1", but I need the value of the reference, that is, the number of the line where the \someline command is being called, wh

Re: [NTG-context] Cross-reference expansion with ConTeXt and processing with LuaTeX

2019-09-05 Thread Hans Hagen
% The line reference is not expanded before being passed to Lua.\getbuffer[testtext]\someline[1]LABEL 1 \stoplinenumbering\stoptext||| \TestLua just passes the argument to the Lua command TestVar, which prints it to stdout and returns it to TeX. The pdf result looks good at first glance, showing

[NTG-context] Cross-reference expansion with ConTeXt and processing with LuaTeX

2019-09-04 Thread Oliver von Criegern
/Programming_in_LuaTeX\startbuffer[testtext]\dorecurse{100}{Words, words, words. }\stopbuffer\starttext\startlinenumberingCounter: \TestLua{\rawcountervalue[test]}\par% The counter is expanded before being passed to Lua.Lineref: \TestLua{\inlinerange[1]}\par% The line reference is not expanded before being

Re: [NTG-context] Place footnote after reference

2019-07-23 Thread Huseyin Özoguz
tufte \input tufte \dorecurse{35}{Blub or what }\footnote{Footnote 2} That does\footnote{Footnote 3} only\footnote{Footnote 4} work in special cases. \stoptext Now Context indeed sets the third and fourth footnote on the second page, but leaves the reference to them on the last line of the first

Re: [NTG-context] Place footnote after reference

2019-07-23 Thread Taco Hoekwater
tnote will just not fit with the (default) parameter set ConTeXt is using. If the footnote 2 would be on the first page, that is an extra line for the reference line, and an extra line for the actual note. There is an implicit \blank before the footnote rule, and that is a third ‘line’. Since

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Huseyin Özoguz
, and that is not suitable. Endnotes are no solutions aswell, I need footnotes. So the solution to have reference and footnote not on the same page seems the least bad workaround, if possible at all. So why not place footnotes in a (sufficiently large) reserved bottom space? The typeset text area would then be uniform

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Wolfgang Schuster
Alan Braslau schrieb am 22.07.2019 um 16:37: I do not know the details, but take a look at the following keywords (which do the *opposite* of what you are seeking): \setupnote [footnote] [split=verystrict,scope=page] The scope setting isn't used in the current beta and the code is

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Rik Kabel
On 7/22/2019 12:34, Huseyin Özoguz wrote: Hi, But I admit that I do not understand the problem all that well. I have never run into a situation where I want the footnote to explicitly *not* appear with its reference (except in endnotes). If my grid settings were that specific, I would

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Alan Braslau
tion to have reference and footnote not on the same page > seems the least bad workaround, if possible at all. So why not place footnotes in a (sufficiently large) reserved bottom space? The typeset text area would then be uniform across all pages and notes would appear wher

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Huseyin Özoguz
Hi, But I admit that I do not understand the problem all that well. I have never run into a situation where I want the footnote to explicitly *not* appear with its reference (except in endnotes). If my grid settings were that specific, I would be using endnotes anyway. I have this problem

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Taco Hoekwater
hat I do not understand the problem all that well. I have never run into a situation where I want the footnote to explicitly *not* appear with its reference (except in endnotes). If my grid settings were that

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Alan Braslau
te > > \input tufte \dorecurse{35}{Blub or what }\footnote{Footnote 2} > > \input tufte > > \stoptext > > > > But that results into one (or two?) fewer line on the first page. > > > > Is there a possibility to implement the following rule? -> NEVER > &

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Denis Maier
t; NEVER move > lines onto the next page to achieve footnote and reference beging on the > same page. If necessary set the footnote on the next page, after the > reference. > > Or would you suggest a better solution? I have a book with grid=yes, so > the default-setting is not suitable.

[NTG-context] Place footnote after reference

2019-07-22 Thread Huseyin Özoguz
But that results into one (or two?) fewer line on the first page. Is there a possibility to implement the following rule? -> NEVER move lines onto the next page to achieve footnote and reference beging on the same page. If necessary set the footnote on the next page, after the reference. Or would

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-12 Thread Hans Hagen
On 7/11/2019 5:27 PM, Alan Braslau wrote: This is why it is always a good idea to preface references with a (personal) identifier. However, perhaps Hans, Wolfgang, or someone else can explain the use of colons (:) and double colons (::) in references and in other tags in general (they have to do

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Alan Braslau
:03, Peter Rolf wrote: > > > > Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster: > >> Sanjoy Mahajan schrieb am 10.07.2019 um 04:15: > >>> Dear List, > >>> > >>> Warning: The following may be a bug or feature or just my > >>>

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Otared Kavian
r List, >>> >>> Warning: The following may be a bug or feature or just my >>> misunderstanding! It seems that parentheses cause trouble in >>> references. >> Braces are used for the argument of reference actions. >> >> \setupinteraction[state=start]

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Peter Rolf
gt; Braces are used for the argument of reference actions. > > \setupinteraction[state=start] > > \starttext > > \goto{Second page}[page(2)] > > \page > > \goto{ConTeXt garden}[url(http://wiki.contextgarden.net)] &g

  1   2   3   4   5   6   >