ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bibliography
@ 2000-05-02 12:20 Michal Kvasnicka
  2000-05-02 19:36 ` Bibliography Robert F. Beeger
  0 siblings, 1 reply; 18+ messages in thread
From: Michal Kvasnicka @ 2000-05-02 12:20 UTC (permalink / raw)


I'm trying to use the bib module, but I have some troubles with it.

1) I'd like the word REFERENCE to be a chapter without number.
I thought that the solution is
    \setupbib...[beforelist=\chapter]
but it does nothing. What's wrong?

2) I'd like the word REFERENCE to translate to Czech (``Seznam
literatury''
or something like that). How to do it?

3) I'd like the list of bibitems to be in \tf (text font size), but it
is smaller. How to
change it?

Many thanks for your advices.

M.K.

P.S. There is a beautiful weather in Brno. May you have it too.

--
Economics is the only field in which two people can get a Nobel Prize
for saying exactly the opposite things.


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Bibliography
@ 2022-02-22 21:36 Willi Egger via ntg-context
  0 siblings, 0 replies; 18+ messages in thread
From: Willi Egger via ntg-context @ 2022-02-22 21:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger


[-- Attachment #1.1: Type: text/plain, Size: 641 bytes --]

Hi all,

I have a rather old project which involves a bibbliography of about 60 entries. — Now I tried to use the publications environment after reading the manual. — I must say environment this is impressive!

However I struggle with getting it working.

1. When using my dataset, which is encoded as a ‘bbl’ type file I get a list of publications but the entries are uncomplete. enclosed files: publist-test.tex, test-literaturliste.bbl, publist-test.pdf

2. When I use a buffer for testing, I do not get \cite reference nor a publication list: publist-buffer-test,tex

Can someone advise?

Kind regards

Willi
	


[-- Attachment #1.2.1: Type: text/html, Size: 1002 bytes --]

[-- Attachment #1.2.2: test-literaturliste.bbl --]
[-- Type: application/octet-stream, Size: 1426 bytes --]

% ConTeXt: Publications
%    filename: test-literaturliste.tex


\startpublication
   [k=Auer1968,
   t=article,
   a=Auer,
   y=1968,
   n=1]
   \artauthor[]{}[W]{}{Auer}
   \arttitle{Nachweis von Gallenfarbstoffen in Fleisch und Fett mittels Ictotest}
   \journal{Wien. tierärztl. Mschr.}
   \issue{55}
   \pages{657-662}
   \pubyear{1968}
 \stoppublication

\startpublication
   [k=Bader1958,
   t=book,
   a=Bader,
   y=1958,
   n=2]
   \author[]{}[A]{}{Grumbach}
   \author[]{}[W]{}{Kikuth}
   \title{Die Infektionskrankheiten des Menschen und ihre Erreger}
   \artauthor[]{}[R.E]{}{Bader}
   \arttitle{Die Salmonellosen}
   \volume{1}
   \pages{586}
   \pubyear{1958}
   \pubname{Verlag G. Thieme}
   \city{Stuttgart}
 \stoppublication

\startpublication
   [k=Kendereski1968,
   t=article,
   a=Kendereski,
   y=1968,
   n=24]
   \artauthor[]{}[S]{}{Kendereski}
   \arttitle{Über die biochemische Aktivität der Mikroorganismen in dem Prozess des Fleischabbaus}
   \pages{365-368}
   \pubyear{1968}
    \issue{68}
    \journal{Schlacht- und Viehhofzeitung}
\stoppublication



\startpublication
   [k=Wirth1973,
   t=article,
   a=Wirth,
   y=1973,
   n=60]
   \artauthor[]{}[F]{}{Wirth}
   \arttitle{Moderne Hitzesterilisation von Fleischwaren}
   \pubyear{1973}
   \journal{Schweiz. Archiv Tierhk.}
   \issue{115}
   \pages{310-320}
\stoppublication

[-- Attachment #1.2.3: Type: text/html, Size: 235 bytes --]

[-- Attachment #1.2.4: publist-buffer-test.tex --]
[-- Type: application/octet-stream, Size: 1182 bytes --]

% Context file
% Filename: publist-buffer-test.tex


\mainlanguage[de]

\startbuffer[Test]
	\startpublication
	   [k=Kendereski1968,
	   t=article,
	   a=Kendereski,
	   y=1968,
	   n=24]
	   \artauthor[]{}[S]{}{Kendereski}
	   \arttitle{Über die biochemische Aktivität der Mikroorganismen in dem Prozess des Fleischabbaus}
	   \pages{365-368}
	   \pubyear{1968}
	   \issue{68}
	   \journal{Schlacht- und Viehhofzeitung}
	\stoppublication
\stopbuffer

\definebtxdataset[Test]

\definebtxrendering
	[Test]
	[apa]
	[dataset=Test,
	 sorttype=authoryear]

\usebtxdataset
	[Test]
	[Test.buffer]
	[specification=apa]

% \setupbtxdataset
% 	[Test]
% 	[language=de]

\setupbtx
	[dataset=Test,
	 alternative=authoryear]
	 
% \setupbtxrendering
% 	[criterium=all,
% 	 numbering=yes]

\setupbtxlist
	[alternative=paragraph,
	 width=fit,
	 distance=.5em,
	 margin=3em]

\starttext
Über die biochemische Aktivität der Mikroorganismen in dem Prozess des Fleischabbaus \cite[authoryear][Kendereski1968].

\startsubject[title=Liste der Publikationen]

	\placelistofpublications
		[Test]
		[method=dataset]
		
\stopsubject
\stoptext

[-- Attachment #1.2.5: Type: text/html, Size: 235 bytes --]

[-- Attachment #1.2.6: publist-buffer-test.pdf --]
[-- Type: application/pdf, Size: 14167 bytes --]

[-- Attachment #1.2.7: Type: text/html, Size: 235 bytes --]

[-- Attachment #1.2.8: publist-test.tex --]
[-- Type: application/octet-stream, Size: 777 bytes --]

% Context file
% Filename: publist-test.tex


\mainlanguage[de]

\definebtxdataset[Test]

\definebtxrendering
	[Test]
	[apa]
	[dataset=Test,
	 sorttype=authoryear]

\usebtxdataset
	[Test]
	[test-literaturliste.bbl]
	[specification=apa]

\setupbtxdataset
	[Test]
	[language=de]

\setupbtx
	[dataset=Test,
	 alternative=authoryear]
	 
\setupbtxrendering
	[criterium=all,
	 numbering=yes]

\setupbtxlist
	[alternative=paragraph,
	 width=fit,
	 distance=.5em,
	 margin=3em]

\starttext
Über die biochemische Aktivität der Mikroorganismen in dem Prozess des Fleischabbaus \cite[authoryear][Kendereski1968].

\startsubject[title=Liste der Publikationen]

	\placelistofpublications
		[Test]
		[method=dataset]
		
\stopsubject
\stoptext

[-- Attachment #1.2.9: Type: text/html, Size: 235 bytes --]

[-- Attachment #1.2.10: publist-test.pdf --]
[-- Type: application/pdf, Size: 19436 bytes --]

[-- Attachment #1.2.11: Type: text/html, Size: 317 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Encoding reserved characters in URI query strings
@ 2017-02-05 17:09 Aditya Mahajan
  2017-02-07 12:24 ` Bibliography Jean-Pierre Delange
  0 siblings, 1 reply; 18+ messages in thread
