Re: [NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Aditya Mahajan
On Fri, 2 Jul 2021, Jan U. Hasecke wrote:

> 
> Dear Hans,
> 
> thanks for the hint to the repo. I remember that it was mentiooned before.
> 
> Am 02.07.21 um 10:42 schrieb Hans Hagen:
> > official    : https://bitbucket.org/phg/context-mirror/src/beta/

There is also

github: https://github.com/contextgarden/context-mirror

which simply mirrors the bitbucket repo.

> Is there a how-to-bootstrap-from-repository? How can I get a running 
> context with the repo?

These repos contain just the contents on texmf-context, but not the binaries 
(or sources of binaries). You need the binaries (and fonts!) to get a working 
installation. 

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Jan U. Hasecke


Dear Hans,

thanks for the hint to the repo. I remember that it was mentiooned before.

Am 02.07.21 um 10:42 schrieb Hans Hagen:

official    : https://bitbucket.org/phg/context-mirror/src/beta/


Is there a how-to-bootstrap-from-repository? How can I get a running 
context with the repo?


TIA
juh
___
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] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Hans Hagen

On 7/2/2021 11:56 AM, Jan U. Hasecke wrote:


Dear Hans,

thanks for the hint to the repo. I remember that it was mentiooned before.

Am 02.07.21 um 10:42 schrieb Hans Hagen:

official    : https://bitbucket.org/phg/context-mirror/src/beta/


Is there a how-to-bootstrap-from-repository? How can I get a running 
context with the repo?

no, not yet ... we want to do it 'right' from the start


-
  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] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Hans Hagen

On 7/2/2021 9:38 AM, Jan U. Hasecke wrote:


Am 02.07.21 um 01:07 schrieb Bruce Horrocks:
One option you might try, if your cooperative has a web-server 
available to editors, is to store your own ConTeXt repository. That 
way you can update the LMTX version when you are ready to.


This works because "install.sh" can have a "--server" parameter 
supplied. By default it goes to lmtx.pragma-ade.com/install-lmtx but 
if you were to copy the install-lmtx directory and host the copy on 
your own server at the same path, then you could 'freeze' your LMTX 
version until you were ready to change.



Thanks for this hint.

This might solve one more problem. We would like to pin the installation 
to a version that is known too work.


BTW: Are there plans to use a GitHub repository or an alternative to it? 
As that would ease pinning a bit.

All uploads end up here too alsk kind of an archive:

official: https://bitbucket.org/phg/context-mirror/src/beta/
experimental : https://github.com/mojca/context2

The official oen can be checked out, the experimental one is a 
playground because for quite a while Mojca and I have some ideas for a 
more extensive install on github which would then involve:


-- core context code (with luametatex in source tree too: 
tex/texmf-context in the distribution


-- the minimal set of resources: tex/texmf in the distribution

-- binaries (which is the more complex part)

-- modules: texmf/modules

So, basically several repositories alongside (totaling to the amoutn we 
now have in the zips). We then have doif-it-yourself-zips, the garden 
installer, the lmtx self updater and install-from-github as 
alternatives. I have a sort of proof of concept for it. We looked into 
the binary bit and things have changed a bit over the years so maybe 
it's more doable now.


One of the complications is always that it depends on helper programs:

- zips are easy as all systems have it (ok, some linux distributions 
don't install unzip but one can easily add it)


- the garden install needs a matching rsync (we need to ship on for 
windows and sometimes a mismatch will require an update on other 
platforms); it reminds me that we have to swap the cygwin bins by mingw 
bins; anyway. one problem is that organizations block the port


- the lmtx installer needs a (luametatex) binary which is no big deal; 
it uses http and there might be organizations that demand https and ssl 
keeps evolving so in the long run it can fail to update older 
installations (it anyway means that we need to also ship e.g. curl or 
libcurl (the later works ok for us); no big deal but more work)


- a github install demands that git is installed; that itself is a big 
piece of software (a small git binary for windows is already 200 MB due 
to all the dependencies while actually we only need a stupid fetch); the 
gh binary is still 25M but might be a solution, apart from the fact that 
we then expect users to have a recent bin ... will a 5 year old 
installation update?); of course users can also decide to completely do 
it themselves (check out etc) but for a local project-specific run one 
doesn't want all those gigs


So, each approach has pros and cons, and we need to prevent lock into 
some specific technology.


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] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread denis.maier
Hi,
in case you don't know it already, for your use-case you might also be 
interested in this workflow:
https://oa-pub.hos.tuhh.de/de/

It's a publishing workflow for OA-Journals. IIUC, the interesting part (in this 
context here) is that they use Gitlab, author in markdown, and whenever you 
push a commit, Gitlab actions are used to produce the final output. I think 
they use Pandoc and LaTeX with Docker Images, but maybe it could be possible to 
set something similar up with ConTeXt... 

Denis


> -Ursprüngliche Nachricht-
> Von: ntg-context  Im Auftrag von Jan U. Hasecke
> Gesendet: Donnerstag, 1. Juli 2021 08:03
> An: mailing list for ConTeXt users 
> Betreff: [NTG-context] Rolling out a pandoc-context publication workflow in an
> organization
> 
> 
> Dear all,
> 
> in the last weeks I asked more questions than I normally do. The reason is 
> that
> my organization is discussing to roll out a markdown-pandoc-context
> publication workflow.
> 
> Some time ago we started to use context to produce flyers and some other
> documents. In fact I was the only one to use it. The results are so good that 
> we
> discussed how to use it more often.
> 
> Currently we use LaTeX to produce our legal documents, terms of services etc.
> With ConTeXt we are able to meet our corporate design guidelines and to
> produce good looking and individually designed documents.
> 
> But our authors and editors were not willing to use ConTeXt directly so that 
> we
> decided to look into Pandoc and use Markdown as authors input markup.
> Markdown is much better supported by text editors than ConTeXt.
> 
> The main problem for me is to come up with a good organization of the
> ConTeXt workflow so that it is easy usable and meets our requirements for
> quality management.
> 
> These are quite strict. We are a Debian based cooperative and the majority of
> our editors also use this distribution on their private computers. Some use a
> MacBook, only one uses of Windows.
> 
> For this reason we would like to stay with the Debian ConTeXt, which I never
> used as it is quite old. The same is true for Pandoc which made some
> improvements in the last years and also is very old in the current Debian
> distribution. As we did not decide this issue I can't say how much I have to
> refactor our styles to meet the older versions of ConTeXt.
> 
> Apart from this I have to organize our style files and ressources, anyway.
> 
> In another thread Hans said how to use these folders. Thanks a lot.
> 
> texmf-local   : maybe configurations
> texmf-project : stuff you're working on (styles)
> texmf-fonts   : fonts you downloaded or bought
> 
> All our styles and our shared image folder are versioned by git so I think 
> that I
> either put links into texmf-project pointing to our style repository and to 
> our
> image repository to have easy access to these ressources no matter how we
> call context or to put them into texmf-project directly. (We did not decide 
> yet
> whether we call context from pandoc using a tmp directory for building or
> directly from our build script.
> 
> If we use the current lmtx distribution, all editors would have to install 
> ConTeXt
> with the install.sh script on their private computers, then we would either 
> call a
> post installation script to clone the repositories in texmf-project or to 
> clone
> them in another folder and set links to texmf-project. Linking seems better 
> as I
> am not sure what "context generate" would do with the .git folder inside the
> repositories.
> 
> All document projects are in their own repository. Currently we use a build
> script to call pandoc with an individual set of arguments including a custom
> context template which is stored in the document repository, also. Inside of 
> this
> template we include all the environments we need for this particular
> document. We have a lot of small environments to reuse them in different
> document types.
> 
> This is our plan so far.
> 
> But to role out this successfully I would like to ease the way to a working
> pandoc-context installation for our editors. Do you have an idea how to do 
> this?
> 
> I come up with the idea of an "organizational context distribution" that has 
> all
> requirements preinstalled. That could look like this:
> 
> We have a repository:
> 
> hs.lmtx
> 
> which contains the install script and all our ressources (images and styles).
> 
> Our editors would clone the repository and just call the installation script 
> to
> download the lmtx distribution. Afterwards they are ready to start as we would
> point to the right context executable in our build scripts.
> 
> Problem: What wil

Re: [NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Jan U. Hasecke


Am 02.07.21 um 01:07 schrieb Bruce Horrocks:

One option you might try, if your cooperative has a web-server available to 
editors, is to store your own ConTeXt repository. That way you can update the 
LMTX version when you are ready to.

This works because "install.sh" can have a "--server" parameter supplied. By 
default it goes to lmtx.pragma-ade.com/install-lmtx but if you were to copy the install-lmtx 
directory and host the copy on your own server at the same path, then you could 'freeze' your LMTX 
version until you were ready to change.



Thanks for this hint.

This might solve one more problem. We would like to pin the installation 
to a version that is known too work.


BTW: Are there plans to use a GitHub repository or an alternative to it? 
As that would ease pinning a bit.


juh
___
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] Rolling out a pandoc-context publication workflow in an organization

2021-07-01 Thread Bruce Horrocks
On 1 Jul 2021, at 07:02, Jan U. Hasecke  wrote:
> 
> If we use the current lmtx distribution, all editors would have to install 
> ConTeXt with the install.sh script on their private computers, then we would 
> either call a post installation script to clone the repositories in 
> texmf-project or to clone them in another folder and set links to 
> texmf-project. Linking seems better as I am not sure what "context generate" 
> would do with the .git folder inside the repositories.

One option you might try, if your cooperative has a web-server available to 
editors, is to store your own ConTeXt repository. That way you can update the 
LMTX version when you are ready to.

This works because "install.sh" can have a "--server" parameter supplied. By 
default it goes to lmtx.pragma-ade.com/install-lmtx but if you were to copy the 
install-lmtx directory and host the copy on your own server at the same path, 
then you could 'freeze' your LMTX version until you were ready to change.

Since editors might run the install.sh themselves, you would probably want to 
tweak your local copy of install.sh to only install from your own server.

When a new version of LMTX comes out, and when you have the time, you can 
install normally on a test machine and run whatever regression tests you want. 
Once happy you take a fresh copy of 
"https://lmtx.pragma-ade.com/install-lmtx/texmf-context.zip; onto your server 
and ask your editors to run install.sh at their own convenience.

—
Bruce Horrocks
Hampshire, UK

___
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] Rolling out a pandoc-context publication workflow in an organization

