ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Controlling \at output
@ 2016-03-01 15:06 Aidan Nichol
  2016-03-01 15:16 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Aidan Nichol @ 2016-03-01 15:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 308 bytes --]

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


Aidan

[-- Attachment #1.2: Type: text/html, Size: 907 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Controlling \at output
@ 2016-03-01 15:59 Aidan Nichol
  0 siblings, 0 replies; 7+ messages in thread
From: Aidan Nichol @ 2016-03-01 15:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <mailman.622.1456328114.2231.ntg-context@ntg.nl>]
* Controlling \at output
@ 2016-02-24 11:47 Aidan Nichol
  2016-02-24 13:35 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Aidan Nichol @ 2016-02-24 11:47 UTC (permalink / raw)
  To: ntg-context

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 the current page) the values never match.

\doifelse{\at[ref2]}{\at[ref1]}….. (ref1 and ref2 are on the same page but don’t match

\doifelse{\rawcountervalue[page]}{1}…  it is page 1 but always fails.

The only match I get is with

\doifelse{\at[ref2]}{\at[ref2]}….  which is pretty useless

Presumably I’m doing something stupid. Or do i have to go for a much lower level approach
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-01 15:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-01 15:06 Controlling \at output Aidan Nichol
2016-03-01 15:16 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2016-03-01 15:59 Aidan Nichol
     [not found] <mailman.622.1456328114.2231.ntg-context@ntg.nl>
2016-02-28 15:08 ` Aidan Nichol
2016-02-28 21:13   ` Wolfgang Schuster
2016-02-24 11:47 Aidan Nichol
2016-02-24 13:35 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).