Re: [NTG-context] custom cite in \externalfigure

2016-05-04 Thread Eidenbenz Michael
thats what i already have:

>> \startsetups btx:duane:cite:filename
>>   {\btxfield{url_image}}
>> \stopsetups


so you mean i have to use btxfield outside a setups?

what seems strange to me is that \cite[filename] works as such, but not as an 
argument to \externalfigure
i thought it might have to do with the data (url_image) not being available in 
the first pass.

thanks michael

> On 04 May 2016, at 10:02, Hans Hagen  wrote:
> 
> On 4/30/2016 10:06 PM, eidenbenz wrote:
>> Could somebody explain me why this (the part that is commented) doesn't work?
>> I get the following error:
>> 
>> tex error   > tex error on line 0 in file : ! Emergency stop
>> <*> cont-yes.mkiv
>> 
>> *** (job aborted, no legal \end found)
> 
> because \cite does a lot more than just returning a filename ... you need to 
> use the low more level btxfield commands to get the more raw data
> 
>> 
>> Thanks 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:list:image
>>  \btxfield{title}
>> \stopsetups
>> 
>> \startsetups btx:duane:cite:external
>>   {\externalfigure[\btxfield{url_image}][width=10cm]}
>> \stopsetups
>> 
>> \startsetups btx:duane:cite:filename
>>   {\btxfield{url_image}}
>> \stopsetups
>> 
>> \starttext
>> 
>>   \cite[filename][duane::tug2014]\par
>>   \cite[external][duane::tug2014]\par
>> 
>>   % Why does this not work?
>>   %\externalfigure[\cite[filename][duane::tug2014]][width=10cm]\par
>> 
>>   \placebtxrendering[duane]
>> 
>> \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 | 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
___

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

[NTG-context] custom :cite setups with new bibliography system

2015-10-06 Thread Eidenbenz Michael
This works only with method=dataset in current context.
In beta the method=local works, but then \btxfield is broken for the :cite 
setups

Is there a workaround or is this temporaily broken? 

Thanks and best 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,
}

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

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

\stopbuffer

\definebtxdataset
 [duane]

\usebtxdataset
 [duane]
 [duane.buffer]

\usebtxdefinitions  
 [duane]

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

%method=local only works with beta, but then \btxfield in :cite:image (not in 
:list:image) is broken


\setupbtxlist
[duane]
[number=no]

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

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

\starttext

   %\enabletrackers
   %  [publications.setups]
   
   \cite[image][duane::tug2014]
   
   \page

   \placebtxrendering[duane]

\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] Setups for images in publication framework

2015-10-05 Thread Eidenbenz Michael
Ok I got it, we need: 

\usebtxdefinitions  [duane]

So I guess "specification=duane"  in \definebtxrendering is obsolete?

I realy like the possibilities the new bibliograpy code offers. 
Is there already an updated documentation available?

Thanks and best regards Michael




On 03.10.2015, at 13:20, Eidenbenz Michael  wrote:

> Dear list,
> 
> I try to process the following example from the testsuite 
> (publications/basics-002.tex) but it seems to be broken with current context 
> and beta.
> 
> "publications> no data definition file 'publ-imp-duane.lua' for 'duane'"
> 
> how can i fix this?
> 
> 
> best 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,
>}
> 
>@image {tug2013,
>title   = "TUG 2013",
>url = "http://tug.org/tug2013/";,
>url_image   = "http://tug.org/tug2013/tug2013-color-300.jpg";,
>url_thumb   = "http://tug.org/tug2013/t2013-thumb.jpg";,
>description = "Official drawing of the TUG 2013 conference",
>author  = "Duane Bibby",
>year= 2013,
>}
> 
>@image {tug2012,
>title   = "TUG 2012",
>url = "http://tug.org/tug2012/";,
>url_image   = "http://www.tug.org/art/tug2012-color.jpg";,
>url_thumb   = "http://www.tug.org/tug2012/t2012-thumb.jpg";,
>description = "Official drawing of the TUG 2012 conference",
>author  = "Duane Bibby",
>year= 2012,
>}
> 
> \stopbuffer
> 
> % A quick and dirty layout:
> 
> \usemodule
>  [article]
> 
> \setupinteraction
>  [state=start]
> 
> % We will use a dedicated dataset:
> 
> \definebtxdataset
>  [duane]
> 
> % That we will fill with some records:
> 
> \usebtxdataset
>  [duane]
>  [duane.buffer]
> 
> % And a rendering:
> 
> \definebtxrendering
>  [duane]
>  [dataset=duane,
>   method=dataset,
>   specification=duane]
> 
> % We also set up the associated list (a description):
> 
> \setupbtxlist
>  [duane]
>  [number=no]
> 
> % This is the image renderer:
> 
> \startsetups btx:duane:list:image
>\bgroup
>\bTABLE[offset=1ex]
>\bTR
>\bTD[ny=4]
>\dontleavehmode 
> \externalfigure[\btxfield{url_thumb}][width=4cm]
>\eTD
>\bTD
>\bold{\btxfield{title}}\blank
>\btxfield{Words -> description}\blank
>\goto{high res variant}[url(\btxfield{url_image})]
>\eTD
>\eTR
>\eTABLE
>\egroup
> \stopsetups
> 
> \starttext
> 
>\placebtxrendering
>[duane]
> 
>\page
> 
>\showbtxdatasetcompleteness
>  [specification=duane,
>   dataset=duane]
> 
>\page
> 
>\enabletrackers
>  [publications.setups]
> 
>\placebtxrendering
>[duane]
>[repeat=yes]
> 
> \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] Setups for images in publication framework