From: Aditya Mahajan @ 2017-02-05 17:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 5 Feb 2017, Rogers, Michael K wrote:

> Let's say I want a link to plot x+2 in Wolfram|Alpha.  I need to catenate "http://www.wolframalpha.com/input/?i=" and  "plot+x%2B2".  Is there any way already available in ConTeXt to translate reserved characters like "+" to the percent-hexcode "%2B"?
>
> Something like
>
>    \encode[plot x+2]
>
> would become
>
>    plot+x%2B2
>
> Or more generally, some languages have a query constructor like this
>
>    \queryURI
>      [http://www.wolframalpha.com/input]
>      [i=plot x+2]
>
> which would construct the URI
>
>    http://www.wolframalpha.com/input/?i=plot+x%2B2
>
> I could write my own, of course.  But no need to reinvent the wheel.

url.escape does exactly that.

\startluacode
   local base="http://www.wolframalpha.com/input"
   local query="i=plot x+2"
   local fullname = base .. query
   print(url.escape(fullname))
\stopluacode

gives

http%3A//www.wolframalpha.com/inputi%3Dplot%20x%2B2

Also look at l-url.lua for other helper functions for parsing and 
escaping/unescaping urls.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Bibliography
@ 2015-07-01  8:35 Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 0 replies; 18+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-07-01  8:35 UTC (permalink / raw)
  To: ConTeXt

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

Hello,

I have a bibliography database in Lua.
I suppose to use this DB to create a list of publications with Lua and \startpublication ... \stoppublication.
So I will get something like:

----
% Will be generated by Lua, but for now >>
\startpublication
   [k=me,
    t=article,
    a=LPr,
    y=2000,
    s=Shr,
    n=1,
   ]
   \city{Prg}
\stoppublication
% Will be generated by Lua, but for now <<

\setuppublications[alternative=apa]

\starttext
   Hello \cite[me] -- \cite[Shr] -- \cite[1].

   \placepublications[criterium=all]
\stoptext
----

The problem is that \cite produces "(Xxxxxxxxxx, 0000)" and no list of publications is generated.

What am I doing wrong?

NB: I learned from
	http://wiki.contextgarden.net/Bibliography_mkiv
	and
	http://www.let.rug.nl/alfa/texmf/tetex30/context/bib/bibmod-doc.pdf

My one-off is that I have not a .bib file and I would like to avoid .bib generation and use of BibTeX if possible.
I guess that having a biblio DB in Lua is handy enough as Lua can convert the DB in whatever format - eg. via

context.startpublication(...)
  ...
context.stoppublication()

So, how to "handle" the bibliography in a best manner?

Than you in advance,

Lukas


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

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

[-- Attachment #2: Bib.test.mkiv --]
[-- Type: application/octet-stream, Size: 273 bytes --]

\startpublication
  [k=me,
   t=article,
   a=LPr,
   y=2000,
   s=Shr,
   n=1,
  ]
  \city{Prg}
\stoppublication

\setuppublications[alternative=apa]

\starttext
  Hello \cite[me] -- \cite[Shr] -- \cite[1].

  \placepublications[criterium=all]
\stoptext

[-- Attachment #3: Bib.test.pdf --]
[-- Type: application/pdf, Size: 5646 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 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] 18+ messages in thread
* bibliography
@ 2010-11-29 18:30 Hans Hagen
  0 siblings, 0 replies; 18+ messages in thread
From: Hans Hagen @ 2010-11-29 18:30 UTC (permalink / raw)
  To: Thomas A. Schmitz, mailing list for ConTeXt users

Hi,

There have been some posts with respect to bib modules. As Thomas is 
coordinating these modules, I wait with fixing till I get a summary + 
examples.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread
* bibliography
@ 2000-11-28 18:37 David Hansen
  2000-11-28 18:47 ` bibliography David Hansen
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: David Hansen @ 2000-11-28 18:37 UTC (permalink / raw)


Hi all, 

are there some predefined commandos/macros for a bibliography?

David


^ permalink raw reply	[flat|nested] 18+ messages in thread
* bibliography
@ 2000-04-21 15:42 pragma
  2000-04-23 12:36 ` bibliography Robert F. Beeger
  0 siblings, 1 reply; 18+ messages in thread
From: pragma @ 2000-04-21 15:42 UTC (permalink / raw)


> How do I make it, that references to publication look this
way:
>     In [3Amigos] you'll find more information about UML.
instead of this way:
>     In [4] you'll find more information about UML.

Since a good part of commands about publications as
startpublicatie have no 
english counterpart and the english documentation does not give

Taco has written a bibtex++ compatible module for context. I
don't have the pointer at hand [i'm working off site].

Taco? 

Hans 


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

end of thread, other threads:[~2022-02-22 21:36 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-02 12:20 Bibliography Michal Kvasnicka
2000-05-02 19:36 ` Bibliography Robert F. Beeger
  -- strict thread matches above, loose matches on Subject: below --
2022-02-22 21:36 Bibliography Willi Egger via ntg-context
2017-02-05 17:09 Encoding reserved characters in URI query strings Aditya Mahajan
2017-02-07 12:24 ` Bibliography Jean-Pierre Delange
2017-02-07 15:12   ` Bibliography Alan Braslau
2015-07-01  8:35 Bibliography Procházka Lukáš Ing. - Pontex s. r. o.
2010-11-29 18:30 bibliography Hans Hagen
2000-11-28 18:37 bibliography David Hansen
2000-11-28 18:47 ` bibliography David Hansen
2000-11-28 19:11 ` bibliography Christopher Tipper
2000-11-29  2:03   ` bibliography Uwe Koloska
2000-11-29  9:02   ` bibliography Hans Hagen
2000-11-29 10:05 ` bibliography tburnus
2000-04-21 15:42 bibliography pragma
2000-04-23 12:36 ` bibliography Robert F. Beeger
2000-04-23 20:40   ` bibliography Tobias Burnus
2000-04-26 14:20     ` bibliography Robert F. Beeger
2000-04-26 14:45       ` bibliography Taco Hoekwater

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).