2021-07-01 Thread Jan U. Hasecke

Hi Taco,

thanks for this hint.

Am 01.07.21 um 08:44 schrieb Taco Hoekwater:

I would put the whole context distribution in the git. That way, you can
potentially hotfix something centrally.


Would you put texmf-cache into .gitignore?

Or is the cache portable to other machines?

juh
___
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] Rolling out a pandoc-context publication workflow in an organization

2021-07-01 Thread Taco Hoekwater


> On 1 Jul 2021, at 13:31, Jan U. Hasecke  wrote:
> 
> Hi Taco,
> 
> thanks for this hint.
> 
> Am 01.07.21 um 08:44 schrieb Taco Hoekwater:
>> I would put the whole context distribution in the git. That way, you can
>> potentially hotfix something centrally.
> 
> Would you put texmf-cache into .gitignore?

probably, but it depends on how homogenous your setups are. 

In principle texmf-cache can be shared, but only if nobody has personal files.

> 
> Or is the cache portable to other machines?
> 
> juh
> ___
> 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
> ___

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
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] Rolling out a pandoc-context publication workflow in an organization

2021-07-01 Thread Aditya Mahajan
On Thu, 1 Jul 2021, Taco Hoekwater wrote:

> Hi,
> 
> > On 1 Jul 2021, at 08:02, Jan U. Hasecke  wrote:
> > 
> > I come up with the idea of an "organizational context distribution" that 
> > has all requirements preinstalled. That could look like this:
> 
> I would put the whole context distribution in the git. That way, you can
> potentially hotfix something centrally.

And that also makes sure that all your editors are using the same version of 
context. If everyone installs their own versions, debugging can be a pain.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-01 Thread Jan U. Hasecke


Dear all,

in the last weeks I asked more questions than I normally do. The reason 
is that my organization is discussing to roll out a 
markdown-pandoc-context publication workflow.


Some time ago we started to use context to produce flyers and some other 
documents. In fact I was the only one to use it. The results are so good 
that we discussed how to use it more often.


Currently we use LaTeX to produce our legal documents, terms of services 
etc. With ConTeXt we are able to meet our corporate design guidelines 
and to produce good looking and individually designed documents.


But our authors and editors were not willing to use ConTeXt directly so 
that we decided to look into Pandoc and use Markdown as authors input 
markup. Markdown is much better supported by text editors than ConTeXt.


The main problem for me is to come up with a good organization of the 
ConTeXt workflow so that it is easy usable and meets our requirements 
for quality management.


These are quite strict. We are a Debian based cooperative and the 
majority of our editors also use this distribution on their private 
computers. Some use a MacBook, only one uses of Windows.


For this reason we would like to stay with the Debian ConTeXt, which I 
never used as it is quite old. The same is true for Pandoc which made 
some improvements in the last years and also is very old in the current 
Debian distribution. As we did not decide this issue I can't say how 
much I have to refactor our styles to meet the older versions of ConTeXt.


Apart from this I have to organize our style files and ressources, anyway.

In another thread Hans said how to use these folders. Thanks a lot.

texmf-local   : maybe configurations
texmf-project : stuff you're working on (styles)
texmf-fonts   : fonts you downloaded or bought

All our styles and our shared image folder are versioned by git so I 
think that I either put links into texmf-project pointing to our style 
repository and to our image repository to have easy access to these 
ressources no matter how we call context or to put them into 
texmf-project directly. (We did not decide yet whether we call context 
from pandoc using a tmp directory for building or directly from our 
build script.


If we use the current lmtx distribution, all editors would have to 
install ConTeXt with the install.sh script on their private computers, 
then we would either call a post installation script to clone the 
repositories in texmf-project or to clone them in another folder and set 
links to texmf-project. Linking seems better as I am not sure what 
"context generate" would do with the .git folder inside the repositories.


All document projects are in their own repository. Currently we use a 
build script to call pandoc with an individual set of arguments 
including a custom context template which is stored in the document 
repository, also. Inside of this template we include all the 
environments we need for this particular document. We have a lot of 
small environments to reuse them in different document types.


This is our plan so far.

But to role out this successfully I would like to ease the way to a 
working pandoc-context installation for our editors. Do you have an idea 
how to do this?


I come up with the idea of an "organizational context distribution" that 
has all requirements preinstalled. That could look like this:


We have a repository:

hs.lmtx

which contains the install script and all our ressources (images and 
styles).


Our editors would clone the repository and just call the installation 
script to download the lmtx distribution. Afterwards they are ready to 
start as we would point to the right context executable in our build 
scripts.


Problem: What will happen if our editors do a git pull in hs.lmtx and a 
"context generate"? There are also concerns if something breaks after 
updating context with the install.sh. Is there a way to reset the 
installation to a given point release? How do you solve this in a 
production environment? On my private computer I sometimes install a new 
version of lmtx in a "staging" folder try it out and redo updating in my 
"production" folder.


I think I will try this out but I am happy if you have any comments on 
this.


TIA
juh
___
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] Rolling out a pandoc-context publication workflow in an organization

2021-07-01 Thread Taco Hoekwater
Hi,

> On 1 Jul 2021, at 08:02, Jan U. Hasecke  wrote:
> 
> I come up with the idea of an "organizational context distribution" that has 
> all requirements preinstalled. That could look like this:

I would put the whole context distribution in the git. That way, you can
potentially hotfix something centrally.

Best wishes,
Taco

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



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

2015-10-05 Thread Hans Hagen

On 10/5/2015 8:19 PM, Eidenbenz  Michael wrote:

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?


it will soon be in the distribution

Hans


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

Re: [NTG-context] Printing bibliographic entries without the full publication list

2015-07-30 Thread Alan BRASLAU
On Thu, 30 Jul 2015 10:03:36 +0200
Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote:

 text citation: (, 2015)

Indeed, enabling trackers shows:

publications cite  inject, dataset: default, tag: whatever-1, variant: 
authoryear, compressed
publications processing reference 'whatever-1'
publications authors  ignored field 'author' of tag 'whatever-1', used 
field '' is no author
publications cite  inject, dataset: default, tag: whatever-2, variant: 
authoryear,compressed
publications processing reference 'whatever-2'
publications authors  ignored field 'author' of tag 'whatever-2', used 
field '' is no author

which is indeed strange...


 I would expect something like:
 
 text citation: (Mo, 2015)

You should expect (Mojca, 2015)

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
___

Re: [NTG-context] Printing bibliographic entries without the full publication list

2015-07-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

\textcite [authoryear] [whatever-1] etc. gives weird (see attached):


text citation: (, 2015)


with:

ConTeXt  ver: 2015.07.28 19:12 MKIV beta  fmt: 2015.7.30  int: 
english/english

I would expect something like:


text citation: (Mo, 2015)


Best regards,

Lukas


On Wed, 29 Jul 2015 15:37:14 +0200, Hans Hagen pra...@wxs.nl wrote:


On 7/29/2015 11:38 AM, Mojca Miklavec wrote:

Dear Hans  Alan,

I would like to manually print the selected list of publications, like this:

\usebtxdataset[items.bib]
\usebtxdefinitions[aps]
\starttext
\startitemize
\item \cite[entry][bib1]
\item some random text
\item \cite[entry][bib5]
\stopitemize
\stoptext

The problem is that this doesn't print anything unless I add
\placelistofpublications somewhere.

While I do understand (to some extent at least) the rationale for not
printing the number of bib item when \placelistofpublications is
missing, I don't see any reason why I should be unable to print the
complete publication that doesn't even require printing out any
number.

Any hints about how to do a workaround?

I could do

\nocite[bib1]
\nocite[bib5]
\placelistofpublications

but then I'm unable to do manual tweaking of the list and adding free text.


a while ago i made this for that purpose (as you wanted it) and alan is
busy documenting it ... (btw, there is also criterium=dataset when
placing lists)

\starttext

\startbuffer [demo]
 @article{whatever-1,
   title  = {Whatever Title 1},
   author = {One and Two and Three and Four and Five and Six and
Seven and Eight},
   year   = {2015}
 }
 @article{whatever-2,
   title  = {Whatever Title 2},
   author = {Mojca and others},
   year   = {2015}
 }
 @article{whatever-3,
   title  = {Whatever Title 3},
   author = {Mojca and Alan and others},
   year   = {2015}
 }
 @article{whatever-4,
   title  = {Whatever Title 4},
   author = {Mojca and Hans},
   year   = {2015}
 }
\stopbuffer

\usebtxdataset [demo.buffer]

\usebtxdefinitions [aps]

\setupbtxrendering [aps] [numbering=yes]

% methods:
%
% \hiddencite : mark for list, don't show in text
% \listcite   : mark for list, show in text only when in list
% \textcite   : not to list, show in text
% \alwayscite : mark for list, show in text
%
% \cite   == \listcite
% \nocite == \hiddencite

% \subsubject{only shown when in list (okay)} % todo: (no list)

% list citation: \listcite [authoryear] [whatever-1]\par
% list citation: \listcite [authoryear] [whatever-2]\par
% list citation: \listcite [authoryear] [whatever-3]\par
% list citation: \listcite [authoryear] [whatever-4]\par

% \subsubject{only list}

% hidden citation: \hiddencite [whatever-1]\par
% hidden citation: \hiddencite [whatever-2]\par
% hidden citation: \hiddencite [whatever-3]\par
% hidden citation: \hiddencite [whatever-4]\par

