ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Difference between \skip and \unskip
Date: Wed, 3 Nov 2010 11:13:01 +0100	[thread overview]
Message-ID: <AANLkTimUyBJE6sSqSf=NeBxY8t1OCHn_VoaNzDsN0vNy@mail.gmail.com> (raw)
In-Reply-To: <2C982948-E9C5-4EC9-A9BF-FC3DDB8A9CEB@gmail.com>

On Wed, Nov 3, 2010 at 11:08, Wolfgang Schuster wrote:
>
> Am 03.11.2010 um 11:00 schrieb Matija Šuklje:
>
>> So, how do I skip missing bibliography fields and characters besides spaces
>> that are part of the citing style?
>
> You saved the values here in macros:
>
> \def\zakon[#1][#2]%
>   {\doifdefinedelse{zakonkratko:#2}
>       {\zakonkratko[#1][#2]}
>       {\bgroup
>       \nocite[#2]%
>       \getcitedata[title][#2] to \localtitle
>       \getcitedata[kratko][#2] to \localkratko
>       \getcitedata[journal][#2] to \localjournal
>       \getcitedata[issue][#2] to \localissue
>       \getcitedata[volume][#2] to \localvolume
>       \getcitedata[spremembe][#2] to \localspremembe
>       \footnote{\localtitle\ (\localkratko), \localjournal, št. \localissue/\localvolume\skip, \localspremembe.}%
>       \egroup}%
>   \setvalue{zakonkratko:#2}{done}}
>
> You can check for content in these macros with:
>
> \doifsomething{\localtitle}{\localtitle}
> \doifsomethingelse{\localtitle}{\localtitle}{<something else>}
> \doifnothing{\localtitle}{<no title>}
> \doifelsenothing{\localtitle}{<no title>}{\localtitle}

But this is what the macros \setuppublicationlayout and \insertXYZ are
already doing, right? Wouldn't it be easier to use those? Or is the
problem that something needs to be cited multiple times (once in
footnote and then again at the end of article)?

Mojca
___________________________________________________________________________________
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:[~2010-11-03 10:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03  9:21 Matija Šuklje
2010-11-03  9:32 ` Hans Hagen
2010-11-03  9:38   ` Matija Šuklje
2010-11-03  9:53     ` Wolfgang Schuster
2010-11-03 10:00       ` Matija Šuklje
2010-11-03 10:08         ` Wolfgang Schuster
2010-11-03 10:13           ` Mojca Miklavec [this message]
2010-11-03 10:17             ` Matija Šuklje
2010-11-03 10:14           ` Taco Hoekwater
2010-11-03 10:23             ` Matija Šuklje
2010-11-03 10:28               ` Taco Hoekwater
2010-11-03 10:33                 ` Matija Šuklje

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='AANLkTimUyBJE6sSqSf=NeBxY8t1OCHn_VoaNzDsN0vNy@mail.gmail.com' \
    --to=mojca.miklavec.lists@gmail.com \
    --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).