How to cite online websites (reloaded)
![](https://secure.gravatar.com/avatar/9b5faf07678975d5020d266bc067265b.jpg?s=120&d=mm&r=g)
Hello guys, I've checked some articles on the wiki as well as the publications manual, but the results I get aren't what I expect. I hope that you can help me. I'd love to do short BibTeX entries like @Misc{lnkGGL, note = "zuletzt abgerufen am \date[d=05, m=06, y=2018]", url = "http://www.google.com" } because sometimes this is all info I can get. Now I want an entry in the \placelistofpublications area with only the link and the note when I opened the website the last time. That's what I get from ConTeXt so far when I use \cite[lnkGGL]: [1], _http://www.google.com_ (unveröffentlicht). (zuletzt abgerufen am 5. Juni 2018) How would one get this output instead: [1] _http://www.google.com_ (zuletzt abgerufen am 5. Juni 2018) In the mail archive I found these commands: \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yesalternative=myapa-de] \starttext \startpublication[k=pragma, t=article, % I sometimes use "webpage" a=Hans] \url{http://www.pragma-ade.com} % or u= inside the square brackets \lastchecked{some date} \stoppublication Hallo\cite[url][pragma] \placelistofpublications \stoptext This of course doesn't work for me (error: "attempt to concatenate a table value" or a blank page). Also i-context.pdf gives another syntax for \cite. I really just want the link and the date in parentheses. How would a pro user do this? Thanks in advance, Lars-
![](https://secure.gravatar.com/avatar/9b5faf07678975d5020d266bc067265b.jpg?s=120&d=mm&r=g)
I am playing with this right now, but it's contra-automative :-P:
\define[1]\LINK{\[\in[#1]\]}
\setupinteraction[state=start]
\starttext
\startbodymatter
\startchapter[title={Chapter Ej},marking={}]
\startsubject[title={Warnunk},marking={}]
Zitat hier: \LINK{libA}
\\
Weiteres Zitat (\LINK{libA} S. 201 ff.).
\stopsubject
\startsection[title={Esgalation},marking={}]
Verweis hier: \LINK{libB}
\stopsection
\stopchapter
\stopbodymatter
% ---------------------------------------------------------
\startappendices
\startchapter[title={Quellenverzeichnis},marking={}]
\startitemize[n][stopper={},left={\[},right={\]},distance=1em]
\startitem[libA]
A. Bloch, {\it Pleasuredome}, AH-A Ltd., 2018
\stopitem
\startitem[libB]
{\blue\em
http://wiki.contextgarden.net/verylonglink/will-it-ever-break/try_it},
(zuletzt abgerufen am 31.12.2009)
\stopitem
\stopitemize
\stopchapter
\stopappendices
\stoptext
But I'd really like the BibTeX way... Or at least a hint how I can
create my own style in CTX from @MISC or even a new entry format.
How can I at least turn off the (unpublished) tag?!? Please...
Lars
-------- Weitergeleitete Nachricht --------
Betreff: [NTG-context] How to cite online websites (reloaded)
Datum: Sun, 2 Sep 2018 19:02:42 +0200
Von: Lars
![](https://secure.gravatar.com/avatar/6e50a7aa57f5569d881f204f124d96ef.jpg?s=120&d=mm&r=g)
You are using the old mkii BibTeX module, not the bibliography database system that is part of the mkiv core. Alan
On 2 Sep 2018, at 19:02, Lars
wrote: Hello guys,
I've checked some articles on the wiki as well as the publications manual, but the results I get aren't what I expect. I hope that you can help me.
I'd love to do short BibTeX entries like
@Misc{lnkGGL, note = "zuletzt abgerufen am \date[d=05, m=06, y=2018]", url = "http://www.google.com" }
because sometimes this is all info I can get. Now I want an entry in the \placelistofpublications area with only the link and the note when I opened the website the last time. That's what I get from ConTeXt so far when I use \cite[lnkGGL]: [1] , http://www.google.com (unveröffentlicht). (zuletzt abgerufen am 5. Juni 2018)
How would one get this output instead:
[1] http://www.google.com (zuletzt abgerufen am 5. Juni 2018)
In the mail archive I found these commands:
\usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yesalternative=myapa-de]
\starttext
\startpublication[k=pragma, t=article, % I sometimes use "webpage" a=Hans] \url{http://www.pragma-ade.com} % or u= inside the square brackets \lastchecked{some date} \stoppublication
Hallo\cite[url][pragma]
\placelistofpublications
\stoptext This of course doesn't work for me (error: "attempt to concatenate a table value" or a blank page). Also i-context.pdf gives another syntax for \cite. I really just want the link and the date in parentheses. How would a pro user do this?
Thanks in advance, Lars-
___________________________________________________________________________________ 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/9b5faf07678975d5020d266bc067265b.jpg?s=120&d=mm&r=g)
Hi Alan, I don't understand. What is it that makes my code mkii? \usebtxdataset[default][My_file.bib] \usebtxdefinitions[aps] \setupbtxlist[aps][ %alternative=, width=fit, distance=.5em, %distance=0pt, margin=0em, ] \starttext Hallo Welt! \cite[lnkHWelt] \startappendices \startsection[title={Pubs},marking={}] \placelistofpublications[method=dataset] \stopsection \stopappendices \stoptext And that's in My_file.bib: @Misc{lnkHWelt, Note = "zuletzt abgerufen am 5. Aug. 2018", Url = "http://wiki.contextgarden.net" } What would be the mkiv way? Thanks in advance, Lars. Am 02/09/2018 um 23:56 schrieb Alan Braslau:
You are using the old mkii BibTeX module, not the bibliography database system that is part of the mkiv core.
Alan
![](https://secure.gravatar.com/avatar/6e50a7aa57f5569d881f204f124d96ef.jpg?s=120&d=mm&r=g)
\usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample]
On 3 Sep 2018, at 01:43, Lars
wrote: Hi Alan, I don't understand. What is it that makes my code mkii?
\usebtxdataset[default][My_file.bib] \usebtxdefinitions[aps] \setupbtxlist[aps][ %alternative=, width=fit, distance=.5em, %distance=0pt, margin=0em, ]
\starttext Hallo Welt! \cite[lnkHWelt]
\startappendices \startsection[title={Pubs},marking={}] \placelistofpublications[method=dataset] \stopsection \stopappendices \stoptext And that's in My_file.bib:
@Misc{lnkHWelt, Note = "zuletzt abgerufen am 5. Aug. 2018", Url = "http://wiki.contextgarden.net" }
What would be the mkiv way?
Thanks in advance, Lars.
Am 02/09/2018 um 23:56 schrieb Alan Braslau:
You are using the old mkii BibTeX module, not the bibliography database system that is part of the mkiv core.
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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/9b5faf07678975d5020d266bc067265b.jpg?s=120&d=mm&r=g)
This is my file .tex file now: \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] \starttext As \cite[hh2010] already indicated... \completepublications \stoptext In the same folder is my sample.bib, which I copied from the CTX distribution. Example: @ELECTRONIC{hh2010, author = hh, year = {2010}, title = {Metafun. \CONTEXT\ mkiv}, url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, } This is the output from the PDF-file: *As [[error 2]] already indicated...* The output in the placelist section (no entries): *1 References* I don't see what I am doing wrong. This is how I updated CTX: first-setup -engine=luatex -modules=all -fonts=all to version *2018.09.01 23:10* Thanks for help in advance, Lars. Am Mo., 3. Sep. 2018 um 07:47 Uhr schrieb Alan Braslau < braslau.list@comcast.net>:
\usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample]
On 3 Sep 2018, at 01:43, Lars
wrote: Hi Alan, I don't understand. What is it that makes my code mkii?
\usebtxdataset[default][My_file.bib] \usebtxdefinitions[aps] \setupbtxlist[aps][ %alternative=, width=fit, distance=.5em, %distance=0pt, margin=0em, ]
\starttext Hallo Welt! \cite[lnkHWelt]
\startappendices \startsection[title={Pubs},marking={}] \placelistofpublications[method=dataset] \stopsection \stopappendices \stoptext And that's in My_file.bib:
@Misc{lnkHWelt, Note = "zuletzt abgerufen am 5. Aug. 2018", Url = "http://wiki.contextgarden.net" }
What would be the mkiv way?
Thanks in advance, Lars.
Am 02/09/2018 um 23:56 schrieb Alan Braslau:
You are using the old mkii BibTeX module, not the bibliography database system that is part of the mkiv core.
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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________
participants (3)
-
Alan Braslau
-
cryo shock
-
Lars