From: Pontus Lurcock <pont@talvi.net>
To: ntg-context@ntg.nl
Subject: Re: Configure \setuppublicationlayout[article] to not insert a '.' after a title ending with a '?'
Date: Tue, 8 Nov 2011 23:30:34 +1300 [thread overview]
Message-ID: <20111108103034.GI13112@rae.vm.bytemark.co.uk> (raw)
In-Reply-To: <7EF6E007-5A3C-4118-9329-9F7D05CF6D7E@gmail.com>
On Mon 07 Nov 2011, Renald Buter wrote:
> Possibly people can give me a pointer into the proper direction?
>
> What I am after is probably something like:
>
> \setuppublicationlayout[article]{%
> ...
> \insertarttitle{\bgroup }{\egroup\optionallyinsertdot }{}%
> ...
> }
>
> I am not very knowledgeable about TeX, but would this be possible?
I am far from being an expert, but here are a couple of ideas:
1. The useful document ‘Tame the BeaST’ mentions that BST-language has
the function add.period$ , which seems to do what you want (see
ftp://ftp.dante.de/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf ,
p. 33). So you could rewrite cont-au.bst (or whichever BST file you
are using) to optionally add the full stop while formatting it for
ConTeXt, and then never add punctuation after \insertarttitle .
2. A quick google turned up a similar question and answer at
http://www.tug.org/pipermail/texhax/2009-November/013714.html .
That message presents two magical pieces of hackery which are claimed
to do the job, but I haven't tried them and don't understand them.
My own solution in your situation was to ignore it and hope that my
thesis examiners don't notice, or at least don't mind :-(. This
problem is becoming more common: see
http://www.springerlink.com/content/uh466q5p3722n37l/ -- good luck
finding a better solution than mine.
Hope this helps,
Pont
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2011-11-08 10:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 18:33 Renald Buter
2011-11-08 10:30 ` Pontus Lurcock [this message]
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=20111108103034.GI13112@rae.vm.bytemark.co.uk \
--to=pont@talvi.net \
--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).