I’m trying to create something (like varioref in latex) that suppresses \at
output if the referenced item is on the current page. The main decision point
is with
\doifelse{\at[ref2]}{\rawcountervalue[page]}{ same page }{ different page }
no matter what I try (expdoifelse and other ways to get
Thanks for the reply. \thispage is producing no output in all the places it is
being invoked
Aidan
> On 24 Feb 2016, at 15:35, ntg-context-requ...@ntg.nl wrote:
>
> startsetups[referenceformat:thispage]
> \doifelse{\filterreference{page}}{\rawcountervalue[userpage]}
> {{\tttf !?}}
Thanks for the reply. \thispage is producing no output in all the places it is
being invoked
Aidan
> On 24 Feb 2016, at 15:35, ntg-context-requ...@ntg.nl wrote:
>
> startsetups[referenceformat:thispage]
>\doifelse{\filterreference{page}}{\rawcountervalue[userpage]}
>{{\tttf !?}}
>
I’m using using pandoc and ConTeXt to generate pdf documentation from markdown.
I started with the option to use latex (xetex) and swapped to ConTeXt, letting
pandoc create the conTeXt file and invoke ConTeXt on it.C
Both produce a table of contents active links etc. which is pretty much
Thanks Pablo
That did it. I found the \placebookmarks in the pandoc template once I knew
what I was looking for.
I also found
\setupinteractionscreen[option=bookmark]
so I get it displayed when the document is opened.
Aidan
When I map from XML to ConTeXt there are lots of rules mapping lots of small
bit of XML to small bits of ConTeXt and it is hard get the big picture. If
something doesn’t work in the final PDF document it can be hard to know if the
mapping failed to match the XML or if the generated ConTeXt was
I must be doing something stupid. I’ve just installed the standalone version.
Saved the code as test3.tex and invoked it with
context test3.tex
It reports the version as
ConTeXt ver: 2016.03.01 14:03 MKIV beta fmt: 2016.3.1 int: english/english
And still no output from \thispage
SOLVED: I cut and pasted the code from the original response and failed to
notice that the very first character i.e. the ‘\’ was missing in the message.
It all executed with no error messages!! Works fine with the minor correction.
Thanks for your help.
Aidan
Is there a way to detect if two references are on the same page? I looking for
a way to determine if I should print a single page number or a range of numbers.
___
If your question is of interest to others as well,
I have been looking at various options for controlling how figures are placed
on a page and based on answers to similar questions in this mailing list I
tried various options. The most flexible one seems to be using tables e.g.
\setupexternalfigures[location={default}]
\starttext
Thanks Aditya
That solved the problem
>
>
> On Wed, 30 Mar 2016, Aidan Nichol wrote:
>
>> I have been looking at various options for controlling how figures are
>> placed on a page and based on answers to similar questions in this mailing
>> list I tried vari
> On Thu, 31 Mar 2016 21:49:56 -0400 (EDT)
> Aditya Mahajan wrote:
>
> On Thu, 31 Mar 2016, Alan BRASLAU wrote:
>
>> On Thu, 31 Mar 2016 17:51:07 -0400
>> Aditya Mahajan wrote:
>>
>>> @Hans: Does it make sense to disable \incrementcounter if
>>>
I’ve been have been having a couple of problems with swapping pages and so I
went back to the example in Context Garden using the latest beta
\definepapersize[main] [A4]
\definepapersize[extra][A4,landscape]
\setuppapersize[main]
\starttext
Page 1. Portrait \page
Page 2. Portrait \page
13 matches
Mail list logo