ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: Aditya Mahajan <adityam@umich.edu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Document title (was: (no subject))
Date: Mon, 12 Sep 2011 17:06:24 +0200	[thread overview]
Message-ID: <A24C6A3E-A516-4741-BD65-56BD3BAC49AC@googlemail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1109111911270.6981@ybpnyubfg.ybpnyqbznva>


Am 12.09.2011 um 01:20 schrieb Aditya Mahajan:

> On Sun, 11 Sep 2011, Wolfgang Schuster wrote:
> 
>> 
>> Am 11.09.2011 um 16:49 schrieb Aditya Mahajan:
>> 
>>> On Sun, 11 Sep 2011, Wolfgang Schuster wrote:
>>> 
>>>> 
>>>> Am 10.09.2011 um 18:20 schrieb Aditya Mahajan:
>>>> 
>>>>> If one is also interested in a usable XML export, then some \starttag..\stoptag must be added to the setups.
>>>> 
>>>> How about this: http://d.pr/o7Xz
>>> 
>>> Thanks, that is very nice.
>>> 
>>> Can you make the alignment and the \blanks configurable, perhaps using spacebefore and space after?
>> 
>> I can but when you need customization write your own style.
> 
> OK. Do you plan to release this on contextgarden? This will simplify the title page setup of the simple-slides module. I think that others might find it useful as well. If you don't want to go through the hassle, I can maintain it.

I can put the module on the garden but not yet, until then you can find the recent version here: https://bitbucket.org/wolfs/title

>>> Is there an easy way to add multiple authors. Sometimes you need to add authors and their affiliation and I don't know what is a good key-value driven way to add them.
>> 
>> The ConTeXt way would be “author={Author One,Author Two,…}” but with MkIV you can use Lua to provide a alternative key-val-interface:
>> 
>> \startplacetitle
>>   title = "…",
>>   author = {
>>       "First author",
>>       "Second author",
>>       "…",
>>   } ,
>>   date = "\\curentdate"
>> \stopplacetitle
> 
> Sorry, I should have explained in more detail. Suppose I want to indicate that there are two authors, "first author" and "second author". First author is at "institute 1" and second author is at institute 2. I want authors and institutes to be set in different styles. There are a couple of ways of setting this up:
> 
> […]
> 
> To me, none of these look satisfatory, so I am wondering if there is a better solution.

I can see what you mean and this is why a suggested a Lua input:

author = {
    [1] = { name = "…", institute = "…" },
    [2] = { name = "…", institute = "…" },
    …
}

Wolfgang
___________________________________________________________________________________
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:[~2011-09-12 15:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22 14:25 (no subject) Roger Mason
2011-09-10 15:39 ` Document title (was: (no subject)) Wolfgang Schuster
2011-09-10 16:20   ` Aditya Mahajan
2011-09-11  9:05     ` Wolfgang Schuster
2011-09-11 14:49       ` Aditya Mahajan
2011-09-11 16:21         ` Wolfgang Schuster
2011-09-11 23:20           ` Aditya Mahajan
2011-09-12 15:06             ` Wolfgang Schuster [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=A24C6A3E-A516-4741-BD65-56BD3BAC49AC@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=adityam@umich.edu \
    --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).