Reordered cs:info elements

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Reordered cs:info elements

rmzelle
Administrator
Hi all,

I reordered the contents of the cs:info section of all CSL styles for
consistency.

commit: https://github.com/citation-style-language/styles/commit/27041e51af15bbf7d0607c8050b4e0e200b76fe4
script: https://github.com/citation-style-language/utilities/blob/master/csl-reorder-info2.py
previous discussion on this topic:
https://github.com/citation-style-language/styles/commit/3e6130409e912eecfcf6a876bc5c8bd5c53194ad#commitcomment-1586702

The used order is:

##0 preceding-comment
##1 title
##2 title-short
##3 id
##4 link self
##5 link independent-parent
##6 link template
##7 link doc
##8 author
##9 contributor
##10 category citation-format
##11 category field
##12 issn
##13 eissn
##14 issnl
##15 summary
##16 published
##17 updated
##18 rights
##19 end-comment

I didn't check all styles by eye, so if anybody spots something weird,
let me know.

Rintze

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
xbiblio-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
Reply | Threaded
Open this post in threaded view
|

Re: Reordered cs:info elements

Charles Parnot
Awesome!

On Sep 28, 2012, at 4:29 AM, Rintze Zelle <[hidden email]> wrote:

> Hi all,
>
> I reordered the contents of the cs:info section of all CSL styles for
> consistency.
>
> commit: https://github.com/citation-style-language/styles/commit/27041e51af15bbf7d0607c8050b4e0e200b76fe4
> script: https://github.com/citation-style-language/utilities/blob/master/csl-reorder-info2.py
> previous discussion on this topic:
> https://github.com/citation-style-language/styles/commit/3e6130409e912eecfcf6a876bc5c8bd5c53194ad#commitcomment-1586702
>
> The used order is:
>
> ##0 preceding-comment
> ##1 title
> ##2 title-short
> ##3 id
> ##4 link self
> ##5 link independent-parent
> ##6 link template
> ##7 link doc
> ##8 author
> ##9 contributor
> ##10 category citation-format
> ##11 category field
> ##12 issn
> ##13 eissn
> ##14 issnl
> ##15 summary
> ##16 published
> ##17 updated
> ##18 rights
> ##19 end-comment
>
> I didn't check all styles by eye, so if anybody spots something weird,
> let me know.
>
> Rintze
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> xbiblio-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

--
Charles Parnot
[hidden email]
twitter: @cparnot
http://mekentosj.com



------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
xbiblio-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
Reply | Threaded
Open this post in threaded view
|

Re: Reordered cs:info elements

rmzelle
Administrator
In reply to this post by rmzelle
Also, the main reason for not using XSLT was that I had some trouble
handling XML comments. With the Python script, XML comments that come
at the start before any XML element are kept at the front. A trailing
XML comment is kept at the end. Other XML comments move together with
the preceding XML element.

Rintze

On Thu, Sep 27, 2012 at 10:29 PM, Rintze Zelle <[hidden email]> wrote:

> Hi all,
>
> I reordered the contents of the cs:info section of all CSL styles for
> consistency.
>
> commit: https://github.com/citation-style-language/styles/commit/27041e51af15bbf7d0607c8050b4e0e200b76fe4
> script: https://github.com/citation-style-language/utilities/blob/master/csl-reorder-info2.py
> previous discussion on this topic:
> https://github.com/citation-style-language/styles/commit/3e6130409e912eecfcf6a876bc5c8bd5c53194ad#commitcomment-1586702
>
> The used order is:
>
> ##0 preceding-comment
> ##1 title
> ##2 title-short
> ##3 id
> ##4 link self
> ##5 link independent-parent
> ##6 link template
> ##7 link doc
> ##8 author
> ##9 contributor
> ##10 category citation-format
> ##11 category field
> ##12 issn
> ##13 eissn
> ##14 issnl
> ##15 summary
> ##16 published
> ##17 updated
> ##18 rights
> ##19 end-comment
>
> I didn't check all styles by eye, so if anybody spots something weird,
> let me know.
>
> Rintze

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
xbiblio-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel