Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Otared Kavian
Actually in the context of references, not only parentheses as Wolfgang pointed 
out, but also some words are reserved, such as nextpage and previous page:

\setupinteraction[state=start]

\starttext

\goto{Second page}[page(2)]

\goto{Go to next page}[nextpage]

\page

\goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]

\goto{Go to previous page}[previouspage]

\stoptext

Best regards: OK

> On 11 Jul 2019, at 11:03, Peter Rolf  wrote:
> 
> Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster:
>> Sanjoy Mahajan schrieb am 10.07.2019 um 04:15:
>>> Dear List,
>>> 
>>> Warning: The following may be a bug or feature or just my
>>> misunderstanding!  It seems that parentheses cause trouble in
>>> references.
>> Braces are used for the argument of reference actions.
>> 
>> \setupinteraction[state=start]
>> 
>> \starttext
>> 
>> \goto{Second page}[page(2)]
>> 
>> \page
>> 
>> \goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]
>> 
>> \stoptext
>> 
>> Wolfgang
>> 
> 
> I see. Thanks for clearifying.
> 
> 
> Peter
> ___
> 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
> ___

___
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
___


Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Peter Rolf
Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster:
> Sanjoy Mahajan schrieb am 10.07.2019 um 04:15:
>> Dear List,
>>
>> Warning: The following may be a bug or feature or just my
>> misunderstanding!  It seems that parentheses cause trouble in
>> references.
> Braces are used for the argument of reference actions.
>
> \setupinteraction[state=start]
>
> \starttext
>
> \goto{Second page}[page(2)]
>
> \page
>
> \goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]
>
> \stoptext
>
> Wolfgang
>

I see. Thanks for clearifying.


Peter
___
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
___


Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Wolfgang Schuster

Sanjoy Mahajan schrieb am 10.07.2019 um 04:15:

Dear List,

Warning: The following may be a bug or feature or just my
misunderstanding!  It seems that parentheses cause trouble in
references.

Braces are used for the argument of reference actions.

\setupinteraction[state=start]

\starttext

\goto{Second page}[page(2)]

\page

\goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]

\stoptext

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
___


Re: [NTG-context] [DKIM Failure] Re: reference containing parentheses causes trouble

2019-07-10 Thread Peter Rolf
Am 10.07.2019 um 13:36 schrieb Sanjoy Mahajan:
> On 2019-07-10 13:04, Peter Rolf  wrote:
>
>> Hi Sanjoy,
>>
>> I think it's just the 'normal' limitations you have when setting a
>> variable/id name. Special characters, like parenthesis, are not allowed
>> here.
>
> Peter,
>
> I think that's right, but there are small differences.  For example,
> variables in most languages don't allow hyphens, because they are
> interpreted as minus signs.  But ConTeXt references do allow them (and I
> use them all the time).  That may be why I expected free reign to use
> any characters in the reference (except, as you say, for whitespace!)
> and wrote my script accordingly to turn problem titles into references
> (by replacing whitespace with a hyphen).
>

I agree (I always use the underscore instead of space). In general it's
best to avoid problems if you can.
If you use messy third party data as reference things are totally
different. In my current project I have one dead link out of 1275 (also
caused by parenthesis). Not enough to make me write some extra code to
deal with it.

Peter
___
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
___


Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Hans Hagen

On 7/10/2019 1:04 PM, Peter Rolf wrote:

Hi Sanjoy,

I think it's just the 'normal' limitations you have when setting a
variable/id name. Special characters, like parenthesis, are not allowed
here.

Even whitespace can be problematic. Yesterday I had a problem with a
reference (data driven) that has a trailing space (obviously a typo).
This space was 'eaten' by TeX, resulting in a broken link. Embracing the
argument helped here, but I haven't tested what happens, if you use
multiple spaces in a row...
indeed, references are actually a little language in their own (always 
have been)


\enabletrackers[structures.referencing.analyzing]

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] [DKIM Failure] Re: reference containing parentheses causes trouble

2019-07-10 Thread Sanjoy Mahajan
On 2019-07-10 13:04, Peter Rolf  wrote:

> Hi Sanjoy,
>
> I think it's just the 'normal' limitations you have when setting a
> variable/id name. Special characters, like parenthesis, are not allowed
> here.

Peter,

I think that's right, but there are small differences.  For example,
variables in most languages don't allow hyphens, because they are
interpreted as minus signs.  But ConTeXt references do allow them (and I
use them all the time).  That may be why I expected free reign to use
any characters in the reference (except, as you say, for whitespace!)
and wrote my script accordingly to turn problem titles into references
(by replacing whitespace with a hyphen).

-Sanjoy
___
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
___


Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Peter Rolf
Hi Sanjoy,

I think it's just the 'normal' limitations you have when setting a
variable/id name. Special characters, like parenthesis, are not allowed
here.

Even whitespace can be problematic. Yesterday I had a problem with a
reference (data driven) that has a trailing space (obviously a typo).
This space was 'eaten' by TeX, resulting in a broken link. Embracing the
argument helped here, but I haven't tested what happens, if you use
multiple spaces in a row...


Greetings,  Peter


Am 10.07.2019 um 04:15 schrieb Sanjoy Mahajan:
> Dear List,
>
> Warning: The following may be a bug or feature or just my
> misunderstanding!  It seems that parentheses cause trouble in
> references. MNWE:
>
>   \starttext
>   \section[sec:one(two)]{One}
>
>   As you see in sec.~\in[sec:one(two)],
>
>   \stoptext
>
> The "in sec.~\in[sec:one(two)]" typesets as "in sec. ??" and the log
> shows:
>
>   references  > start missing references
>
>   references  >1  [][sec:one(two)]
>
>   references  > stop missing references
>
> (It all works fine upon deleting "(two)" throughout.)
>
> Is this behavior known and expected?  If it is, I'll add a note to the
> "References" page on the wiki.
>
> -Sanjoy
> ___
> 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
> ___
>

___
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
___


[NTG-context] reference containing parentheses causes trouble

2019-07-09 Thread Sanjoy Mahajan
Dear List,

Warning: The following may be a bug or feature or just my
misunderstanding!  It seems that parentheses cause trouble in
references. MNWE:

  \starttext
  \section[sec:one(two)]{One}

  As you see in sec.~\in[sec:one(two)],

  \stoptext

The "in sec.~\in[sec:one(two)]" typesets as "in sec. ??" and the log
shows:

  references  > start missing references

  references  >1  [][sec:one(two)]

  references  > stop missing references

(It all works fine upon deleting "(two)" throughout.)

Is this behavior known and expected?  If it is, I'll add a note to the
"References" page on the wiki.

-Sanjoy
___
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
___


Re: [NTG-context] Move footnotes without moving the footnotes-reference

2019-04-24 Thread Huseyin Özoguz

Hello,

is this maybe not possible with activated grid? Or is my question just 
not clear:



\setuplayout[grid=yes]
\showgrid
\starttext
\dorecurse{779}{test }\footnote{Just a footnote. Wants to stay on this
page without forcing the last line of the first page to move on this
page (the 41rd line of the first page is now empty, but it should not).
So the reference of the footnote and the foonote itself would be on
different pages, but that would be ok. Is that possible?}
\stoptext


Thanks.

--
Huseyin Özoguz

E-Mail: h.oezo...@mmnetz.de

___
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
___


[NTG-context] Move footnotes without moving the footnotes-reference

2019-04-17 Thread Huseyin Özoguz

Dear list, here my min-example and the question within.

\setuplayout[grid=yes]
\showgrid
\starttext
\dorecurse{779}{test }\footnote{Just a footnote. Wants to stay on this 
page without forcing the last line of the first page to move on this 
page (the 41rd line of the first page is now empty, but it should not). 
So the reference of the footnote and the foonote itself would be on 
different pages, but that would be ok. Is that possible?}

\stoptext

Thank you.

--
Huseyin Özoguz

E-Mail: h.oezo...@mmnetz.de

___
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
___


[NTG-context] how to get reference label from stacked itemize

2019-04-06 Thread Floris van Manen

> Did you try \item[myref] and \in[myref]?
> 

This will do the job indeed.

\starttext
\startitemize[n]
\item One
\item[refTwo] Two
\startitemize[a]
\item A
\item[refB] B Test
\stopitemize
\stopitemize

see (\in[refTwo].\in[refB]) for Test



Is there some construction to combine an item reference with its parent item?

\startitemize[n]
\item One
\item Two
\startitemize[a]
\item A
\item[refB] B Test
\stopitemize

see (\in[parent, refB].\in[refB]) for Test




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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
___


Re: [NTG-context] how to get reference label from stacked itemize

2019-04-06 Thread Henning Hraban Ramm
Am 2019-04-06 um 16:51 schrieb Floris van Manen :

> Could someone point me to the docs where to find the proper way to
> make a reference to some stacked itemize context?
> 
> 
> \startitemize[n]
> \item One
> \item Two
> \startitemize[a]
> \item A
> \item B Test
> \stopitemize
> \stopitemize
> 
> how to label / ref the generated label for item 2.b ?
> 
> see (2.b) Test

Did you try \item[myref] and \in[myref]?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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
___


[NTG-context] how to get reference label from stacked itemize

2019-04-06 Thread Floris van Manen
Could someone point me to the docs where to find the proper way to
make a reference to some stacked itemize context?


\startitemize[n]
\item One
\item Two
\startitemize[a]
\item A
\item B Test
\stopitemize
\stopitemize

how to label / ref the generated label for item 2.b ?

see (2.b) Test



Thanks!
.Floris van Manen




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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
___


Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-11 Thread Marco Patzer
On Mon, 11 Feb 2019 09:11:53 +0100
Taco Hoekwater  wrote:

> Hi,
> 
> > On 11 Feb 2019, at 07:43, Hans Hagen  wrote:
> > 
> >   
> >> The wiki should reflect that, at least the old repo information
> >> (foundry.supelec.fr) should go. The manual can stay. But before
> >> removing the info on the wiki someone needs to confirm there's no
> >> repo any longer.  
> 
> Yes, the repo is gone.

Thanks for confirming. In case someone needs the sources, I uploaded
them to github (if no one objects). But I doubt I'll find the time
to keep it updated.

  https://github.com/mpfusion/context-contextman

> The page at https://wiki.contextgarden.net/Manuals feels a bit
> out-of-date anyway, but I removed the reference to supelec.fr
> right now.

While you're at it. This one points to supelec, too:

  https://wiki.contextgarden.net/Improving_the_manuals

> Clearly more work is needed on how to present the ConTeXt
> documentation, and that is something that we are still working on.

Never-ending story. But at least we should remove obviously
wrong/outdated information. If my wiki login still works and have
the permission, I can have a go myself some time this week.

> > Sure, so best coordinate this with taco who is cleaning up /
> > upgrading the wiki andhas a shadow to play with running. Actually
> > some more input on / help with that is welcome.  
> 
> And there is a mailing list to go with it:
> 
>   https://lists.contextgarden.net/mailman/listinfo/wiki

I didn't know there's a list for the wiki. Signed up.

Marco
___
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
___


Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-11 Thread Taco Hoekwater
Hi,

> On 11 Feb 2019, at 07:43, Hans Hagen  wrote:
> 
> 
>> The wiki should reflect that, at least the old repo information
>> (foundry.supelec.fr) should go. The manual can stay. But before
>> removing the info on the wiki someone needs to confirm there's no
>> repo any longer.

Yes, the repo is gone. The page at https://wiki.contextgarden.net/Manuals
feels a bit out-of-date anyway, but I removed the reference to supelec.fr
right now. Clearly more work is needed on how to present the ConTeXt
documentation, and that is something that we are still working on.

> Sure, so best coordinate this with taco who is cleaning up / upgrading the 
> wiki andhas a shadow to play with running. Actually some more input on / help 
> with that is welcome.

And there is a mailing list to go with it:

  https://lists.contextgarden.net/mailman/listinfo/wiki

Best wishes,
Taco

___
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
___


Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Hans Hagen

On 2/10/2019 8:13 PM, Marco Patzer wrote:

On Sun, 10 Feb 2019 17:43:09 +0100
Hans Hagen  wrote:


that effort was changed in cooking up smaller independent manuals ...


Which I personally like. It provides more in depth knowledge.


that ref manual still applies to much (encodings and fonts have
changed of course)


I know about the state of the manual. The question is, if it's
frozen and abandoned and the source repo closed down or if it has
moved elsewhere. But as it seems it's no longer updated.


indeed, so just forget about it


The wiki should reflect that, at least the old repo information
(foundry.supelec.fr) should go. The manual can stay. But before
removing the info on the wiki someone needs to confirm there's no
repo any longer.
Sure, so best coordinate this with taco who is cleaning up / upgrading 
the wiki andhas a shadow to play with running. Actually some more input 
on / help with that is welcome.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Marco Patzer
On Sun, 10 Feb 2019 17:43:09 +0100
Hans Hagen  wrote:

> that effort was changed in cooking up smaller independent manuals ...

Which I personally like. It provides more in depth knowledge.

> that ref manual still applies to much (encodings and fonts have
> changed of course)

I know about the state of the manual. The question is, if it's
frozen and abandoned and the source repo closed down or if it has
moved elsewhere. But as it seems it's no longer updated.

The wiki should reflect that, at least the old repo information
(foundry.supelec.fr) should go. The manual can stay. But before
removing the info on the wiki someone needs to confirm there's no
repo any longer.

Marco
___
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
___


Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Hans Hagen

On 2/10/2019 2:00 PM, Marco Patzer wrote:

Hi!

I'm wondering about the state of the reference manual
contextref.pdf. The wiki states

   “ConTeXt reference manual. This is the most comprehensive and
up-to-date general manual[…]” Date: September 27, 2013

There used to be SVN access on
foundry.supelec.fr/projects/contextman, but apparently it's
permanently down. Where is the manual hosted at the moment? The wiki
still points to foundry.supelec.fr:

   https://wiki.contextgarden.net/Improving_the_manuals

Some years ago there was a discussion about moving it to github. But
I doubt that has ever taken place.
that effort was changed in cooking up smaller independent manuals ... 
that ref manual still applies to much (encodings and fonts have changed 
of course)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Marco Patzer
Hi!

I'm wondering about the state of the reference manual
contextref.pdf. The wiki states

  “ConTeXt reference manual. This is the most comprehensive and
   up-to-date general manual[…]” Date: September 27, 2013

There used to be SVN access on
foundry.supelec.fr/projects/contextman, but apparently it's
permanently down. Where is the manual hosted at the moment? The wiki
still points to foundry.supelec.fr:

  https://wiki.contextgarden.net/Improving_the_manuals

Some years ago there was a discussion about moving it to github. But
I doubt that has ever taken place.

Marco
___
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
___


Re: [NTG-context] reference manual

2018-09-17 Thread Henri Menke
On 09/17/2018 09:12 PM, Hans van der Meer wrote:
> My most recent version of the "ConTeXt reference manual” is Hans Hagen,
> Taco Hoekwater September 27, 2013.
> Is there a newer edition available? I could not find one in the (beta)
> distribution in texmf-context/doc.

The ConTeXt reference manual is outdated.  Please see my documentation
guide on https://github.com/hmenke/context-examples/blob/master/GUIDE.md
for where to find documentation.

> 
> dr. Hans van der Meer
> 
> 
> 
> 
> ___
> 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
> ___
> 

___
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
___

[NTG-context] reference manual

2018-09-17 Thread Hans van der Meer
My most recent version of the "ConTeXt reference manual” is Hans Hagen, Taco 
Hoekwater September 27, 2013.
Is there a newer edition available? I could not find one in the (beta) 
distribution in texmf-context/doc.

dr. Hans van der Meer


___
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
___

Re: [NTG-context] letter: How to customize reference line?

2018-06-25 Thread Wolfgang Schuster

Hi Paul,

you have to use the \setupletterlayer command to change the entries in 
the reference line.


\usemodule[letter]

\setupletter
  [name={Joe User}]

\setupletterlayer
  [reference]
  [list={name,date}]

\startletter
...
\stopletter


If you don’t get a title for your entry you can add it with the 
\setuplettertext command.


\setuplettertext[de][mobile=Mobilfunknummer]


Wolfgang


Paul Menzel <mailto:pmenzel+ntg-cont...@molgen.mpg.de>
24. Juni 2018 um 15:40
Dear ConTeXt folks,


I am trying to customize the reference line in a letter.

```
$ context --version

mtx-context | ConTeXt Process Management 1.01
mtx-context |
mtx-context | main context file: 
/usr/share/texmf/tex/context/base/mkiv/context.mkiv

mtx-context | current version: 2017.05.15 21:48
```

The example from Wolfgang’s `correspondence.pdf` [1] doesn’t work for me.

```
\setupletter
  [name={Joe User},
   date=\currentdate]

\setupletter
  [list={name,date}]
```

Only the date is shown in the reference line.

