ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Printing bibliographic entries without the full publication list
Date: Thu, 30 Jul 2015 10:03:36 +0200	[thread overview]
Message-ID: <op.x2kt0addtpjj8f@lpr> (raw)
In-Reply-To: <55B8D70A.4050101@wxs.nl>

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

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 <pragma@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: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: Mojca.mkiv --]
[-- Type: application/octet-stream, Size: 2129 bytes --]

\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

[-- Attachment #3: Mojca.pdf --]
[-- Type: application/pdf, Size: 14608 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
___________________________________________________________________________________

  reply	other threads:[~2015-07-30  8:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29  9:38 Mojca Miklavec
2015-07-29 13:37 ` Hans Hagen
2015-07-30  8:03   ` Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2015-07-30  8:27     ` Alan BRASLAU
     [not found] <mailman.1.1438164001.11138.ntg-context@ntg.nl>
2015-07-29 13:26 ` Robert Blackstone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.x2kt0addtpjj8f@lpr \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).