Re: [NTG-context] URL style

2018-02-19 Thread Wolfgang Schuster
le=\em] \hyphenatedurl{www.fiee.net} \goto{www.fiee.net} \stoptext \goto -> \setupinteraction[style=...,color=...,contrastcolor=...] \about -> \setupreferencing[left=...,right=...,width=...] + \setupinteraction[style=...,color=...,contrastcolor=...] \hyphenatedurl -> N/A \url -&g

Re: [NTG-context] Substitution for ". . ."

2018-02-16 Thread Wolfgang Schuster
(instead of ". . ."). Is it possible? No, you can only change the width of the text (set a big value and it won’t be shortened). \setupreferencing[width=\makeupwidth] % default: .75\makeupwidth Wolfgang ___

[NTG-context] Setupreferencing[interaction=text] breaks referenceformat[text={…}]

2016-11-13 Thread Benjamin Buchmuller
true, when the reference format is not defined via \definereferenceformat, but also in \in{Figure}[fig:A]. Here is the minimal example: \starttext \setupreferencing[ left={}, right={}, interaction=text, % critical ] \definereferenceformat[infig][text={Figure }] \chapter[myreference]{A Good Story

Re: [NTG-context] ntg-context Digest, Vol 142, Issue 52

2016-04-19 Thread Brian Ballsun-Stanton
.) Here's a working example % engine=luajittex \startenvironment env_trap \enableregime[utf-8] \setupcolors[state=start] \setupreferencing[autofile=yes] \setupinteraction[state=start, color=blue, contrastcolor=blue, style={\tf}] \usemodule[simplefonts] \usemodule[database] % Enable hyperlinks

Re: [NTG-context] interactive reference

2016-02-05 Thread Wolfgang Schuster
d here. Although I tried along the lines in the first example, as mentioned at the end of the text, I could not manage to get these triangles. You can change the output from the \in and \at commands with \setupreferencing. %\setupreferencing[interaction=all] \setupreferencing[interaction=

Re: [NTG-context] has the bidi mechanism been changed?

2015-12-14 Thread Hans Hagen
: \setupinteraction[state=start] \setupreferencing[left=, right=, interaction=all] \setupdirections[bidi=on,method=two] \starttext \section[sectionone]{Section one} No text after the first line:\\\about[sectionone] Misplaced text \stoptext Text after \about

Re: [NTG-context] has the bidi mechanism been changed?

2015-12-14 Thread Pablo Rodriguez
is is a related issue to this bug: \setupinteraction[state=start] \setupreferencing[left=, right=, interaction=all] \setupdirections[bidi=on,method=two] \starttext \section[sectionone]{Section one} No text after the first line:\\\about[sectionone] Misplaced text \sto

Re: [NTG-context] Oddity with \definereferenceformat

2015-04-20 Thread Wolfgang Schuster
is shown in the text which happens at the moment only for the \about command. \setupreferencing[left=,right=] \starttext \startsection[reference={sec:one}, title={Three\\line\\title}] \startparagraph See \about[sec:one]. \stopparagraph \stopsection \stoptext Wolfgang

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

2014-08-01 Thread Gerben Wierda
documented feature ... in beta: % tests/mkiv/pagestate-001.tex \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] % new: \setupreferencing[doublesided=no] % old: \somewhere{backward}{foreward}[label] % new: \someplace{preceding}{backward}{current}{foreward}{following

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

2014-07-26 Thread Hans Hagen
\analyzecurrentreference from your example allows mkiv to typeset correctly and obtain the expected result. yet another sparsely documented feature ... in beta: % tests/mkiv/pagestate-001.tex \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] % new: \setupreferencing

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