% \subsubject{only in text (okay)}

% text citation: \textcite [authoryear] [whatever-1]\par
% text citation: \textcite [authoryear] [whatever-2]\par
% text citation: \textcite [authoryear] [whatever-3]\par
% text citation: \textcite [authoryear] [whatever-4]\par

% \subsubject{always in text and optionally in list}

% always citation: \alwayscite [authoryear] [whatever-1]\par
% always citation: \alwayscite [authoryear] [whatever-2]\par
% always citation: \alwayscite [authoryear] [whatever-3]\par
% always citation: \alwayscite [authoryear] [whatever-4]\par

\page

\placelistofpublications

\stoptext



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



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

Mojca.mkiv
Description: Binary data


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

[NTG-context] Printing bibliographic entries without the full publication list

2015-07-29 Thread Mojca Miklavec
Dear Hans  Alan,

I would like to manually print the selected list of publications, like this:

\usebtxdataset[items.bib]
\usebtxdefinitions[aps]
\starttext
\startitemize
\item \cite[entry][bib1]
\item some random text
\item \cite[entry][bib5]
\stopitemize
\stoptext

The problem is that this doesn't print anything unless I add
\placelistofpublications somewhere.

While I do understand (to some extent at least) the rationale for not
printing the number of bib item when \placelistofpublications is
missing, I don't see any reason why I should be unable to print the
complete publication that doesn't even require printing out any
number.

Any hints about how to do a workaround?

I could do

\nocite[bib1]
\nocite[bib5]
\placelistofpublications

but then I'm unable to do manual tweaking of the list and adding free text.

Thank you very much,
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
___

Re: [NTG-context] Printing bibliographic entries without the full publication list

2015-07-29 Thread Hans Hagen

On 7/29/2015 11:38 AM, Mojca Miklavec wrote:

Dear Hans  Alan,

I would like to manually print the selected list of publications, like this:

\usebtxdataset[items.bib]
\usebtxdefinitions[aps]
\starttext
\startitemize
\item \cite[entry][bib1]
\item some random text
\item \cite[entry][bib5]
\stopitemize
\stoptext

The problem is that this doesn't print anything unless I add
\placelistofpublications somewhere.

While I do understand (to some extent at least) the rationale for not
printing the number of bib item when \placelistofpublications is
missing, I don't see any reason why I should be unable to print the
complete publication that doesn't even require printing out any
number.

Any hints about how to do a workaround?

I could do

\nocite[bib1]
\nocite[bib5]
\placelistofpublications

but then I'm unable to do manual tweaking of the list and adding free text.


a while ago i made this for that purpose (as you wanted it) and alan is 
busy documenting it ... (btw, there is also criterium=dataset when 
placing lists)


\starttext

\startbuffer [demo]
@article{whatever-1,
  title  = {Whatever Title 1},
  author = {One and Two and Three and Four and Five and Six and 
Seven and Eight},

  year   = {2015}
}
@article{whatever-2,
  title  = {Whatever Title 2},
  author = {Mojca and others},
  year   = {2015}
}
@article{whatever-3,
  title  = {Whatever Title 3},
  author = {Mojca and Alan and others},
  year   = {2015}
}
@article{whatever-4,
  title  = {Whatever Title 4},
  author = {Mojca and Hans},
  year   = {2015}
}
\stopbuffer

\usebtxdataset [demo.buffer]

\usebtxdefinitions [aps]

\setupbtxrendering [aps] [numbering=yes]

% methods:
%
% \hiddencite : mark for list, don't show in text
% \listcite   : mark for list, show in text only when in list
% \textcite   : not to list, show in text
% \alwayscite : mark for list, show in text
%
% \cite   == \listcite
% \nocite == \hiddencite

% \subsubject{only shown when in list (okay)} % todo: (no list)

% list citation: \listcite [authoryear] [whatever-1]\par
% list citation: \listcite [authoryear] [whatever-2]\par
% list citation: \listcite [authoryear] [whatever-3]\par
% list citation: \listcite [authoryear] [whatever-4]\par

% \subsubject{only list}

% hidden citation: \hiddencite [whatever-1]\par
% hidden citation: \hiddencite [whatever-2]\par
% hidden citation: \hiddencite [whatever-3]\par
% hidden citation: \hiddencite [whatever-4]\par

% \subsubject{only in text (okay)}

% text citation: \textcite [authoryear] [whatever-1]\par
% text citation: \textcite [authoryear] [whatever-2]\par
% text citation: \textcite [authoryear] [whatever-3]\par
% text citation: \textcite [authoryear] [whatever-4]\par

% \subsubject{always in text and optionally in list}

% always citation: \alwayscite [authoryear] [whatever-1]\par
% always citation: \alwayscite [authoryear] [whatever-2]\par
% always citation: \alwayscite [authoryear] [whatever-3]\par
% always citation: \alwayscite [authoryear] [whatever-4]\par

\page

\placelistofpublications

\stoptext



-
  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] Printing bibliographic entries without the full publication list

2015-07-29 Thread Robert Blackstone

On 29 Jul 2015, at 12:00 , Mojca Miklavec mojca.miklavec.li...@gmail.com
wrote:
 Dear Hans  Alan,
 
 I would like to manually print the selected list of publications, like this:
 
 \usebtxdataset[items.bib]
 \usebtxdefinitions[aps]
 \starttext
 \startitemize
 \item \cite[entry][bib1]
 \item some random text
 \item \cite[entry][bib5]
 \stopitemize
 \stoptext
 
 The problem is that this doesn't print anything unless I add
 \placelistofpublications somewhere.
 
 While I do understand (to some extent at least) the rationale for not
 printing the number of bib item when \placelistofpublications is
 missing, I don't see any reason why I should be unable to print the
 complete publication that doesn't even require printing out any
 number.
 
 Any hints about how to do a workaround?

Hi Mojca,
Despite being neither Hans nor Alan I could perhaps offer you the possibility 
of a simple workaround, 

I think you could do what you need in the same way as when you put 
bibliographic references in a footnote.
So in your case it would be:

\startitemize
\item \dcite{citekey1}
item some random text
\item \dcite{citekey2}
\stopitemize

In any case this works for me but my bibliographic setup may be different from 
yours.
I hope it helps,

Best regards, 
Robert Blackstone


___
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] publication list: bounding box problems

2013-01-24 Thread Andreas Mang
Hi there,

I am fine tuning my doc. I have problems with the publication list, as some of 
the publications extend to the margin of my document. I have not been able to 
find a solution. This is probably a very common issue. I assume some of you 
had/have the same problem. Is there a quick way to fix this? This is quite 
urgent (picture attached).

Cheers
Andreas

[cid:633B7855-1447-4534-9F43-580B58659B88@uzl-wlan.uni-luebeck.de]
inline: references.png___
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] publication list: bounding box problems

2013-01-24 Thread Marco Patzer
On 2013–01–24 Andreas Mang wrote:

 I am fine tuning my doc. I have problems with the publication
 list, as some of the publications extend to the margin of my
 document. I have not been able to find a solution. This is
 probably a very common issue. I assume some of you had/have the
 same problem. Is there a quick way to fix this?

You can increase the tolerance for the publication list:

  \setuptolerance [verytolerant]

Marco


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

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


Re: [NTG-context] double line spacing in list (table of contents, publication list)

2011-10-02 Thread Wolfgang Schuster

Am 27.09.2011 um 15:09 schrieb Stefan Müller:

 Hi list,
 
 how can I get double line spacing in the table of contents and in the 
 publication list?  I tried \setupcombinedlist[content][after=\blank] but 
 this produces to much vertical spacing.

You can get a smaller space with “after=\blank[small]” or 
“after=\blank[halfline]”.

 \setupinterlinespace[big] doesn't influence those lists.

You can

\starttext

\start \setupinterlinespace[line=18pt]
\placecontent
\stop

...

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


[NTG-context] double line spacing in list (table of contents, publication list)

2011-09-27 Thread Stefan Müller

Hi list,

how can I get double line spacing in the table of contents and in the 
publication list?  I tried \setupcombinedlist[content][after=\blank] 
but this produces to much vertical spacing.  \setupinterlinespace[big] 
doesn't influence those lists.


I'm using 201100920 00:09 MKIV standalone.

Thanks in advance for any help!
Stefan.
___
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] problem with publication

2011-04-12 Thread Zhichu Chen
The following code generates an error about ! LuaTeX error
...onTeXt/tex/texmf-local/tex/context/base/bibl-tra.lua:192: attempt to
compare number with string

\startpublication[k=1,t=article,a={{Test},{}},y=2012]
\artauthor[]{Test}[T.]{}{Test}
\pubyear{2012}
\arttitle{Test}
\journal{Test}
\pages{1}
\stoppublication
\starttext
abc\cite[1]
\placepublications[criterium=text]
\stoptext

I also tried the bibtex alternative, and it got the same error as well.
$ context --version
mtx-context | main context file:
d:/ConTeXt/tex/texmf-local/tex/context/base/context.mkiv
mtx-context | current version: 2011.04.11 18:55
-- 
Best Regards
Chen
___
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] Tracking down error in publication list

2010-07-22 Thread Richard Stephens
Hello,

I am preparing a document with a publication list generated from BibTeX but
I get the following error:

! LuaTeX error .../context/texmf-context/tex/context/base/bibl-tra.lua:83:
attempt to compare nil with number
stack traceback:
.../context/texmf-context/tex/context/base/bibl-tra.lua:83: in function
.../context/texmf-context/tex/context/base/bibl-tra.lua:80
 [C]: in function 'sort'
.../context/texmf-context/tex/context/base/bibl-tra.lua:93: in function
'flush'
 main ctx instance:1: in main chunk.
\typesetpubslist ...hacks.flush(\@@pbsorttype )}
  \doendoflist
\dodoplacepublications ...sttrue \typesetpubslist
  \inpublistfalse \endgroup