The solution from chapter 9 also does not work. Still only the date is 
shown.


```
\setupletter
  [name={Joe User},
   date=\currentdate]

\setupletterstyle[reference][list={name,date}]
```

Do I need to create a new customized reference line to add other 
fields next to the date to the reference line?



Kind regards,

Paul


[1]: https://bitbucket.org/wolfs/correspondence/downloads/
___
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
___


___
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
___

[NTG-context] letter: How to customize reference line?

2018-06-25 Thread Paul Menzel

Dear ConTeXt folks,


I am trying to customize the reference line in a letter.

```
$ context --version

mtx-context | ConTeXt Process Management 1.01
mtx-context |
mtx-context | main context file: 
/usr/share/texmf/tex/context/base/mkiv/context.mkiv

mtx-context | current version: 2017.05.15 21:48
```

The example from Wolfgang’s `correspondence.pdf` [1] doesn’t work for me.

```
\setupletter
  [name={Joe User},
   date=\currentdate]

\setupletter
  [list={name,date}]
```

Only the date is shown in the reference line.

The solution from chapter 9 also does not work. Still only the date is 
shown.


```
\setupletter
  [name={Joe User},
   date=\currentdate]

\setupletterstyle[reference][list={name,date}]
```

Do I need to create a new customized reference line to add other fields 
next to the date to the reference line?



Kind regards,

Paul


[1]: https://bitbucket.org/wolfs/correspondence/downloads/
\usemodule[letter][extension=optimize]

\mainlanguage[de]

\setupletterstyle
  [option]
  [whitespace=line,
   optimize=yes,
   ]

\setupletter
  [toname={Vodafone Kabel Deutschland GmbH},
   toaddress={Kundenservice\\99116 Erfurt}]

\setupletter
  [fromname={Hanna Musterfrau},
   fromaddress={Irgendwostr. 18\\9 Nirgendwo}]

\setupletter
  [name={Joe User},
   date=\currentdate]

\setupletterstyle[reference][list={name,date}]

\starttext

\setupletter
  [subject={Reason},
   opening={Sehr geehrte Damen und Herren,},
   closing={Freundliche Grüße},
   signature={Paul Menzel}]

\startletter\relax
\dorecurse{4}{\input ward\par}
\stopletter

\stoptext
___
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
___

[NTG-context] \reference not working with reference prefix and focus=standard

2018-06-25 Thread Christoph Reller
Hi,

Thank you, Hans, for supporting the focus=standard option in interactive PDFs.

I stumbled over the following problem:

\setupinteraction[state=start, focus=standard]
\starttext
\pushreferenceprefix{parent}
\reference[label]{Text}Bla
\page
\about[label]
\popreferenceprefix
\stoptext

The link's visual appearance is generated correctly and the PDF link
annotation correctly references a named destination "parent:label". In
the PDF's catalog, however, the only named destination has a name
"label", lacking the prefix.

Could you please consider fixing this issue?

Kind regards,

Christoph
___
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
___

[NTG-context] adressing the name of a reference

2018-05-02 Thread Henning Hraban Ramm
Ahoi!
in this example I’d expect to get "Something" from one of the structurevariable 
commands, but get nothing.
How can I address this value? (It works with user variables, but since I need 
the reference anyway, I don’t want to define it twice.)

\starttext

\startchapter[title=Test,reference=Something]

Chapter reference: \namedstructurevariable{chapter}{reference} or 
\structurevariable{reference}

\stopchapter

\stoptext


Actually, I need the first and last page reference of each chapter, was trying 
like

\at[\namedstructurevariable{chapter}{reference}]–\at[end\namedstructurevariable{chapter}{reference}]

with

\reference[end\namedstructureuservariable{chapter}{reference}]{}

at the end of the chapter.

I guess there’s a better way.


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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
___

Re: [NTG-context] goto reference

2018-04-19 Thread Taco Hoekwater
Hi Hans (van der Meer),

Not sure if the next would be useful to you, but I want to mention anyway
that you can open a local external pdf file to a specific destination, 
using a syntax like this:

  \goto{localfile.pdf::externalreference}

Where “externalreference” is a defined destination in the external
pdf. Since my own generated pdfs tend to have special “page-” 
destinations, I can usually access my own external files with:

   \goto{myfile.pdf::page-5}

I believe this was intended to be used with \usereferences in mkii,
but it works just fine without the \usereferences call in mkiv. Mkiv
does not do any checking on the target validity, though.

This generates a /GoToR link instead of /URI, and that also means
that AR does not open the document in your browser (which is wildly 
annoying) :)

Looking at the lua code in lpdf-ano, it hints that it should be possible
to feed an actual page number in, but if that is true, then I have no idea
what the syntax should be … or it could be a case of NIY?


A quick and dirty way to create external page destinations is:

  \setupinteraction[state=start]
  \setuplayout[top=1sp,topdistance=1sp]
  \setuptoptexts[{\contentreference[page-\the\pageno]{}}]

Hope this helps,

Taco



> On 19 Apr 2018, at 10:55, Hans van der Meer  wrote:
> 
> Thanks, for verifying the behaviour. A pity it does not work as I hoped for, 
> but it is not disastrous, of course :-)
> 
> dr. Hans van der Meer
> 
> 
>> On 19 Apr 2018, at 10:12, Otared Kavian  wrote:
>> 
>> Hi,
>> 
>> I tested your example (after giving some local paths…) and the behaviour as 
>> follows:
>> (1) The full URL path with http:// opens the file at the desired page
>> (2) The full ftp:// local path opens my file at page 1
>> (3) The local path file:// to afile sitting in the same directory does not 
>> work at all.
>> 
>> I just saw that John Grasty gave an explanation from the specifications of 
>> Adobe: maybe that is the reason.
>> 
>> Best regards: OK
>> 
>>> On 19 Apr 2018, at 09:37, Hans van der Meer  wrote:
>>> 
>>> The goto to the internet as given by Wolfgang works here too, but other 
>>> configurations do not. Please ascertain my observations from the test given 
>>> below. You should replace the absolute path by your own, of course. Three 
>>> cases are programmed:
>>> (1) Wolfgang’s
>>> (2) full path ftp:// access opens file but at last page opened
>>> (3) local path does not open and brings up an Alert
>>> Run from TeXShop and also directly in Preview and Adobe Reader with the 
>>> same results.
>>> 
>>> Thanks in advance.
>>> 
>>> dr. Hans van der Meer
>>> 
>>> 
>>> \starttext
>>> \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
>>> Testing directly from \ConTeXt:\blank
>>> \setupinteraction[state=start,color=blue,style=italic]
>>> \goto{Beginners manual called with http:// opens in browser as 
>>> expected}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
>>> page=50)]\blank
>>> file test.pdf sits in the current directory.\blank
>>> \goto{click test.pdf page10 with ftp:///Users/... (full path given) opens 
>>> at last page opened not at page 10 in Apple's 
>>> Preview}[url(file:///Users/hansm/TeX/Test-tex/gotopdf/test.pdf\letterhash 
>>> page=10)]{\quad\bf Put your own path here!}\blank
>>> \goto{click test.pdf page10 with ftp://test.pdf (local path)) does not 
>>> open}[url(file://test.pdf\letterhash page=10)]\blank
>>> \stoptext
>>> 
>>> 
 On 19 Apr 2018, at 02:07, Otared Kavian  wrote:
 
 Hi,
 
 On my Mac, running MacOS High Sierra 10.13.5 Beta, the example given by 
 Wolfgang works fine: clicking on the link created by ConTeXt, from within 
 TeXShop, Safari opens that document on the desired page, that is the 
 physical page 58.
 
 Best regards: OK
 
> On 18 Apr 2018, at 23:04, Hans van der Meer  wrote:
> 
> Thanks. But this seems not to work on my Macintosh. Not in Preview, not 
> in Adobe Reader. 
> Typesetting resulted in valid-url.pdf#page=55 but the document opens at 
> the last page remebered by the application. Are there other Macintosh 
> users who can confirm this is not working on those machines or should I 
> do something else?
> 
> dr. Hans van der Meer
> 
> 
>> On 18 Apr 2018, at 21:58, Wolfgang Schuster 
>>  wrote:
>> 
>> For documents on the web you can add #page= to the url.
>> 
>> \setupinteraction[state=start]
>> 
>> \starttext
>> \goto{Beginners 
>> manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash
>>  page=58)]
>> \stoptext
>> 
>> Wolfgang
>>> Hans van der Meer 18. April 2018 um 21:12
>>> I have the following question about referencing.
>>> 
>>> With \goto{typeset_the_text}[url(file://a_file_location_to_goto.pdf)] I 
>>> can 

Re: [NTG-context] goto reference

2018-04-19 Thread Hans van der Meer
Thanks, for verifying the behaviour. A pity it does not work as I hoped for, 
but it is not disastrous, of course :-)

dr. Hans van der Meer


> On 19 Apr 2018, at 10:12, Otared Kavian  wrote:
> 
> Hi,
> 
> I tested your example (after giving some local paths…) and the behaviour as 
> follows:
> (1) The full URL path with http:// opens the file at the desired page
> (2) The full ftp:// local path opens my file at page 1
> (3) The local path file:// to afile sitting in the same directory does not 
> work at all.
> 
> I just saw that John Grasty gave an explanation from the specifications of 
> Adobe: maybe that is the reason.
> 
> Best regards: OK
> 
>> On 19 Apr 2018, at 09:37, Hans van der Meer > > wrote:
>> 
>> The goto to the internet as given by Wolfgang works here too, but other 
>> configurations do not. Please ascertain my observations from the test given 
>> below. You should replace the absolute path by your own, of course. Three 
>> cases are programmed:
>> (1) Wolfgang’s
>> (2) full path ftp:// access opens file but at last page opened
>> (3) local path does not open and brings up an Alert
>> Run from TeXShop and also directly in Preview and Adobe Reader with the same 
>> results.
>> 
>> Thanks in advance.
>> 
>> dr. Hans van der Meer
>> 
>> 
>> \starttext
>> \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
>> Testing directly from \ConTeXt:\blank
>> \setupinteraction[state=start,color=blue,style=italic]
>> \goto{Beginners manual called with http:// opens in browser as 
>> expected}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
>>  
>> page=50)]\blank
>> file test.pdf sits in the current directory.\blank
>> \goto{click test.pdf page10 with ftp:///Users/ ... (full path 
>> given) opens at last page opened not at page 10 in Apple's 
>> Preview}[url(file:///Users/hansm/TeX/Test-tex/gotopdf/test.pdf\letterhash 
>>  
>> page=10)]{\quad\bf Put your own path here!}\blank
>> \goto{click test.pdf page10 with ftp://test.pdf  (local 
>> path)) does not open}[url(file://test.pdf\letterhash 
>>  page=10)]\blank
>> \stoptext
>> 
>> 
>>> On 19 Apr 2018, at 02:07, Otared Kavian >> > wrote:
>>> 
>>> Hi,
>>> 
>>> On my Mac, running MacOS High Sierra 10.13.5 Beta, the example given by 
>>> Wolfgang works fine: clicking on the link created by ConTeXt, from within 
>>> TeXShop, Safari opens that document on the desired page, that is the 
>>> physical page 58.
>>> 
>>> Best regards: OK
>>> 
 On 18 Apr 2018, at 23:04, Hans van der Meer > wrote:
 
 Thanks. But this seems not to work on my Macintosh. Not in Preview, not in 
 Adobe Reader. 
 Typesetting resulted in valid-url.pdf#page=55 but the document opens at 
 the last page remebered by the application. Are there other Macintosh 
 users who can confirm this is not working on those machines or should I do 
 something else?
 
 dr. Hans van der Meer
 
 
> On 18 Apr 2018, at 21:58, Wolfgang Schuster  > wrote:
> 
> For documents on the web you can add #page= to the url.
> 
> \setupinteraction[state=start]
> 
> \starttext
> \goto{Beginners 
> manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
>  page=58)]
> \stoptext
> 
> Wolfgang
>> Hans van der Meer  18. April 2018 um 21:12
>> I have the following question about referencing.
>> 
>> With \goto{typeset_the_text}[url(file://a_file_location_to_goto 
>> .pdf)] I can open a pdf from inside the 
>> document that has been typeset. It would, however, be nice if I could 
>> further specify on which page of the pdf to open. Is this possible? Or 
>> is this a wish not to be fulfilled?
>> 
>> dr. Hans van der Meer
>> 
>> 
>> ___
>> 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 
>> ___
> 
> 

Re: [NTG-context] goto reference

2018-04-19 Thread Otared Kavian
Hi,

I tested your example (after giving some local paths…) and the behaviour as 
follows:
(1) The full URL path with http:// opens the file at the desired page
(2) The full ftp:// local path opens my file at page 1
(3) The local path file:// to afile sitting in the same directory does not work 
at all.

I just saw that John Grasty gave an explanation from the specifications of 
Adobe: maybe that is the reason.

Best regards: OK

> On 19 Apr 2018, at 09:37, Hans van der Meer  wrote:
> 
> The goto to the internet as given by Wolfgang works here too, but other 
> configurations do not. Please ascertain my observations from the test given 
> below. You should replace the absolute path by your own, of course. Three 
> cases are programmed:
> (1) Wolfgang’s
> (2) full path ftp:// access opens file but at last page opened
> (3) local path does not open and brings up an Alert
> Run from TeXShop and also directly in Preview and Adobe Reader with the same 
> results.
> 
> Thanks in advance.
> 
> dr. Hans van der Meer
> 
> 
> \starttext
> \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
> Testing directly from \ConTeXt:\blank
> \setupinteraction[state=start,color=blue,style=italic]
> \goto{Beginners manual called with http:// opens in browser as 
> expected}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
>  
> page=50)]\blank
> file test.pdf sits in the current directory.\blank
> \goto{click test.pdf page10 with ftp:///Users/ ... (full path 
> given) opens at last page opened not at page 10 in Apple's 
> Preview}[url(file:///Users/hansm/TeX/Test-tex/gotopdf/test.pdf\letterhash 
>  
> page=10)]{\quad\bf Put your own path here!}\blank
> \goto{click test.pdf page10 with ftp://test.pdf  (local 
> path)) does not open}[url(file://test.pdf\letterhash 
>  page=10)]\blank
> \stoptext
> 
> 
>> On 19 Apr 2018, at 02:07, Otared Kavian > > wrote:
>> 
>> Hi,
>> 
>> On my Mac, running MacOS High Sierra 10.13.5 Beta, the example given by 
>> Wolfgang works fine: clicking on the link created by ConTeXt, from within 
>> TeXShop, Safari opens that document on the desired page, that is the 
>> physical page 58.
>> 
>> Best regards: OK
>> 
>>> On 18 Apr 2018, at 23:04, Hans van der Meer >> > wrote:
>>> 
>>> Thanks. But this seems not to work on my Macintosh. Not in Preview, not in 
>>> Adobe Reader. 
>>> Typesetting resulted in valid-url.pdf#page=55 but the document opens at the 
>>> last page remebered by the application. Are there other Macintosh users who 
>>> can confirm this is not working on those machines or should I do something 
>>> else?
>>> 
>>> dr. Hans van der Meer
>>> 
>>> 
 On 18 Apr 2018, at 21:58, Wolfgang Schuster > wrote:
 
 For documents on the web you can add #page= to the url.
 
 \setupinteraction[state=start]
 
 \starttext
 \goto{Beginners 
 manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
  page=58)]
 \stoptext
 
 Wolfgang
> Hans van der Meer  18. April 2018 um 21:12
> I have the following question about referencing.
> 
> With \goto{typeset_the_text}[url(file://a_file_location_to_goto 
> .pdf)] I can open a pdf from inside the 
> document that has been typeset. It would, however, be nice if I could 
> further specify on which page of the pdf to open. Is this possible? Or is 
> this a wish not to be fulfilled?
> 
> dr. Hans van der Meer
> 
> 
> ___
> 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 
> ___
 
 ___
 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  : 

Re: [NTG-context] goto reference

2018-04-19 Thread John Grasty
Hello all,

Adobe seems to indicate (at least with Adobe Reader/Acrobat) that this isn't 
possible:

"If you use URLs containing local hard drive addresses (c:\folder\), you cannot 
link to page numbers or set destinations."