2014-07-25 Thread Hans Hagen
/pagestate-001.tex \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] % new: \setupreferencing[doublesided=no] % old: \somewhere{backward}{foreward}[label] % new: \someplace{preceding}{backward}{current}{foreward}{following}[label] % old: \atpage[#label] % new

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

2014-07-25 Thread Gerben Wierda
documented feature ... in beta: % tests/mkiv/pagestate-001.tex \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] % new: \setupreferencing[doublesided=no] % old: \somewhere{backward}{foreward}[label] % new: \someplace{preceding}{backward}{current}{foreward}{following

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

2014-07-25 Thread Rik Kabel
feature ... in beta: % tests/mkiv/pagestate-001.tex \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] % new: \setupreferencing[doublesided=no] % old: \somewhere{backward}{foreward}[label] % new: \someplace{preceding}{backward}{current}{foreward}{following}[label] % old

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

2014-07-25 Thread Hans Hagen
. yet another sparsely documented feature ... in beta: % tests/mkiv/pagestate-001.tex \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] % new: \setupreferencing[doublesided=no] % old: \somewhere{backward}{foreward}[label] % new: \someplace{preceding}{backward}{current

Re: [NTG-context] Styling References

2014-07-15 Thread Malte Stien
been unsuccessful in creating such a \animalabout command. I looked at \definereferenceformat which gets rid of the quotes, but I can’t make it go italics. I also looked at \setupreferencing, but that seems to affect ALL \abouts. \definereferenceformat[animalabout][style=italic,color=blue,type

[NTG-context] Styling References

2014-07-14 Thread Malte Stien
such as \animalabout[ducks] and \animalabout[bears]. ...but so far I have been unsuccessful in creating such a \animalabout command. I looked at \definereferenceformat which gets rid of the quotes, but I can’t make it go italics. I also looked at \setupreferencing, but that seems to affect ALL \abouts

Re: [NTG-context] Styling References

2014-07-14 Thread Wolfgang Schuster
make it go italics. I also looked at \setupreferencing, but that seems to affect ALL \abouts. \definereferenceformat[animalabout][style=italic,color=blue,type=title,left=«,right=»] \starttext There are lots of animals such as \about[ducks] and \about[bears]. There are lots of animals

[NTG-context] textreference in a protocol (minutes)

2013-11-11 Thread Joshua Krämer
the cropping? Additionally, if somebody can think of a better solution than my \textreference approach, please let me know. Thank you, Joshua Krämer Minimal Working Example: \def\Agendaentry#1#2{\sym{#1}\textreference[Agendaentry#1]{#2}#2} \setupreferencing[left={},right={}] \newcount\Agendaentrynr

Re: [NTG-context] Conditional float references

2013-09-25 Thread Otared Kavian
}, %or {page précédente} nextpage={à la page suivante}] %or {page suivante} In case Hans is willing to add such capabilities to the cross referencing, it would be great if one could setup the cross references in the same way by saying for instance \setupreferencing

[NTG-context] Reading product environment within a component file

2012-12-02 Thread Romain Diss
%% end an environment file e.tex %% e.tex \startenvironment e % style commands... \stopenvironment %% end and two component files c.tex and d.tex %% c.tex (d.tex is the same file, except content part) \setupreferencing[autofile=yes] \setupinteraction[state=start] \startcomponent c \product p

Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Thomas A. Schmitz
On 11/19/2012 10:33 AM, Hans Hagen wrote: this is already in place for a while given that one uses the right structures: http://www.pragma-ade.com/general/magazines/mag-1103.pdf Oops, sorry, I must have missed this! But I can't get it working. After adding \setupreferencing[autofile=yes

Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Hans Hagen
. After adding \setupreferencing[autofile=yes] \setupinteraction[state=start] to all components, compiling single components fails with ! LuaTeX error text/tex/texmf-context/tex/context/base/strc-ref.lua:902: table index is nil stack traceback: ...text/tex/texmf-context/tex/context/base

Re: [NTG-context] Removing the quotes from the results of the reference links

2012-03-29 Thread Steffen Wolfrum
]{Second} \input tufte \in{(see section}{ \about[second] at page \at[second])}[second]. \stoptext I use this: \setupreferencing[left=,right=,width=] Steffen ___ If your question is of interest to others