2015-10-03 Thread Eidenbenz Michael
Dear list,

I try to process the following example from the testsuite 
(publications/basics-002.tex) but it seems to be broken with current context 
and beta.

"publications> no data definition file 'publ-imp-duane.lua' for 'duane'"

how can i fix this?


best 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,
}

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

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

\stopbuffer

% A quick and dirty layout:

\usemodule
  [article]

\setupinteraction
  [state=start]

% We will use a dedicated dataset:

\definebtxdataset
  [duane]

% That we will fill with some records:

\usebtxdataset
  [duane]
  [duane.buffer]

% And a rendering:

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

% We also set up the associated list (a description):

\setupbtxlist
  [duane]
  [number=no]

% This is the image renderer:

\startsetups btx:duane:list:image
\bgroup
\bTABLE[offset=1ex]
\bTR
\bTD[ny=4]
\dontleavehmode 
\externalfigure[\btxfield{url_thumb}][width=4cm]
\eTD
\bTD
\bold{\btxfield{title}}\blank
\btxfield{Words -> description}\blank
\goto{high res variant}[url(\btxfield{url_image})]
\eTD
\eTR
\eTABLE
\egroup
\stopsetups

\starttext

\placebtxrendering
[duane]

\page

\showbtxdatasetcompleteness
  [specification=duane,
   dataset=duane]

\page

\enabletrackers
  [publications.setups]

\placebtxrendering
[duane]
[repeat=yes]

\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] caption on layoutgrid

2013-03-02 Thread Eidenbenz Michael
hi all, 

is there a way to typeset a caption on the layout grid?

thanks michael



\showgrid
\setuplayout [grid=yes]

\starttext
\setupfloats[figure][location=left]
\setupcaption [figure]  [location={low,right},width=fit]
\input tufte
\reservefigure[height=4cm,width=10cm,frame=on]{\placeongrid{How do I place this 
caption on the grid (bottom aligned with figure)?}}{}
\reservefigure[height=4cm,width=10cm,frame=on]{How do I place this caption on 
the grid(bottom aligned with figure)?}{}
\input tufte
\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] Publicationlist

2012-09-19 Thread Eidenbenz Michael
works like a charm! didn't know it is so easy.

thanks michael



Am 19.09.2012 um 14:27 schrieb Marco Patzer:

> 2012-09-19 "Eidenbenz  Michael" :
> 
> Hi Michael
> 
>> is there a way to setup the layout of the publicationlist? I would
>> like to add a blank line after every entry.
> 
> untested:
> 
> \setuplist
>  [pubs]
>  [after=\blank]
> 
> 
> 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
> ___

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

2012-09-19 Thread Eidenbenz Michael
Hello list,

is there a way to setup the layout of the publicationlist? I would like to add 
a blank line after every entry. I already created my own style file to alter 
the layout of some publications but don't know where to change the list.

best michael
___
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] setupinterlinespace top and height relations

2012-04-02 Thread Eidenbenz Michael
hi all,

As a grid system fetishist, I  would like to align the top of my first line 
with the top of the layout frame. 
Using try and error (still a context newbie) I managed this by 
"\setupinterlinespace [height=.5, top=.7]". 

this seems strange to me, because i was expecting that the argument top is the 
only one that controls \topskip.

Is there a graphic that shows the relation between the arguments of 
setupinterlinespace?


best michael



\setupbodyfont  [palatino, 10pt]
\setupinterlinespace[height=.5, top=.7]
\showframe
\starttext
\beginofshapebox
\input zapf
\endofshapebox
\reshapebox{\hbox{\red\ruledhbox{\black\box\shapebox}}}
\flushshapebox
\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] bibtex doesnt find stylefiles in TEXMFHOME on context standalone

2012-03-10 Thread Eidenbenz Michael
Dear Mojca,

thanks a lot!

i changed my TEXMFHOME only in texmfcnf.lua. not in in texmf.cnf. now i did 
this and bibtex works fine.

