On Thu, Apr 18, 2013 at 6:48 PM, andrea rossato <[email protected]> wrote:
> Frank Bennett <[email protected]> writes:
>
>> I've implemented incremental application of disambiguate="true" in
>> citeproc-js (release 1.0.451). There is a test for it here:
>>
>>  
>> https://bitbucket.org/bdarcus/citeproc-test/src/tip/processor-tests/humans/disambiguate_IncrementalExtraText.txt?at=default
>
>
> Actually I'm not sure I like this approach because I find it a bit
> confusing. If "disambiguate" is "true" then it should always evaluate to
> "true" and so both the title and the edition should be printed. The
> example is not confusing because all the disambiguate conditionals are
> grouped together. When coded in macros their order of occurrence may be
> more difficult to understand and predict, thus becoming a source of
> possible bugs.
>
> I understand that my perception may be due to different coding cultures
> -- Haskell is a purely functional language and the value of a variable
> is not going to change depending on the context --, still I wanted to
> share my perspective.
>
> Andrea

No, you're right. This adds elements incrementally from the
first-occurring to the last (in rendering order), and it would be good
to have more control over the sequence. That would involve some
changes to the specification, but could be done.

Shall I move that test out of the suite, pending further discussion of
the approach? There's no urgency, and it would be good to explore the
possibilities further.

>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> xbiblio-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to