ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* reference a paragraph
@ 2020-03-25 14:09 Alan Braslau
  2020-03-25 14:14 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Braslau @ 2020-03-25 14:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

One creates references for structure elements as, for example,

\startsubject [reference=sub:mysubject]
   ...
\stopsubject

and then can refer to these using, e.g.

\on{page} [sub:subject]



How might one reference a *paragraph*, 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?

Thank you

Alan
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: reference a paragraph
  2020-03-25 14:09 reference a paragraph Alan Braslau
@ 2020-03-25 14:14 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2020-03-25 14:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Alan Braslau

Alan Braslau schrieb am 25.03.2020 um 15:09:
> Hello,
> 
> One creates references for structure elements as, for example,
> 
> \startsubject [reference=sub:mysubject]
>     ...
> \stopsubject
> 
> and then can refer to these using, e.g.
> 
> \on{page} [sub:subject]
> 
> 
> 
> How might one reference a *paragraph*, 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
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2020-03-25 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 14:09 reference a paragraph Alan Braslau
2020-03-25 14:14 ` 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).