Re: [NTG-context] Rotating externalfigure

2012-03-29 Thread Malte Stien
this: \setupreferencing[left=,right=,width=] Steffen -- Message: 6 Date: Thu, 29 Mar 2012 10:32:12 +0200 From: Hans Hagen pra...@wxs.nl To: mailing list for ConTeXt users ntg-context@ntg.nl Subject: Re: [NTG-context] Removing the quotes from the results

Re: [NTG-context] [***NOSPAM***] \about without quotes

2012-03-23 Thread Steffen Wolfrum
] (should be “1 Titel”) \stoptext \setupreferencing[left=,right=] This woks, ie. changes \about output too. But how can I be sure I changed *only* \about output? Steffen ___ If your question is of interest to others

[NTG-context] reference \about shall not be shortened

2012-03-23 Thread Steffen Wolfrum
Hi, how can I avoid shortening of referenced titles? \setupreferencing[left=,right=] \starttext \chapter[ reference={ref123}, title={This is a long titel -- every word is meaningful and shall not be omitted}, marking={Titel}, list={Titel}, bookmark={Titel}] see in “\at[ref123

Re: [NTG-context] reference \about shall not be shortened

2012-03-23 Thread Wolfgang Schuster
Am 23.03.2012 um 16:33 schrieb Steffen Wolfrum: Hi, how can I avoid shortening of referenced titles? \setupreferencing[left=,right=] Add “width=” to \setupreferencing or use \getreference[title][ref123] to print the title of the heading. Wolfgang

[NTG-context] Problem with external cross-references

2012-02-25 Thread Jean-Philippe Rey
::lorem] [...] However when I add the export option in the test_crossref1 file % file test_crossref1 \setupreferencing[export=yes] \starttext \chapter[lorem]{Lorem} Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[lorem]. \stoptext I get an error at compile time. Below

[NTG-context] howto get good references in mkiv?

2012-01-05 Thread Rene van Hassel
Hello Members, some piece of code, with the problems. I hope somebody can use it to improve ConTeXt, Compilation with texexec is no problem, Kind Regards, Rene' % Begin code: \setupcolors[state=start] \setupinteraction[state=start,color=orange] \setupreferencing[state=start] \defineblock

[NTG-context] problem with cross references

2012-01-02 Thread Rene van Hassel
that somebody can give me some advice. With the hidden blocks there is no problem. But with the item(s) there is a problem, Kind Regards, Rene' van Hassel % Code: \setupcolors[state=start] \setupinteraction[state=start,color=orange] \setupreferencing[state=start] \defineblock[exercise] \defineblock

Re: [NTG-context] Resetting references or local references?

2011-11-28 Thread Otared Kavian
. In neither case the command \setupreferencing[prefix=+] or \setupannotation[Exo][prefix=+] seems to generate local tags. Just in case, below is a minimal file, which shows how I use the annotation module. Best regards: OK %% begin \setupinteraction[state=start] \usemodule

Re: [NTG-context] Resetting references or local references?

2011-11-28 Thread Wolfgang Schuster
is with \defineannotation[Exo] and your annotation module when using mkiv. In neither case the command \setupreferencing[prefix=+] or \setupannotation[Exo][prefix=+] seems to generate local tags. Just in case, below is a minimal file, which shows how I use the annotation module. There are a few

[NTG-context] interaction?

