Re: [NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Eidenbenz Michael
Dear Hans,

thanks for your answer.
i found a workaround by using only the key for the crossref and adding the 
"img::" in the macro. 

below is the working example (just for the record)

regards michael


---

\startbuffer[duane]

@image {tug2014,
title   = "TUG 2014",
url = "http://tug.org/tug2014/;,
url_image   = "http://tug.org/art/tug2014-color.jpg;,
url_thumb   = "http://tug.org/tug2014/t2014-thumb.jpg;,
description = "Official drawing of the TUG 2014 conference",
author  = "Duane Bibby",
year= 2014,
}

\stopbuffer

\definebtxdataset
 [duane]

\usebtxdataset
 [duane]
 [duane.buffer]

\usebtxdefinitions  
 [duane]

\definebtxrendering
[duane]
[dataset=duane,
 method=local, 
]

\setupbtxlist
[duane]
[number=no]

\startsetups btx:duane:cite:image
   {\externalfigure[\btxfield{url_image}][width=10cm]}
\stopsetups

 \def\bild[#1]#2%
{\placefigure[here][#1]{#2}{\cite[image][duane::#1]}}%

\def\bildref[#1]%
{\in{\bf Fig.}[#1]}

\startsetups btx:duane:list:image
  \btxfield{title} 
\stopsetups

\starttext

   %\enabletrackers
   % [publications.setups]
   
   \bild[tug2014]\par
   
   \input tufte
 
   \bildref[tug2014]

   \page

   \placebtxrendering[duane]

\stoptext






On 10.10.2015, at 11:35, Hans Hagen 
 wrote:

> On 10/10/2015 10:26 AM, Eidenbenz  Michael wrote:
>> Hello,
>> 
>> I have double colons (::) in my reference points.
>> (It's actually the same string I also use to refer to my publication 
>> database)
>> But they wont show up as you can see in the example below.
>> 
>> Is there any way to fix this?
>> 
>> Thanks for your help and best regards
> 
> :: and ::: have special meaning (:; for another document and ::: for 
> components and such)
> 
>> Michael
>> 
>> -
>> 
>> \starttext
>> 
>> \placefigure[here][img:cow]{This is a cow}{\externalfigure[cow.jpg]}\par
>> \placefigure[here][img::mill]{This is a mill}{\externalfigure[mill.png]}\par
>> 
>> The picture in \in{Figure}[img:cow] is a cow\par
>> The picture in \in{Figure}[img::mill] is a mill (cross reference is not 
>> working)\par
>> 
>> \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
>> ___
>> 
> 
> 
> -- 
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : 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
___

[NTG-context] Regression with \doboundtext in \writetolist

2015-10-10 Thread Rik Kabel
The following example works with older versions of ConTeXt, such as the 
version from 20150325 in my repository. It fails with TL15 and later, 
including the current standalone beta.


   % macros=mkvi
   \setwidthof {99}\to\IDWidth\relax
   \def\STWidth{\dimexpr\textwidth-\IDWidth+1cm}
   \definelist[OList]
   \setuplist
   [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument]

   \starttexdefinition OLister #ID#String
   {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad}
   {\doboundtext{#String}{\STWidth}{…}
   \stoptexdefinition

   \starttext
   \OLister1{Some list testing text xxx xxx xxx xxx xxx xxx xxx xxx xxx
   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx}
   \OLister2{Yet another list testing text xxx xxx xxx xxx xxx xxx xxx
   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx}
   \OLister3{A list testing text xxx xxx xxx xxx xxx xxx xxx xxx xxx
   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx}
   \OLister4{Different list testing text xxx xxx xxx xxx xxx xxx xxx
   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx}
   \subject{List half width}
   \startcolumns[n=2]
   \placelist[OList]
   \stopcolumns
   \stoptext

With the 20150325 ConTeXt, there are .tuc file entries like:

   ["second"]="\\hbox {\\simplealignedbox {\\IDWidth
   }{left}{2\\quad }{\\doboundtext {Yet another list testing text xxx
   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
   xxx}{\\STWidth }{…}}}",

but with more recent versions, the corresponding entry is:

   ["second"]="\\hbox {\\simplealignedbox {12.6pt}{left}{2\\quad
   }{\\hbox {\\setbox \\scratchbox \\hbox {Yet another list testing
   text xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
   xxx xxx}\\scratchdimen \\dimexpr \\textwidth -12.6pt+1cm\\relax
   \\box \\scratchbox }}}",

--
Rik
___
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] reference points with double colons (::) are not working

2015-10-10 Thread Eidenbenz Michael
Hello,

I have double colons (::) in my reference points. 
(It's actually the same string I also use to refer to my publication database)
But they wont show up as you can see in the example below.

Is there any way to fix this?

Thanks for your help and best regards 

Michael

-

\starttext

\placefigure[here][img:cow]{This is a cow}{\externalfigure[cow.jpg]}\par
\placefigure[here][img::mill]{This is a mill}{\externalfigure[mill.png]}\par

The picture in \in{Figure}[img:cow] is a cow\par
The picture in \in{Figure}[img::mill] is a mill (cross reference is not 
working)\par 

\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] reference points with double colons (::) are not working

2015-10-10 Thread Hans Hagen

On 10/10/2015 10:26 AM, Eidenbenz  Michael wrote:

Hello,

I have double colons (::) in my reference points.
(It's actually the same string I also use to refer to my publication database)
But they wont show up as you can see in the example below.

Is there any way to fix this?

Thanks for your help and best regards


:: and ::: have special meaning (:; for another document and ::: for 
components and such)



Michael

-

\starttext

\placefigure[here][img:cow]{This is a cow}{\externalfigure[cow.jpg]}\par
\placefigure[here][img::mill]{This is a mill}{\externalfigure[mill.png]}\par

The picture in \in{Figure}[img:cow] is a cow\par
The picture in \in{Figure}[img::mill] is a mill (cross reference is not 
working)\par

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




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Windows GUI installer

2015-10-10 Thread Mojca Miklavec
Dear Vyatcheslav,

On Thu, Oct 8, 2015 at 10:07 AM, Vya. Y. wrote:
> Hi,
>
> Wiki http://wiki.contextgarden.net/Windows_Installation leads to
> http://minimals.contextgarden.net/setup/context-installer/ which is 404 Not
> Found now. Whom should I contact to return my Windows installer to Web
> again?

I'm the right person to contact, but I didn't see your private message
until today.

The reason why it has been removed is that many people complained
about problems they experienced and the installer has actually led to
more confusions rather than helping people. Because there was no
activity from your side for a very long time, we considered the
project abandoned (like an ancient Mac installer that's also there,
but probably defunct for years).

We can certainly put it back, but we should check first how it works
and most likely some changes will be needed to fix problems that other
people experienced.

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