[https://helpx.adobe.com/acrobat/kb/link-html-pdf-page-acrobat.html]

Sorry to not be of more help,
John Grasty

> On 19 Apr 2018, at 09:37, Hans van der Meer  wrote:
> 
> The goto to the internet as given by Wolfgang works here too, but other 
> configurations do not. Please ascertain my observations from the test given 
> below. You should replace the absolute path by your own, of course. Three 
> cases are programmed:
> (1) Wolfgang’s
> (2) full path ftp:// access opens file but at last page opened
> (3) local path does not open and brings up an Alert
> Run from TeXShop and also directly in Preview and Adobe Reader with the same 
> results.
> 
> Thanks in advance.
> 
> dr. Hans van der Meer
> 
> 
> \starttext
> \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
> Testing directly from \ConTeXt:\blank
> \setupinteraction[state=start,color=blue,style=italic]
> \goto{Beginners manual called with http:// opens in browser as 
> expected}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
> page=50)]\blank
> file test.pdf sits in the current directory.\blank
> \goto{click test.pdf page10 with ftp:///Users/... (full path given) opens at 
> last page opened not at page 10 in Apple's 
> Preview}[url(file:///Users/hansm/TeX/Test-tex/gotopdf/test.pdf\letterhash 
> page=10)]{\quad\bf Put your own path here!}\blank
> \goto{click test.pdf page10 with ftp://test.pdf (local path)) does not 
> open}[url(file://test.pdf\letterhash page=10)]\blank
> \stoptext
> 
> 
>> On 19 Apr 2018, at 02:07, Otared Kavian  wrote:
>> 
>> Hi,
>> 
>> On my Mac, running MacOS High Sierra 10.13.5 Beta, the example given by 
>> Wolfgang works fine: clicking on the link created by ConTeXt, from within 
>> TeXShop, Safari opens that document on the desired page, that is the 
>> physical page 58.
>> 
>> Best regards: OK
>> 
>>> On 18 Apr 2018, at 23:04, Hans van der Meer  wrote:
>>> 
>>> Thanks. But this seems not to work on my Macintosh. Not in Preview, not in 
>>> Adobe Reader. 
>>> Typesetting resulted in valid-url.pdf#page=55 but the document opens at the 
>>> last page remebered by the application. Are there other Macintosh users who 
>>> can confirm this is not working on those machines or should I do something 
>>> else?
>>> 
>>> dr. Hans van der Meer
>>> 
>>> 
 On 18 Apr 2018, at 21:58, Wolfgang Schuster  
 wrote:
 
 For documents on the web you can add #page= to the url.
 
 \setupinteraction[state=start]
 
 \starttext
 \goto{Beginners 
 manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
 page=58)]
 \stoptext
 
 Wolfgang
> Hans van der Meer 18. April 2018 um 21:12
> I have the following question about referencing.
> 
> With \goto{typeset_the_text}[url(file://a_file_location_to_goto.pdf)] I 
> can open a pdf from inside the document that has been typeset. It would, 
> however, be nice if I could further specify on which page of the pdf to 
> open. Is this possible? Or is this a wish not to be fulfilled?
> 
> dr. Hans van der Meer
> 
> 
> ___
> 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
> ___
 
 ___
 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
 ___
>>> 
>>> ___
>>> 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
>>> 

Re: [NTG-context] goto reference

2018-04-19 Thread Hans van der Meer
The goto to the internet as given by Wolfgang works here too, but other 
configurations do not. Please ascertain my observations from the test given 
below. You should replace the absolute path by your own, of course. Three cases 
are programmed:
(1) Wolfgang’s
(2) full path ftp:// access opens file but at last page opened
(3) local path does not open and brings up an Alert
Run from TeXShop and also directly in Preview and Adobe Reader with the same 
results.

Thanks in advance.

dr. Hans van der Meer


\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing directly from \ConTeXt:\blank
\setupinteraction[state=start,color=blue,style=italic]
\goto{Beginners manual called with http:// opens in browser as 
expected}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
page=50)]\blank
file test.pdf sits in the current directory.\blank
\goto{click test.pdf page10 with ftp:///Users/... (full path given) opens at 
last page opened not at page 10 in Apple's 
Preview}[url(file:///Users/hansm/TeX/Test-tex/gotopdf/test.pdf\letterhash 
page=10)]{\quad\bf Put your own path here!}\blank
\goto{click test.pdf page10 with ftp://test.pdf (local path)) does not 
open}[url(file://test.pdf\letterhash page=10)]\blank
\stoptext


> On 19 Apr 2018, at 02:07, Otared Kavian  wrote:
> 
> Hi,
> 
> On my Mac, running MacOS High Sierra 10.13.5 Beta, the example given by 
> Wolfgang works fine: clicking on the link created by ConTeXt, from within 
> TeXShop, Safari opens that document on the desired page, that is the physical 
> page 58.
> 
> Best regards: OK
> 
>> On 18 Apr 2018, at 23:04, Hans van der Meer > > wrote:
>> 
>> Thanks. But this seems not to work on my Macintosh. Not in Preview, not in 
>> Adobe Reader. 
>> Typesetting resulted in valid-url.pdf#page=55 but the document opens at the 
>> last page remebered by the application. Are there other Macintosh users who 
>> can confirm this is not working on those machines or should I do something 
>> else?
>> 
>> dr. Hans van der Meer
>> 
>> 
>>> On 18 Apr 2018, at 21:58, Wolfgang Schuster >> > wrote:
>>> 
>>> For documents on the web you can add #page= to the url.
>>> 
>>> \setupinteraction[state=start]
>>> 
>>> \starttext
>>> \goto{Beginners 
>>> manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
>>>  page=58)]
>>> \stoptext
>>> 
>>> Wolfgang
 Hans van der Meer  18. April 2018 um 21:12
 I have the following question about referencing.
 
 With \goto{typeset_the_text}[url(file://a_file_location_to_goto 
 .pdf)] I can open a pdf from inside the 
 document that has been typeset. It would, however, be nice if I could 
 further specify on which page of the  pdf to open. Is this possible? Or is 
 this a wish not to be fulfilled?
 
 dr. Hans van der Meer
 
 
 ___
 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 
 ___
>>> 
>>> ___
>>> 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 
>>> ___
>> 
>> ___
>> 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 

Re: [NTG-context] goto reference

2018-04-18 Thread Otared Kavian
Hi,

On my Mac, running MacOS High Sierra 10.13.5 Beta, the example given by 
Wolfgang works fine: clicking on the link created by ConTeXt, from within 
TeXShop, Safari opens that document on the desired page, that is the physical 
page 58.

Best regards: OK

> On 18 Apr 2018, at 23:04, Hans van der Meer  wrote:
> 
> Thanks. But this seems not to work on my Macintosh. Not in Preview, not in 
> Adobe Reader. 
> Typesetting resulted in valid-url.pdf#page=55 but the document opens at the 
> last page remebered by the application. Are there other Macintosh users who 
> can confirm this is not working on those machines or should I do something 
> else?
> 
> dr. Hans van der Meer
> 
> 
>> On 18 Apr 2018, at 21:58, Wolfgang Schuster > > wrote:
>> 
>> For documents on the web you can add #page= to the url.
>> 
>> \setupinteraction[state=start]
>> 
>> \starttext
>> \goto{Beginners 
>> manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
>>  page=58)]
>> \stoptext
>> 
>> Wolfgang
>>> Hans van der Meer  18. April 2018 um 21:12
>>> I have the following question about referencing.
>>> 
>>> With \goto{typeset_the_text}[url(file://a_file_location_to_goto 
>>> .pdf)] I can open a pdf from inside the 
>>> document that has been typeset. It would, however, be nice if I could 
>>> further specify on which page of the pdf to open. Is this possible? Or is 
>>> this a wish not to be fulfilled?
>>> 
>>> dr. Hans van der Meer
>>> 
>>> 
>>> ___
>>> 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 
>>> ___
>> 
>> ___
>> 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 
>> ___
> 
> ___
> 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
> ___

___
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
___

Re: [NTG-context] goto reference

2018-04-18 Thread Wolfgang Schuster
My example works for me with Preview and Adobe Reader, in both cases 
Safari opens the PDF on page 58.


Wolfgang

Hans van der Meer 
18. April 2018 um 21:12
I have the following question about referencing.

With \goto{typeset_the_text}[url(file://a_file_location_to_goto 
.pdf)] I can open a pdf from inside 
the document that has been typeset. It would, however, be nice if I 
could further specify on which page of the pdf to open. Is this 
possible? Or is this a wish not to be fulfilled?


dr. Hans van der Meer


___
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
___
Wolfgang Schuster 
18. April 2018 um 21:58
For documents on the web you can add #page= to the url.

\setupinteraction[state=start]

\starttext
\goto{Beginners 
manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
page=58)]

\stoptext

Wolfgang

Hans van der Meer 
18. April 2018 um 23:04
Thanks. But this seems not to work on my Macintosh. Not in Preview, 
not in Adobe Reader.
Typesetting resulted in valid-url.pdf#page=55 but the document opens 
at the last page remebered by the application. Are there other 
Macintosh users who can confirm this is not working on those machines 
or should I do something else?


dr. Hans van der Meer



___
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
___




test.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] goto reference

2018-04-18 Thread Hans van der Meer
Thanks. But this seems not to work on my Macintosh. Not in Preview, not in 
Adobe Reader. 
Typesetting resulted in valid-url.pdf#page=55 but the document opens at the 
last page remebered by the application. Are there other Macintosh users who can 
confirm this is not working on those machines or should I do something else?

dr. Hans van der Meer


> On 18 Apr 2018, at 21:58, Wolfgang Schuster  
> wrote:
> 
> For documents on the web you can add #page= to the url.
> 
> \setupinteraction[state=start]
> 
> \starttext
> \goto{Beginners 
> manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash 
>  page=58)]
> \stoptext
> 
> Wolfgang
>> Hans van der Meer  18. April 2018 um 21:12
>> I have the following question about referencing.
>> 
>> With \goto{typeset_the_text}[url(file://a_file_location_to_goto 
>> .pdf)] I can open a pdf from inside the 
>> document that has been typeset. It would, however, be nice if I could 
>> further specify on which page of the pdf to open. Is this possible? Or is 
>> this a wish not to be fulfilled?
>> 
>> dr. Hans van der Meer
>> 
>> 
>> ___
>> 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 
>> ___
> 
> ___
> 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
> ___

___
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
___

Re: [NTG-context] goto reference

2018-04-18 Thread Wolfgang Schuster

For documents on the web you can add #page= to the url.

\setupinteraction[state=start]

\starttext
\goto{Beginners 
manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash page=58)]

\stoptext

Wolfgang

Hans van der Meer 
18. April 2018 um 21:12
I have the following question about referencing.

With \goto{typeset_the_text}[url(file://a_file_location_to_goto 
.pdf)] I can open a pdf from inside 
the document that has been typeset. It would, however, be nice if I 
could further specify on which page of the pdf to open. Is this 
possible? Or is this a wish not to be fulfilled?


dr. Hans van der Meer


___
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
___


___
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
___

[NTG-context] goto reference

2018-04-18 Thread Hans van der Meer
I have the following question about referencing.

With \goto{typeset_the_text}[url(file://a_file_location_to_goto 
.pdf)] I can open a pdf from inside the 
document that has been typeset. It would, however, be nice if I could further 
specify on which page of the pdf to open. Is this possible? Or is this a wish 
not to be fulfilled?

dr. Hans van der Meer


___
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
___

[NTG-context] Reference links with focus=standard

2018-04-13 Thread Christoph Reller
On Fri, 13 Apr 2018 10:45:39 +0100,  Lawrence Bell
 wrote:
> On 13/04/18 07:31, Henri Menke wrote:
>>
>> On Fri, 2018-04-13 at 08:13 +0200, Christoph Reller wrote:
>>>
>>> Please, Hans, I kindly ask you to reconsider. I am aware of your
>>> opinion and reasoning about this issue. But I believe that for many of
>>> us users, today's PDFs need to be both, interactive *and* printable.
>>>
>>> If there is any way I can help or motivate you, then please tell me ;-)
>>>
>> The best way to motivate Hans to implement something you need, is by
>> implementing it yourself and sending him updated core files.
>> Works for me every time ;-)
>>

Well, thank you for this hint Henry, but that works only for those who
can afford the time :-/

>
> Dear Christoph,
>
> I take it from your reply that fixing this problem with interactivity
> would likely cause some trouble with the printability? And therefore,
> it's staying as it is to prioritize printability? That's understandable,
> but a bit frustrating, since I still don't have any clue what the actual
> problem is. Could you possibly explain in some more detail or point me
> to a relevant thread?
>
> Kind regards,
>
> Lawrence
>

Dear Lawrence,

(Sorry for changing to bottom posting style.)

This issue is not about a trade-off between print-ability and
inter-activeness. If I understand Hans' position correctly, then at
least part of his reasoning is the following (please correct me if I'm
wrong): It is easy to produce two versions of a document from one
common source, one version for print and one for the screen. The
former needs no interactive links and the latter should best be viewed
fullscreen, i.e., without scrolling, in which case focus=standard is
unnecessary. While I largely agree with this approach, many of the
ConTeXt users (including myself) are not in a position to decide how
their documents should be published. I believe that many of today's
PDF documents still are meant to be both, viewed on screen and
printed. And it's only for this scenario that focus=standard makes
sense.

Kind regards,

Christoph
___
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
___

Re: [NTG-context] Reference links with focus=standard option

2018-04-13 Thread Christoph Reller
Fri, 13 Apr 2018 11:48:28 +0200, Hans Hagen  wrote:
> On 4/13/2018 8:13 AM, Christoph Reller wrote:
>>
>> This is a long standing feature request reported multiple times by
>> myself and others with MWEs in
>> https://www.mail-archive.com/ntg-context@ntg.nl/msg79620.html and
>> https://www.mail-archive.com/ntg-context@ntg.nl/msg79727.html.
>>
>> Another MWE in which the link is non-functional:
>>
> fixed in next beta (i'm not sure when i will upload that one as i need
> to test some new features first)
>

Thank you Hans!

This is good news. Your work is very much appreciated. I am looking
forward to the next beta.

Regards,
Christoph
___
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
___

Re: [NTG-context] Reference links with focus=standard option

2018-04-13 Thread Hans Hagen

On 4/13/2018 8:13 AM, Christoph Reller wrote:

On Wed, 11 Apr 2018 20:27:15 +0100, Lawrence Bell 
 wrote:

Thanks very much for your replies. It's reassuring to see (it seems)
that I've not overlooked some extra option that magically does the job
:) Worst case scenario I'll hack something together, or just settle for
the default focus functionality, which is not the end of the world. Just
feel like there should be a better/more elegant way.

On 11/04/18 19:36, Pablo Rodriguez wrote:

On 04/11/2018 07:14 PM, Pablo Rodriguez wrote:

On 04/11/2018 04:35 PM, Lawrence Bell wrote:

[...]
What's going on here?

I generated an uncompressed PDF document from your source:
http://pdf.ousia.tk/focus-standard.pdf.
[...]
(eq:ref) seems to be missing there. But I have to investigate the issue
further to get a more accurate report.

[...]
Sorry, but I’m afraid that I don’t know exactly what misbehaves here. I
hope Hans can fix it.


Dear all,

This is a long standing feature request reported multiple times by
myself and others with MWEs in
https://www.mail-archive.com/ntg-context@ntg.nl/msg79620.html and
https://www.mail-archive.com/ntg-context@ntg.nl/msg79727.html.

Another MWE in which the link is non-functional:
fixed in next beta (i'm not sure when i will upload that one as i need 
to test some new features first)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Reference links with focus=standard option

2018-04-13 Thread Lawrence Bell
Dear Christoph,

I take it from your reply that fixing this problem with interactivity
would likely cause some trouble with the printability? And therefore,
it's staying as it is to prioritize printability? That's understandable,
but a bit frustrating, since I still don't have any clue what the actual
problem is. Could you possibly explain in some more detail or point me
to a relevant thread?

Kind regards,

Lawrence


On 13/04/18 07:31, Henri Menke wrote:
> On Fri, 2018-04-13 at 08:13 +0200, Christoph Reller wrote:
>>> On Wed, 11 Apr 2018 20:27:15 +0100, Lawrence Bell >> il.com> wrote:
>>>
>>> Thanks very much for your replies. It's reassuring to see (it seems)
>>> that I've not overlooked some extra option that magically does the job
>>> :) Worst case scenario I'll hack something together, or just settle for
>>> the default focus functionality, which is not the end of the world. Just
>>> feel like there should be a better/more elegant way.
>>>
>>> On 11/04/18 19:36, Pablo Rodriguez wrote:
 On 04/11/2018 07:14 PM, Pablo Rodriguez wrote:
> On 04/11/2018 04:35 PM, Lawrence Bell wrote:
>> [...]
>> What's going on here?
> I generated an uncompressed PDF document from your source:
> http://pdf.ousia.tk/focus-standard.pdf.
> [...]
> (eq:ref) seems to be missing there. But I have to investigate the issue
> further to get a more accurate report.
 [...]
 Sorry, but I’m afraid that I don’t know exactly what misbehaves here. I
 hope Hans can fix it.
>> Dear all,
>>
>> This is a long standing feature request reported multiple times by
>> myself and others with MWEs in
>> https://www.mail-archive.com/ntg-context@ntg.nl/msg79620.html and
>> https://www.mail-archive.com/ntg-context@ntg.nl/msg79727.html.
>>
>> Another MWE in which the link is non-functional:
>>
>> \setupexternalfigures[location={local,global,default}]
>> \setupinteraction[state=start, focus=standard]
>> \starttext
>> \about[figure].
>> \page
>> \placefigure[][figure]{Figure}{\externalfigure[cow.pdf]}
>> \stoptext
>>
>> Please, Hans, I kindly ask you to reconsider. I am aware of your
>> opinion and reasoning about this issue. But I believe that for many of
>> us users, today's PDFs need to be both, interactive *and* printable.
>>
>> If there is any way I can help or motivate you, then please tell me ;-)
> The best way to motivate Hans to implement something you need, is by
> implementing it yourself and sending him updated core files.
> Works for me every time ;-)
>
>> Kind regards,
>>
>> Christoph
>> __
>> _
>> 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
>> __
>> _
> ___
> 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
> ___

___
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
___

Re: [NTG-context] Reference links with focus=standard option

2018-04-13 Thread Henri Menke
On Fri, 2018-04-13 at 08:13 +0200, Christoph Reller wrote:
> > 
> > On Wed, 11 Apr 2018 20:27:15 +0100, Lawrence Bell  > il.com> wrote:
> > 
> > Thanks very much for your replies. It's reassuring to see (it seems)
> > that I've not overlooked some extra option that magically does the job
> > :) Worst case scenario I'll hack something together, or just settle for
> > the default focus functionality, which is not the end of the world. Just
> > feel like there should be a better/more elegant way.
> > 
> > On 11/04/18 19:36, Pablo Rodriguez wrote:
> > > 
> > > On 04/11/2018 07:14 PM, Pablo Rodriguez wrote:
> > > > 
> > > > On 04/11/2018 04:35 PM, Lawrence Bell wrote:
> > > > > 
> > > > > [...]
> > > > > What's going on here?
> > > > I generated an uncompressed PDF document from your source:
> > > > http://pdf.ousia.tk/focus-standard.pdf.
> > > > [...]
> > > > (eq:ref) seems to be missing there. But I have to investigate the issue
> > > > further to get a more accurate report.
> > > [...]
> > > Sorry, but I’m afraid that I don’t know exactly what misbehaves here. I
> > > hope Hans can fix it.
> Dear all,
> 
> This is a long standing feature request reported multiple times by
> myself and others with MWEs in
> https://www.mail-archive.com/ntg-context@ntg.nl/msg79620.html and
> https://www.mail-archive.com/ntg-context@ntg.nl/msg79727.html.
> 
> Another MWE in which the link is non-functional:
> 
> \setupexternalfigures[location={local,global,default}]
> \setupinteraction[state=start, focus=standard]
> \starttext
> \about[figure].
> \page
> \placefigure[][figure]{Figure}{\externalfigure[cow.pdf]}
> \stoptext
> 
> Please, Hans, I kindly ask you to reconsider. I am aware of your
> opinion and reasoning about this issue. But I believe that for many of
> us users, today's PDFs need to be both, interactive *and* printable.
> 
> If there is any way I can help or motivate you, then please tell me ;-)

The best way to motivate Hans to implement something you need, is by
implementing it yourself and sending him updated core files.
Works for me every time ;-)

> 
> Kind regards,
> 
> Christoph
> __
> _
> 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
> __
> _
___
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
___

Re: [NTG-context] Reference links with focus=standard option

2018-04-13 Thread Christoph Reller
> On Wed, 11 Apr 2018 20:27:15 +0100, Lawrence Bell 
>  wrote:
>
> Thanks very much for your replies. It's reassuring to see (it seems)
> that I've not overlooked some extra option that magically does the job
> :) Worst case scenario I'll hack something together, or just settle for
> the default focus functionality, which is not the end of the world. Just
> feel like there should be a better/more elegant way.
>
> On 11/04/18 19:36, Pablo Rodriguez wrote:
>> On 04/11/2018 07:14 PM, Pablo Rodriguez wrote:
>>> On 04/11/2018 04:35 PM, Lawrence Bell wrote:
 [...]
 What's going on here?
>>> I generated an uncompressed PDF document from your source:
>>> http://pdf.ousia.tk/focus-standard.pdf.
>>> [...]
>>> (eq:ref) seems to be missing there. But I have to investigate the issue
>>> further to get a more accurate report.
>> [...]
>> Sorry, but I’m afraid that I don’t know exactly what misbehaves here. I
>> hope Hans can fix it.

Dear all,

This is a long standing feature request reported multiple times by
myself and others with MWEs in
https://www.mail-archive.com/ntg-context@ntg.nl/msg79620.html and
https://www.mail-archive.com/ntg-context@ntg.nl/msg79727.html.

Another MWE in which the link is non-functional:

\setupexternalfigures[location={local,global,default}]
\setupinteraction[state=start, focus=standard]
\starttext
\about[figure].
\page
\placefigure[][figure]{Figure}{\externalfigure[cow.pdf]}
\stoptext

Please, Hans, I kindly ask you to reconsider. I am aware of your
opinion and reasoning about this issue. But I believe that for many of
us users, today's PDFs need to be both, interactive *and* printable.

If there is any way I can help or motivate you, then please tell me ;-)

Kind regards,

Christoph
___
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
___

Re: [NTG-context] Reference links with focus=standard option

2018-04-11 Thread Lawrence Bell
Pablo,

Thanks very much for your replies. It's reassuring to see (it seems)
that I've not overlooked some extra option that magically does the job
:) Worst case scenario I'll hack something together, or just settle for
the default focus functionality, which is not the end of the world. Just
feel like there should be a better/more elegant way.


On 11/04/18 19:36, Pablo Rodriguez wrote:
> On 04/11/2018 07:14 PM, Pablo Rodriguez wrote:
>> On 04/11/2018 04:35 PM, Lawrence Bell wrote:
>>> [...] 
>>> What's going on here?
>> I generated an uncompressed PDF document from your source:
>> http://pdf.ousia.tk/focus-standard.pdf.
>> [...]
>> (eq:ref) seems to be missing there. But I have to investigate the issue
>> further to get a more accurate report.
> Lawrence,
>
> all I got is that floats have problems with named destinations (the ones
> you get with \setupinteraction[focus=standard]).
>
> \setupexternalfigures[location=default]
> \setupinteraction
>   [state=start, focus=standard]
>
> \starttext
>
> \startplacechemical[reference=ch:ref]
>   \startchemicalformula
>  \chemical{(C_2H_5)_2Zn}{DEZ}
> \stopchemicalformula
> \stopplacechemical
>
> \placefigure[here][fl:ref]{Cow}{\externalfigure[cow]}
>
> formula \in[ch:ref]
>
> figure \in[fl:ref]
> \stoptext
>
> Sorry, but I’m afraid that I don’t know exactly what misbehaves here. I
> hope Hans can fix it.
>
> Pablo

___
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
___

Re: [NTG-context] Reference links with focus=standard option

2018-04-11 Thread Pablo Rodriguez
On 04/11/2018 07:14 PM, Pablo Rodriguez wrote:
> On 04/11/2018 04:35 PM, Lawrence Bell wrote:
>> [...] 
>> What's going on here?
> 
> I generated an uncompressed PDF document from your source:
> http://pdf.ousia.tk/focus-standard.pdf.
> [...]
> (eq:ref) seems to be missing there. But I have to investigate the issue
> further to get a more accurate report.

Lawrence,

all I got is that floats have problems with named destinations (the ones
you get with \setupinteraction[focus=standard]).

\setupexternalfigures[location=default]
\setupinteraction
  [state=start, focus=standard]

\starttext

\startplacechemical[reference=ch:ref]
  \startchemicalformula
 \chemical{(C_2H_5)_2Zn}{DEZ}
\stopchemicalformula
\stopplacechemical

\placefigure[here][fl:ref]{Cow}{\externalfigure[cow]}

formula \in[ch:ref]

figure \in[fl:ref]
\stoptext

Sorry, but I’m afraid that I don’t know exactly what misbehaves here. I
hope Hans can fix it.

Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] Reference links with focus=standard option

2018-04-11 Thread Pablo Rodriguez
On 04/11/2018 04:35 PM, Lawrence Bell wrote:
> Hi mailing list,
> 
> I'm having some trouble with (interactive) references. I had a quick
> search of the mailing list and couldn't find any talk about this kind of
> issue, so I'm asking now. Hoping you could help me out.
> 
> All is well with the default setting for focus. I don't like that with
> most (?) PDF viewers the default setting changes the zoom level, so I
> usually turn on \setupinteraction[focus=standard] instead. But this
> seems to break (some of) the interactive links. The links to the the
> chapter and item still work, but the links to the formula are broken.

Hi Lawrence,

it seems that something is broken when ConTeXt generates the
destinations for these links.

> As an experiment, I just tried this with a couple different viewers
> (Firefox, Evince, Okular, Xpdf, Qpdfview) and (putting
> \setupinteraction[focus=standard] back in) the link is indeed broken on
> all of them, /except/ for Qpdfview which still seems to understand it.

qpdfview complains after having clicking the link:

"Error: failed to look up (eq:ref)"
"Error: failed to look up (eq:ref)"

> What's going on here?

I generated an uncompressed PDF document from your source:
http://pdf.ousia.tk/focus-standard.pdf.

The issue seems to be in the name tree node dictionary:

35 0 obj
<<
  /Limits [ (#1) (pt:ref) ]
  /Names [ (#1) 15 0 R (#2) 19 0 R (#3) 20 0 R (it:ref) 20 0 R
  (pt:ref) 15 0 R ]
>>
endobj

(eq:ref) seems to be missing there. But I have to investigate the issue
further to get a more accurate report.

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___
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
___

[NTG-context] Reference links with focus=standard option

2018-04-11 Thread Lawrence Bell
Hi mailing list,

I'm having some trouble with (interactive) references. I had a quick
search of the mailing list and couldn't find any talk about this kind of
issue, so I'm asking now. Hoping you could help me out.

Consider the following example document.

\setupinteraction
  [
    state=start,
    % focus=standard,
  ]

\starttext
\startchapter[title=Some Title, reference=pt:ref]

Lorem ipsum dolor sit amet, \periods

\startplaceformula[reference=eq:ref]
  \startformula
    c^2 = a^2 + b^2.
  \stopformula
\stopplaceformula

Lorem ipsum dolor sit amet, \periods

\startitemize[r]
  \startitem[it:ref]
    Lorem ipsum dolor sit amet, \periods
  \stopitem
\stopitemize

And now we can refer to formula~\in[eq:ref], chapter~\in[pt:ref], and
item~\in[it:ref].

\page

And now we can refer to formula~\in[eq:ref], chapter~\in[pt:ref], and
item~\in[it:ref].

\stopchapter
\stoptext

All is well with the default setting for focus. I don't like that with
most (?) PDF viewers the default setting changes the zoom level, so I
usually turn on \setupinteraction[focus=standard] instead. But this
seems to break (some of) the interactive links. The links to the the
chapter and item still work, but the links to the formula are broken.

As an experiment, I just tried this with a couple different viewers
(Firefox, Evince, Okular, Xpdf, Qpdfview) and (putting
\setupinteraction[focus=standard] back in) the link is indeed broken on
all of them, /except/ for Qpdfview which still seems to understand it.

What's going on here?

Thanks in advance, Lawrence

___
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
___

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-09 Thread r . ermers
Hi all,

I kindly ask for your attention for this problem again. I would like subitems 
to appear differently in the reference than they are in the listing:

1. item 1

a. subitem a, reference a

b. item b
c. Item c, reference c

2. Item 2, reference 2 See Item b, 2, 1 above. 


See Item b, 2, 1 above. 

--

Desired result:

See item 1b., 2 1 above.

This is possible in mkii, but not in mkiv it seems. Does anyone know how to 
achieve this?

Robert


A minimal example to play with:

%\setupitemgroup[itemize][1][n,repeat][width=1em]
%\setupitemgroup[itemize][2][a,repeat][width=2em]
%\setupitemgroup[itemize][3][r][width=3em]

\starttext 

\startitemize[n]
\item [ref:1] item 1
\startitemize[a]
\startitem[ref:a]
subitem a, reference a
\stopitem
\item [ref:b] item b
\startitem[ref:c]
Item c, reference c
\stopitem
\stopitemize
\item[ref:2]
Item 2, reference 2
\stopitem
\stopitemize

See \in{Item}[ref:b], \in[ref:2], \in[ref:1] above.




> Op 7 feb. 2018, om 14:53 heeft Otared Kavian <ota...@gmail.com 
> <mailto:ota...@gmail.com>> het volgende geschreven:
> 
> Hi Robert,
> 
> Again I answered too quickly… excuse-me!
> If you want to have the subitems appear without the prefix, but references to 
> them contain the number of the item where they appear, I don’t know how to do 
> it.
> My previous message addresses only the separators between the numbers of the 
> items and subitems.
> Sorry… but my belief is that in ConTeXt everything is possible, even if I 
> don’t know how to do it :-)
> 
> Best regards: OK
> 
>> On 7 Feb 2018, at 12:56, r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 
>> wrote:
>> 
>> Hi Otared,
>> 
>> Thanks, the solution works to some extend. It yields the following output.
>> 
>> 1. item 1
>> 
>> 1.a.  subitem a, reference a
>> 
>> 1.b.  item b
>> 
>>  1.b.i. A sub-sub item
>> 
>>  1.b.ii. Another sub-sub item, B 1.c. Item c, reference c
>> 
>> 2. Item 2, reference 2
>> 
>> See Item 1.b, see also items 2 and 1 above, as well as the sub-sub item 
>> 1.b.ii. 
>> 
>> 
>> Yet the output I am looking for, and which I had in mkii, is:
>> 1. item 1
>> 
>> a.  subitem a, reference a
>> 
>> b.  item b
>> 
>>  i. A sub-sub item
>> 
>>  ii. Another sub-sub item, B 1.c. Item c, reference c
>> 
>> 2. Item 2, reference 2
>> 
>> 
>> See Item 1.b / 1b, see also items 2 and 1 above, as well as the sub-sub item 
>> 1.b.ii / 1bii. 
>> 
>> 
>> Is this possible?
>> 
>> Regards,
>> 
>> Robert
>> 
>> 
>> 
>> 
>>> Op 7 feb. 2018, om 12:37 heeft Otared Kavian <ota...@gmail.com 
>>> <mailto:ota...@gmail.com>> het volgende geschreven:
>>> 
>>> Hi Robert,
>>> 
>>> I think the issue does not come from the version of Context you are using 
>>> but rather from a lack of formatting your itemgroups with the keyword « 
>>> repeat ».
>>> 
>>> I guess what you want to obtain can be achieved with the following example 
>>> below. At least here with either versions of Context I have the output is 
>>> as expected.
>>> 
>>> Best regards: OK
>>> 
>>> %% begin repeat-subitem.tex
>>> \setupitemgroup[itemize][1][n,repeat][width=1em]
>>> \setupitemgroup[itemize][2][a,repeat][width=2em]
>>> \setupitemgroup[itemize][3][r][width=3em]
>>> 
>>> \starttext 
>>> 
>>> \startitemize[n]
>>> \item[ref:1] item 1
>>> \startitemize  
>>> \startitem[ref:a]
>>> subitem a, reference a
>>> \stopitem
>>> \item [ref:b] item b
>>> \startitemize
>>> \item A sub-sub item
>>> \item[ref:subsub-B] Another sub-sub item, B
>>> \stopitemize
>>> \startitem[ref:c]
>>> Item c, reference c
>>> \stopitem
>>> \stopitemize
>>> \startitem[ref:2]
>>> Item 2, reference 2
>>> \stopitem
>>> 
>>> \stopitemize
>>> \blank[big]
>>> 
>>> See \in{Item}[ref:b], see also items \in[ref:2] and \in[ref:1] above, as 
>>> well as the \in{sub-sub item}[ref:subsub-B].
>>> 
>>> \stoptext
>>> %% end repeat-subitem.tex
>>> 
>>> 
>>> 
>>>> On 7 Feb 2018, at 

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
Hi Otared,

Thanks for your time and trouble!.

I had found  \defineseparatorset[none][][]

with the same result: it oppresses the dots.


Yes, I want subitems to appear differently in the reference than they are in 
the listing:

1. item 1
a subitem 
b subitem
2. item 2
a subitem
b subitem

Desired result:

See item 1b and 2a.

Does anyone else know how to achieve this?

Robert



> Op 7 feb. 2018, om 14:53 heeft Otared Kavian <ota...@gmail.com> het volgende 
> geschreven:
> 
> Hi Robert,
> 
> Again I answered too quickly… excuse-me!
> If you want to have the subitems appear without the prefix, but references to 
> them contain the number of the item where they appear, I don’t know how to do 
> it.
> My previous message addresses only the separators between the numbers of the 
> items and subitems.
> Sorry… but my belief is that in ConTeXt everything is possible, even if I 
> don’t know how to do it :-)
> 
> Best regards: OK
> 
>> On 7 Feb 2018, at 12:56, r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 
>> wrote:
>> 
>> Hi Otared,
>> 
>> Thanks, the solution works to some extend. It yields the following output.
>> 
>> 1. item 1
>> 
>> 1.a.  subitem a, reference a
>> 
>> 1.b.  item b
>> 
>>  1.b.i. A sub-sub item
>> 
>>  1.b.ii. Another sub-sub item, B 1.c. Item c, reference c
>> 
>> 2. Item 2, reference 2
>> 
>> See Item 1.b, see also items 2 and 1 above, as well as the sub-sub item 
>> 1.b.ii. 
>> 
>> 
>> Yet the output I am looking for, and which I had in mkii, is:
>> 1. item 1
>> 
>> a.  subitem a, reference a
>> 
>> b.  item b
>> 
>>  i. A sub-sub item
>> 
>>  ii. Another sub-sub item, B 1.c. Item c, reference c
>> 
>> 2. Item 2, reference 2
>> 
>> 
>> See Item 1.b / 1b, see also items 2 and 1 above, as well as the sub-sub item 
>> 1.b.ii / 1bii. 
>> 
>> 
>> Is this possible?
>> 
>> Regards,
>> 
>> Robert
>> 
>> 
>> 
>> 
>>> Op 7 feb. 2018, om 12:37 heeft Otared Kavian <ota...@gmail.com 
>>> <mailto:ota...@gmail.com>> het volgende geschreven:
>>> 
>>> Hi Robert,
>>> 
>>> I think the issue does not come from the version of Context you are using 
>>> but rather from a lack of formatting your itemgroups with the keyword « 
>>> repeat ».
>>> 
>>> I guess what you want to obtain can be achieved with the following example 
>>> below. At least here with either versions of Context I have the output is 
>>> as expected.
>>> 
>>> Best regards: OK
>>> 
>>> %% begin repeat-subitem.tex
>>> \setupitemgroup[itemize][1][n,repeat][width=1em]
>>> \setupitemgroup[itemize][2][a,repeat][width=2em]
>>> \setupitemgroup[itemize][3][r][width=3em]
>>> 
>>> \starttext 
>>> 
>>> \startitemize[n]
>>> \item[ref:1] item 1
>>> \startitemize  
>>> \startitem[ref:a]
>>> subitem a, reference a
>>> \stopitem
>>> \item [ref:b] item b
>>> \startitemize
>>> \item A sub-sub item
>>> \item[ref:subsub-B] Another sub-sub item, B
>>> \stopitemize
>>> \startitem[ref:c]
>>> Item c, reference c
>>> \stopitem
>>> \stopitemize
>>> \startitem[ref:2]
>>> Item 2, reference 2
>>> \stopitem
>>> 
>>> \stopitemize
>>> \blank[big]
>>> 
>>> See \in{Item}[ref:b], see also items \in[ref:2] and \in[ref:1] above, as 
>>> well as the \in{sub-sub item}[ref:subsub-B].
>>> 
>>> \stoptext
>>> %% end repeat-subitem.tex
>>> 
>>> 
>>> 
>>>> On 7 Feb 2018, at 11:46, r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 
>>>> wrote:
>>>> 
>>>> Hi Wolfgang, Otared and others,
>>>> 
>>>> I installed a new standalone:
>>>> 
>>>> mtx-context | main context file: 
>>>> /Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>>>> mtx-context | current version: 2018.02.06 18:11
>>>> 
>>>> However, I do not manage to get it going. The minimal example u

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
Hi Robert,

Again I answered too quickly… excuse-me!
If you want to have the subitems appear without the prefix, but references to 
them contain the number of the item where they appear, I don’t know how to do 
it.
My previous message addresses only the separators between the numbers of the 
items and subitems.
Sorry… but my belief is that in ConTeXt everything is possible, even if I don’t 
know how to do it :-)

Best regards: OK

> On 7 Feb 2018, at 12:56, r.erm...@hccnet.nl wrote:
> 
> Hi Otared,
> 
> Thanks, the solution works to some extend. It yields the following output.
> 
> 1. item 1
> 
> 1.a.  subitem a, reference a
> 
> 1.b.  item b
> 
>   1.b.i. A sub-sub item
> 
>   1.b.ii. Another sub-sub item, B 1.c. Item c, reference c
> 
> 2. Item 2, reference 2
> 
> See Item 1.b, see also items 2 and 1 above, as well as the sub-sub item 
> 1.b.ii. 
> 
> 
> Yet the output I am looking for, and which I had in mkii, is:
> 1. item 1
> 
> a.  subitem a, reference a
> 
> b.  item b
> 
>       i. A sub-sub item
> 
>   ii. Another sub-sub item, B 1.c. Item c, reference c
> 
> 2. Item 2, reference 2
> 
> 
> See Item 1.b / 1b, see also items 2 and 1 above, as well as the sub-sub item 
> 1.b.ii / 1bii. 
> 
> 
> Is this possible?
> 
> Regards,
> 
> Robert
> 
> 
> 
> 
>> Op 7 feb. 2018, om 12:37 heeft Otared Kavian <ota...@gmail.com 
>> <mailto:ota...@gmail.com>> het volgende geschreven:
>> 
>> Hi Robert,
>> 
>> I think the issue does not come from the version of Context you are using 
>> but rather from a lack of formatting your itemgroups with the keyword « 
>> repeat ».
>> 
>> I guess what you want to obtain can be achieved with the following example 
>> below. At least here with either versions of Context I have the output is as 
>> expected.
>> 
>> Best regards: OK
>> 
>> %% begin repeat-subitem.tex
>> \setupitemgroup[itemize][1][n,repeat][width=1em]
>> \setupitemgroup[itemize][2][a,repeat][width=2em]
>> \setupitemgroup[itemize][3][r][width=3em]
>> 
>> \starttext 
>> 
>> \startitemize[n]
>> \item[ref:1] item 1
>>  \startitemize  
>>  \startitem[ref:a]
>>  subitem a, reference a
>>  \stopitem
>>  \item [ref:b] item b
>>  \startitemize
>>      \item A sub-sub item
>>  \item[ref:subsub-B] Another sub-sub item, B
>>  \stopitemize
>>  \startitem[ref:c]
>>  Item c, reference c
>>  \stopitem
>>  \stopitemize
>>  \startitem[ref:2]
>>  Item 2, reference 2
>>  \stopitem
>> 
>> \stopitemize
>> \blank[big]
>> 
>> See \in{Item}[ref:b], see also items \in[ref:2] and \in[ref:1] above, as 
>> well as the \in{sub-sub item}[ref:subsub-B].
>> 
>> \stoptext
>> %% end repeat-subitem.tex
>> 
>> 
>> 
>>> On 7 Feb 2018, at 11:46, r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 
>>> wrote:
>>> 
>>> Hi Wolfgang, Otared and others,
>>> 
>>> I installed a new standalone:
>>> 
>>> mtx-context | main context file: 
>>> /Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>>> mtx-context | current version: 2018.02.06 18:11
>>> 
>>> However, I do not manage to get it going. The minimal example underneath 
>>> gives the following result:
>>> 1. item 1
>>> a. subitem a, reference a 
>>> 
>>> b. item b
>>> 
>>> c. Item c, reference c
>>> 
>>> 2. Item 2, reference 2 
>>> 
>>> 
>>> See Item b, 2, 1 above. 
>>> 
>>> This should be: 
>>> 
>>> See Item 1b, 2, 1 above.
>>> 
>>> Regards,
>>> 
>>> Robert
>>> 
>>> 
>>> 
>>> \starttext 
>>> 
>>> \startitemize[n]\starttext 
>>> 
>>> \startitemize[n]
>>> \item [ref:1] item 1
>>> \startitemize[a]
>>> \startitem[ref:a]
>>> subitem a, reference a
>>> \stopitem
>>> \item [ref:b] item b
>>> \startitem[ref:c]
>>> Item c, reference c
>>> \stopitem
>>> \stopitemize
>>> \startitem[ref:2]
>>> Item 2, reference 2
>>> \stopitem
>>> \stopitemize
>>> 
>>> 

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
Hi Robert,

Sorry I didn’t pay attention to the way you wanted the formatting of sub-items.
If you want to remove the separator between numbers, then you may add the 
following two line after the setups of your itemgroups:

\defineseparatorset[nothing][][]
\setupcounter[itemgroup:itemize][numberseparatorset=nothing]

This removes all the dots between the item sympbols or numbers.

Best regards: OK


> On 7 Feb 2018, at 12:56, r.erm...@hccnet.nl wrote:
> 
> Hi Otared,
> 
> Thanks, the solution works to some extend. It yields the following output.
> 
> 1. item 1
> 
> 1.a.  subitem a, reference a
> 
> 1.b.  item b
> 
>   1.b.i. A sub-sub item
> 
>   1.b.ii. Another sub-sub item, B 1.c. Item c, reference c
> 
> 2. Item 2, reference 2
> 
> See Item 1.b, see also items 2 and 1 above, as well as the sub-sub item 
> 1.b.ii. 
> 
> 
> Yet the output I am looking for, and which I had in mkii, is:
> 1. item 1
> 
> a.  subitem a, reference a
> 
> b.  item b
> 
>       i. A sub-sub item
> 
>   ii. Another sub-sub item, B 1.c. Item c, reference c
> 
> 2. Item 2, reference 2
> 
> 
> See Item 1.b / 1b, see also items 2 and 1 above, as well as the sub-sub item 
> 1.b.ii / 1bii. 
> 
> 
> Is this possible?
> 
> Regards,
> 
> Robert
> 
> 
> 
> 
>> Op 7 feb. 2018, om 12:37 heeft Otared Kavian <ota...@gmail.com 
>> <mailto:ota...@gmail.com>> het volgende geschreven:
>> 
>> Hi Robert,
>> 
>> I think the issue does not come from the version of Context you are using 
>> but rather from a lack of formatting your itemgroups with the keyword « 
>> repeat ».
>> 
>> I guess what you want to obtain can be achieved with the following example 
>> below. At least here with either versions of Context I have the output is as 
>> expected.
>> 
>> Best regards: OK
>> 
>> %% begin repeat-subitem.tex
>> \setupitemgroup[itemize][1][n,repeat][width=1em]
>> \setupitemgroup[itemize][2][a,repeat][width=2em]
>> \setupitemgroup[itemize][3][r][width=3em]
>> 
>> \starttext 
>> 
>> \startitemize[n]
>> \item[ref:1] item 1
>>  \startitemize  
>>  \startitem[ref:a]
>>  subitem a, reference a
>>  \stopitem
>>  \item [ref:b] item b
>>  \startitemize
>>      \item A sub-sub item
>>  \item[ref:subsub-B] Another sub-sub item, B
>>  \stopitemize
>>  \startitem[ref:c]
>>  Item c, reference c
>>  \stopitem
>>  \stopitemize
>>  \startitem[ref:2]
>>  Item 2, reference 2
>>  \stopitem
>> 
>> \stopitemize
>> \blank[big]
>> 
>> See \in{Item}[ref:b], see also items \in[ref:2] and \in[ref:1] above, as 
>> well as the \in{sub-sub item}[ref:subsub-B].
>> 
>> \stoptext
>> %% end repeat-subitem.tex
>> 
>> 
>> 
>>> On 7 Feb 2018, at 11:46, r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 
>>> wrote:
>>> 
>>> Hi Wolfgang, Otared and others,
>>> 
>>> I installed a new standalone:
>>> 
>>> mtx-context | main context file: 
>>> /Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>>> mtx-context | current version: 2018.02.06 18:11
>>> 
>>> However, I do not manage to get it going. The minimal example underneath 
>>> gives the following result:
>>> 1. item 1
>>> a. subitem a, reference a 
>>> 
>>> b. item b
>>> 
>>> c. Item c, reference c
>>> 
>>> 2. Item 2, reference 2 
>>> 
>>> 
>>> See Item b, 2, 1 above. 
>>> 
>>> This should be: 
>>> 
>>> See Item 1b, 2, 1 above.
>>> 
>>> Regards,
>>> 
>>> Robert
>>> 
>>> 
>>> 
>>> \starttext 
>>> 
>>> \startitemize[n]\starttext 
>>> 
>>> \startitemize[n]
>>> \item [ref:1] item 1
>>> \startitemize[a]
>>> \startitem[ref:a]
>>> subitem a, reference a
>>> \stopitem
>>> \item [ref:b] item b
>>> \startitem[ref:c]
>>> Item c, reference c
>>> \stopitem
>>> \stopitemize
>>> \startitem[ref:2]
>>> Item 2, reference 2
>>> \stopitem
>>> \stopitemize
>>> 
>>> See \in{Item}[ref:b], \in[ref:2], \

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
Hi Otared,

Thanks, the solution works to some extend. It yields the following output.

1. item 1

1.a.  subitem a, reference a

1.b.  item b

1.b.i. A sub-sub item

1.b.ii. Another sub-sub item, B 1.c. Item c, reference c

2. Item 2, reference 2

See Item 1.b, see also items 2 and 1 above, as well as the sub-sub item 1.b.ii. 


Yet the output I am looking for, and which I had in mkii, is:
1. item 1

a.  subitem a, reference a

b.  item b

i. A sub-sub item

ii. Another sub-sub item, B 1.c. Item c, reference c

2. Item 2, reference 2


See Item 1.b / 1b, see also items 2 and 1 above, as well as the sub-sub item 
1.b.ii / 1bii. 


Is this possible?

Regards,

Robert




> Op 7 feb. 2018, om 12:37 heeft Otared Kavian <ota...@gmail.com> het volgende 
> geschreven:
> 
> Hi Robert,
> 
> I think the issue does not come from the version of Context you are using but 
> rather from a lack of formatting your itemgroups with the keyword « repeat ».
> 
> I guess what you want to obtain can be achieved with the following example 
> below. At least here with either versions of Context I have the output is as 
> expected.
> 
> Best regards: OK
> 
> %% begin repeat-subitem.tex
> \setupitemgroup[itemize][1][n,repeat][width=1em]
> \setupitemgroup[itemize][2][a,repeat][width=2em]
> \setupitemgroup[itemize][3][r][width=3em]
> 
> \starttext 
> 
> \startitemize[n]
> \item[ref:1] item 1
>   \startitemize  
>   \startitem[ref:a]
>   subitem a, reference a
>   \stopitem
>   \item [ref:b] item b
>   \startitemize
>   \item A sub-sub item
>   \item[ref:subsub-B] Another sub-sub item, B
>   \stopitemize
>   \startitem[ref:c]
>   Item c, reference c
>   \stopitem
>   \stopitemize
>   \startitem[ref:2]
>   Item 2, reference 2
>   \stopitem
> 
> \stopitemize
> \blank[big]
> 
> See \in{Item}[ref:b], see also items \in[ref:2] and \in[ref:1] above, as well 
> as the \in{sub-sub item}[ref:subsub-B].
> 
> \stoptext
> %% end repeat-subitem.tex
> 
> 
> 
>> On 7 Feb 2018, at 11:46, r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 
>> wrote:
>> 
>> Hi Wolfgang, Otared and others,
>> 
>> I installed a new standalone:
>> 
>> mtx-context | main context file: 
>> /Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>> mtx-context | current version: 2018.02.06 18:11
>> 
>> However, I do not manage to get it going. The minimal example underneath 
>> gives the following result:
>> 1. item 1
>> a. subitem a, reference a 
>> 
>> b. item b
>> 
>> c. Item c, reference c
>> 
>> 2. Item 2, reference 2 
>> 
>> 
>> See Item b, 2, 1 above. 
>> 
>> This should be: 
>> 
>> See Item 1b, 2, 1 above.
>> 
>> Regards,
>> 
>> Robert
>> 
>> 
>> 
>> \starttext 
>> 
>> \startitemize[n]\starttext 
>> 
>> \startitemize[n]
>> \item [ref:1] item 1
>> \startitemize[a]
>> \startitem[ref:a]
>> subitem a, reference a
>> \stopitem
>> \item [ref:b] item b
>> \startitem[ref:c]
>> Item c, reference c
>> \stopitem
>> \stopitemize
>> \startitem[ref:2]
>> Item 2, reference 2
>> \stopitem
>> \stopitemize
>> 
>> See \in{Item}[ref:b], \in[ref:2], \in[ref:1] above.
>> 
>> 
>> \stoptext
>> 
>> 
>>> Op 7 feb. 2018, om 11:03 heeft Wolfgang Schuster 
>>> <schuster.wolfg...@gmail.com <mailto:schuster.wolfg...@gmail.com>> het 
>>> volgende geschreven:
>>> 
>>> 
>>> 
>>>> r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 7. Februar 2018 um 10:58
>>>> Hi Otared,
>>>> 
>>>> Thanks for your response. In mkii this worked flawlessly.
>>>> 
>>>> I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not work. 
>>>> Could this be because I have item [it:ref] rather than \startitem[it:ref] 
>>>> … \stopitem?
>>> 
>>> It works for me with \item[] and \startitem[].
>>> 
>>> 
>>> $ context --version
>>> 
>>> mtx-context | current version: 2018.02.06 18:11
>>> 
>>> 
>>> Wolfgang
>>> ___
>>> If your question

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
Hi Robert,