...
to be read again


Is there a way I can narrow down what and where the problem is? At the
moment I'm stumped.
I've tried removing some of the \cite commands recently added, but to no
avail. Is the problem in the BibTeX file or in
my document?

Any help would be much appreciated.

Regards,

Richard

Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188
Registered in England and Wales.
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose
the contents to another person, use it for any purpose or store or copy the 
information in
any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.
___
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] problem with publication lists in mkiv

2010-07-22 Thread Thomas A. Schmitz
OK, I'm replying to my own question to add one further detail: I have now found 
a minimal example that demonstrates the error with \writetolist: if you process 
the following file with mkiv, a spurious vertical space is added before the 
first line of text; everything works as expected in mkii. And the vertical 
space in the bibliography (shown in the example below) is still unsolved. So 
there definitely is a bug somewhere in mkiv. 

All best

Thomas

\definelist[MyTopics][criterium=all]

\setuplist[MyTopics]
  [pagenumber=no]

\showframe

\starttext

\writetolist[MyTopics]{Word}{} Hello

\stoptext

On Jul 15, 2010, at 9:11 AM, Thomas A. Schmitz wrote:

 Hi all, 
 
 since a few betas ago, I'm experiencing the problem that some commands add 
 unwanted vertical space in mkiv. I think this is the case with \writetolist, 
 but I need to prepare an example for that. I have prepared an example for 
 publication lists: the following code produces the expected output in mkii. 
 In mkiv, it adds vertical space for every item that is added to the 
 bibliography. Maybe some unescaped line-endings somewhere in the code?
 
 All best 
 
 Thomas
 
 \startpublication[k=intertestualita,t=book,
 a={intertestualita},y=1995,
 n=2552,s=int95]
 \pubyear{1995}
 \title{Atti del convegno internazionale \quotation{Intertestualit{\`a}}: il
  \quotation{dialogo} fra testi nelle letterature classiche: Cagliari, 24--26
  novembre 1994}
 \city{Amsterdam}
 \pubname{Hakkert}
 \stoppublication
 
 \startpublication[k=gibsonlearning,t=article,
 a={gibsonlearning},y=2004,
 n=991,s=gib04]
 \pubyear{2004}
 \arttitle{Learning Greek History in the Ancient Classroom: the Evidence of the
  Treatises on Progymnasmata}
 \journal{Classical Philology}
 \volume{99}
 \pages{103--129}
 \stoppublication
 
 
 \startpublication[k=ackrillaristotle,t=book,
 a={{Ackrill}},y=1981,
 n=305,s=Ack81]
 \author[]{J.~L.}[J.~L.]{}{Ackrill}
 \pubyear{1981}
 \title{Aristotle the Philosopher}
 \city{Oxford}
 \pubname{Oxford UP}
 \stoppublication
 
 
 \setuppublications[state=start]
 
 \starttext
 
 \section{Edited Volumes}
 
 test test test test test test test test test test test test test test 
 
 \nocite[intertestualita,gibsonlearning,ackrillaristotle]
 
 \placepublications[criterium=cite]
 
 \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
 ___

___
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] problem with publication lists in mkiv

2010-07-22 Thread Hans Hagen

On 22-7-2010 12:58, Thomas A. Schmitz wrote:

OK, I'm replying to my own question to add one further detail: I have now found 
a minimal example that demonstrates the error with \writetolist: if you process 
the following file with mkiv, a spurious vertical space is added before the 
first line of text; everything works as expected in mkii. And the vertical 
space in the bibliography (shown in the example below) is still unsolved. So 
there definitely is a bug somewhere in mkiv.


is the current beta better?


All best

Thomas

\definelist[MyTopics][criterium=all]

\setuplist[MyTopics]
   [pagenumber=no]

\showframe

\starttext

\writetolist[MyTopics]{Word}{} Hello

\stoptext

On Jul 15, 2010, at 9:11 AM, Thomas A. Schmitz wrote:


Hi all,

since a few betas ago, I'm experiencing the problem that some commands add 
unwanted vertical space in mkiv. I think this is the case with \writetolist, 
but I need to prepare an example for that. I have prepared an example for 
publication lists: the following code produces the expected output in mkii. In 
mkiv, it adds vertical space for every item that is added to the bibliography. 
Maybe some unescaped line-endings somewhere in the code?

All best

Thomas

\startpublication[k=intertestualita,t=book,
a={intertestualita},y=1995,
n=2552,s=int95]
\pubyear{1995}
\title{Atti del convegno internazionale \quotation{Intertestualit{\`a}}: il
  \quotation{dialogo} fra testi nelle letterature classiche: Cagliari, 24--26
  novembre 1994}
\city{Amsterdam}
\pubname{Hakkert}
\stoppublication

\startpublication[k=gibsonlearning,t=article,
a={gibsonlearning},y=2004,
n=991,s=gib04]
\pubyear{2004}
\arttitle{Learning Greek History in the Ancient Classroom: the Evidence of the
  Treatises on Progymnasmata}
\journal{Classical Philology}
\volume{99}
\pages{103--129}
\stoppublication


\startpublication[k=ackrillaristotle,t=book,
a={{Ackrill}},y=1981,
n=305,s=Ack81]
\author[]{J.~L.}[J.~L.]{}{Ackrill}
\pubyear{1981}
\title{Aristotle the Philosopher}
\city{Oxford}
\pubname{Oxford UP}
\stoppublication


\setuppublications[state=start]

\starttext

\section{Edited Volumes}

test test test test test test test test test test test test test test

\nocite[intertestualita,gibsonlearning,ackrillaristotle]

\placepublications[criterium=cite]

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


___
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] Tracking down error in publication list

2010-07-22 Thread Hans Hagen

On 22-7-2010 11:54, Richard Stephens wrote:

Hello,

I am preparing a document with a publication list generated from BibTeX but
I get the following error:

! LuaTeX error .../context/texmf-context/tex/context/base/bibl-tra.lua:83:
attempt to compare nil with number
stack traceback:
/context/texmf-context/tex/context/base/bibl-tra.lua:83: in function
.../context/texmf-context/tex/context/base/bibl-tra.lua:80
  [C]: in function 'sort'
/context/texmf-context/tex/context/base/bibl-tra.lua:93: in function
'flush'
  main ctx instance:1: in main chunk.
\typesetpubslist ...hacks.flush(\@@pbsorttype )}
   \doendoflist
\dodoplacepublications ...sttrue \typesetpubslist
   \inpublistfalse \endgroup

to be read again


Is there a way I can narrow down what and where the problem is? At the
moment I'm stumped.


minimal example needed

-
  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] problem with publication lists in mkiv

2010-07-22 Thread Thomas A. Schmitz

On Jul 22, 2010, at 4:38 PM, Hans Hagen wrote:

 On 22-7-2010 12:58, Thomas A. Schmitz wrote:
 OK, I'm replying to my own question to add one further detail: I have now 
 found a minimal example that demonstrates the error with \writetolist: if 
 you process the following file with mkiv, a spurious vertical space is added 
 before the first line of text; everything works as expected in mkii. And the 
 vertical space in the bibliography (shown in the example below) is still 
 unsolved. So there definitely is a bug somewhere in mkiv.
 
 is the current beta better?

Partially: the vertical space with \writetolist is gone; but no bibliography is 
produced :-)

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] problem with publication lists in mkiv

2010-07-22 Thread Hans Hagen

On 22-7-2010 4:57, Thomas A. Schmitz wrote:


On Jul 22, 2010, at 4:38 PM, Hans Hagen wrote:


On 22-7-2010 12:58, Thomas A. Schmitz wrote:

OK, I'm replying to my own question to add one further detail: I have now found 
a minimal example that demonstrates the error with \writetolist: if you process 
the following file with mkiv, a spurious vertical space is added before the 
first line of text; everything works as expected in mkii. And the vertical 
space in the bibliography (shown in the example below) is still unsolved. So 
there definitely is a bug somewhere in mkiv.


is the current beta better?


Partially: the vertical space with \writetolist is gone; but no bibliography is 
produced :-)


so what was that small test file?

Hans

-
  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] problem with publication lists in mkiv

2010-07-22 Thread Thomas A. Schmitz

On Jul 22, 2010, at 5:01 PM, Hans Hagen wrote:

 so what was that small test file?
 
 Hans


Here comes:

\startpublication[k=intertestualita,t=book,
a={intertestualita},y=1995,
n=2552,s=int95]
\pubyear{1995}
\title{Atti del convegno internazionale \quotation{Intertestualit{\`a}}: il
 \quotation{dialogo} fra testi nelle letterature classiche: Cagliari, 24--26
 novembre 1994}
\city{Amsterdam}
\pubname{Hakkert}
\stoppublication

\startpublication[k=gibsonlearning,t=article,
a={gibsonlearning},y=2004,
n=991,s=gib04]
\pubyear{2004}
\arttitle{Learning Greek History in the Ancient Classroom: the Evidence of the
 Treatises on Progymnasmata}
\journal{Classical Philology}
\volume{99}
\pages{103--129}
\stoppublication


\startpublication[k=ackrillaristotle,t=book,
a={{Ackrill}},y=1981,
n=305,s=Ack81]
\author[]{J.~L.}[J.~L.]{}{Ackrill}
\pubyear{1981}
\title{Aristotle the Philosopher}
\city{Oxford}
\pubname{Oxford UP}
\stoppublication


\setuppublications[state=start]

\starttext

\section{Edited Volumes}

test test test test test test test test test test test test test test

\nocite[intertestualita,gibsonlearning,ackrillaristotle]

\placepublications[criterium=cite]

\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] problem with publication lists in mkiv

2010-07-15 Thread Thomas A. Schmitz
Hi all, 

since a few betas ago, I'm experiencing the problem that some commands add 
unwanted vertical space in mkiv. I think this is the case with \writetolist, 
but I need to prepare an example for that. I have prepared an example for 
publication lists: the following code produces the expected output in mkii. In 
mkiv, it adds vertical space for every item that is added to the bibliography. 
Maybe some unescaped line-endings somewhere in the code?

All best 

Thomas

\startpublication[k=intertestualita,t=book,
a={intertestualita},y=1995,
n=2552,s=int95]
\pubyear{1995}
\title{Atti del convegno internazionale \quotation{Intertestualit{\`a}}: il
  \quotation{dialogo} fra testi nelle letterature classiche: Cagliari, 24--26
  novembre 1994}
\city{Amsterdam}
\pubname{Hakkert}
\stoppublication

\startpublication[k=gibsonlearning,t=article,
a={gibsonlearning},y=2004,
n=991,s=gib04]
\pubyear{2004}
\arttitle{Learning Greek History in the Ancient Classroom: the Evidence of the
  Treatises on Progymnasmata}
\journal{Classical Philology}
\volume{99}
\pages{103--129}
\stoppublication


\startpublication[k=ackrillaristotle,t=book,
a={{Ackrill}},y=1981,
n=305,s=Ack81]
\author[]{J.~L.}[J.~L.]{}{Ackrill}
\pubyear{1981}
\title{Aristotle the Philosopher}
\city{Oxford}
\pubname{Oxford UP}
\stoppublication


\setuppublications[state=start]

\starttext

\section{Edited Volumes}

test test test test test test test test test test test test test test 

\nocite[intertestualita,gibsonlearning,ackrillaristotle]

\placepublications[criterium=cite]

\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] Wrong typesetting of pages in AMS-style, publication list

2010-06-22 Thread Warrence

Taco Hoekwater wrote:

Stefan M?ller wrote:

  Hi,

  I've encountered an issue with the AMS-style publication list (Mark
  IV). When the  bibliography items in my document are typeset in the
  publication list, the attribute pages (from the .bib file; a range
  of pages is specified, e.g. pages = {12--34}) is sometimes preceded
  by p. (e.g. for @incollection), sometimes by pp. (which I would
  think of being correct) and sometimes there is nothing (e.g. for
  @article): no pp./p. and not even a point afterwards ending the
  bib item. Is this behaviour intended?

Well, when bibl-ams.tex was written, there was no good specification
so I just implemented something based on some fuzzy examples. If you
(or anyone else for that matter) know how it should look, just send
a patch and it will be fixed.

Best wishes,
Taco


Okay, I had this problem, too. If I find a reliable and comprehensive 
source for how the AMS-style should look like, I'll try to implement it. 
But currently I am not able to make too much sense out of what I find in 
bibl-ams.tex. Maybe the reason for this is that I'm not much into 
(plain) tex. But anyhow, when I stumble over a specification I'll send 
it to the list.


Thank you,
Stefan.
___
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] Indent in publication list

2010-06-21 Thread richard . stephens
 Can anyone please tell me how to reduce the hanging indent in a 
 publication list? 
 I am using the APA style and there is a hanging indent of about 1 
 cm, I would like to reduce this to 0.5 cm but I cannot work out how to 
do it. 
 I use the command \placepublications to generate the list. 
 
 
 Try
 \setuppublicationlist[width=5mm]
 
Thanks Yury, that's great.

Richard 

P.S. I've switched to plain text emails!





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and may 
be privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for 
any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Indent in publication list

2010-06-18 Thread richard . stephens

Can anyone please tell me how to reduce
the hanging indent in a publication list? 
I am using the APA style and there is
a hanging indent of about 1 cm, I would like to reduce this to 0.5 cm but
I cannot work out how to do it. 
I use the command \placepublications
to generate the list.

Thanks,

Richard






Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Indent in publication list

2010-06-18 Thread Yury G. Kudryashov
richard.steph...@converteam.com wrote:

The cite is removed because the original message was HTML only. Please, 
never use HTML only messages.

Try
\setuppublicationlist[width=5mm]

___
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] Publication list indenting

2009-05-20 Thread Taco Hoekwater

Michael Bynum wrote:

Yes, it does normally do that.  I just noticed that.  I originally had
set numbering=yes and I had to disable it in my document to get it to
align the desired way.  Is there a way to have the formatting of the
lines the default way but still enable numbering?


No, I do not think so, sorry.

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


Re: [NTG-context] Publication list indenting

2009-05-20 Thread Michael Bynum
That's alright.  I'll just use linespacing or something.  Thanks for the help.
Mike



On Wed, May 20, 2009 at 3:39 AM, Taco Hoekwater t...@elvenkind.com wrote:
 Michael Bynum wrote:

 Yes, it does normally do that.  I just noticed that.  I originally had
 set numbering=yes and I had to disable it in my document to get it to
 align the desired way.  Is there a way to have the formatting of the
 lines the default way but still enable numbering?

 No, I do not think so, sorry.

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

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Publication list indenting

2009-05-19 Thread Michael Bynum
Yes, it does normally do that.  I just noticed that.  I originally had
set numbering=yes and I had to disable it in my document to get it to
align the desired way.  Is there a way to have the formatting of the
lines the default way but still enable numbering?

Thanks,
Mike


On Mon, May 18, 2009 at 5:18 PM, Taco Hoekwater t...@elvenkind.com wrote:

 Hi Michael,

 Michael Bynum wrote:

 I am trying to get my bibliography list to have indenting on all but
 the first line of each entry.  I tried to apply the solution from
 http://wiki.contextgarden.net/Shaped_paragraphs but I can't get it to
 work in the publication list.

 But doesn't it do that by itself? The apa (=default) style is like
 that.

                              I tried something like the following,
 but neither seemed to have any effect on the indenting.

 That won't work, for sure.

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

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Publication list indenting

2009-05-18 Thread Michael Bynum
I am trying to get my bibliography list to have indenting on all but
the first line of each entry.  I tried to apply the solution from
http://wiki.contextgarden.net/Shaped_paragraphs but I can't get it to
work in the publication list.  I tried something like the following,
but neither seemed to have any effect on the indenting.

\definestartstop
  [exdent]
  [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
   after=\stopnarrower]

\setuppublicationlist[before={\startexdent},after={\stopexdent}]

or

\startexdent
\placepublicationlist
\stopexdent


Thanks,
Mike
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Publication list indenting

2009-05-18 Thread Taco Hoekwater


Hi Michael,

Michael Bynum wrote:

I am trying to get my bibliography list to have indenting on all but
the first line of each entry.  I tried to apply the solution from
http://wiki.contextgarden.net/Shaped_paragraphs but I can't get it to
work in the publication list.  


But doesn't it do that by itself? The apa (=default) style is like
that.


  I tried something like the following,
but neither seemed to have any effect on the indenting.


That won't work, for sure.

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


Re: [NTG-context] space between publication items in bibliography

2008-11-20 Thread Taco Hoekwater
Yi Zhang wrote:
 Hi all,
 
 I'm using the bib module. How can I adjust the space between
 publication items? Is it just an itemization? Thankx,
 

It is a list, like the table of contents.

   \setuppublicationlist[inbetween=\blank]

should do it (untested).

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


[NTG-context] space between publication items in bibliography

2008-11-19 Thread Yi Zhang
Hi all,

I'm using the bib module. How can I adjust the space between
publication items? Is it just an itemization? Thankx,

-- 
Yi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Change line spacing of the publication list

2008-11-08 Thread Jeff Smith
Hi,

Sorry for the thread necromancy but I'd like to follow up on this
below. :-) I too wanted to adjust linespacing with my bibliography. So
I followed Taco's tip -- not exactly to the letter thought -- and did
the following:

\setuppublicationlist[before={\setupinterlinespace[line=16pt]}]

This works, but this also messes up with my page header. My page
header has bottomframe on, and on all pages but the last one, the text
is slightly lower so that it almost overlaps the line. See the
attached PDF, I included the last page (the correct one), with the one
immediately preceding it. Compare the text Références
bilbiographiques and its distance to the line, on both pages.

My header is setup like this:

\startsetups header:bodymatter
\setupbackgrounds[header][text][frame=off,bottomframe=on]
\setuppagenumbering[state=start,location={header,right},way=bytext,partnumber=no,conversion=numbers,style={\switchtobodyfont[lining]}]
\setupheadertexts[{{\tx \getmarking[chapternumber]}.
{\it\getmarking[chapter]}}][pagenumber]
\stopsetups

So what can I do differently to avoid this?

Thanks,
Jeff

On Thu, Aug 9, 2007 at 05:58, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Roy Zuo wrote:
 Hi,

 I find that when the lines pacing of the text is set by
 \setupinterlinespace, the line spacing of publication list is not
 affected at all.

 Seems to work here, what version are you using?


 Best wishes,

 Taco

 PS  \setuppublicationlist[before={\setupinterlinespace[line=5pc]}]
 perhaps 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://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] dot space (english article in german publication)

2008-09-02 Thread Steffen Wolfrum
Hi,

an english article set with \mainlanguage[en] gets this additional  
space after the dot closing a sentence.
That's probably right for english, only if all other articles in that  
publication are german it looks like a mistake.

How to keep the english language but turn this english typesetting off?


Thanks

Steffen

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] dot space (english article in german publication)

2008-09-02 Thread Wolfgang Schuster
On Tue, Sep 2, 2008 at 3:01 PM, Steffen Wolfrum [EMAIL PROTECTED] wrote:
 Hi,

 an english article set with \mainlanguage[en] gets this additional
 space after the dot closing a sentence.
 That's probably right for english, only if all other articles in that
 publication are german it looks like a mistake.

 How to keep the english language but turn this english typesetting off?

\setuplanguage[en][spacing=packed]

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


Re: [NTG-context] dot space (english article in german publication)

2008-09-02 Thread Marcin Borkowski
Dnia Tue, Sep 02, 2008 at 05:05:09PM +0200, Wolfgang Schuster napisa#322;(a):
 On Tue, Sep 2, 2008 at 3:01 PM, Steffen Wolfrum [EMAIL PROTECTED] wrote:
  Hi,
 
  an english article set with \mainlanguage[en] gets this additional
  space after the dot closing a sentence.
  That's probably right for english, only if all other articles in that
  publication are german it looks like a mistake.
 
  How to keep the english language but turn this english typesetting off?
 
 \setuplanguage[en][spacing=packed]

Hi!

I didn't test it (sorry;)), but I found this interesting, so I posted
this to the wiki (http://wiki.contextgarden.net/French_spacing).  Please
correct that page if necessary.

 Wolfgang

-- 
Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl)

Computer science is no more about computers than astronomy about
telescopes.

(E. Dijkstra)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Bib-mod: Formatting of Publication Lists and Cites

2007-10-01 Thread Taco Hoekwater
Peter Daum wrote:
 Hi all
 
 I'd like to try to tell bib-mod to - fill in a vertical space between
 the entries in the publication list (the distance parameter did not
 help); 

\setuppublicationlist[before={\setupwhitespace[5pt]}]

 - format the author's name in the cite as small caps (I
 managed to do it for the list, but unfortunately stayed unsuccessful
 for the cite).

This works: {\sc\cite[something]}, so just wrap that in macro:

 \def\sccite#1{{\sc\cite[#1]}}

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


Re: [NTG-context] Bib-mod: Formatting of Publication Lists and Cites

2007-10-01 Thread Peter Daum
Hi Taco

  I'd like to try to tell bib-mod to - fill in a vertical space between
  the entries in the publication list (the distance parameter did not
  help); 
 
 \setuppublicationlist[before={\setupwhitespace[5pt]}]

Works perfectly, thank you!

 This works: {\sc\cite[something]}, so just wrap that in macro:
 
  \def\sccite#1{{\sc\cite[#1]}}

Unforunately, this doesn't, at least for me. Your solution converts the whole 
cite to sc, including the extras. The latter I'd like to avoid. I'd like to see:


Hoekwater(2001, p. 55)
-+
smallcaps 
 normal

This is my macro for the cites:
\define[2]\FCP{\footnote{\cite[extras={, #2}][#1]}}

Are there any other suggestions?

Thanks very much.

Best 
Peter


 Original-Nachricht 
 Datum: Mon, 01 Oct 2007 09:08:57 +0200
 Von: Taco Hoekwater [EMAIL PROTECTED]
 An: mailing list for ConTeXt users ntg-context@ntg.nl
 Betreff: Re: [NTG-context] Bib-mod: Formatting of Publication Lists and Cites

 Peter Daum wrote:
  Hi all
  
  I'd like to try to tell bib-mod to - fill in a vertical space between
  the entries in the publication list (the distance parameter did not
  help); 
 
 \setuppublicationlist[before={\setupwhitespace[5pt]}]
 
  - format the author's name in the cite as small caps (I
  managed to do it for the list, but unfortunately stayed unsuccessful
  for the cite).
 
 This works: {\sc\cite[something]}, so just wrap that in macro:
 
  \def\sccite#1{{\sc\cite[#1]}}
 
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Bib-mod: Formatting of Publication Lists and Cites

2007-10-01 Thread Taco Hoekwater


Peter Daum wrote:
 
 
 Hoekwater(2001, p. 55)
 -+
 smallcaps 
  normal
 
 This is my macro for the cites:
 \define[2]\FCP{\footnote{\cite[extras={, #2}][#1]}}

Something like this, then

   \define[2]\FCP{\footnote{{\sc\cite[author][#1]},
  (\cite[alternative=year,extras={, #2}][#1]})}

I hope you get the idea.

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


[NTG-context] Bib-mod: Formatting of Publication Lists and Cites

2007-09-29 Thread Peter Daum
Hi all

I'd like to try to tell bib-mod to
- fill in a vertical space between the entries in the publication list (the 
distance parameter did not help); 
- format the author's name in the cite as small caps (I managed to do it for 
the list, but unfortunately stayed unsuccessful for the cite).

Do you have an idea how these issues could be solved?

Thanks very much!

Regards, Peter.
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Publication layouts

2007-09-25 Thread richard . stephens
Hello All,

I am using the bib module to generate references.  The manual tells me 
that the publication layouts are defined in the bibl-xxx files.   I've got 
several of these (bibl-ams.tex, bibl-apa.tex, bibl-num.tex etc) so how do 
I tell which one is being used?  (They all look the same to me!)

My supplementary question is: why doesn't the layout for a book type 
print out the edition which I have defined in the publication 
definition?  I really want to change the layout of the book type to 
include the edition immdiately after the title in the same font.

Thanks,

Richard Stephens
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] bib module fails to produce publication list under certain conditions

2007-09-16 Thread Taco Hoekwater
Jesse Alama wrote:
 I recently came across an unusual error with the bib module: depending
 on the section structure of a document, the publication list is
 sometimes not produced.  I've attached a simple document and a one-entry
 bib file that illustrates the error.  If either the second section of
 the subsection is commented out, the publication list is produced; if
 both are uncommented, the publication list is not produced.  What might
 be going on?

This is a known limitation introduced by the transparant per-section
publication support (it is now clear I should not have done that,
but is too late to fix now).  Normally being explicit like

   \placepublicationlist[criterium=all]

fixes the problem.

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


Re: [NTG-context] bib module fails to produce publication list under certain conditions

2007-09-16 Thread Jesse Alama
Taco Hoekwater [EMAIL PROTECTED] writes:

 Jesse Alama wrote:
 I recently came across an unusual error with the bib module: depending
 on the section structure of a document, the publication list is
 sometimes not produced.  I've attached a simple document and a one-entry
 bib file that illustrates the error.  If either the second section of
 the subsection is commented out, the publication list is produced; if
 both are uncommented, the publication list is not produced.  What might
 be going on?

 This is a known limitation introduced by the transparant per-section
 publication support (it is now clear I should not have done that,
 but is too late to fix now).  Normally being explicit like

\placepublicationlist[criterium=all]

 fixes the problem.

That solved the problem -- thanks.  (Using

  \completepublicationlist[criterium=all] ,

which is what I actually need, also works.)

Thanks,

Jesse

PS It be `criterion' rather than `criterium'.  According to my
dictionary, the latter means a one-day bicycle race on a circuit road
course.

-- 
Jesse Alama ([EMAIL PROTECTED])

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] bib module fails to produce publication list under certain conditions

2007-09-16 Thread Jesse Alama
Jesse Alama [EMAIL PROTECTED] writes:

 Taco Hoekwater [EMAIL PROTECTED] writes:

 Jesse Alama wrote:
 I recently came across an unusual error with the bib module: depending
 on the section structure of a document, the publication list is
 sometimes not produced.  I've attached a simple document and a one-entry
 bib file that illustrates the error.  If either the second section of
 the subsection is commented out, the publication list is produced; if
 both are uncommented, the publication list is not produced.  What might
 be going on?

 This is a known limitation introduced by the transparant per-section
 publication support (it is now clear I should not have done that,
 but is too late to fix now).  Normally being explicit like

\placepublicationlist[criterium=all]

 fixes the problem.

 That solved the problem -- thanks.  (Using

   \completepublicationlist[criterium=all] ,

 which is what I actually need, also works.)

 Thanks,

 Jesse

 PS It be `criterion' rather than `criterium'.  According to my
 dictionary, the latter means a one-day bicycle race on a circuit road
 course.

Clearly it should read

  It is `criterion' rather than `criterium'.

rather than

  It be `criterion' rather than `criterium'.

(I one-up'd Taco by making a grammatical rather than lexicographic
error.  Failure to proofread messages before sending them will be the
death of me yet.)

Jesse

-- 
Jesse Alama ([EMAIL PROTECTED])

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] bib module fails to produce publication list under certain conditions

2007-09-16 Thread Taco Hoekwater
Jesse Alama wrote:
 
 PS It be `criterion' rather than `criterium'.  According to my
 dictionary, the latter means a one-day bicycle race on a circuit road
 course.

This is a language mixup in the context core that I doubt can be
fixed any more (the dutch word for criterion is actually criterium,
and all ConTeXt commands started out in dutch)

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


Re: [NTG-context] Change line spacing of the publication list

2007-08-15 Thread Roy Zuo
Hi Taco,

Sorry for the late reply.

Your code works, and I am using the latest ConTeXt. However, if I
change the code to

\setuppublicationlist[before={\setupinterlinespace[big]}]

it still has no effect. Any way, my problem is solved as your code
works just fine.

Thanks a lot.

Roy

On 8/9/07, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Roy Zuo wrote:
  Hi,
 
  I find that when the lines pacing of the text is set by
  \setupinterlinespace, the line spacing of publication list is not
  affected at all.

 Seems to work here, what version are you using?


 Best wishes,

 Taco

 PS  \setuppublicationlist[before={\setupinterlinespace[line=5pc]}]
 perhaps 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://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Change line spacing of the publication list

2007-08-09 Thread Roy Zuo
Hi,

I find that when the lines pacing of the text is set by
\setupinterlinespace, the line spacing of publication list is not
affected at all. I am just wondering if it is possible to change the
line spacing of the publication list produced by bibtex to make the
article have a uniform look.

Thanks in advance.

Roy
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Change line spacing of the publication list

2007-08-09 Thread Taco Hoekwater
Roy Zuo wrote:
 Hi,
 
 I find that when the lines pacing of the text is set by
 \setupinterlinespace, the line spacing of publication list is not
 affected at all. 

Seems to work here, what version are you using?


Best wishes,

Taco

PS  \setuppublicationlist[before={\setupinterlinespace[line=5pc]}]
perhaps 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \hyphenateurl and publication list: No breaking of the URL

2007-04-19 Thread Tobias Burnus
Hello,

I have the problem that the DOI is not hyphenated and sticks into the
margin.
Interestingly, the biburl is hyphenated.

With my patch for t-bib (sent half a day ago), I get hypherlinks for DOI
and biburl, but in that case also the biburl does not get hyphenated
(nor does the DOI).

Any idea what goes wrong here?

Tobias



%Example:

\usemodule[bib]
\setuppublications[alternative=aps]

\setuppapersize[A5][A5]

\setupcolors[state=start]
\setupinteraction[state=start]

\startpublication[k=Bocquet96,t=article,
a={{Bocquet},{}},y=1996,o={10.1103/PhysRevB.53.1161},
n=92,s=BMM{\etalchar{+}}96,u={http://link.aps.org/abstract/PRB/v53/p1161}]
\artauthor[]{A.~E.}[A.~E.]{}{Bocquet}
\pubyear{1996}
\journal{Phys. Rev. B}
\volume{53}
\issue{3}
\pages{1161--1170}
\biburl{http://link.aps.org/abstract/PRB/v53/p1161}
\doi{10.1103/PhysRevB.53.1161}
\stoppublication

\unprotect
\setuppublicationlayout[article]{%
   \insertartauthors{}{ }{\insertthekey{}{ }{}}%
   \insertarttitle
{\unskip, \bgroup\it }%
{\/\egroup }{}%
   \insertjournal{\unskip, \bgroup }{\egroup}
{}% \insertcrossref{In }{}{}}%
   \insertvolume
{  \bgroup \bf }
{\egroup %\insertissue{(}{)}{}%
 \insertfirstpage{, }{}{}}
{\insertfirstpage{ }{}{}}%
   \insertpubyear{ (}{). }{\unskip.}%
   \insertbiburl{ }{.}{}%
   \insertdoi{ doi:}{.}{}%
   \insertNote{ }{.}{}%
   \insertcomment{}{.}{}%
}
\protect

\starttext

\cite[doi][Bocquet96]  /
\cite[url][Bocquet96]

\subject{References}
\placepublications[criterium=all]
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \hyphenateurl and publication list: No breaking of the URL

2007-04-19 Thread Taco Hoekwater


Tobias Burnus wrote:
 Hello,
 
 I have the problem that the DOI is not hyphenated and sticks into the
 margin.
 Interestingly, the biburl is hyphenated.
 
 With my patch for t-bib (sent half a day ago), I get hypherlinks for DOI
 and biburl, but in that case also the biburl does not get hyphenated
 (nor does the DOI).

Inside the publication list, neither hyphenates. You need to change the
definitions to:

   \def\insertdoi#1#2#3%
 {{\bibdoifelse{\@@[EMAIL PROTECTED]
[EMAIL PROTECTED]@EA{\@@[EMAIL PROTECTED]
 #1\expanded{\gotoDOI{\@@[EMAIL PROTECTED]

   \def\insertbiburl#1#2#3%
 {{\bibdoifelse{\@@[EMAIL PROTECTED]
[EMAIL PROTECTED]@EA{\@@[EMAIL PROTECTED]
 #1\expanded{\gotoURL{\@@[EMAIL PROTECTED]

Best wishes, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Change the size of publication list

2007-04-12 Thread Taco Hoekwater


Aditya Mahajan wrote:
 Hi,
 
 I want to change the font size of the list of publications to \small. 
 This needs to be done in the style file. But I could not find any 
 option to do this in the bib module. What is the correct way to do 
 this?

Good question. Looks like I inadvertedly removed the beforeafter
functionality at some point :-(


Taco
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Change the size of publication list

2007-04-12 Thread Aditya Mahajan
On Thu, 12 Apr 2007, Taco Hoekwater wrote:



 Aditya Mahajan wrote:
 Hi,

 I want to change the font size of the list of publications to \small.
 This needs to be done in the style file. But I could not find any
 option to do this in the bib module. What is the correct way to do
 this?

 Good question. Looks like I inadvertedly removed the beforeafter
 functionality at some point :-(

For the moment, I am abusing initializepublist, mainly because it 
resets some options in \setuplist[pub] and I am against a hard 
deadline. This is my bib setup for IEEE style (well atleast in terms 
of font and spacing, the actual formatting of enteries will have to 
wait) bibliography. There is some spurious white space between 
enteries, and as a temp hack, I use \vskip -0.5\baselineskip. I will 
debug more carefully over the weekend and send you a bibl-ieee.tex


\setuppublications
   [alternative=num,monthconversion=month,sorttype=bib]
\setupbibtex  [sort=author]
\setuppublicationlist [maybeyear=off]
\setuppublicationlist
   [numbercommand=\withbrackets,margin=1em,distance=1em,width=fit]
\setuppublicationlist
   [before={\vskip -0.5\baselineskip},after=,inbetween=]
\setupcite  [num] [compress=yes]

\def\initializepubslist
   {\switchtobodyfont[small]
\setupinterlinespace
\setupwhitespace[none]
\vskip 0.5\baselineskip}

% Defined in bibl-num.tex
\def\withbrackets#1{[#1]}

\unprotect
\def\doverysimplebibnumref#1#2%
{\refsep
 \ifcase#1\relax \unknownreference{#1}\else
   \def\tempa{#2}\ifx\empty\tempa#1\else#1\docommaordash{#1}{#2}#2\fi
 \fi}

\def\docommaordash#1#2%
{\doifelse{\the\numexpr#1+1-#2\relax}{0}
  {\bibalternative\c!pubsep}
  {\bibalternative\c!inbetween}}

\protect


Aditya
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Change the size of publication list

2007-04-11 Thread Aditya Mahajan
Hi,

I want to change the font size of the list of publications to \small. 
This needs to be done in the style file. But I could not find any 
option to do this in the bib module. What is the correct way to do 
this?

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Publication list ragged right

2007-04-03 Thread Taco Hoekwater


Oliver Buerschaper wrote:
 is there a way of typesetting the publication list ragged right?
 Unfortunately the following doesn't work:

 \startalignment[right]
 \placepublications
 \stopalignment
\placepublications[align=right]

 may work (untested)
 
 Good guess ;-) Thanks!
 
 Can I perhaps also turn off hyphenation for the whole list or  
 individual items?

I don't know, I would need the input file to try this out. Perhaps
setting \lefthyphenmin to a large value would work, \setuptolerance
is probably overruled by the implied \framed command.

Best wishes, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Publication list ragged right

2007-04-02 Thread Oliver Buerschaper
Hi all,

is there a way of typesetting the publication list ragged right?  
Unfortunately the following doesn't work:

\startalignment[right]
\placepublications
\stopalignment

With each publication item filling barely more than two lines  
justification looks rather ugly (and causes a number of overfull  
boxes) ...

Best,
Oliver
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Publication list ragged right

2007-04-02 Thread Taco Hoekwater


Oliver Buerschaper wrote:
 Hi all,
 
 is there a way of typesetting the publication list ragged right?  
 Unfortunately the following doesn't work:
 
 \startalignment[right]
   \placepublications
 \stopalignment

   \placepublications[align=right]

may work (untested)

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Publication list ragged right

2007-04-02 Thread Oliver Buerschaper
 is there a way of typesetting the publication list ragged right?
 Unfortunately the following doesn't work:

 \startalignment[right]
  \placepublications
 \stopalignment

\placepublications[align=right]

 may work (untested)

Good guess ;-) Thanks!

Can I perhaps also turn off hyphenation for the whole list or  
individual items?

Cheers,
Oliver
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Several publication lists

2006-05-17 Thread Taco Hoekwater


nico wrote:
 I don't know if it's doable or if it breaks the consistency of the current  
 interface, but I would see something like the list mechanism:
 

sounds ok,  but it will take quite some time to do this

Cheers,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Several publication lists

2006-05-17 Thread nico
On Wed, 17 May 2006 11:08:50 +0200, Taco Hoekwater [EMAIL PROTECTED]  
wrote:

 nico wrote:
 I don't know if it's doable or if it breaks the consistency of the  
 current
 interface, but I would see something like the list mechanism:

 sounds ok,  but it will take quite some time to do this

Ok, I can wait. If I can help by testing some beta releases of the module,  
tell me.

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Several publication lists

2006-05-16 Thread Taco Hoekwater


nico wrote:
 Hello,
 
 I wonder if it is possible to display several publication lists. Can we  
 achieve this with the bib module? What I would like to do is to split the  
 publication list into different sections, like this:

You cannot do this, sorry.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Several publication lists

2006-05-16 Thread nico
On Tue, 16 May 2006 10:38:18 +0200, Taco Hoekwater [EMAIL PROTECTED]  
wrote:

 nico wrote:
 Hello,

 I wonder if it is possible to display several publication lists. Can we
 achieve this with the bib module? What I would like to do is to split  
 the
 publication list into different sections, like this:

 You cannot do this, sorry.

Hm, I think it could be interesting to add such a feature to context, but  
I understand it cannot be done immediately. Latex already have such things  
(chapterbib, bibtopic) and IMHO there is a real need for this.

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Several publication lists

2006-05-16 Thread Taco Hoekwater


nico wrote:
 
 Hm, I think it could be interesting to add such a feature to context, but  
 I understand it cannot be done immediately. Latex already have such things  

Sure. Can you point me to the documentation of 'bibtopic' and also 
propose a calling / configuration syntax for the ConTeXt  version?
(it is easier for me if I know what to work towards)

Cheers, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Several publication lists

2006-05-16 Thread nico
On Tue, 16 May 2006 15:27:46 +0200, Taco Hoekwater [EMAIL PROTECTED]  
wrote:

 nico wrote:

 Hm, I think it could be interesting to add such a feature to context,  
 but
 I understand it cannot be done immediately. Latex already have such  
 things

 Sure. Can you point me to the documentation of 'bibtopic'

http://www.tex.ac.uk/tex-archive/macros/latex/contrib/bibtopic/bibtopic.pdf

 and also
 propose a calling / configuration syntax for the ConTeXt  version?
 (it is easier for me if I know what to work towards)

I don't know if it's doable or if it breaks the consistency of the current  
interface, but I would see something like the list mechanism:

\definebiblist[name][\setupbiblist options]
\setupbiblist[name][\setuppublicationlist options]
\setupbibfile[name][\setupbibtex options]
\placebiblist[name]

\definecombinedbiblist[bibgroup][biblist list][\setupcombinedlist options]
\setupcombinedlist[bibgroup][ not yet clear what options it should provide  
]

\startbibentry[name][\startpublication options]

\setupcite[name][what][options] (name optional)
\cite[name][what][ref] or \cite[what][name:ref] (name optional)

To keep the current interface, a default global publication list could  
exist:

\setuppublicationlist = \setupbiblist[publication]
\startpublication = \startbibentry[publication]
\placepublications = \placebiblist[publication]
\setupbibtex = \setupbibfile[publication]

Example of use:

% the specs come only from bibtex files
\definebiblist[specs][criterium=all]
\setupbibtex[specs][database={spec1,spec2},sort=short]

\definebiblist[manuals][criterium=all]
\setupbibtex[manuals][database=manbase,sort=short]

% also an embedded definition for the manuals
\startbibentry[manuals][k=me,t=manual,a=Hoekwater,y=2006]
\author[]{Taco}[T.]{}{Hoekwater}
\title{Publication Module}
\stopbibentry

% all the biblio stuff
\definecombinedbiblist[allbibs][specs,manuals][criterium=all]

% let's go
\starttext
\chapter{The doc}
\section{References in the chapter}
\subsection{Specifications}
\placebiblist[specs][criterium=cite]

\subsection{Manuals}
\placebiblist[manuals][criterium=local]

\section{Introduction}
As explained in \cite[manuals][key][me]...

\chapter{References Summary}
\placecombinedlist[allbibs]
\stoptext

What is not clear for me:
- if the bibentry numbering must be global or could restart to 1 for each  
list,
- if it is really feasible to place the biblists several times in the doc,  
and if so, to which list the \cite actually points to.

I hope that all of this doesn't sound too stupid :-)

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Several publication lists

2006-05-15 Thread nico
Hello,

I wonder if it is possible to display several publication lists. Can we  
achieve this with the bib module? What I would like to do is to split the  
publication list into different sections, like this:

\section{Bibliography}
\subsection{Specifications}
... Here are the list of publications that are specifications ...

\subsection{Manuals}
... Here some manuals ...

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bib module: placepublications inserts the first line of each publication

2005-03-13 Thread Michael Fuchs
Hi!

Some of my bib-items will have more than one line in
the list of publications produced by \placepublications.
The first line of the entry will always be indented
by (probably) one character. The output looks like:


Bal01   Balzert, H. (2001). Lehrbuch der Software-Technik -
Software-Entwicklung.
   Spektrum Akademischer Verlag.

Sch04   Schmidt, C. (2004). Entwicklung eines Datenakquisitionssystems für
das
   Crystal-Barrel-Experiment zur Messung photoinduzierter Reaktionen an
ELSA.
   Dissertation, Universität Bonn.


The indent does not appear, when I define the module to use a different
author style by:

\setuppublicationlist
[
  ...
artauthor=\normalshortauthor,author=\normalshortauthor,
  ...
]


Regards 

Michael

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bib module: placepublications inserts the first line of each publication

2005-03-13 Thread Taco Hoekwater
Hi Michael,
Can you send me (privately) a minimal file please?
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Index and publication list conflict

2004-11-24 Thread Taco Hoekwater

 
 everything is fine, up to the order. ( TeXLive 2004 only)

Weird, really weird. Have you tried the 

\setuppublicationlist[criterium=all]

that seems to be needed these days?

Greetings, Taco
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Index and publication list conflict

2004-11-22 Thread Matthias Weber
Hello all,
I might be the only one, but I wanted the index before the 
bibliography, so
my backmatter looks like:

\startbackmatter
\completeindex
\completepublications
\stopbackmatter
which results in the log (excerpt)
title  : - \headtext {pubs}
(./cxmf.tuo)
system : pubs not found/processed
When I conform and use
\startbackmatter
\completepublications
\completeindex
\stopbackmatter
everything is fine, up to the order. ( TeXLive 2004 only)
Matthias
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unable to customize publication list

2004-01-20 Thread Taco Hoekwater


Hi,

This

  \def\mynumber#1{[#1]}
  \setuppublications[numbering=yes,numbercommand=\mynumber]

should work. It definately works in (my) english version.

Hope this helps.

Greetings, Taco

On Tue, 13 Jan 2004 17:04:09 +0100, Giuseppe wrote:

 Hi,
 
 another m-bib problem from it.comp.software.tex ...
 it seems that none of the list customizations options (i.e.
 neither the \setuppublicationlist nor \setuplist[pubs] allows
 to change the numbercommand parameter (e.g. to put brackets
 around the bibref number in the list); a quick glance at the
 log shows that the numbercommand is getting overruled by
 \initializepublist ... how to cope with this?
 
 -- 
 Giuseppe Oblomov Bilotta
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context


-- 
groeten,

Taco
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] Unable to customize publication list

2004-01-20 Thread Giuseppe Bilotta
Hi,

It definitely doesn't seem to work here ...

Just to clarify, the \cites[..] do appear with brackets, it's
the list that doesn't have them. Using

ConTeXt  ver: 2004.1.13  fmt: 2004.1.14  int: english  mes: english

Tuesday, January 20, 2004 Taco Hoekwater wrote:

 Hi,

 This

   \def\mynumber#1{[#1]}
   \setuppublications[numbering=yes,numbercommand=\mynumber]

 should work. It definately works in (my) english version.

 Hope this helps.

 Greetings, Taco

 On Tue, 13 Jan 2004 17:04:09 +0100, Giuseppe wrote:

 Hi,
 
 another m-bib problem from it.comp.software.tex ...
 it seems that none of the list customizations options (i.e.
 neither the \setuppublicationlist nor \setuplist[pubs] allows
 to change the numbercommand parameter (e.g. to put brackets
 around the bibref number in the list); a quick glance at the
 log shows that the numbercommand is getting overruled by
 \initializepublist ... how to cope with this?


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unable to customize publication list

2004-01-20 Thread Tobias Burnus
Hi,

On Tue, Jan 20, 2004 at 11:23:23AM +0100, Giuseppe Bilotta wrote:
 It definitely doesn't seem to work here ...
 Just to clarify, the \cites[..] do appear with brackets, it's
 the list that doesn't have them. Using
Here it works (in the list), the only problem is is the spacing, if the
item has two digits, the number and the item touch ([22]R. F. ...).

 Tuesday, January 20, 2004 Taco Hoekwater wrote:
\def\mynumber#1{[#1]}
\setuppublications[numbering=yes,numbercommand=\mynumber]
  should work. It definately works in (my) english version.
Well, I also only tested my English version.

Giuseppe Bilotta wrote:
 Taco Hoekwater wrote:
  That's why I choose the bibl-XXX.tex files instead. Making a copy and
  editing that is quite easy, or so I thought. (the documentation should
  do a better job of explaining this, though).
 Patching a copy of bibl--xxx was the alternative way I
 suggested the guy with the problem. But I still think that at
 least the most common strings should be language-parametrized
 :)

While not objecting that words like 'and', 'ed.' and 'editor' could be
put in m-bib, I think there are so many combinations that it is not
feasible to add them all. Recently, I checked the bibstyle of the APS
and while they had two basic styles (revtex4/apspr.bst and apsrmp.bst)
there are several differences between all journals. bibl-aps.tex for instance
only implements the version for PRL (thank you Taco, for adding it!).

In addition, one can not translate certain words that easily. English
publishing houses make a difference between a new edition, minor corrections
and a reprint while German 'Verlage' usually bump the 'Auf\/lage' (well not
always for a reprint). There are more such differences which are listed
e.g. in The Oxford Guide to Style, but which I don't remember.

Tobias
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] Unable to customize publication list

2004-01-20 Thread Giuseppe Bilotta
Tuesday, January 20, 2004 Tobias Burnus wrote:

 Hi,

 On Tue, Jan 20, 2004 at 11:23:23AM +0100, Giuseppe Bilotta wrote:
 It definitely doesn't seem to work here ...
 Just to clarify, the \cites[..] do appear with brackets, it's
 the list that doesn't have them. Using
 Here it works (in the list), the only problem is is the spacing, if the
 item has two digits, the number and the item touch ([22]R. F. ...).

Ok, I finally found the reason why it didn't work here: there
was a

\setuppublications[distance=20pt,sort=author]

after the \setuppublications[numbercommand=\bracketed], and it
nihiled the effect of the previous setuppublications. Changing
the order fixed that. Isn't this a bug, though? Why is
numbercommand being reset?

 Giuseppe Bilotta wrote:
 Taco Hoekwater wrote:
  That's why I choose the bibl-XXX.tex files instead. Making a copy and
  editing that is quite easy, or so I thought. (the documentation should
  do a better job of explaining this, though).
 Patching a copy of bibl--xxx was the alternative way I
 suggested the guy with the problem. But I still think that at
 least the most common strings should be language-parametrized
 :)

 While not objecting that words like 'and', 'ed.' and 'editor' could be
 put in m-bib, I think there are so many combinations that it is not
 feasible to add them all. Recently, I checked the bibstyle of the APS
 and while they had two basic styles (revtex4/apspr.bst and apsrmp.bst)
 there are several differences between all journals. bibl-aps.tex for instance
 only implements the version for PRL (thank you Taco, for adding it!).

 In addition, one can not translate certain words that easily. English
 publishing houses make a difference between a new edition, minor corrections
 and a reprint while German 'Verlage' usually bump the 'Auf\/lage' (well not
 always for a reprint). There are more such differences which are listed
 e.g. in The Oxford Guide to Style, but which I don't remember.

I had no idea it was this complex, ok :)

-- 
Giuseppe Oblomov Bilotta

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context