2011-11-25 Thread Hans van der Meer
I have troubles with interaction in a screen document. (1) I took the example from the wiki: \setuppapersize[A6][A6] \setupinteraction[state=start] \setupreferencing[interaction=all] \starttext Reference is here \reference[label:1]{Some text} \page[yes] % Insert page break Link to \goto{some text

Re: [NTG-context] interaction?

2011-11-25 Thread Wolfgang Schuster
Am 25.11.2011 um 17:26 schrieb Hans van der Meer: I have troubles with interaction in a screen document. (1) I took the example from the wiki: \setuppapersize[A6][A6] \setupinteraction[state=start] \setupreferencing[interaction=all] \starttext Reference is here \reference[label:1]{Some

Re: [NTG-context] interaction?

2011-11-25 Thread Meer, H. van der
On 25 nov. 2011, at 17:33, Wolfgang Schuster wrote: Am 25.11.2011 um 17:26 schrieb Hans van der Meer: I have troubles with interaction in a screen document. (1) I took the example from the wiki: \setuppapersize[A6][A6] \setupinteraction[state=start] \setupreferencing[interaction=all

Re: [NTG-context] interaction?

2011-11-25 Thread Wolfgang Schuster
] \setupinteraction[state=start] \setupreferencing[interaction=all] \starttext Reference is here \reference[label:1]{Some text} \page[yes] % Insert page break Link to \goto{some text elsewhere}[label:1]. \stoptext Although the link on page-2 brings me to page_1, the contents of {Some text} has

Re: [NTG-context] inactive hyperlink?

2011-11-23 Thread Hans Hagen
, \reference} do give me a link-colored text with \in{txt}[reftoplace] but nothing happens. What in my definition of the link is wrong? Adding \setupreferencing[interaction=all] didn't help. works ok here: \setupinteraction[state=start] \starttext reference: one\pagereference[reftoplace:1] link

[NTG-context] inactive hyperlink?

2011-11-21 Thread Hans van der Meer
}[reftoplace] but nothing happens. What in my definition of the link is wrong? Adding \setupreferencing[interaction=all] didn't help. Hans van der Meer ___ If your question is of interest to others as well, please

Re: [NTG-context] interaction colors and page break