I think the issue does not come from the version of Context you are using but 
rather from a lack of formatting your itemgroups with the keyword « repeat ».

I guess what you want to obtain can be achieved with the following example 
below. At least here with either versions of Context I have the output is as 
expected.

Best regards: OK

%% begin repeat-subitem.tex
\setupitemgroup[itemize][1][n,repeat][width=1em]
\setupitemgroup[itemize][2][a,repeat][width=2em]
\setupitemgroup[itemize][3][r][width=3em]

\starttext 

\startitemize[n]
\item[ref:1] item 1
\startitemize  
\startitem[ref:a]
subitem a, reference a
\stopitem
\item [ref:b] item b
\startitemize
\item A sub-sub item
\item[ref:subsub-B] Another sub-sub item, B
\stopitemize
\startitem[ref:c]
Item c, reference c
\stopitem
\stopitemize
\startitem[ref:2]
Item 2, reference 2
\stopitem

\stopitemize
\blank[big]

See \in{Item}[ref:b], see also items \in[ref:2] and \in[ref:1] above, as well 
as the \in{sub-sub item}[ref:subsub-B].

\stoptext
%% end repeat-subitem.tex



> On 7 Feb 2018, at 11:46, r.erm...@hccnet.nl wrote:
> 
> Hi Wolfgang, Otared and others,
> 
> I installed a new standalone:
> 
> mtx-context | main context file: 
> /Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
> mtx-context | current version: 2018.02.06 18:11
> 
> However, I do not manage to get it going. The minimal example underneath 
> gives the following result:
> 1. item 1
> a. subitem a, reference a 
> 
> b. item b
> 
> c. Item c, reference c
> 
> 2. Item 2, reference 2 
> 
> 
> See Item b, 2, 1 above. 
> 
> This should be: 
> 
> See Item 1b, 2, 1 above.
> 
> Regards,
> 
> Robert
> 
> 
> 
> \starttext 
> 
> \startitemize[n]\starttext 
> 
> \startitemize[n]
> \item [ref:1] item 1
> \startitemize[a]
> \startitem[ref:a]
> subitem a, reference a
> \stopitem
> \item [ref:b] item b
> \startitem[ref:c]
> Item c, reference c
> \stopitem
> \stopitemize
> \startitem[ref:2]
> Item 2, reference 2
> \stopitem
> \stopitemize
> 
> See \in{Item}[ref:b], \in[ref:2], \in[ref:1] above.
> 
> 
> \stoptext
> 
> 
>> Op 7 feb. 2018, om 11:03 heeft Wolfgang Schuster 
>> <schuster.wolfg...@gmail.com <mailto:schuster.wolfg...@gmail.com>> het 
>> volgende geschreven:
>> 
>> 
>> 
>>> r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 7. Februar 2018 um 10:58
>>> Hi Otared,
>>> 
>>> Thanks for your response. In mkii this worked flawlessly.
>>> 
>>> I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not work. 
>>> Could this be because I have item [it:ref] rather than \startitem[it:ref] … 
>>> \stopitem?
>> 
>> It works for me with \item[] and \startitem[].
>> 
>> 
>> $ context --version
>> 
>> mtx-context | current version: 2018.02.06 18:11
>> 
>> 
>> Wolfgang
>> ___
>> If your question is of interest to others as well, please add an entry to 
>> the Wiki!
>> 
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / 
>> http://www.ntg.nl/mailman/listinfo/ntg-context 
>> <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / 
>> http://context.aanhet.net <http://context.aanhet.net/>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ 
>> <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki : http://contextgarden.net <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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
Hi Wolfgang, Otared and others,

I installed a new standalone:

mtx-context | main context file: 
/Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2018.02.06 18:11

However, I do not manage to get it going. The minimal example underneath gives 
the following result:
1. item 1
a. subitem a, reference a 

b. item b

c. Item c, reference c

2. Item 2, reference 2 

See Item b, 2, 1 above. 

This should be: 

See Item 1b, 2, 1 above.

Regards,

Robert



\starttext 

\startitemize[n]\starttext 

\startitemize[n]
\item [ref:1] item 1
\startitemize[a]
\startitem[ref:a]
subitem a, reference a
\stopitem
\item [ref:b] item b
\startitem[ref:c]
Item c, reference c
\stopitem
\stopitemize
\startitem[ref:2]
Item 2, reference 2
\stopitem
\stopitemize

See \in{Item}[ref:b], \in[ref:2], \in[ref:1] above.


\stoptext


> Op 7 feb. 2018, om 11:03 heeft Wolfgang Schuster 
> <schuster.wolfg...@gmail.com> het volgende geschreven:
> 
> 
> 
>> r.erm...@hccnet.nl <mailto:r.erm...@hccnet.nl> 7. Februar 2018 um 10:58
>> Hi Otared,
>> 
>> Thanks for your response. In mkii this worked flawlessly.
>> 
>> I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not work. 
>> Could this be because I have item [it:ref] rather than \startitem[it:ref] … 
>> \stopitem?
> 
> It works for me with \item[] and \startitem[].
> 
> 
> $ context --version
> 
> mtx-context | current version: 2018.02.06 18:11
> 
> 
> 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
> ___

___
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
___

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Wolfgang Schuster




r.erm...@hccnet.nl 
7. Februar 2018 um 10:58
Hi Otared,

Thanks for your response. In mkii this worked flawlessly.

I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not 
work. Could this be because I have item [it:ref] rather than 
\startitem[it:ref] … \stopitem?


It works for me with \item[] and \startitem[].


$ context --version

mtx-context | current version: 2018.02.06 18:11


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
___

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread r . ermers
Hi Otared,

Thanks for your response. In mkii this worked flawlessly.

I tried it in mkiv Texlive too (2017.05.15 21:48), but it does not work. Could 
this be because I have item [it:ref] rather than \startitem[it:ref] … \stopitem?

Anyway, I will install a new standalone - on my Mac (no TeXShop).

Robert


> Op 7 feb. 2018, om 10:47 heeft Otared Kavian <ota...@gmail.com> het volgende 
> geschreven:
> 
> Hi Robert,
> 
> Indeed the bug has been fixed: the reference to items works fine in all 
> recent Context betas, and also with the version from TeXLive 2017 (version 
> 2017.05.15 21:48).
> 
> I don’t have the current version 2017.07.17 00:20 in order to test the 
> example your are mentionning, but if your current version of Context comes 
> from TeXLive, maybe you can update it. Otherwise, the installation of a 
> standalone version is not that complicated and it is really worth it.
> If you are using MacOS X and TeXShop, in case you would need help to install 
> a standalone version do not hesitate to ask me.
> 
> Best regards: Otared K.
> 
>> On 7 Feb 2018, at 09:38, r.erm...@hccnet.nl wrote:
>> 
>> Hi Otared,
>> 
>> I wonder if the problem with the referencing to items you signalled has been 
>> solved in a later version (see text below). I am running into the same 
>> issue. My context version: current version: 2017.07.17 00:20.
>> 
>> If it is not, I will do with a makeshift solution for now; if the problem 
>> has been handled, I consider installing a new standalone. (Installing a 
>> standalone is usally a bit of a fuzz.)
>> 
>> Thanks in advance for your reply,
>> 
>> Best wishes,
>> 
>> Robert
>> 
>> Otared Kavian Wed, 01 Apr 2015 01:23:29 -0700
>> 
>> Hi Hans,
>> 
>> It seems that referencing to items is broken in the latest beta mkiv: for 
>> example in the example below the command
>>\in{Item}[ref:2]
>> does not show item number 2.
>> However it works fine in mkii and previous releases.
>> Best regards: OK
>> PS: a minimal example follows
>> %%% begin ref-item-broken.tex
>> \starttext 
>> 
>> \startitemize[n]
>> 
>> \startitem[ref:1]
>> Item 1, reference 1
>> \stopitem
>> 
>> \startitem[ref:2]
>> Item 2, reference 2
>> \stopitem
>> 
>> \startitem[ref:3]
>> Item 3, reference 3
>> \stopitem
>> 
>> \stopitemize
>> 
>> See \in{Item}[ref:2] above.
>> 
>> \stoptext
>> %%% end ref-item-broken.tex
>> 
>> 
> 

___
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
___

Re: [NTG-context] location of command reference

2017-04-16 Thread Meer, Hans van der
Thanks to both of you. 

It thus turns out there are two copies of the Command Reference!

Grepping for command or reference did find neither of them and "qrcs" didn't 
ring a bell when searching 'by eye'.
I will provide a link in my contextbeta install script in order to not losing 
them again when installing a new beta.
But I think it would be a good idea to change there names to something like 
command-ref.pdf

Hans van der Meer



> On 15 Apr 2017, at 13:19, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
> 
> Look for the files at the following path: 
> tex/texmf-context/doc/context/documents/general/qrcs
> 


> On 15 Apr 2017, at 11:10, Pablo Rodriguez <oi...@gmx.es> wrote:
> 
> On 04/14/2017 03:09 PM, Meer, Hans van der wrote:
>> Where is the handy Command Reference to be found in the beta distribution?
>> I do not see it in ./tex/texmf-context/doc/context/documents/general/manuals
>> and could not spot it elsewhere.
> 
> Hans,
> 
> the ConTeXt Suite has it at
> tex/texmf-context/tex/context/interface/mkiv/i-context.pdf.
> 
> I hope it helps,
> 
> -- 

___
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
___

Re: [NTG-context] location of command reference

2017-04-15 Thread Wolfgang Schuster


Look for the files at the following path: 
tex/texmf-context/doc/context/documents/general/qrcs


Wolfgang


Meer, Hans van der <mailto:h.vanderm...@uva.nl>
14. April 2017 um 15:09
Where is the handy Command Reference to be found in the beta 
distribution?
I do not see it 
in ./tex/texmf-context/doc/context/documents/general/manuals

and could not spot it elsewhere.

This is but an old one .

Hans van der Meer




___
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
___


___
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
___

Re: [NTG-context] location of command reference

2017-04-15 Thread Pablo Rodriguez
On 04/14/2017 03:09 PM, Meer, Hans van der wrote:
> Where is the handy Command Reference to be found in the beta distribution?
> I do not see it in ./tex/texmf-context/doc/context/documents/general/manuals
> and could not spot it elsewhere.

Hans,

the ConTeXt Suite has it at
tex/texmf-context/tex/context/interface/mkiv/i-context.pdf.

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___
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
___

[NTG-context] location of command reference

2017-04-14 Thread Meer, Hans van der
Where is the handy Command Reference to be found in the beta distribution?
I do not see it in ./tex/texmf-context/doc/context/documents/general/manuals
and could not spot it elsewhere.

This is but an old one [cid:DC85F3AF-C98C-4991-8D72-D1B7A5E32800] .

Hans van der Meer




___
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
___

Re: [NTG-context] page range reference (how to compare references)

2016-09-23 Thread MF
I found a solution, but it's tricky (and there's no check on reference
existence in structures.references.collected).


\directlua{
  function userdata.printrange(singular, plural, label)
local coll_ref = structures.references.collected[""]
local pagestart = coll_ref[label .. ":start"].references.realpage
local pagestop = coll_ref[label .. ":stop"].references.realpage
if pagestart == pagestop then
  context(singular)
else
  context(plural)
end
context("~")
context.ref({"page"}, {label .. ":start"})
if pagestart ~= pagestop then
  context("-")
  context.ref({"page"}, {label .. ":stop"})
end
  end

  function userdata.printpagerange(label)
userdata.printrange("page", "pages", label)
  end
}

\def\printpagerange#1{\ctxlua{userdata.printpagerange("#1")}}

\starttext

Tufte quote at \printpagerange{tufte}.

% start of quote reference
\pagereference[tufte:start]
\input{tufte}

%\page  % comment/uncomment this to toggle from page range to single
page

\input{tufte}
% end of quote reference
\pagereference[tufte:stop]

\stoptext
___
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
___

[NTG-context] page range reference (how to compare references)

2016-09-23 Thread MF
Hello list,
I'm trying to reference a page range (think of a long quote spanning on
2 pages).

I need to discriminate ranges collapsing to one page from "real" ranges
(2 or more pages): "1-1" should become "1", while "1-2" should stay
like that.

Here's a not working snippet:

\starttext

Tufte quote at p.
\at[tufte:start]\doifelse{\ref[realpage][tufte:start]}{\ref[realpage][t
ufte:stop]}
{}
{-\at[tufte:stop]}

% start of quote reference
\pagereference[tufte:start]
\input{tufte}

%\page  % comment/uncomment this to toggle from range to single page

\input{tufte}
% end of quote reference
\pagereference[tufte:stop]

\stoptext

The \doifelse is always false, I think because \ref[realpage][...] is
not a string.

Thanks in advance.
BTW, best wishes for next week's meeting (hoping to join next year).
Best regards,
Massi
___
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
___

Re: [NTG-context] APA formatting and reference questions

2016-08-24 Thread Alan BRASLAU
On Wed, 24 Aug 2016 17:43:03 -0600
Todd DeVries <t...@equaltext.com> wrote:

> In this excerpt, the following APA style formatting
> errors occur:
> 
> 1. The first reference is cited as “Hartley, M.T. (2013).” There is
> usually a space separating these initials. Between the M. and T. in
> this reference.

Yes, there should be spaces between initials. There were spaces before,
and I will see why they disappeared and fix it.


> 2. The word “and” is appearing in both parenthetical and in-text
> citations. When a reference is completely within parentheses, the last
> author should be separated by the & (Ampersand) character.

Yes, authoryears should use "and" and authoryear should use "&". I'll
fix it.

However, the APA style goes even further:

"Precede the final name in a multiple-author citation in running text by
the word and. In parenthetical material, in tables and captions, and in
the reference list, join the names by an ampersand (&)"

How far should we go in dealing with tables and captions???


> 3. The last reference has 3 authors and should be written as Koch et
> al (2014) instead, it replicates the entire list of authors previously
> cited.

Formally:

"Invert all authors’ names; give surnames and initials for up to and
including seven authors (e.g., Author, A. A., Author, B. B., & Author,
C. C.). When authors number eight or more, include the first six
authors’ names, then insert three ellipsis points, and add the last
author’s name (see Chapter 7, Example 2). In text, follow the citation
guidelines in section 6.12."

"6.12
When a work has two authors, cite both names every time the reference
occurs in text. When a work has three, four, or five authors, cite all
authors the first time the reference occurs; in subsequent citations,
include only the surname of the first author followed by et al. (not
italicized and with a period after al) and the year if it is the first
citation of the reference within a paragraph."

So, indeed, the second citation should have Koch et al., but...
Hans and I discussed this. It is a particularity of the APA style and
can get really tricky to program if we are to respect the following
part of section 6.12:

"Exception: If two references of more than three surnames with the same
year shorten to the same form (e.g., both Ireys, Chernoff, DeVet, &
Kim, 2001, and Ireys, Chernoff, Stein, DeVet, & Silver, 2001, shorten
to Ireys et al., 2001), cite the surnames of the first authors and of
as many of the subsequent authors as necessary to distinguish the two
references, followed by a comma and et al."

It becomes messy:

"When a work has six or more authors, cite only the surname of the first
author followed by et al. (not italicized and with a period after al)
and the year for the first and subsequent citations. (See section 6.27
and Example 2 in Chapter 7 for how to cite works with more than six
authors in the reference list.) If two references with six or more
authors shorten to the same form, cite the surnames of the first
authors and of as many of the subsequent authors as necessary to
distinguish the two references, followed by a comma and et al."

So we set the etallimit to 5 and etaldisplay to 1 in citations and
etallimit to 7 and etaldisplay to 6 in the bibligraphy list. If, by
poor chance two references shorten to the same form, than you are out
of luck for now!

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] APA formatting and reference questions

2016-08-24 Thread Todd DeVries
Hello,

I would like to use ConTeXt foracademic writing this year and am just
scratching the surface of its capabilities. My first run at producing
a document in APA format resulted in several questions. Below is
abrief sample. In this excerpt, the following APA style formatting
errors occur:

1. The first reference is cited as “Hartley, M.T. (2013).” There is
usually a space separating these initials. Between the M. and T. in
this reference.

2. The word “and” is appearing in both parenthetical and in-text
citations. When a reference is completely within parentheses, the last
author should be separated by the & (Ampersand) character.

3. The last reference has 3 authors and should be written as Koch et
al (2014) instead, it replicates the entire list of authors previously
cited.

I must be missing something obvious in my settings. What changes to
this sample need to be made to correct these formatting citation errors?

Thank you in advance for any assistance or references to places in
documentation where I can learn to correct these issues.

Todd


%%% Begin Sample %%%


\showsetup
\startbuffer[review]
@article{hartley2013,
author = {Michael T. Hartley},
title = {Investigating the Relationship of Resilience to Academic Persistence 
in College Students With Mental Health Issues},
journal = {Rehabilitation Counseling Bulletin}
volume = {56},
number = {4},
pages = {240-250},
year = {2013},
doi = {10.1177/0034355213480527},
}
@article{koch2014,
  Author =   {Lynn C. Koch and Ketevan Mamiseishvili and Kristin
Higgins},
  Title ={Persistence to degree completion: A profile of
Students with psychiatric disabilities in higher education.},
  ISSN = {1052-2263},
  Journal = {Journal of Vocational Rehabilitation},
   Number =  1,
  Pages ={73 - 82},
volume = 40,
year =   2014,
}
@article{mutanga2015,
author = {Oliver Mutanga and Melanie Walker},
  title ={Towards a Disability-inclusive Higher Education
Policy through the Capabilities Approach},
  journal = {Journal of Human Development and Capabilities},
  volume =   16,
  number =   4,
  pages ={501-517},
  year = 2015,
  doi =  {10.1080/19452829.2015.1101410},
  }
\stopbuffer
\usebtxdataset[review.buffer]
\usebtxdefinitions[apa]
\starttext

Barriers to success often arise from overt discrimination, while
others grow out of differences in the ability of the student, the
psychosocial nature of disability, and the educational technologies
used in the classroom \cite[mutanga2015, hartley2013].

Most students report a learning or psychiatric disability
\cite[koch2014].

Data from longitudinal measures such as the NLTS2 can be used to
compare groups of students over time.
\cite[alternative=authoryears][koch2014] relate that
understanding why students drop out of college is extensively
researched.

\subject{References}
\placelistofpublications
\stoptext

%%% End Sample %%%
-- 

Todd DeVries
Phone: (208) 847-5996
Fax: (208) 757-6668
More information: http://equaltext.com/aboutme.html
___
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
___

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-03 Thread Thomas A. Schmitz

On 07/03/2016 11:39 AM, Marco Patzer wrote:

has been fixed already

Confirmed, the new beta works. Thanks for the quick fix.



Amazingly, this has also fixed a long-standing bug I had with one of my 
files; I got the same error message. I hadn't been able to find a 
minimal example to reproduce it, so I'm very glad Marco did, thank you 
too! And of course, thanks Hans...


Thomas
___
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
___

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-03 Thread Marco Patzer
On Sun, 3 Jul 2016 11:22:20 +0200
Hans Hagen <pra...@wxs.nl> wrote:

> On 7/2/2016 12:42 PM, Marco Patzer wrote:
> > On Thu, 30 Jun 2016 18:23:18 +0200
> > Marco Patzer <li...@homerow.info> wrote:
> >  
> >> The following example throws the error:
> >>
> >>   ! error:  (nodes): trying to delete an attribute reference of a
> >> non attribute node mtx-context | fatal error: return code: 1
> >>
> >> \setbreakpoints [compound]
> >> \useMPlibrary [dum]
> >>
> >> \starttext
> >>   \startTABLE
> >> \NC \externalfigure [foo-bar] [width=\textwidth] \NC
> >> foo bar foo bar foobarfoobar \bold{} \NC\NR
> >>   \stopTABLE
> >> \stoptext  
> >
> > Any ideas?  
> 
> has been fixed already

Confirmed, the new beta works. Thanks for the quick fix.

Marco
___
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
___

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-03 Thread Hans Hagen

On 7/2/2016 12:42 PM, Marco Patzer wrote:

On Thu, 30 Jun 2016 18:23:18 +0200
Marco Patzer <li...@homerow.info> wrote:


The following example throws the error:

  ! error:  (nodes): trying to delete an attribute reference of a non
attribute node mtx-context | fatal error: return code: 1

\setbreakpoints [compound]
\useMPlibrary [dum]

\starttext
  \startTABLE
\NC \externalfigure [foo-bar] [width=\textwidth] \NC
foo bar foo bar foobarfoobar \bold{} \NC\NR
  \stopTABLE
\stoptext


Any ideas?


has been fixed already

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

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-02 Thread Marco Patzer
On Thu, 30 Jun 2016 18:23:18 +0200
Marco Patzer <li...@homerow.info> wrote:

> The following example throws the error:
> 
>   ! error:  (nodes): trying to delete an attribute reference of a non
> attribute node mtx-context | fatal error: return code: 1
> 
> \setbreakpoints [compound]
> \useMPlibrary [dum]
> 
> \starttext
>   \startTABLE
> \NC \externalfigure [foo-bar] [width=\textwidth] \NC
> foo bar foo bar foobarfoobar \bold{} \NC\NR
>   \stopTABLE
> \stoptext

Any ideas?

Marco
___
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
___

[NTG-context] trying to delete an attribute reference of a non attribute node

2016-06-30 Thread Marco Patzer
Hi!

The following example throws the error:

  ! error:  (nodes): trying to delete an attribute reference of a non attribute 
node
  mtx-context | fatal error: return code: 1

\setbreakpoints [compound]
\useMPlibrary [dum]

\starttext
  \startTABLE
\NC \externalfigure [foo-bar] [width=\textwidth] \NC
foo bar foo bar foobarfoobar \bold{} \NC\NR
  \stopTABLE
\stoptext

Sorry for the not so minimal example. In the actual text I'm not
using the `dum` library, I'm including actual graphics. So I don't
believe that's the issue. It might have something to do with word
breaking, that's my gut feeling.

What is the issue here?

ConTeXt  ver: 2016.06.26 19:00

Marco
___
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
___

Re: [NTG-context] defining new entries for reference in letter module

2016-06-14 Thread Wolfgang Schuster

Jean-Francois Moulin <mailto:jean-francois.mou...@hzg.de>
13. Juni 2016 um 16:39
Hi!

I am trying to create a custom reference line with the letter module.
I would like for instance to display the typical phone and email fields
and additionaly eg a not yet existing field such as mobile={12345} (or
foo={bar})

At first I did not manage to have any field displayed at all but the use
of setupletterlayer as described in
https://mailman.ntg.nl/pipermail/ntg-context/2013/073560.html helped
(seems the manual from 2010 is no longer up to date...). Unfortunately
this writes the reference line with labels only for phone an email but
not for mobile nor foo, The value of the parameter is writen though, so
it seems I am half the way.
You have to set a text for the new labels with 
\setuplettertext[en][mobile=Mobile,foo=Foobar].


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] defining new entries for reference in letter module

2016-06-14 Thread Jean-Francois Moulin
Hi!

I am trying to create a custom reference line with the letter module.
I would like for instance to display the typical phone and email fields
and additionaly eg a not yet existing field such as mobile={12345} (or
foo={bar})

At first I did not manage to have any field displayed at all but the use
of setupletterlayer as described in
https://mailman.ntg.nl/pipermail/ntg-context/2013/073560.html helped
(seems the manual from 2010 is no longer up to date...). Unfortunately
this writes the reference line with labels only for phone an email but
not for mobile nor foo, The value of the parameter is writen though, so
it seems I am half the way.

This is what I use:

\setupletter
 [phone={1234567890},
  mobile={123456},
  foo={bar},
  email={tarat...@toto.xi}]
\setupletterlayer[reference][list={phone,mobile,foo,email}]

Thanks a lot for any hint

JFM



signature.asc
Description: OpenPGP digital signature
___
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
___

Re: [NTG-context] command reference not searchable

2016-05-20 Thread Akira Kakuto

mtxrun --launch context-todo.pdf


Thanks a lot.  mtxrun --launch i-context.pdf worked fine.

Best,
Akira

___
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
___

Re: [NTG-context] command reference not searchable

2016-05-20 Thread Jean-Pierre Delange
Wolfgang,
Thank you very much for this information.
JP

- Mail original -
De: "Wolfgang Schuster" <schuster.wolfg...@gmail.com>
À: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Envoyé: Jeudi 19 Mai 2016 23:09:49
Objet: Re: [NTG-context] command reference not searchable







Jean-Pierre Delange 
19. Mai 2016 um 21:59 

Hi fellows ConTeXt users, 

I think the issue comes from Mac OS X PDF reader installation. On Windows, one 
can pass the following command: 
context --extra=setups --overview cont-en.xml which print a PDF file (ConTeXt 
Extra) very searchable. 
cont-en.xml is the old reference file (which still exists because it is used in 
manuals), the updated list is in i-context.xml and all sub files (i-xxx.xml). 

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://tex.aanhet.net
archive  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] command reference not searchable

2016-05-20 Thread Jean-Pierre Delange
Hi HansvanderMeer,

I'll try sooner as possible to test these PDF on my virtual OS X Mavericks. 
Some tricks about mtxrun and lua are explained by Hans Hagen in a xml/pdf file 
doc entitled luatools/mtxrun/context dated May 12, 2016 : tools-mkiv.pdf
JP

- Mail original -
De: "Hans van der Meer" <h.vanderm...@uva.nl>
À: "NTG ConTeXt" <ntg-context@ntg.nl>
Envoyé: Vendredi 20 Mai 2016 09:10:15
Objet: Re: [NTG-context] command reference not searchable

Remembered that Hans Hagen recently told me (and Jean-Pierre reminded me of 
this) that the document can be generated with:
   context --extra=setups --overview i-context.xml
I did this and the resultant document now has in the document properties:
  PDF Producer: LuaTeX-0.95.0
  PDF Version : 1.7 (Acrobat 8.x)
This document is searchable indeed, both in Adobe Acrobat Reader DC and in 
Apple's Preview.
Conclusion: the problem must be --at least on my perfectly normal straight 
out-of-the-box MacOSX-- located in the producer "Mac OSX (version) Quartz 
PDFContext". Why? About that I am in the dark.

> On 19 May 2016, at 23:09, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
>> Jean-Pierre Delange 19. Mai 2016 um 21:59
>> Hi fellows ConTeXt users,
>> 
>> I think the issue comes from Mac OS X PDF reader installation. On Windows, 
>> one can pass the following command:
>> context --extra=setups --overview cont-en.xml which print a PDF file 
>> (ConTeXt Extra) very searchable.
> cont-en.xml is the old reference file (which still exists because it is used 
> in manuals), the updated list is in i-context.xml and all sub files 
> (i-xxx.xml).

Hans van der Meer




___
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
___
___
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
___

Re: [NTG-context] command reference not searchable

2016-05-20 Thread Hans Hagen

On 5/20/2016 5:14 AM, Akira Kakuto wrote:

It will be convenient for TeX Live users if i-context.pdf is copied like
$TEXMF/doc/context/documents/general/commands/i-context.pdf

Then one can read it by
texdoc i-context.pdf


mtxrun --launch context-todo.pdf

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] command reference not searchable

2016-05-20 Thread Meer, Hans van der
Remembered that Hans Hagen recently told me (and Jean-Pierre reminded me of 
this) that the document can be generated with:
   context --extra=setups --overview i-context.xml
I did this and the resultant document now has in the document properties:
  PDF Producer: LuaTeX-0.95.0
  PDF Version : 1.7 (Acrobat 8.x)
This document is searchable indeed, both in Adobe Acrobat Reader DC and in 
Apple's Preview.
Conclusion: the problem must be --at least on my perfectly normal straight 
out-of-the-box MacOSX-- located in the producer "Mac OSX (version) Quartz 
PDFContext". Why? About that I am in the dark.

> On 19 May 2016, at 23:09, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
>> Jean-Pierre Delange 19. Mai 2016 um 21:59
>> Hi fellows ConTeXt users,
>> 
>> I think the issue comes from Mac OS X PDF reader installation. On Windows, 
>> one can pass the following command:
>> context --extra=setups --overview cont-en.xml which print a PDF file 
>> (ConTeXt Extra) very searchable.
> cont-en.xml is the old reference file (which still exists because it is used 
> in manuals), the updated list is in i-context.xml and all sub files 
> (i-xxx.xml).

Hans van der Meer




___
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
___

Re: [NTG-context] command reference not searchable

2016-05-20 Thread Hans Åberg

> On 19 May 2016, at 18:49, Meer, Hans van der <h.vanderm...@uva.nl> wrote:
> 
> Checked again also on a MacBook, definitely not searchable here.
> I am running El Capitan, and the command reference version is the one from 
> May 17, 2016, found in one of the latest contextbeta distributions.

You probably need to detail what you try to do. I just plugged into some things 
into the Preview search bar and got hits.


___
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
___

[NTG-context] command reference not searchable

2016-05-19 Thread Akira Kakuto

It will be convenient for TeX Live users if i-context.pdf is copied like
$TEXMF/doc/context/documents/general/commands/i-context.pdf

Then one can read it by
texdoc i-context.pdf

Best,
Akira

___
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
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Wolfgang Schuster

Jean-Pierre Delange <mailto:adeiman...@free.fr>
19. Mai 2016 um 21:59
Hi fellows ConTeXt users,

I think the issue comes from Mac OS X PDF reader installation. On 
Windows, one can pass the following command:
context --extra=setups --overview cont-en.xml which print a PDF file 
(ConTeXt Extra) very searchable.
cont-en.xml is the old reference file (which still exists because it is 
used in manuals), the updated list is in i-context.xml and all sub files 
(i-xxx.xml).


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Mohammad Hossein Bateni
It is searchable on my El Capitan laptop here.  I used the file in the
directory and did not run context to generate it if that's what you did.

On Thu, May 19, 2016 at 3:59 PM, Jean-Pierre Delange <adeiman...@free.fr>
wrote:

> Hi fellows ConTeXt users,
>
> I think the issue comes from Mac OS X PDF reader installation. On Windows,
> one can pass the following command:
> context --extra=setups --overview cont-en.xml which print a PDF file
> (ConTeXt Extra) very searchable. I didn't try to go further with others xml
> files which source are here :
>
> http://source.contextgarden.net/scripts/context/stubs/unix/mtxrun?search=from
> JP
>
> - Mail original -
> De: "Hans van der Meer" <h.vanderm...@uva.nl>
> À: "NTG ConTeXt" <ntg-context@ntg.nl>
> Envoyé: Jeudi 19 Mai 2016 17:00:06
> Objet: [NTG-context] command reference not searchable
>
> The command reference in file i-context.pdf is highly useful, but that
> document is not searchable, neither with Preview nor Adobe Reader. Files
> luatex.pdf, xml-mkiv.pdf for example are searchable. It would be nice if
> the command reference can be searched too, because for now looking up a
> command needs a lot of page skipping. Can this be done? I would very much
> appreciate it.
>
> Hans van der Meer
>
>
>
>
>
> ___
> 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
>
> ___
>
> ___
> 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
>
> ___
>
___
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
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Jean-Pierre Delange
Hi fellows ConTeXt users,

I think the issue comes from Mac OS X PDF reader installation. On Windows, one 
can pass the following command:
context --extra=setups --overview cont-en.xml which print a PDF file (ConTeXt 
Extra) very searchable. I didn't try to go further with others xml files which 
source are here :
http://source.contextgarden.net/scripts/context/stubs/unix/mtxrun?search=from
JP

- Mail original -
De: "Hans van der Meer" <h.vanderm...@uva.nl>
À: "NTG ConTeXt" <ntg-context@ntg.nl>
Envoyé: Jeudi 19 Mai 2016 17:00:06
Objet: [NTG-context] command reference not searchable

The command reference in file i-context.pdf is highly useful, but that document 
is not searchable, neither with Preview nor Adobe Reader. Files luatex.pdf, 
xml-mkiv.pdf for example are searchable. It would be nice if the command 
reference can be searched too, because for now looking up a command needs a lot 
of page skipping. Can this be done? I would very much appreciate it.

Hans van der Meer




___
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
___
___
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
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Meer, Hans van der
Very weird. I haven't the faintest idea why this pdf is not searchable and 
similar ones in the same folder do. 
Checked the permissions but they are the same.
However, I have another document that cannot be searched, the context reference 
manual from 2013 and there seems to be a difference between these two and the 
others.
Those I cannot search have in their properties as PDF producer "Mac OSX 
(version) Quartz PDFContext" (older pdf versions 1.3 and 1.4), the others have 
Luatex as producer (pdf version 1.7).
Therefore, I strongly suspect that the Quartz producer is the culprit, weird as 
it may be.
Is it possible to produce the command reference with Luatex as producer 
excluding the Mac Quartz producer?
It is the only difference I am aware of that matches the behaviour.

> On 19 May 2016, at 19:08, Alan BRASLAU <alan.bras...@cea.fr> wrote:
> 
> I can search this document using any and all pdf tools to which I have
> access on my system.
> 
> Alan
> 
> On Thu, 19 May 2016 16:49:31 +
> "Meer, Hans van der" <h.vanderm...@uva.nl> wrote:
> 
>> Checked again also on a MacBook, definitely not searchable here.
>> I am running El Capitan, and the command reference version is the one
>> from May 17, 2016, found in one of the latest contextbeta
>> distributions.
>> 
>>> On 19 May 2016, at 18:02, Hans Åberg <haber...@telia.com> wrote:
>>> 
>>> 
>>>> On 19 May 2016, at 17:00, Meer, Hans van der <h.vanderm...@uva.nl>
>>>> wrote:
>>>> 
>>>> The command reference in file i-context.pdf is highly useful, but
>>>> that document is not searchable, neither with Preview nor Adobe
>>>> Reader.   
>>> 
>>> Searches work for me in Preview.
> 

Hans van der Meer




___
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
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Hans Åberg

> On 19 May 2016, at 18:49, Meer, Hans van der <h.vanderm...@uva.nl> wrote:
> 
> Checked again also on a MacBook, definitely not searchable here.
> I am running El Capitan, and the command reference version is the one from 
> May 17, 2016, found in one of the latest contextbeta distributions.

You probably need to detail what you try to do. I just plugged into some things 
into the Preview search bar and got hits.


___
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
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Alan BRASLAU
I can search this document using any and all pdf tools to which I have
access on my system.

Alan

On Thu, 19 May 2016 16:49:31 +
"Meer, Hans van der" <h.vanderm...@uva.nl> wrote:

> Checked again also on a MacBook, definitely not searchable here.
> I am running El Capitan, and the command reference version is the one
> from May 17, 2016, found in one of the latest contextbeta
> distributions.
> 
> > On 19 May 2016, at 18:02, Hans Åberg <haber...@telia.com> wrote:
> > 
> >   
> >> On 19 May 2016, at 17:00, Meer, Hans van der <h.vanderm...@uva.nl>
> >> wrote:
> >> 
> >> The command reference in file i-context.pdf is highly useful, but
> >> that document is not searchable, neither with Preview nor Adobe
> >> Reader.   
> > 
> > Searches work for me in Preview.

___
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
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Thomas A. Schmitz

On 05/19/2016 06:49 PM, Meer, Hans van der wrote:

Checked again also on a MacBook, definitely not searchable here.


Searchable on linux in okular (kde).

Thomas
___
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
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Meer, Hans van der
Checked again also on a MacBook, definitely not searchable here.
I am running El Capitan, and the command reference version is the one from May 
17, 2016, found in one of the latest contextbeta distributions.

> On 19 May 2016, at 18:02, Hans Åberg <haber...@telia.com> wrote:
> 
> 
>> On 19 May 2016, at 17:00, Meer, Hans van der <h.vanderm...@uva.nl> wrote:
>> 
>> The command reference in file i-context.pdf is highly useful, but that 
>> document is not searchable, neither with Preview nor Adobe Reader. 
> 
> Searches work for me in Preview.
> 


Hans van der Meer




___
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
___

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Hans Åberg

> On 19 May 2016, at 17:00, Meer, Hans van der <h.vanderm...@uva.nl> wrote:
> 
> The command reference in file i-context.pdf is highly useful, but that 
> document is not searchable, neither with Preview nor Adobe Reader. 

Searches work for me in Preview.


___
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
___

[NTG-context] command reference not searchable

2016-05-19 Thread Meer, Hans van der
The command reference in file i-context.pdf is highly useful, but that document 
is not searchable, neither with Preview nor Adobe Reader. Files luatex.pdf, 
xml-mkiv.pdf for example are searchable. It would be nice if the command 
reference can be searched too, because for now looking up a command needs a lot 
of page skipping. Can this be done? I would very much appreciate it.

Hans van der Meer




___
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
___

Re: [NTG-context] interactive reference

2016-02-05 Thread Wolfgang Schuster

Meer, Hans van der <mailto:h.vanderm...@uva.nl>
3. Februar 2016 um 19:10
In the ConTeXt reference manual in section 12.5 Cross references I 
find the following explanation:



I would like to set (interactive) references as the black triangles 
pointing forward and backward, as displayed here. Although I tried 
along the lines in the first example, as mentioned at the end of the 
text, I could not manage to get these triangles.
You can change the output from the \in and \at commands with 
\setupreferencing.


%\setupreferencing[interaction=all]
\setupreferencing[interaction=symbol]

\setupinteraction[state=start]

\starttext

\chapter[sec:1]{First chapter}

See \in{chapter}[sec:1].

See \in{chapter}[sec:2].

See \in{chapter}[sec:3].

\chapter[sec:2]{Second chapter}

See \in{chapter}[sec:1].

See \in{chapter}[sec:2].

See \in{chapter}[sec:3].

\chapter[sec:3]{Third chapter}

See \in{chapter}[sec:1].

See \in{chapter}[sec:2].

See \in{chapter}[sec:3].

\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] interactive reference

2016-02-04 Thread Henman

I did not send that mail.

On 02/03/2016 11:52 PM, Meer, Hans van der wrote:
Please, will the moderator of this group consider to remove from the 
list the sender of the reply below?

It is really offensive and the TeX-community unworthy.

Hans van der Meer




On 04 Feb 2016, at 00:42, Henman <dhen...@gmail.com 
<mailto:dhen...@gmail.com>> wrote:


Go eat your dead great-grandmother's cunt.






On 02/03/2016 10:10 AM, Meer, Hans van der wrote:
In the ConTeXt reference manual in section 12.5 Cross references I 
find the following explanation:




I would like to set (interactive) references as the black triangles 
pointing forward and backward, as displayed here. Although I tried 
along the lines in the first example, as mentioned at the end of the 
text, I could not manage to get these triangles.


How to?

Hans van der Meer





___
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
___


___
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
___

Re: [NTG-context] interactive reference

2016-02-04 Thread Taco Hoekwater

> On 04 Feb 2016, at 08:52, Meer, Hans van der  wrote:
> 
> Please, will the moderator of this group consider to remove from the list the 
> sender of the reply below?

Of course. Also ban-listed that e-mail address and altered the list archive.

For the future: it is better not to quote back messages like that to the list,
it just serves to give more attention to the post, and it makes removal from
the archives harder.

Best wishes,
Taco

___
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
___

Re: [NTG-context] interactive reference

2016-02-03 Thread Henman

Go eat your dead great-grandmother's cunt.

On 02/03/2016 10:10 AM, Meer, Hans van der wrote:
In the ConTeXt reference manual in section 12.5 Cross references I 
find the following explanation:



I would like to set (interactive) references as the black triangles 
pointing forward and backward, as displayed here. Although I tried 
along the lines in the first example, as mentioned at the end of the 
text, I could not manage to get these triangles.


How to?

Hans van der Meer






___
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
___


___
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
___

Re: [NTG-context] interactive reference

2016-02-03 Thread Meer, Hans van der
Please, will the moderator of this group consider to remove from the list the 
sender of the reply below?
It is really offensive and the TeX-community unworthy.

Hans van der Meer




On 04 Feb 2016, at 00:42, Henman <dhen...@gmail.com<mailto:dhen...@gmail.com>> 
wrote:

Go eat your dead great-grandmother's cunt.




On 02/03/2016 10:10 AM, Meer, Hans van der wrote:
In the ConTeXt reference manual in section 12.5 Cross references I find the 
following explanation:



I would like to set (interactive) references as the black triangles pointing 
forward and backward, as displayed here. Although I tried along the lines in 
the first example, as mentioned at the end of the text, I could not manage to 
get these triangles.

How to?

Hans van der Meer


___
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
___

[NTG-context] interactive reference

2016-02-03 Thread Meer, Hans van der
In the ConTeXt reference manual in section 12.5 Cross references I find the 
following explanation:

[cid:DD84C63C-7615-45C8-8BC0-DA1B83459B42@dynamic.ziggo.nl]

I would like to set (interactive) references as the black triangles pointing 
forward and backward, as displayed here. Although I tried along the lines in 
the first example, as mentioned at the end of the text, I could not manage to 
get these triangles.

How to?

Hans van der Meer




___
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
___

Re: [NTG-context] missing reference of items

2015-12-05 Thread Wolfgang Schuster

Henning Hraban Ramm <mailto:hra...@fiee.net>
5. Dezember 2015 um 13:20

Thank you very much - this is, what I wanted to achieve:


\def\emptyBibItemHead#1{}
\def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]}
\def\startbibitem{\dosingleempty\dostartbibitem}
\def\stopbibitem{\stopBibItem}

\definedescription[BibItem][
width=broad,margin=0pt,
indenting=no,indentnext=no,
headcommand=\emptyBibItemHead,]

headcommand=\gobbleoneargument,

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] missing reference of items

2015-12-05 Thread Henning Hraban Ramm
Am 2015-12-04 um 23:23 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>:

> or you use descriptions:
> 
> \definedescription[bibitem][title=yes]
> 
> \definereferenceformat [bibtitle]  [type=title,left={[},right={]}]
> \definereferenceformat [bibpage]   [type=page]

Thank you very much - this is, what I wanted to achieve:


\def\emptyBibItemHead#1{}
\def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]}
\def\startbibitem{\dosingleempty\dostartbibitem}
\def\stopbibitem{\stopBibItem}

\definedescription[BibItem][
width=broad,margin=0pt,
indenting=no,indentnext=no,
headcommand=\emptyBibItemHead,]

\definereferenceformat [cite]  [type=title,left={[},right={]}]
%\definereferenceformat [bibpage]   [type=page]

\starttext

\title{Text}

As shown in \cite[Ramm 2015], the question is now solved.

\title{Bibliography}

\startbitem[Ramm 2015]
Ramm, Hraban: The Solved Question. Bishkek 2015.
\stopbibitem

\stoptext
___
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
___

Re: [NTG-context] missing reference of items

2015-12-05 Thread Henning Hraban Ramm

Am 2015-12-05 um 05:03 schrieb Alan BRASLAU :

> Or you can use the bibliography module to manage a bibliographic
> dataset. The rendering of the list is rather configurable. This appears
> to be a bit more complicated than manually using itemgroups or
> descriptions, but really isn't if one has few categories of references,
> say only books, as one need not create a complete custom specification.

Thank you, but in the given context, setting up a real bibliography database 
would be too much.

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___

[NTG-context] missing reference of items

2015-12-04 Thread Henning Hraban Ramm
Hi wizards

(I’m trying to adapt http://wiki.contextgarden.net/Manual_Bibliography, but 
that doesn’t really matter.)

\item is documented to take a reference: \item[myref]
But this reference is always unknown if I try to access it, see example:


\starttext

Siehe \in[eins] oder so.

\startitemize

\item[eins] Der erste Eintrag

\item[zwei] Der zweite Eintrag

\stopitemize

\stoptext


My error or ConTeXt bug?


If that works, I’d like to setup something like:

\definereferenceformat[cite][left={[},right={]},command=\in]

I.e. \cite[Ramm 2015] should give

… [Ramm 2015] … and that reference being a link to the bibliography item.


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___

Re: [NTG-context] missing reference of items

2015-12-04 Thread Henning Hraban Ramm
Am 2015-12-04 um 19:58 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>:

>> \item is documented to take a reference: \item[myref]
>> But this reference is always unknown if I try to access it, see example:
>> Siehe \in[eins] oder so.
>> My error or ConTeXt bug?
> You can use the \in command only for numbered items (e.g. \startitemize[n]).

The same seems to be true for \at and \about.
Then how must I setup my "cite" to get the reference label of an item?

In my "manual bibliography" (as in 
http://wiki.contextgarden.net/Manual_Bibliography), I have

\definereferenceformat[cite][left={[},right={]},command=\at]
\startbibitem[Ramm 2015]
Ramm, Hraban: The Unsolved Question. Bishkek 2015.
\stopbibitem

And in my text I want to use \cite[Ramm 2015] to get a link to the entry shown 
as [Ramm 2015].



Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___

Re: [NTG-context] missing reference of items

2015-12-04 Thread Wolfgang Schuster

Henning Hraban Ramm <mailto:te...@fiee.net>
4. Dezember 2015 um 12:57
Hi wizards

(I’m trying to adapt 
http://wiki.contextgarden.net/Manual_Bibliography, but that doesn’t 
really matter.)


\item is documented to take a reference: \item[myref]
But this reference is always unknown if I try to access it, see example:


\starttext

Siehe \in[eins] oder so.

\startitemize

\item[eins] Der erste Eintrag

\item[zwei] Der zweite Eintrag

\stopitemize

\stoptext


My error or ConTeXt bug?

You can use the \in command only for numbered items (e.g. \startitemize[n]).

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] missing reference of items

2015-12-04 Thread Wolfgang Schuster

Henning Hraban Ramm <mailto:te...@fiee.net>
4. Dezember 2015 um 16:34

The same seems to be true for \at and \about.
Then how must I setup my "cite" to get the reference label of an item?

In my "manual bibliography" (as in 
http://wiki.contextgarden.net/Manual_Bibliography), I have


\definereferenceformat[cite][left={[},right={]},command=\at]
\startbibitem[Ramm 2015]
Ramm, Hraban: The Unsolved Question. Bishkek 2015.
\stopbibitem

And in my text I want to use \cite[Ramm 2015] to get a link to the 
entry shown as [Ramm 2015].

You can choose between a itemgroup where you have numbered entries:

\defineitemgroup[bibliography]

\setupitemgroup[bibliography][each][n][left={[},right={]},stopper=]

\definereferenceformat [bibnumber] [type=number,left={[},right={]}]
\definereferenceformat [bibpage]   [type=page]

\starttext

\startitemgroup[bibliography]
\startitem[Ramm 2015]
Ramm, Hraban: The Unsolved Question. Bishkek 2015.
\stopitem
\stopitemgroup

See \bibnumber[Ramm 2015] at page \bibpage[Ramm 2015].

\stoptext


or you use descriptions:

\definedescription[bibitem][title=yes]

\definereferenceformat [bibtitle]  [type=title,left={[},right={]}]
\definereferenceformat [bibpage]   [type=page]

\starttext

\startbibitem[reference=Ramm 2015,title=Ramm 2015]
Ramm, Hraban: The Unsolved Question. Bishkek 2015.
\stopbibitem

See \bibtitle[Ramm 2015] at page \bibpage[Ramm 2015].

\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] missing reference of items

2015-12-04 Thread Alan BRASLAU
Or you can use the bibliography module to manage a bibliographic
dataset. The rendering of the list is rather configurable. This appears
to be a bit more complicated than manually using itemgroups or
descriptions, but really isn't if one has few categories of references,
say only books, as one need not create a complete custom specification.

Alan

On Fri, 4 Dec 2015 18:23:07 +0100
Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote:

> > Henning Hraban Ramm <mailto:te...@fiee.net>
> > 4. Dezember 2015 um 16:34
> >
> > The same seems to be true for \at and \about.
> > Then how must I setup my "cite" to get the reference label of an
> > item?
> >
> > In my "manual bibliography" (as in 
> > http://wiki.contextgarden.net/Manual_Bibliography), I have
> >
> > \definereferenceformat[cite][left={[},right={]},command=\at]
> > \startbibitem[Ramm 2015]
> > Ramm, Hraban: The Unsolved Question. Bishkek 2015.
> > \stopbibitem
> >
> > And in my text I want to use \cite[Ramm 2015] to get a link to the 
> > entry shown as [Ramm 2015].
> You can choose between a itemgroup where you have numbered entries:
> 
> \defineitemgroup[bibliography]
> 
> \setupitemgroup[bibliography][each][n][left={[},right={]},stopper=]
> 
> \definereferenceformat [bibnumber] [type=number,left={[},right={]}]
> \definereferenceformat [bibpage]   [type=page]
> 
> \starttext
> 
> \startitemgroup[bibliography]
>  \startitem[Ramm 2015]
>  Ramm, Hraban: The Unsolved Question. Bishkek 2015.
>  \stopitem
> \stopitemgroup
> 
> See \bibnumber[Ramm 2015] at page \bibpage[Ramm 2015].
> 
> \stoptext
> 
> 
> or you use descriptions:
> 
> \definedescription[bibitem][title=yes]
> 
> \definereferenceformat [bibtitle]  [type=title,left={[},right={]}]
> \definereferenceformat [bibpage]   [type=page]
> 
> \starttext
> 
> \startbibitem[reference=Ramm 2015,title=Ramm 2015]
> Ramm, Hraban: The Unsolved Question. Bishkek 2015.
> \stopbibitem
> 
> See \bibtitle[Ramm 2015] at page \bibpage[Ramm 2015].
> 
> \stoptext
> 
> Wolfgang



-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS UMR 3680
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
___
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
___

<    1   2   3   4   5   6   >