eference[xyz]{}
> \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|]
> \NC \reference[xyz]{} \NC \NC\NR
\NC \doifnotmode{*trialtypesetting}{\pagereference[xyz]} \NC \NC\NR
> \stoptabulate
>
>
> \pagebreak
>
> \at{page}[xyz]
>
> \stoptext
>
> The code does work
}{\pagereference[xyz]} \NC \NC\NR
\stoptabulate
\pagebreak
\at{page}[xyz]
\stoptext
The code does work when I uncomment line #2, revealing the
cross-references work find when outside of a table.
I also tried using a TABLE environment instead and the result was
similar, it wouldn't show
o link to, e.g.
\startchapter[title={My chapter},reference=chap:first] or
\chapter[chap:first]{My chapter}
This works the same for other structure levels. I’m not sure about
bibliography, but I think you must use the bib entry code.
You can also set anchors manually using \textreference and
manually using \textreference and \pagereference.
Then you can use \in[chap:first], \about[chap:first] or \at[chap:first].
For external links, you use \goto (it’s a bit extensive).
Please look up the syntax reference in the wiki.
Hraban
To explain more simply, I've put \pagereference[sample] somewhere in a
document. Intead of just printing the page number that appeared with
\at{page}[sample], I'd like to print the section or subsection title of where
that appeared.
--Joel
On Saturday, March 4, 2023 at 09:18:19 AM MST
I've set a \pagereference in a chapter, and want to print its chapter title and
page number, ex.
"You can find more information in "Fish" on p. 1" (where "Fish" is the title of
the chapter or section).
I've tried looking all through the wiki, thinking this was a ba
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
]
\pagebreak[yes]
\pagereference[\dummyparameter{ref}]
\doassign[header][first=\dummyparameter{ref}]
\doassign[header][next=\dummyparameter{next}]
{\tfc\bf{#2}}\par
\vskip3mm
}
\def\fillWithText[#1]{
\dorecurse{#1}{
\input tufte
\input knuth
}
}
\setupheadertexts
Wolfgang [and Hans ],
I'm attaching a minimal(ish) example of a project structure with
a call to \pagereference. One can see from the output of master000.tex
that the cross references to an external file all work, *apart* from
the call to \pagereference. (This is the same issue that I am having
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
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
, 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#References_to_an_external_file
I'm wondering then ... do cross references
We've added a tracker:
\enabletrackers [structures.referencing.show]
\starttext
Take a look at \at{page}[unknown:1].
This line has a reference.\pagereference[unknown:2]
Take a look at \at{page}[unknown:2].
\stoptext
Experimental till documented in the interface files.
Hans
{\at{page}[unknown:1]}
{\dummyreference\inright[style=\ttxx]{Missing reference}}.
This line ha a reference.\pagereference[unknown:2]
Take a look at
\doifelsereferencefound{unknown:2}
{\at{page}[unknown:2]}
{\dummyreference\inright[styl
*, for example?
Parallel syntax might suggest \startparagraph [reference=p:myparagraph]
but this is not implemented.
Perhaps there is another referencing command that I am not aware of?
xxx\pagereference[p:myparagraph] xxx
\dontleavehmode\pagereference[p:myparagraph]xxx xxx
Wolfgang
wo column
>>>>> layout?
>>>
>>> yes and no:
>>>
>>> no : there is not something buil tin
>>> yes: one can write some hack in a few lines
>>>
>>> but instead of posting such a hack (which then will a live of its own)
to a column in a two
column layout?
yes and no:
no : there is not something buil tin
yes: one can write some hack in a few lines
but instead of posting such a hack (which then will a live of its
own) i'll add a feature:
\pagereference[column:#1]
\doifelsereferencefound{column:#1}{\number
can write some hack in a few lines
but instead of posting such a hack (which then will a live of its own)
i'll add a feature:
\pagereference[column:#1]
\doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{}
in the next beta,
Hans
Thanks for implementing this, but I am afraid
column in a two column
>>> layout?
>
> yes and no:
>
> no : there is not something buil tin
> yes: one can write some hack in a few lines
>
> but instead of posting such a hack (which then will a live of its own) i'll
> add a feature:
>
> \pagereference[column:#1]
>
> \doife
can write some hack in a few lines
but instead of posting such a hack (which then will a live of its own)
i'll add a feature:
\pagereference[column:#1]
\doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{}
in the next beta,
Hans
This would be great, thanks!
Best regards
but instead of posting such a hack (which then will a live of its own)
i'll add a feature:
\pagereference[column:#1]
\doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{}
in the next beta,
Hans
At least, I would need to get some value that tells me whether the target is in
the left
column numbers?
>>
>> I have a two column layout with column numbers in the header instead of page
>> numbers (actually, these column numbers are calculated from the page
>> numbers). Now I want to create a cross reference that returns the column
>> number of the targ
from
the page numbers). Now I want to create a cross reference that returns
the column number of the target. How can I achieve this?
Of course, I can get the page number with \pagereference (for the
target) and \at (for the reference), but for calculating the column
number (according to what
number of the target. How can I achieve this?
Of course, I can get the page number with \pagereference (for the
target) and \at (for the reference), but for calculating the column
number (according to what I did in the header), I would also need to
know whether the target is in the left
Hi,
you can always set *\pagereference[bla] *into the text and reference to
the pagenumber of the reference with *\at[bla]*.
Is that what you wanted?
Huseyin Özoguz
--
Huseyin Özoguz
E-Mail: h.oezo...@mmnetz.de
distributing it over a number of chapters, the question and answer
numbering seems to be an issue. Would the define require a change?
% QUESTION AND ANSWER
\define[1]\QuestionTextCommand
{\doglobal\increment\QuestionCounter
\pagereference[question:\QuestionCounter]%
\doifreferencefoundelse
easy way to achieve this?
Regards, Jeroen
\setupinteraction[state=start]
\define[1]\QuestionTextCommand
{\doglobal\increment\QuestionCounter
\pagereference[question:\QuestionCounter]%
\doifreferencefoundelse{answer:\QuestionCounter}
{\goto{#1}[answer:\QuestionCounter]}
{#1}}
\define[1]\AnswerTe
tupinteraction[state=start]
\define[1]\QuestionTextCommand
{\doglobal\increment\QuestionCounter
\pagereference[question:\QuestionCounter]%
\doifreferencefoundelse{answer:\QuestionCounter}
{\goto{#1}[answer:\QuestionCounter]}
{#1}}
\define[1]\AnswerTextCommand
{\doglobal\inc
for trial typestting
% \doifnotmode{*trialtypesetting}
% is necessary in order to avoid unwanted incrementation
\define[1]\QuestionTextCommand
{\doifnotmode{*trialtypesetting}
{\doglobal\increment\QuestionCounter
\pagereference[question:\QuestionCounter]}%
\doifreferencefoundelse{hint
quot;
-- context("\\goto{s}[t]") -- this does not work
-- context.goto({"Index"},{"ref:index"}) -- this does not work
context("\\goto{Index}[ref:index]")
\stopluacode
\input ward.tex
\stopchapter
\starttitle[title={Index}]
% one could
eakers{\getvariable{talk}{speakername}}}%
\expanded{\pagereference[talk:\getvariable{talk}{speakername}]}}%
\starttabulate[|f{\bi}l|p|]
\NC Speaker \EQ \getvariable{talk}{speakername} \NC\NR
\NC Title \EQ \getvariable{talk}{title} \NC\NR
\NC Time \EQ \getvariable{talk}{time}
example all three talks are
>> given the pagenumber 4 in the register. Is there something I am doing wrong?
> I moved the link for the page number to the next paragraph because putting
> the reference command into the tabulate environment hasn’t worked but in your
> example t
gister. Is there
something I am doing wrong?
I moved the link for the page number to the next paragraph because
putting the reference command into the tabulate environment hasn’t
worked but in your example the first paragraph starts on the last page.
This was necessary because the \pagereference starts a new par
K.
%%% begin register-talks.tex
\setupinteraction[state=start]
\defineregister[speakers]
\setupregister
[speakers]
[style=sansbold,
n=2]
\startbuffer[pagetalk]
\doflushatpar
{\expanded{\speakers{\getvariable{talk}{speakername}}}%
\expanded{\pagereference[talk:\getvariable{talk
gister[speakers]
\setupregister
[speakers]
[style=sansbold,
n=2]
\startbuffer[pagetalk]
\doflushatpar
{\expanded{\speakers{\getvariable{talk}{speakername}}}%
\expanded{\pagereference[talk:\getvariable{talk}{speakername}]}}%
\starttabulate[|f{\bi}l|p|]
\NC Speaker \EQ \getvariabl
e
> % enumeration environments
> % Note that the check for trial typestting
> % \doifnotmode{*trialtypesetting}
> % is necessary in order to avoid unwanted incrementation
> \define[1]\QuestionTextCommand
> {\doifnotmode{*trialtypesetting}
> {\doglobal\increment\Questi
\QuestionCounter
\pagereference[question:\QuestionCounter]}%
\doifreferencefoundelse{answer:\QuestionCounter}
{\goto{#1}[answer:\QuestionCounter]}
{#1}}
\define[1]\AnswerTextCommand
{\doifnotmode{*trialtypesetting}
{\doglobal\increment\AnswerCounter
\pagereference[answer
unwanted incrementation
\define[1]\QuestionTextCommand
{\doifnotmode{*trialtypesetting}
{\doglobal\increment\QuestionCounter
\pagereference[question:\QuestionCounter]}%
\doifreferencefoundelse{answer:\QuestionCounter}
{\goto{#1}[answer:\QuestionCounter]}
{#1}}
\define[1
rement\QuestionCounter
\pagereference[question:\QuestionCounter]%
\doifreferencefoundelse{answer:\QuestionCounter}
{\goto{#1}[answer:\QuestionCounter]}
{#1}}
\define[1]\AnswerTextCommand
{\doglobal\increment\AnswerCounter
\pagereference[answer:\AnswerCounter]%
\doifreferencefou
the problem (please see the
fifth Question in the source below).
Best regards: OK
begin example-ws.tex
\setupinteraction[state=start]
\newcounter\QuestionCounter
\newcounter\AnswerCounter
\define[1]\QuestionTextCommand
{\doglobal\increment\QuestionCounter
\pagereference[question
reate a page reference which
contains
the value of the counter.
Below is a modified version of my previous example for this method.
begin example
\setupinteraction[state=start]
\define[1]\QuestionTextCommand
{\doglobal\increment\QuestionCounter
\pagereference[question:\Que
{\ctxlua{userdata.printpagerange("#1")}}
\starttext
Tufte quote at \printpagerange{tufte}.
% start of quote reference
\pagereference[tufte:start]
\input{tufte}
%\page % comment/uncomment this to toggle from page range to single
page
\input{tufte}
% end of quote reference
\pagereference[tuf
not working snippet:
\starttext
Tufte quote at p.
\at[tufte:start]\doifelse{\ref[realpage][tufte:start]}{\ref[realpage][t
ufte:stop]}
{}
{-\at[tufte:stop]}
% start of quote reference
\pagereference[tufte:start]
\input{tufte}
%\page % comment/uncomment this to toggle from range to single page
ser set references, sections or floats
are mentioned in the log.
\starttext
\chapter[sec:first] {First chapter}
\chapter[sec:second]{Second chapter}
\chapter[sec:first] {Third chapter}
\pagereference[ref:page]
\pagereference[ref:page]
\stoptext
shows only
refe
Hans van der<mailto:h.vanderm...@uva.nl>
17. Januar 2016 um 16:58
Defining \pagereference[xyz] en calling this some pages later with \atpage[xyz]
I get as reference "at a previous page" (perhaps not exactly, the typesetting
is done in dutch).
The english text is “on a preceding pa
Defining \pagereference[xyz] en calling this some pages later with \atpage[xyz]
I get as reference "at a previous page" (perhaps not exactly, the typesetting
is done in dutch).
This an unwanted result, that previous page is 7 pages before.
How can I restrict this to either &qu
Meer, Hans van der <mailto:h.vanderm...@uva.nl>
17. Januar 2016 um 16:58
Defining \pagereference[xyz] en calling this some pages later with
\atpage[xyz] I get as reference "at a previous page" (perhaps not
exactly, the typesetting is done in dutch).
The english text is “on
)
The distinction between \pagereference, \textreference and \reference is
sort of historical and relates to efficiency (in mkii):
\pagereference : only stores the pagenumber
\textreference : only stores the text
\reference : stores pagenumber and text
In mkiv the last two are the same now
references
in the text can be set with the \reference, \textreference or \pagereference
commands.
\setupexternalfigures[location=default]
\setupinteraction[state=start]
\starttext
\startchapter[referemce=sec:sectionlabel,title=Dummy chapter]
\input knuth
\startplacefigure[reference=fig:figurelabel
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 knuth
See
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[workaroundref
. The links are not working for me either in ConTeXt ver:
2014.03.19 23:11 MKIV beta.
simple example ...
\setupinteraction[state=start]
\starttext
Text\pagereference[test]
\page
\at{Page}[test]
\stoptext
what binary do you use? luatex 0.79? what viewer?
- This is LuaTeX
\pagereference[test]
\page
\at{Page}[test]
\stoptext
what binary do you use? luatex 0.79? what viewer?
- This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746)
- Adobe Reader 11
- The preview app for Macs
example …
\setupinteraction[state=start]
\starttext
Text\pagereference[test]
\page
\at{Page}[test]
\stoptext
what binary do you use? luatex 0.79? what viewer?
- This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746)
- Adobe Reader 11
- The preview app for Macs
can you send me
AM, Alan Bowen wrote:
Pablo, Hans--
Just checked. The links are not working for me either in ConTeXt ver:
2014.03.19 23:11 MKIV beta.
simple example ...
\setupinteraction[state=start]
\starttext
Text\pagereference[test]
\page
\at{Page}[test]
\stoptext
what binary do you use
below.
\setuppapersize[A6]
\starttext
\dorecurse{10}{not original }
\dorecurse{10}{not \pagereference[test:#1]original }
\stoptext
The problem is the following code in the reference macros (str-ref.mkvi),
when the box code is commented the hyphenation works.
\unexpanded\def
20
21
22 \input ./macros/E16pagenohead.tex
23 \ifodd \pageno \else \noheaderandfooterlines \null \page[yes]\fi
\noheade
randfooterlines
24
25 \startptp{
26 \pagereference[Languages]\pnum{Part II}\ptitle{Language Listings}
27 }\stopptp
This error is very odd because:
a) The only place I can find
\ifodd \pageno \else \noheaderandfooterlines \null \page[yes]\fi
\noheade
randfooterlines
24
25 \startptp{
26 \pagereference[Languages]\pnum{Part II}\ptitle{Language Listings}
27 }\stopptp
This error is very odd because:
a) The only place I can find code mentioning NOfTextColumns-1 is in
mp
a bug to me.
Thanks in advance!
Daniel
Working minimal example:
---
My product.tex looks like this:
\setupinteraction[state=start]
\startproduct product
\startbodymatter
%\at and \inline - \pagereference[knuth] don't work
cf. Knuth at \at{p.}[knuthpage
%\at and \inline - \pagereference[knuth] don't work
cf. Knuth at \at{p.}[knuthpage] \inline{line}[knuth]
% \in - \chapter[knuthchap] works
in \in{Chapter}[knuthchap].
\stopbodymatter
\startappendices
\component appendix
\stopappendices
\stopproduct
--
And my
}[topica])
But this does not work (mkiv 27-07).
With \definedelimtedtext you can create your own quote and quotation command or
environment.
You can set your own references in the text with \pagereference:
\starttext
This is the first topic.\pagereference[topic:1]
\page
This is another topic
of my document with, for
instance (See discussion on page xx)?
You can set your own references in the text with \pagereference:
\starttext
This is the first topic.\pagereference[topic:1]
\page
This is another topic.\pagereference[topic:2]
\blank
This example contains two topic
Dear ConTeXt user's,
Today I upgraded to the latest MkIV release 2012.04.06!
I noticed that the \pagereference command is not working any more. Page
referencing between external documents isn't working either!
Please run the included example file!
Regards,
Gerard Verhaag
% Pagereference
Am 07.04.2012 um 12:17 schrieb Verhaag, G.C.H.M.:
Dear ConTeXt user's,
Today I upgraded to the latest MkIV release 2012.04.06!
I noticed that the \pagereference command is not working any more. Page
referencing between external documents isn't working either!
There are indeed problems
On 7-4-2012 12:42, Wolfgang Schuster wrote:
Am 07.04.2012 um 12:17 schrieb Verhaag, G.C.H.M.:
Dear ConTeXt user's,
Today I upgraded to the latest MkIV release 2012.04.06!
I noticed that the \pagereference command is not working any more. Page
referencing between external documents isn't
Am 07.04.2012 um 15:16 schrieb Hans Hagen:
On 7-4-2012 12:42, Wolfgang Schuster wrote:
Am 07.04.2012 um 12:17 schrieb Verhaag, G.C.H.M.:
Dear ConTeXt user's,
Today I upgraded to the latest MkIV release 2012.04.06!
I noticed that the \pagereference command is not working any more
On 04/07/2012 03:16 PM, Hans Hagen wrote:
On 7-4-2012 12:42, Wolfgang Schuster wrote:
Am 07.04.2012 um 12:17 schrieb Verhaag, G.C.H.M.:
Dear ConTeXt user's,
Today I upgraded to the latest MkIV release 2012.04.06!
I noticed that the \pagereference command is not working any more.
Page
Hi ConTeXt User's,
Again I'm struggling with cross-document referencing! The page of the
\pagereference[def] command is shown correctly in the pdf result of the
attached test.tex file using \at{page}[def]!
However when I refer to this reference using \at{page}[tst::def] from
the external
Hello,
in the wiki I have built links for every command to the
archiv of the ConTeXt-Mailinglist: e.G.
http://wiki.contextgarden.net/Command/pagereference
See at the bottom.
It's not perfekt jet - but it helps to get more information
to each command and to integrate the wiki
Excellent! This is really helpful.
Thanks, Jörg
On Mar 28, 2012, at 2:33 PM, Jan Heinen wrote:
Hello,
in the wiki I have built links for every command to the archiv of the
ConTeXt-Mailinglist: e.G. http://wiki.contextgarden.net/Command/pagereference
See at the bottom.
It's not perfekt
/pagereference
See at the bottom.
It's not perfekt jet - but it helps to get more information to each
command and to integrate the wiki and the mailinglist.
What do you think about this and could it be improved?
Maybe we should give ConTeXt-beginners this hint when they ask
questions in the mailinglist
On 2012-03-28 14:33, Jan Heinen wrote:
Hello,
in the wiki I have built links for every command to the archiv of
the ConTeXt-Mailinglist: e.G.
http://wiki.contextgarden.net/Command/pagereference
See at the bottom.
It's not perfekt jet - but it helps to get more information to each
]
{S. 6}
[SeiteSechs]
}
}
}%
\starttext
\dorecurse{5}{\navmenue \input tufte \page}
\pagereference[SeiteSechs]
\dorecurse{5}{\navmenue \input tufte \page}
\stoptext
Regards
Jannis
--
Better organization and integration of all ConTeXT-information:
http://wiki.contextgarden.net
]
\par
\button {\rotate[rotation=90]{\strut Ende}}
[LastPage]
\par
\button {\rotate[rotation=90]{\strut S. 6}}
[SeiteSechs]
\par
}
}%
\starttext
\dorecurse{5}{\navmenue \input tufte \page}
\pagereference[SeiteSechs]
\dorecurse{5}{\navmenue \input tufte \page
. 6}
[SeiteSechs]
}
}
}%
\starttext
\dorecurse{5}{\navmenue \input tufte \page}
\pagereference[SeiteSechs]
\dorecurse{5}{\navmenue \input tufte \page}
\stoptext
Regards
Jannis
--
Better organization and integration of all ConTeXT-information:
http://wiki.contextgarden.net
trick is possible: just
mark the object with \pagereference[unique id]. The data is stored
into the *tuc file, which can be read from the second pass.
Many thanks for the code, Luigi.
My question was to basic, but I wondered why this didn't worked.
Of course, it's possible doesn't mean it's
with \pagereference[unique id]. The data is stored
into the *tuc file, which can be read from the second pass.
Luigi, I'm afraid it doesn't work as expected in the real file
Lines are numbered there with [step=5]. So I get in headers only
actually numbered lines, although it header should contain the real line
is possible: just
mark the object with \pagereference[unique id]. The data is stored
into the *tuc file, which can be read from the second pass.
Luigi, I'm afraid it doesn't work as expected in the real file
I'm not surprised
Lines are numbered there with [step=5]. So I get in headers only
}}\pagereference[LIN:\linenumber:\currentpage]}
\setuplinenumbering[command=\LinenumberCommand,step=5]
\startsetups linenumber
\startluacode
local l=0;
if document.my_name_space == nil then return end;
if document.my_name_space.pages == nil then return end;
local pages
/LuaTeX?
Absolutely no. As Hans said, a quick/dirty trick is possible: just mark the
object
with \pagereference[unique id]. The data is stored into the *tuc file,
which can be read
from the second pass.
Then always run with
$context --purgeall ; context yourfile.mkiv
Of course, it's possible
On Wed, Feb 29, 2012 at 7:01 AM, Steffen Wolfrum cont...@st.estfiles.dewrote:
Am 28.02.2012 um 16:28 schrieb Steffen Wolfrum:
Hi,
when I run (vers. 20120116) this minimal product with MyProduct.tex,
I get ?? instead of the pagenumber for \at[abb:n] to
\pagereference[abb:n
Am 28.02.2012 um 16:28 schrieb Steffen Wolfrum:
Hi,
when I run (vers. 20120116) this minimal product with MyProduct.tex,
I get ?? instead of the pagenumber for \at[abb:n] to \pagereference[abb:n].
Is there a fix, or did I do a mistake?
Just to be sure, I tested pagereference over
\pagereference[red]Here is a red car.
\page
\pagereference[green]Here is a green car.
\page
\pagereference[red]Here is a red bus.
\page
\pagereference[green]Here is a green car.
\page
\stoptext
___
If your question
page 2
is wrong)
\page
\pagereference[red]Here is a red car.
\page
\pagereference[green]Here is a green car.
\page
\pagereference[red]Here is a red bus.
\page
\pagereference[green]Here is a green car.
\page
that won't work as references need to be unique
[green-1]
[green-2]
etc
am the only one and
first who wants to reference to more than one page.
I'm working on this
but the idea of reference is that there is exactly one label for an
object (which can be the same)
so that \pagereference[red]foo
\pagereference[red]boo
is wrong because the label red has more than one
that \pagereference[red]foo
\pagereference[red]boo
is wrong because the label red has more than one reference, while
\pagereference[red:1]foo
\pagereference[red:2]foo
is ok (as hans said).
Using this idea, and the two pass way, we can wrap \pagereference and \at
with \PageReference and \At,
wheret
Happy New Year!
I want to reference to more than one page. In the exampe
above only page 2 is referenced - how to get 2,4 ?
\starttext
You can find red vehicles on \at{page:}[red]
Here I want to see: You can find red vehicles on page 2,4
(only page 2 is wrong)
\page
\pagereference[red
On 21-11-2011 20:36, Hans van der Meer wrote:
There is something with creating hyperlinks I do not understand.
Did \setupinteraction[state=start]
Situation-1: \placefigure[][reftofigure].. gives me with \in.. a clickable link.
Situation-2: \pagereference[reftoplace] (or \textreference
There is something with creating hyperlinks I do not understand.
Did \setupinteraction[state=start]
Situation-1: \placefigure[][reftofigure].. gives me with \in.. a clickable link.
Situation-2: \pagereference[reftoplace] (or \textreference, \reference} do give
me a link-colored text with \in{txt
, it is very serious for me, because the I cannot prepare the upcoming
texts for my students!
Furthermore: \pagereference now introduces spurious white.
For the bad vertical spacing on the left I have submitted a tentative bugfix to
Hans Hagen.
Hans van der Meer
\setuppapersize[A6][A6]
\setupformulae
`\placetable`
where Wolfgang proposed a quick fix if you are not using sub formulas
and
Re: [NTG-context] Edid of reference in Wiki
where Hans responded he wanted to take a look this weekend.
Furthermore: \pagereference now introduces spurious white.
Please open a now thread
I see that a \pagereference[ref:a] gets a link to it with \at{see}[ref:a]. But
when I click on it, the jump to that page is not made. Not in Adobe Reader, nor
in Apple's Preview.
Is that the intended behaviour? Is it something I am doing wrong? Or what?
Hans van der Meer
]%
\fi}
{\donothing}}
\starttext
\pagereference[one]
\pagereference[two]
One: \SamePage[one]
\page
Two: \SamePage[one]
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add
\at[#1]%
\fi}
{\donothing}}
\starttext
\pagereference[one]
\pagereference[two]
One: \SamePage[one]
\page
Two: \SamePage[one]
\stoptext
Wolfgang
___
If your question is of interest
{\currentreferencerealpage}}{\def\PageTwoA{0}}
\doifreferencefoundelse{two-b}{\edef\PageTwoB{\currentreferencerealpage}}{\def\PageTwoB{0}}
(\PageOne) (\PageTwo ) (\PageTwoA) (\PageTwoB)
one \pagereference[one] \page
two \pagereference[two-a]
two \pagereference[two-b] \page
\stoptext
And if you want pure lua, you
; Fusce pretium orci lectus, a
egestas sapien. Maecenas ante tellus, cursus sed feugiat non, lacinia
sit amet dui. Nam vel tortor sed leo pulvinar ornare.
\pagereference[mycomment]
This is my comment...
I'd like to get something like this:
Vestibulum ante _ipsum primis_^1 in faucibus orci
et ultrices posuere cubilia Curae; Fusce pretium orci lectus, a
egestas sapien. Maecenas ante tellus, cursus sed feugiat non, lacinia
sit amet dui. Nam vel tortor sed leo pulvinar ornare.
\pagereference[mycomment]
This is my comment...
I'd like to get something like this:
Vestibulum ante _ipsum
}}
\stopsetups
\definereferenceformat[refa][type=page]
\definereferenceformat[refb][type=page,style=italic]
\definereferenceformat[refc][setups=reference:c,color=red]
\starttext
\pagereference[test]
\startlines
A:\refa[test]
B:\refb[test]
C:\refc[test]
\stoplines
\stoptext
Wolfgang
\pagereference[test]
\startlines
A:\refa[test]
B:\refb[test]
C:\refc[test]
\stoplines
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
\else
\doglobal\newcounter\ApparatusCounter
\fi
\pagereference[apparatus:startpage:\ApparatusCounter]%
\startline[apparatus:line:\ApparatusCounter]{#1}\stopline[apparatus:line:\ApparatusCounter]%
\pagereference[apparatus:stoppage:\ApparatusCounter]
\expanded
1 - 100 of 135 matches
Mail list logo