2011-10-06 Thread Christian
Here you go: %% \setupinteraction[state=start, focus=standard, style=,color=] \setupreferencing[interaction=all] \definereferenceformat[infig][left={(Abb. },right={)}] \starttext \input knuth \infig[cow1] \placefigure[here][cow1]{A Cow}{\externalfigure[cow][width=0.3

[NTG-context] \url interaction and splitting

2011-09-15 Thread Aditya Mahajan
url. Consider the following example from strc-ref: \startasciimode \useURL [test] [sentence_sentence%sentence#sentence~sentence/sentence//sentence:sentence.sentence] \stopasciimode \startlinecorrection \hbox to \hsize {\hss\en \setupreferencing[urlalternative=both]% \vbox{\hsize.25cm

Re: [NTG-context] \about[node] quotation marks

2011-06-28 Thread Kip Warner
On Tue, 2011-06-28 at 07:13 +0200, Peter Münster wrote: On Tue, Jun 28 2011, Kip Warner wrote: Is there any way to have ConTeXt not surround the link in the text with quotation marks when using \about[some_node]? \setupreferencing[left=, right=] Thank you. That did it. -- Kip Warner

Re: [NTG-context] \about[node] quotation marks

2011-06-27 Thread Peter Münster
On Tue, Jun 28 2011, Kip Warner wrote: Is there any way to have ConTeXt not surround the link in the text with quotation marks when using \about[some_node]? \setupreferencing[left=, right=] -- Peter

Re: [NTG-context] Forcing \about to give the full title

2010-09-16 Thread Duncan Hothersall
\setupreferencing[width=] Thanks Wolfgang, much appreciated, did the trick. Duncan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Forcing \about to give the full title

2010-09-15 Thread Wolfgang Schuster
details What I would like is for the full title to be output, however long. I have had a look through the sources but not managed to identify where any default cut-off is defined. Can someone help. \setupreferencing[width=] Wolfgang

Re: [NTG-context] problem with \ref[t][...]

2010-06-13 Thread Peter Münster
On Fri, Jun 11 2010, Peter Münster wrote: A related question: how can I get rid of the quotation marks of \about[]? Ok, found it: \setupreferencing[left=, right=] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact

[NTG-context] \definereferenceformat [MkIV]

2010-05-24 Thread Rogutės Sparnuotos
A bug in MkIV? The left=[ and right=] settings of \definereferenceformat[] bleed through to \in and \at: \definereferenceformat[cite][left={[},right={]}] \starttext \section[sec:test]{Test} \cite[]. Section \in[sec:test]. \stoptext By the way, is \setupreferencing meant for \about only (if so

Re: [NTG-context] sectionsegments for reference

2009-12-07 Thread Hans Hagen
% \definestructureconversionset[default][Character,number,Romannumerals,Character][number] % \definestructureseparatorset [default][.,.,--][.] % \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4] % \setupreferencing[sectionsegments=3:4] % \section {One} \subsection

Re: [NTG-context] sectionsegments for reference

2009-12-06 Thread Wolfgang Schuster
% \definestructureconversionset[default][Character,number,Romannumerals,Character][number] % \definestructureseparatorset [default][.,.,--][.] % \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4] % \setupreferencing[sectionsegments=3:4] % \section {One} \subsection[sec:test]{Two

[NTG-context] sectionsegments for reference

2009-11-22 Thread Wolfgang Schuster
[default][.,.,--][.] % \setupstructurehead[subsection][sectionstopper=),sectionsegments=4:4] % \setupreferencing[sectionsegments=3:4] % \section {One} \subsection[sec:test]{Two} See \in[sec:test] % \stoptext TIA, Wolfgang

Re: [NTG-context] Sections, cross-references and separators

2008-04-01 Thread Taco Hoekwater
this: @@ -1,4 +1,4 @@ -\setupheads[separator=] %-- this can't be right \setupreferencing[state=start,chapternumber=yes,global=yes] -\setupsection[section-1][conversion=Characters] -\setupsection[section-2][previousnumber=yes] +\def\Mychapter#1{\convertnumber{Characters}{\getvalue{@@sesection-1}}#1

Re: [NTG-context] Sections, cross-references and separators

2008-04-01 Thread Duncan Hothersall
Taco wrote: In this case it is easier to make the actual chapter number include the 'A'. That way, you won't have to worry about separator at all (which is good, because its use is confusing). Try this: @@ -1,4 +1,4 @@ -\setupheads[separator=] %-- this can't be right \setupreferencing

Re: [NTG-context] Sections, cross-references and separators

2008-04-01 Thread Taco Hoekwater
be right \setupreferencing[state=start,chapternumber=yes,global=yes] -\setupsection[section-1][conversion=Characters] -\setupsection[section-2][previousnumber=yes] +\def\Mychapter#1{\convertnumber{Characters}{\getvalue{@@sesection-1}}#1} +\defineconversion[MyChapter][\Mychapter] +\setupsection

[NTG-context] Sections, cross-references and separators

2008-03-31 Thread Duncan Hothersall
Dear all, I am confused. Here is a minimal version of my problem: --- \setupheads[separator=] %-- this can't be right \setupreferencing[state=start,chapternumber=yes,global=yes] \setupsection[section-1][conversion=Characters] \setupsection[section-2][previousnumber=yes] \setuphead[part

Re: [NTG-context] References and formulae numbers in upshape

2008-03-14 Thread Wolfgang Schuster
question was not very clear: what I need in fact is to typeset *all* references obtained by the \in command in upshape. For example, in {\it See \in{Figure}[fig:det] for details.}, I would like to see 'Figure 1' in upshape and the rest in italic. I tried: \setupreferencing [left=\bgroup

Re: [NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Morgan Brassel
by the \in command in upshape. For example, in {\it See \in{Figure}[fig:det] for details.}, I would like to see 'Figure 1' in upshape and the rest in italic. I tried: \setupreferencing [left=\bgroup\normal, right=\egroup] without success. Is there a way to achieve this without defining new

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
papersize][printing papersize] \setupparagraphnumbering[options] \setupparagraphs[name][number|each][options] \setuppositioning[options] \setupprofiles[options] \setupprograms[directory=text] \setuppublications[options] \setupquote[options] \setupreferencelist[names][options] \setupreferencing

Re: [NTG-context] Some minor issus

2007-07-22 Thread Patrick Gundlach
with \setupreferencing but the text stayed bold. I could not find something in regards to this topic in the manual or in the wiki. I don't know references (never used them), but could this be due to interaction? Put style=\tf in \setupinteraction. But this is just a wild guess. My thrid problem is, how

Re: [NTG-context] Some minor issus

2007-07-22 Thread Steffen Fritzsche
be nice if there is a way they were not bold. I tried different things with \setupreferencing but the text stayed bold. I could not find something in regards to this topic in the manual or in the wiki. I don't know references (never used them), but could this be due to interaction? Put style

[NTG-context] Some minor issus

2007-07-21 Thread Steffen Fritzsche
a line break other than defining break points for each of it? Maybe even with a nice symbol identicating the forced break? Second problem is the formatting of the in text references. it would be nice if there is a way they were not bold. I tried different things with \setupreferencing

Re: [NTG-context] appearance of about

2007-07-06 Thread Aditya Mahajan
Quoting Patrick Gundlach [EMAIL PROTECTED]: Hi, how do I change the appearence of \about? I don't like the quotation marks around the result of \about. \setupreferencing[left=,right=] Aditya ___ If your question

Re: [NTG-context] appearance of about

2007-07-06 Thread Patrick Gundlach
Hi Aditya, how do I change the appearence of \about? I don't like the quotation marks around the result of \about. \setupreferencing[left=,right=] Now that you've told me, I've found it in the manual... Thanks, Patrick

[NTG-context] \setupurl and urlalternative

2007-04-18 Thread Tobias Burnus
\setupreferencing[urlalternative=both]% \vbox{\hsize.25cm\hbox{\bf both}\prewordbreak\url[test]}% \hss \setupreferencing[urlalternative=before]% \vbox{\hsize.25cm\hbox{\bf before}\prewordbreak\url[test]}% \hss \setupreferencing[urlalternative=after]% \vbox{\hsize.25cm

Re: [NTG-context] reference formatting

2006-06-23 Thread Hans van der Meer
the general setup in the same way, e.g. let \in[ref] do the same as \pin[ref] here. The left and right are not in setupreferencing. I finally came up with this, a bit of a kludge I admit: \let\originalin=\in \definereferenceformat[parenthesizedin][left=(,right=),command= \originalin

Re: [NTG-context] Aleph queries

2006-06-23 Thread Duncan Hothersall
. So to match the setupheads, we need also: \setuplist[section,subsection,...][separator={{.}}] Unfortunately \setupreferencing[separator={{.}}] seems to just put an extra . before the figure number, but not reverse it, resulting in: '1.2- erugiF' Duncan

Re: [NTG-context] reference formatting

2006-06-23 Thread Aditya Mahajan
in this respect: 1. is it possible to change the general setup in the same way, e.g. let \in[ref] do the same as \pin[ref] here. The left and right are not in setupreferencing. I finally came up with this, a bit of a kludge I admit: \let\originalin=\in \definereferenceformat

[NTG-context] reference formatting

2006-06-22 Thread Hans van der Meer
and right are not in setupreferencing.2. some strange interchange takes place when using \pin{A}{B}[ref]. Instead of the expected "A (ref) B" one gets "A (refB); it therefore seems the right parenthesis from the setup comes too late in play.Hans van der Meer __

Re: [NTG-context] reference formatting

2006-06-22 Thread Aditya Mahajan
\in[ref] do the same as \pin[ref] here. The left and right are not in setupreferencing. Don't know about this. 2. some strange interchange takes place when using \pin{A}{B}[ref]. Instead of the expected A (ref) B one gets A (refB); it therefore seems the right parenthesis from

Re: [NTG-context] \reference[mark]{(\the\equationnumber)}

2004-01-13 Thread Hans Hagen
[a]{(\the\equationnumber)}} or \setupreferencing[expansion=command] test file: \starttext \setupreferencing[expansion=command] \typefile{\jobname.tuo} \textreference[x]{\the\pageno} \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl