To be explicit about what I'm imagining:

A rendered bibliography field, where everything in brackets below is a
pop-up token that allows the user to select among macro options, and
all punctuation you see is free text.

[author] ([issued]), [title], [publisher].

So, for example, the prefix for the "issued" macro call would be " (,
and it's suffix ")". Within those macros, you'd have more complicated
punctuation (the delimiter joins and such).

The idea is it isolates macro logic to pretty generic characteristics
(you don't need three variants of one macro to account for different
surrounding punctuation), and allows users to very quickly construct a
new style without switching contexts (though note: I have a hard time
the majority of users need to create a new style; they just need to
find what they need among existing styles).

On Tue, Feb 7, 2012 at 11:16 AM, Bruce D'Arcus <[email protected]> wrote:
> But delimiter joins could be folded into the macros; right?
>
> On Feb 7, 2012 10:53 AM, "Frank Bennett" <[email protected]> wrote:
>>
>> On Tue, Feb 7, 2012 at 3:02 PM, Bruce D'Arcus <[email protected]> wrote:
>> > One caveat - this would apply to spaces and commas (and colons?), but
>> > not to
>> > ")" characters.
>> >
>> > On Feb 7, 2012 9:51 AM, "Bruce D&apos;Arcus" <[email protected]> wrote:
>> >>
>> >> I thought of this idea as potentially helpful for the CSL editor:
>> >>
>> >> Can we establish a generic rule that styles should place
>> >> inter-variable/macro punctuation on prefix attributes, except for the
>> >> very last field in a bibliography (almost always a period), which gets
>> >> added to the cs:bibliography element?
>> >>
>> >> E.g. this:
>> >>
>> >> <text macro="author">
>> >> <text macro="title" prefix=", ">
>> >>
>> >> .. and not this:
>> >>
>> >> <text macro="author" suffix=", ">
>> >> <text macro="title" suffix=", ">
>> >>
>> >> It strikes me our observation earlier was this results in better
>> >> styles. But it also may provide advantages for the editor approach
>> >> we've discussed here (allows punctuation between macro calls to be
>> >> free text, but the macro calls to be tokens with pop-up select lists).
>>
>> For robustness, delimiter joins work better than affixes. Where
>> affixes are used, it becomes harder to assure that punctuation/quote
>> swapping will work (it was broken in the Chicago styles, which used
>> affixes; refactoring the style to use delimiters fixed it).
>>
>> >>
>> >> Bruce
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Keep Your Developer Skills Current with LearnDevNow!
>> > The most comprehensive online learning library for Microsoft developers
>> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> > Metro Style Apps, more. Free future releases when you subscribe now!
>> > http://p.sf.net/sfu/learndevnow-d2d
>> > _______________________________________________
>> > xbiblio-devel mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> xbiblio-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to