ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* What is the command to define the behavior of \goto?
@ 2008-11-17 13:02 Yue Wang
  2008-11-17 14:47 ` Aditya Mahajan
  0 siblings, 1 reply; 7+ messages in thread
From: Yue Wang @ 2008-11-17 13:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi:

I don't want bold font for \goto, Where can I change it?

BTW, some users here suggest that maybe we can define a hypperref-like
linkcolor, citecolor, urlcolor in \setupinteraction, I think it will
be a good idea.

Yue Wang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: What is the command to define the behavior of \goto?
  2008-11-17 13:02 What is the command to define the behavior of \goto? Yue Wang
@ 2008-11-17 14:47 ` Aditya Mahajan
  2008-11-23  6:17   ` Yue Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2008-11-17 14:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 17 Nov 2008, Yue Wang wrote:

> Hi:
>
> I don't want bold font for \goto, Where can I change it?

\setupinteraction[style=] % default is style=bold

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: What is the command to define the behavior of \goto?
  2008-11-17 14:47 ` Aditya Mahajan
@ 2008-11-23  6:17   ` Yue Wang
  2008-11-23  7:59     ` Aditya Mahajan
  0 siblings, 1 reply; 7+ messages in thread
From: Yue Wang @ 2008-11-23  6:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi:

> \setupinteraction[style=] % default is style=bold
>

Thank you, Aditya! Previously I was searching command like setupgoto
or some stuffs like that:(
btw, how to link to the specific position instead of go to that page?
if i point to "Equation 12", my context document will only flow to the
page which equation 12 is in, but not go to the equation
automatically. But in my LaTeX file, it will if I use hyperref
package.

Yue Wang

> Aditya
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: What is the command to define the behavior of \goto?
  2008-11-23  6:17   ` Yue Wang
@ 2008-11-23  7:59     ` Aditya Mahajan
  2008-11-23 11:07       ` Yue Wang
       [not found]       ` <68bfdc900811230302j6cb5187eq61b86fdb3cb18f79@mail.gmail.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Aditya Mahajan @ 2008-11-23  7:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 23 Nov 2008, Yue Wang wrote:

> Hi:
>
>> \setupinteraction[style=] % default is style=bold
>>
>
> Thank you, Aditya! Previously I was searching command like setupgoto
> or some stuffs like that:(
> btw, how to link to the specific position instead of go to that page?
> if i point to "Equation 12", my context document will only flow to the
> page which equation 12 is in, but not go to the equation
> automatically. But in my LaTeX file, it will if I use hyperref
> package.

\placeformula[eq:pythagoras]
\startformula
  a^2 + b^2 = c^2
\stopformula

See \in {Equation}[eq:pythagoras] \unknown.

To refer to sections etc, you can use

\section[sec:test] {A test section}

In \in{Section}[sec:test] we \unknown. The name of that section was 
\at[sec:test].

This is called referencing in ConTeXt. You can search the excursion and 
the main manual for some more details.

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: What is the command to define the behavior of \goto?
  2008-11-23  7:59     ` Aditya Mahajan
@ 2008-11-23 11:07       ` Yue Wang
       [not found]       ` <68bfdc900811230302j6cb5187eq61b86fdb3cb18f79@mail.gmail.com>
  1 sibling, 0 replies; 7+ messages in thread
From: Yue Wang @ 2008-11-23 11:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1752 bytes --]

The mailing list blocked my mail because the attachment is too big:(
Ummm... I think we should increase the capacity ...
 Here is the original message:
I remove the test.pdf, but one can always compile it using the tex
file in the attachment.

On Sun, Nov 23, 2008 at 3:59 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Sun, 23 Nov 2008, Yue Wang wrote:
>
>> Hi:
>>
>>> \setupinteraction[style=] % default is style=bold
>>>
>>
>> Thank you, Aditya! Previously I was searching command like setupgoto
>> or some stuffs like that:(
>> btw, how to link to the specific position instead of go to that page?
>> if i point to "Equation 12", my context document will only flow to the
>> page which equation 12 is in, but not go to the equation
>> automatically. But in my LaTeX file, it will if I use hyperref
>> package.
>
> \placeformula[eq:pythagoras]
> \startformula
>  a^2 + b^2 = c^2
> \stopformula
>
> See \in {Equation}[eq:pythagoras] \unknown.
>
> To refer to sections etc, you can use
>
> \section[sec:test] {A test section}
>
> In \in{Section}[sec:test] we \unknown. The name of that section was
> \at[sec:test].
>
> This is called referencing in ConTeXt. You can search the excursion and
> the main manual for some more details.
>
> Aditya
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>

[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 506 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fwd: What is the command to define the behavior of \goto?
       [not found]         ` <68bfdc900811230303p7bc155a7pd979a9b3da9d8877@mail.gmail.com>
@ 2008-11-23 16:00           ` Aditya Mahajan
  2008-11-23 23:38             ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2008-11-23 16:00 UTC (permalink / raw)
  To: Yue Wang; +Cc: mailing list for ConTeXt users

On Sun, 23 Nov 2008, Yue Wang wrote:

>> This is called referencing in ConTeXt. You can search the excursion and
>> the main manual for some more details.
>
> still go to the page, not go to the specific place. see the attachment.
>
> what I want is the feature that can go to certain area in the pdf document page.

Ah. The link is actually going to a specific place in a page, but the 
pdfviewer shows the entire page due to the default value of focus. It can 
be changed using

\setupinteraction[focus=standard]

> for example, in CTAN, there is a document typesetted in LaTeX (using
> hyperref package) called  A Survey of Free Math Fonts for TEX and
> LATEX, you can find it in CTAN/documentation/Free_Math_Font_Survey/.
> Go to page 1 and see Contents.  If I click  Core Postscript Fonts, it
> will not only go to page 8, but also place the title at the top of the
> reader window. Obviously this is different compared to the hyperlink
> feature in ConTeXt.

ConTeXt behaviour is not perfect in this regard. Sometimes the link jumps 
higher or lower than the actual section title. But I could never determine 
if it was the fault of the pdf viewer or ConTeXt.

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Fwd: What is the command to define the behavior of \goto?
  2008-11-23 16:00           ` Fwd: " Aditya Mahajan
@ 2008-11-23 23:38             ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2008-11-23 23:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:

> ConTeXt behaviour is not perfect in this regard. Sometimes the link jumps 
> higher or lower than the actual section title. But I could never determine 
> if it was the fault of the pdf viewer or ConTeXt.

annotation areas in pdf are not part of the stream but take place on in 
a separate coordination space in pdf; in principle there is no specific 
target in the stream, just 'oon the page' and there are some 'view' 
options; much of this (and the trickery that can be used) is viewer 
dependent; for instance the pdf hack for following columns (threads) got 
different treatment in successive versions of acrobat so i gave up on it 
(apart from the fact that i hate inconsistent scaling when following 
hyperlinks)

i might take a look at what the latest possibilities are bit not before 
i start upgrading the backend (mkiv only)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-11-23 23:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-17 13:02 What is the command to define the behavior of \goto? Yue Wang
2008-11-17 14:47 ` Aditya Mahajan
2008-11-23  6:17   ` Yue Wang
2008-11-23  7:59     ` Aditya Mahajan
2008-11-23 11:07       ` Yue Wang
     [not found]       ` <68bfdc900811230302j6cb5187eq61b86fdb3cb18f79@mail.gmail.com>
     [not found]         ` <68bfdc900811230303p7bc155a7pd979a9b3da9d8877@mail.gmail.com>
2008-11-23 16:00           ` Fwd: " Aditya Mahajan
2008-11-23 23:38             ` Hans Hagen

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).