ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: texshow
       [not found] <mailman.3.1259924403.8230.ntg-context@ntg.nl>
@ 2009-12-04 15:57 ` Wolfgang Werners-Lucchini
  2009-12-04 16:02   ` texshow Wolfgang Schuster
  2009-12-04 18:19 ` bibliography authoryears problem Michael Green
  1 sibling, 1 reply; 15+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-12-04 15:57 UTC (permalink / raw)
  To: ntg-context

On 4 Dec 2009 at 12:00, ntg-context-request@ntg.nl wrote:

Von:            	ntg-context-request@ntg.nl
Betreff:        	ntg-context Digest, Vol 66, Issue 19
An:             	ntg-context@ntg.nl
Antwort an:     	ntg-context@ntg.nl
Datum:   	Fri, 04 Dec 2009 12:00:03 +0100

> >>> I can't find a file 'texshow.pl' anymore at my context tree.
> >>> Is the file excluded in actual minimals?
> >> 
> >> mtxrun --script server --auto
> > 
> > I tried to use this command under windows 2000 scite (console).
> > The process does not do anything obvious. I have killed it after
> some 
> > time.
> 
> There should be a line like
> 
> MTXrun | context services:
> http://localhost:31415/mtx-server-ctx-startup.lua

There is no output at all.

> in the terminal, you can copy the link and use it in your browser to
> run texshow.

This works. 
But this is blocking the scite-console, which I need for a couple of 
other things.

Can I  P L E A S E  have my good old texshow.pl back?

Wolfgang
> 

-- 
Musensturm-Verlag -- Postfach 1249 -- 36126 Gersfeld 
>>> http://www.musensturm.de

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

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


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

* Re: texshow
  2009-12-04 15:57 ` texshow Wolfgang Werners-Lucchini
@ 2009-12-04 16:02   ` Wolfgang Schuster
  0 siblings, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2009-12-04 16:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2009 um 16:57 schrieb Wolfgang Werners-Lucchini:

> Can I  P L E A S E  have my good old texshow.pl back?

Not texshow but at least a overview over all documented commands:
http://pragma-ade.com/download-5.htm

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
___________________________________________________________________________________


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

* Re: bibliography authoryears problem
       [not found] <mailman.3.1259924403.8230.ntg-context@ntg.nl>
  2009-12-04 15:57 ` texshow Wolfgang Werners-Lucchini
@ 2009-12-04 18:19 ` Michael Green
  2009-12-04 18:32   ` Hans Hagen
  1 sibling, 1 reply; 15+ messages in thread
From: Michael Green @ 2009-12-04 18:19 UTC (permalink / raw)
  To: ntg-context

On Dec 4, 2009, at 3:00 AM, ntg-context-request@ntg.nl wrote:

>
> Message: 4
> Date: Fri, 04 Dec 2009 09:23:13 +0100
> From: Taco Hoekwater <taco@elvenkind.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] bibliography authoryears problem
> Message-ID: <4B18C6F1.5090803@elvenkind.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
> Hi,
>
> Michael Green wrote:
>> When using refcommand=authoryears and Mk IV the first reference is
>> formatted incorrectly.
>>
>> There is the left parenthesis, then a line break, then the rest of  
>> the
>> reference followed by the right parenthesis.
>
> Here is the cause: the first \cite in mkiv internally runs
> \usepublications[\jobname]. This inputs bib-test.bbl, which
> contains a \par, and that is where the new line comes from.
>
> A workaround is to add
>
>   \usepublications[\jobname]
>
> in the document preamble.
>
> It works in mkii because in mkii, that command is executed at
> \starttext.
>
> For Hans: perhaps \usemodule[bib] should run the command? I know that
> is supposed to be obsolete, but I assume you do not want to use the
> odd logic from mkii in mkiv.
>
> Best wishes,
> Taco
>

That solves both the problems I noted. Thanks!

mjg
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: bibliography authoryears problem
  2009-12-04 18:19 ` bibliography authoryears problem Michael Green
@ 2009-12-04 18:32   ` Hans Hagen
  2009-12-04 18:38     ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: Hans Hagen @ 2009-12-04 18:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Michael Green wrote:
> On Dec 4, 2009, at 3:00 AM, ntg-context-request@ntg.nl wrote:
> 
>>
>> Message: 4
>> Date: Fri, 04 Dec 2009 09:23:13 +0100
>> From: Taco Hoekwater <taco@elvenkind.com>
>> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>> Subject: Re: [NTG-context] bibliography authoryears problem
>> Message-ID: <4B18C6F1.5090803@elvenkind.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>>
>> Hi,
>>
>> Michael Green wrote:
>>> When using refcommand=authoryears and Mk IV the first reference is
>>> formatted incorrectly.
>>>
>>> There is the left parenthesis, then a line break, then the rest of the
>>> reference followed by the right parenthesis.
>>
>> Here is the cause: the first \cite in mkiv internally runs
>> \usepublications[\jobname]. This inputs bib-test.bbl, which
>> contains a \par, and that is where the new line comes from.
>>
>> A workaround is to add
>>
>>   \usepublications[\jobname]
>>
>> in the document preamble.
>>
>> It works in mkii because in mkii, that command is executed at
>> \starttext.
>>
>> For Hans: perhaps \usemodule[bib] should run the command? I know that
>> is supposed to be obsolete, but I assume you do not want to use the
>> odd logic from mkii in mkiv.
>>
>> Best wishes,
>> Taco
>>
> 
> That solves both the problems I noted. Thanks!

\unprotect

