[NTG-context] Fwd: How to cite online websites (reloaded)

Lars axteffekt at gmail.com
Sun Sep 2 23:47:15 CEST 2018


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 <axteffekt at gmail.com>
An: 	ntg-context at ntg.nl



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-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180902/411d440e/attachment.html>


More information about the ntg-context mailing list