ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: Conditional float references
Date: Wed, 25 Sep 2013 17:28:25 +0200	[thread overview]
Message-ID: <20130925152825.GA17308@homerow> (raw)
In-Reply-To: <61307ACC-A811-42A4-B5E9-0754DB95AB6D@gmail.com>


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

On 2013–09–25 Otared Kavian wrote:

> Also after applying your patch everything works as expected. I
> tested your file with some maths formulas and changed even the
> language to French with:
>
> \unprotect
> \setuplabeltext
>   [\s!fr]
>   [\v!atpage=page\nobreakspace, %% “at page” sounds weird

Redefining atpage should not be necessary, it is already defined in
the core as “à la page”.

@native speakers: Is it “on page 3” or “at page 3”? I think “at
page” sounds weird. Either I remove my redefinition or it should be
corrected in the core.

> However maybe it would be better to have some setup options like:
> 	\setuplabeltext[smartref][atpage={page},
> 			previouspage={à la page précédente}, %or {page précédente}
> 			nextpage={à la page suivante}] %or {page suivante}

Label texts are a general context mechanism and are set per
language, so all macros in all modules display consistent strings.

> 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[alternative=smartref]
> and then have \smartref be defined automatically.

I'm not sure if that makes sense given the current commands. The
referencing commands are not interchangeable, use different syntax
and behave different.

> A final remark concerns the possibility to visualize the reference
> points when one is in the process of proof reading: at least in
> maths, it is usual to have dozens of reference points to formulas,
> lemmas, theorems, etc, and it is quite useful to be able to
> visualize such things.

I have in mind that such functionality exists. My guess that
\setupversion[temporary] should do the job was unfortunately wrong.

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 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
___________________________________________________________________________________

  reply	other threads:[~2013-09-25 15:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-22 21:02 Marco Patzer
2013-09-23 16:46 ` Hans Hagen
2013-09-23 22:24   ` Marco Patzer
2013-09-25  3:46 ` Otared Kavian
2013-09-25  7:29   ` Marco Patzer
2013-09-25 14:40     ` Otared Kavian
2013-09-25 15:28       ` Marco Patzer [this message]
2013-10-08 21:23 ` Marco Patzer
     [not found] <mailman.222.1379923068.18665.ntg-context@ntg.nl>
2013-09-24 11:37 ` Robert Blackstone
2013-09-24 11:48   ` Marco Patzer
     [not found] <mailman.236.1380044639.18665.ntg-context@ntg.nl>
2013-09-24 19:52 ` Robert Blackstone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130925152825.GA17308@homerow \
    --to=lists@homerow.info \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).