\def\dousepublications#1%
   {\doonlyonce{#1.\f!bibextension}
      {\let\@@savedpar\par
       \let\par\ignorespaces
       \ifhmode\kern\zeropoint\fi
       \readfile{#1.\f!bibextension}
         {\showmessage\m!publications{4}{#1.\f!bibextension}}
         {\showmessage\m!publications{2}{#1.\f!bibextension}}%
       \ifhmode\removeunwantedspaces\fi
       \let\par\@@savedpar}}

\protect

should also work ... the reason for the automatic loading is that it 
circumvents problems with projects, products, components etc where 
settings can come after teh first starttext so that's not the best hook 
then

of course implicit loading as suggested by taco is the best


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

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


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

* Re: bibliography authoryears problem
  2009-12-04 18:32   ` Hans Hagen
@ 2009-12-04 18:38     ` Wolfgang Schuster
  2009-12-04 18:46       ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2009-12-04 18:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2009 um 19:32 schrieb Hans Hagen:

> \def\dousepublications#1%
>  {\doonlyonce{#1.\f!bibextension}
>     {\let\@@savedpar\par
>      \let\par\ignorespaces
>      \ifhmode\kern\zeropoint\fi
>      \readfile{#1.\f!bibextension}
>        {\showmessage\m!publications{4}{#1.\f!bibextension}}
>        {\showmessage\m!publications{2}{#1.\f!bibextension}}%
>      \ifhmode\removeunwantedspaces\fi
>      \let\par\@@savedpar}}

why not \let\par\normalpar

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
___________________________________________________________________________________


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

* Re: bibliography authoryears problem
  2009-12-04 18:38     ` Wolfgang Schuster
@ 2009-12-04 18:46       ` Hans Hagen
  0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2009-12-04 18:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> Am 04.12.2009 um 19:32 schrieb Hans Hagen:
> 
>> \def\dousepublications#1%
>>  {\doonlyonce{#1.\f!bibextension}
>>     {\let\@@savedpar\par
>>      \let\par\ignorespaces
>>      \ifhmode\kern\zeropoint\fi
>>      \readfile{#1.\f!bibextension}
>>        {\showmessage\m!publications{4}{#1.\f!bibextension}}
>>        {\showmessage\m!publications{2}{#1.\f!bibextension}}%
>>      \ifhmode\removeunwantedspaces\fi
>>      \let\par\@@savedpar}}
> 
> why not \let\par\normalpar

actually i had that but then i was not sure if par might have been 
redefined as a \cite command can occure anywhere; it's also why we 
cannot use grouping ... or use

\startnointerference
\globaldefs\plusone
...
\stopnointerference

actually, it's not the \startpublication that is the problem as we can 
add \ignorespaces at the end, or use tricks that need grouping as they 
are defined global anyway, but it's the \setuppublciations in the bbl 
file that interferes

Hans

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

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


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

* Re: bibliography authoryears problem
  2009-12-04 18:31   ` Wolfgang Schuster
  2009-12-04 18:35     ` Hans Hagen
@ 2009-12-04 18:43     ` Hans Hagen
  1 sibling, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2009-12-04 18:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:

> How about this:
> 
> \def\preloadbiblist
>   {\globallet\preloadbiblist\relax
>    \pushendofline
>    \dousepublications\jobname
>    \popendofline}

btw, i played with endlinechar a bit but rejected it because i was not 
sure about bibtex .. take

	Author = {Calfee oeps oeps oeps
     oeps, John E.},

this becomes

a={{Calfee oeps oeps~oeps oeps}},y=2009,

and a solution for the spaces creeping in needs to preserve them someho 
win entries

can we be sure that the values end up on one line?

btw, the injected ~ is kind of funny and probably some hard coded 
assumption in bibtex itself (about oeps begins a title or letter as well 
as ~ having some special meaning); maybe this fuzzyness is why bibtex is 
still version 0.99 (in spite of several announcements at conferences of 
a 1.00 release)

Hans




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

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


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

* Re: bibliography authoryears problem
  2009-12-04 18:31   ` Wolfgang Schuster
@ 2009-12-04 18:35     ` Hans Hagen
  2009-12-04 18:43     ` Hans Hagen
  1 sibling, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2009-12-04 18:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> Am 04.12.2009 um 09:23 schrieb Taco Hoekwater:
> 
>> Michael Green wrote:
>>> When using refcommand=authoryears and Mk IV the first reference is
>>> formatted incorrectly.
>>>
>>> There is the left parenthesis, then a line break, then the rest of the
>>> reference followed by the right parenthesis.
>> Here is the cause: the first \cite in mkiv internally runs
>> \usepublications[\jobname]. This inputs bib-test.bbl, which
>> contains a \par, and that is where the new line comes from.
>>
>> A workaround is to add
>>
>>   \usepublications[\jobname]
>>
>> in the document preamble.
>>
>> It works in mkii because in mkii, that command is executed at
>> \starttext.
>>
>> For Hans: perhaps \usemodule[bib] should run the command? I know that
>> is supposed to be obsolete, but I assume you do not want to use the
>> odd logic from mkii in mkiv.
> 
> How about this:
> 
> \def\preloadbiblist
>   {\globallet\preloadbiblist\relax
>    \pushendofline
>    \dousepublications\jobname
>    \popendofline}

that's also a nice solution (i didn't know it was till in mkiv -)

Hans

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

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


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

* Re: bibliography authoryears problem
  2009-12-04  8:23 ` Taco Hoekwater
@ 2009-12-04 18:31   ` Wolfgang Schuster
  2009-12-04 18:35     ` Hans Hagen
  2009-12-04 18:43     ` Hans Hagen
  0 siblings, 2 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2009-12-04 18:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2009 um 09:23 schrieb Taco Hoekwater:

> Michael Green wrote:
>> When using refcommand=authoryears and Mk IV the first reference is
>> formatted incorrectly.
>> 
>> There is the left parenthesis, then a line break, then the rest of the
>> reference followed by the right parenthesis.
> 
> Here is the cause: the first \cite in mkiv internally runs
> \usepublications[\jobname]. This inputs bib-test.bbl, which
> contains a \par, and that is where the new line comes from.
> 
> A workaround is to add
> 
>   \usepublications[\jobname]
> 
> in the document preamble.
> 
> It works in mkii because in mkii, that command is executed at
> \starttext.
> 
> For Hans: perhaps \usemodule[bib] should run the command? I know that
> is supposed to be obsolete, but I assume you do not want to use the
> odd logic from mkii in mkiv.

How about this:

\def\preloadbiblist
  {\globallet\preloadbiblist\relax
   \pushendofline
   \dousepublications\jobname
   \popendofline}

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
___________________________________________________________________________________


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

* Re: bibliography authoryears problem
  2009-12-03  0:26 Michael Green
  2009-12-03 17:27 ` Bernhard Rosensteiner
  2009-12-03 18:51 ` Taco Hoekwater
@ 2009-12-04  8:23 ` Taco Hoekwater
  2009-12-04 18:31   ` Wolfgang Schuster
  2 siblings, 1 reply; 15+ messages in thread
From: Taco Hoekwater @ 2009-12-04  8:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Hi,

Michael Green wrote:
> When using refcommand=authoryears and Mk IV the first reference is
> formatted incorrectly.
> 
> There is the left parenthesis, then a line break, then the rest of the
> reference followed by the right parenthesis.

Here is the cause: the first \cite in mkiv internally runs
\usepublications[\jobname]. This inputs bib-test.bbl, which
contains a \par, and that is where the new line comes from.

A workaround is to add

   \usepublications[\jobname]

in the document preamble.

It works in mkii because in mkii, that command is executed at
\starttext.

For Hans: perhaps \usemodule[bib] should run the command? I know that
is supposed to be obsolete, but I assume you do not want to use the
odd logic from mkii in mkiv.

Best wishes,
Taco


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

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


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

* Re: bibliography authoryears problem
       [not found] <mailman.860.1259862604.22155.ntg-context@ntg.nl>
@ 2009-12-03 19:14 ` Michael Green
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Green @ 2009-12-03 19:14 UTC (permalink / raw)
  To: ntg-context

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

I should have mentioned that there's a similar problem with  
refcommand=authoryear (my previous post concerned  
refcommand=authoryears).

Using Mk IV, the first citation is preceded with a new line. Mk II  
behaves appropriately. And all citations other than the first one are  
formatted correctly by Mk IV.

This is quite similar to the problem I reported with  
refcommand=authoryears. In both cases, only the first citation is  
wrong and the error in both cases involves a line break. Perhaps they  
have a related cause. Happy hunting!

mjg

Samples are attached.

This is LuaTeX, Version beta-0.46.0-2009112820
  \write18 enabled.
(bib-test-2.tex

ConTeXt  ver: 2009.12.01 17:09 MKIV  fmt: 2009.12.1  int: english/ 
english


[-- Attachment #2: bib-test-2.pdf --]
[-- Type: application/pdf, Size: 9084 bytes --]

[-- Attachment #3: bib-test-2.tex --]
[-- Type: application/octet-stream, Size: 935 bytes --]

\usemodule[bib]
\setuppublications[state=start,criterium=cite,refcommand=authoryear,sorttype=bbl]
\setupbibtex[sort=author,database=test-bib]
\setuppublicationlist[maybeyear=on,artauthor=\invertedauthor,author=\invertedauthor]


\starttext

“unlike other businesses, drug companies are dependent on the public for a host of special favors — including the rights to NIH-funded research, long periods of market monopoly, and multiple tax breaks that almost gurantee a profit.” \cite[Angell:2004vh]

“The US government currently accounts for almost half of all spending on health care in this nation. The regulatory role of the government is pervasive.” \cite[extras={, p. 572}][Gruber:2008kx]

“The US is unique because it alone is the source of half of world-wide profits that provide the payoff for the complex, lengthy, and expensive process of developing new treatments.” \cite[Calfee:2009ys]


\stoptext

[-- Attachment #4: test-bib.bib --]
[-- Type: application/octet-stream, Size: 670 bytes --]

%% This BibTeX bibliography file was created using BibDesk.
@article{Angell:2004vh,
	Author = {Marcia Angell},
	Journal = {New York Review of Books},
	Month = {July 15},
	Title = {The Truth About the Drug Companies},
	Year = {2004},
}

@article{Gruber:2008kx,
	Author = {Gruber, Jonathan},
	Journal = {Journal of Economic Literature},
	Number = {3},
	Pages = {571–606},
	Title = {Covering the Uninsured in the {U}nited {S}tates},
	Volume = {46},
	Year = {2008},
}

@article{Calfee:2009ys,
	Author = {Calfee, John E.},
	Journal = {Wall Street Journal},
	Month = {June 26},
	Title = {The Dangers of {F}annie {M}ae Health Care},
	Year = {2009},
}

[-- Attachment #5: Type: text/plain, Size: 486 bytes --]

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

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

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

* Re: bibliography authoryears problem
  2009-12-03  0:26 Michael Green
  2009-12-03 17:27 ` Bernhard Rosensteiner
@ 2009-12-03 18:51 ` Taco Hoekwater
  2009-12-04  8:23 ` Taco Hoekwater
  2 siblings, 0 replies; 15+ messages in thread
From: Taco Hoekwater @ 2009-12-03 18:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Michael Green wrote:
> When using refcommand=authoryears and Mk IV the first reference is 
> formatted incorrectly.
> 
> There is the left parenthesis, then a line break, then the rest of the 
> reference followed by the right parenthesis.
> 
> With MkII it comes out correctly. And in MkIV, every reference except 
> the first is correct.
> 
> This is similar to a problem reported in another thread, but I don't see 
> how the resolution proposed there applies here.
> 
> http://archive.contextgarden.net/message/20091116.073439.c2549ecb.en.html

I'll check this tomorrow (my luatex is a bit unstable at the moment,
have to fix that first).

Best wishes,
Taco


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

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


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

* Re: bibliography authoryears problem
  2009-12-03 17:27 ` Bernhard Rosensteiner
@ 2009-12-03 17:36   ` Hans Hagen
  0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2009-12-03 17:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Bernhard Rosensteiner wrote:
> Hello,
> 
> see http://archive.contextgarden.net/message/20091115.194137.4395932d.en.html

seen but i wait till Thomas or Taco (the bibliography experts) comments 
on it

Hans


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

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


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

* Re: bibliography authoryears problem
  2009-12-03  0:26 Michael Green
@ 2009-12-03 17:27 ` Bernhard Rosensteiner
  2009-12-03 17:36   ` Hans Hagen
  2009-12-03 18:51 ` Taco Hoekwater
  2009-12-04  8:23 ` Taco Hoekwater
  2 siblings, 1 reply; 15+ messages in thread
From: Bernhard Rosensteiner @ 2009-12-03 17:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

see http://archive.contextgarden.net/message/20091115.194137.4395932d.en.html

best regards

Am 03.12.2009 um 01:26 schrieb Michael Green:

> When using refcommand=authoryears and Mk IV the first reference is formatted incorrectly.
> 
> There is the left parenthesis, then a line break, then the rest of the reference followed by the right parenthesis.
> 
> With MkII it comes out correctly. And in MkIV, every reference except the first is correct.
> 
> This is similar to a problem reported in another thread, but I don't see how the resolution proposed there applies here.
> 
> http://archive.contextgarden.net/message/20091116.073439.c2549ecb.en.html
> 
> It isn't a crucial thing for me. I can use MkII when I need to use this citation style. I'm just submitting this as a possible bug report.
> 
> 
> This is LuaTeX, Version beta-0.46.0-2009112820
> \write18 enabled.
> (bib-test.tex
> 
> ConTeXt  ver: 2009.12.01 17:09 MKIV  fmt: 2009.12.1  int: english/english
> 
> I'm attaching three files: the source, the bibliography, and the pdf output that I get.
> 
> <bib-test.tex><test-bib.bib>
> <bib-test.pdf>
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________


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

* bibliography authoryears problem
@ 2009-12-03  0:26 Michael Green
  2009-12-03 17:27 ` Bernhard Rosensteiner
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Michael Green @ 2009-12-03  0:26 UTC (permalink / raw)
  To: ntg-context

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

When using refcommand=authoryears and Mk IV the first reference is  
formatted incorrectly.

There is the left parenthesis, then a line break, then the rest of the  
reference followed by the right parenthesis.

With MkII it comes out correctly. And in MkIV, every reference except  
the first is correct.

This is similar to a problem reported in another thread, but I don't  
see how the resolution proposed there applies here.

http://archive.contextgarden.net/message/20091116.073439.c2549ecb.en.html

It isn't a crucial thing for me. I can use MkII when I need to use  
this citation style. I'm just submitting this as a possible bug report.


This is LuaTeX, Version beta-0.46.0-2009112820
  \write18 enabled.
(bib-test.tex

ConTeXt  ver: 2009.12.01 17:09 MKIV  fmt: 2009.12.1  int: english/ 
english

I'm attaching three files: the source, the bibliography, and the pdf  
output that I get.


[-- Attachment #2: bib-test.tex --]
[-- Type: application/octet-stream, Size: 936 bytes --]

\usemodule[bib]
\setuppublications[state=start,criterium=cite,refcommand=authoryears,sorttype=bbl]
\setupbibtex[sort=author,database=test-bib]
\setuppublicationlist[maybeyear=on,artauthor=\invertedauthor,author=\invertedauthor]


\starttext

“unlike other businesses, drug companies are dependent on the public for a host of special favors — including the rights to NIH-funded research, long periods of market monopoly, and multiple tax breaks that almost gurantee a profit.” \cite[Angell:2004vh]

“The US government currently accounts for almost half of all spending on health care in this nation. The regulatory role of the government is pervasive.” \cite[extras={, p. 572}][Gruber:2008kx]

“The US is unique because it alone is the source of half of world-wide profits that provide the payoff for the complex, lengthy, and expensive process of developing new treatments.” \cite[Calfee:2009ys]


\stoptext

[-- Attachment #3: test-bib.bib --]
[-- Type: application/octet-stream, Size: 670 bytes --]

%% This BibTeX bibliography file was created using BibDesk.
@article{Angell:2004vh,
	Author = {Marcia Angell},
	Journal = {New York Review of Books},
	Month = {July 15},
	Title = {The Truth About the Drug Companies},
	Year = {2004},
}

@article{Gruber:2008kx,
	Author = {Gruber, Jonathan},
	Journal = {Journal of Economic Literature},
	Number = {3},
	Pages = {571–606},
	Title = {Covering the Uninsured in the {U}nited {S}tates},
	Volume = {46},
	Year = {2008},
}

@article{Calfee:2009ys,
	Author = {Calfee, John E.},
	Journal = {Wall Street Journal},
	Month = {June 26},
	Title = {The Dangers of {F}annie {M}ae Health Care},
	Year = {2009},
}

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



[-- Attachment #5: bib-test.pdf --]
[-- Type: application/pdf, Size: 9072 bytes --]

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



[-- Attachment #7: Type: text/plain, Size: 486 bytes --]

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

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

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

end of thread, other threads:[~2009-12-04 18:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1259924403.8230.ntg-context@ntg.nl>
2009-12-04 15:57 ` texshow Wolfgang Werners-Lucchini
2009-12-04 16:02   ` texshow Wolfgang Schuster
2009-12-04 18:19 ` bibliography authoryears problem Michael Green
2009-12-04 18:32   ` Hans Hagen
2009-12-04 18:38     ` Wolfgang Schuster
2009-12-04 18:46       ` Hans Hagen
     [not found] <mailman.860.1259862604.22155.ntg-context@ntg.nl>
2009-12-03 19:14 ` Michael Green
2009-12-03  0:26 Michael Green
2009-12-03 17:27 ` Bernhard Rosensteiner
2009-12-03 17:36   ` Hans Hagen
2009-12-03 18:51 ` Taco Hoekwater
2009-12-04  8:23 ` Taco Hoekwater
2009-12-04 18:31   ` Wolfgang Schuster
2009-12-04 18:35     ` Hans Hagen
2009-12-04 18:43     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).