I really don't know how the difference between the twos ... i was just hacking.
but it seems to me that texmfcnf.lua handles all context specific files (eg my 
typscripts and bibl files) while texmf.cnf is responsible for bibtex stuff (eg 
my bst. file)

anyway now it works.

best michael



Am 10.03.2012 um 16:05 schrieb Mojca Miklavec:

> On Sat, Mar 10, 2012 at 15:56, Mojca Miklavec wrote:
>> 
>> You can test the setting by running
>>kpsewhich --expand-path '$BIBINPUTS'
>>kpsewhich --expand-path '$BSTINPUTS'
>> but I can confirm that this returns utterly weird results here. For
>> BIBINPUTS I only get current directory and for BSTINPUTS I get
>>
>> .:/contextroot/texmf-context/bibtex/bst:/contextroot/texmf-context/bibtex/bst/context
>> which is wrong. But I'm clueless why this happens.
> 
> I'm sorry. You should test with
>kpsewhich --expand-var '$BIBINPUTS'
>kpsewhich --expand-var '$BSTINPUTS'
> instead.
> 
> It seems that --expand-path only returns paths where there is some
> actual content.
> 
> However I didn't test if bibtex actually finds anything. I still think
> that after setting
>export TEXMFHOME=$HOME/Library/texmf
> bibtex should be able to find your files. (And once you figure out
> whether this works, you can change the settings in
> texmf-local/web2c/texmf.cnf)
> 
> 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
> ___

___
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] bibtex doesnt find stylefiles in TEXMFHOME on context standalone

2012-03-10 Thread Eidenbenz Michael
hello list,

i recently installed the lastest beta (2012.03.05) as standalone alongside 
TexLive with the latest stable version (2011.05.18)
i use some custom stylefiles ( bst and bibl) for bibtex that are placed in my 
TEXMFHOME Directory that is $HOME/Library/texmf on osx.

now context beta finds all the files in my TEXMFHOME but bibtex doesnt.

i guess this has to do something to do with kpathsea etc. but i'm very new to 
TeX and am a little bit lost here. can sombody guide me in the right direction 
how to solve this.

i did run mktexlsr but this doesnt helped.

thanks michael
___
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] separate publication lists for different publication types

2012-01-19 Thread Eidenbenz Michael
hi all,

is it possible to have separate publication lists for different publication 
types? 
eg. one list for the book, booklet, inbooks, manuals  and the other list for 
article, conference, periodicals?
I tried to define two different bibliography style files for each list, where I 
defined \setuppublicationlayout just for the desired types, but this doesn't 
work. either it gives me a blank line for an undefined record type or it takes 
the definition from somewhere else.

thanks, 

michael
___
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] separate publication lists for different publication types

2012-01-16 Thread Eidenbenz Michael
hi all,

is it possible to have separate publication lists for different publication 
types? 
eg. one list for the book, booklet, inbooks, manuals  and the other list for 
article, conference, periodicals?
I tried to define two different bibliography style files for each list, where I 
defined \setuppublicationlayout just for the desired types, but this doesn't 
work. either it gives me a blank line for an undefined record type or it takes 
the definition from somewhere else.

thanks, 

michael
___
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] getcitedata bug in mkiv?

2011-12-12 Thread Eidenbenz Michael
hi all,

referring to my previous question: the following gives me a correct pdf with 
mkII but nothing at all with mkiv. is this a bug?

thanks an best michael


\setupbibtex [database=mylib]

\def\mycite#1{
\bgroup
\getcitedata[title][#1] to \mytitle
\mytitle
\egroup}

\starttext
\mycite{meinautor:2000}
\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] getcitedata

2011-12-12 Thread Eidenbenz Michael
Hi all,

I'm looking for some information on the command

\getcitedata [field][key] to \macroname

i only manage to get results using a bbl file  \input bibtest.bbl
is there a way to use it with a bib file directly via

\setupbibtex[database=mylib] so i can run context just once?

Thanks Michael
___
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] Help with Image Database in MKIV

2011-11-10 Thread Eidenbenz Michael
Hello,

I'm trying to use the Image Database feature as described here: 
http://wiki.contextgarden.net/Image_Database using ConTeXt  ver: 2011.05.18 
18:04 MKIV  fmt: 2011.11.7  int: english/english

Unfortunately I don't manage to get it working.

I have all my files in the same directory so this can't be an issue. Since I 
manage to build a pdf out of the xml I suppose this file is also ok. But when I 
process the .tex, the figure appear as dummy.

here's my tex-file:

\usefigurebase[figure-lib]
\starttext
\externalfigure[resource2]
\stoptext

and the figure-lib.xml:



  
  Organisation
  PhD
  figure-lib
  pictures of my PhD
  

  
 Ball.png
 resource2
 somebody
 Ball
  



am I missing something?

Thanks Michael!

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