Permalink
Browse files

Reindent/reorder.

  • Loading branch information...
1 parent 416c226 commit b8787b85d04e3c78cfdfd6b7a2d2a66a4e66f198 @rmzelle rmzelle committed Dec 16, 2012

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -239,10 +239,10 @@
</if>
<else-if type="bill book graphic legislation motion_picture report song" match="any">
<text variable="title" text-case="title" font-style="italic"/>
- <group delimiter=" " prefix=", ">
- <text term="version"/>
- <text variable="version"/>
- </group>
+ <group delimiter=" " prefix=", ">
+ <text term="version"/>
+ <text variable="version"/>
+ </group>
</else-if>
<else-if type="legal_case">
<text variable="title"/>
@@ -263,10 +263,10 @@
</if>
<else-if type="bill book graphic legislation motion_picture report song" match="any">
<text variable="title" text-case="title" font-style="italic"/>
- <group prefix=" (" suffix=")" delimiter=" ">
- <text term="version"/>
- <text variable="version"/>
- </group>
+ <group prefix=" (" suffix=")" delimiter=" ">
+ <text term="version"/>
+ <text variable="version"/>
+ </group>
</else-if>
<else-if type="legal_case">
<text variable="title"/>
@@ -305,7 +305,7 @@
<macro name="date-disambiguate">
<choose>
<if disambiguate="true">
- <text macro="issued"/>
+ <text macro="issued"/>
</if>
</choose>
</macro>
@@ -750,12 +750,12 @@
<macro name="issue-note-join-with-space">
<choose>
<if type="article-journal legal_case" variable="publisher-place publisher" match="any">
- <!--Chicago doesn't use publisher/place for Newspapers and we want the date delimited by a comma-->
- <choose>
- <if type="article-newspaper" match="none">
- <text macro="issue-note"/>
- </if>
- </choose>
+ <!--Chicago doesn't use publisher/place for Newspapers and we want the date delimited by a comma-->
+ <choose>
+ <if type="article-newspaper" match="none">
+ <text macro="issue-note"/>
+ </if>
+ </choose>
</if>
</choose>
</macro>
@@ -765,7 +765,7 @@
<text macro="issue-note"/>
</if>
<else-if type="article-newspaper">
- <text macro="issue-note"/>
+ <text macro="issue-note"/>
</else-if>
</choose>
</macro>
@@ -775,7 +775,7 @@
<text macro="issued" prefix="(" suffix=")"/>
</if>
<else-if type="article-newspaper">
- <text macro="issued"/>
+ <text macro="issued"/>
</else-if>
<else-if variable="publisher-place publisher" match="any">
<group prefix="(" suffix=")" delimiter=", ">
@@ -832,23 +832,23 @@
<text macro="issued" prefix="(" suffix=")"/>
</if>
<else-if type="speech">
- <group delimiter=", ">
- <group delimiter=" ">
- <choose>
- <if variable="title" match="none"/>
- <else>
- <text variable="genre" text-case="capitalize-first"/>
- </else>
- </choose>
- <text macro="event"/>
- </group>
- <text variable="event-place"/>
- <text macro="issued"/>
- </group>
+ <group delimiter=", ">
+ <group delimiter=" ">
+ <choose>
+ <if variable="title" match="none"/>
+ <else>
+ <text variable="genre" text-case="capitalize-first"/>
+ </else>
+ </choose>
+ <text macro="event"/>
+ </group>
+ <text variable="event-place"/>
+ <text macro="issued"/>
+ </group>
</else-if>
<!--Chicago doesn't use publisher/place for Newspapers -->
<else-if type="article-newspaper">
- <text macro="issued"/>
+ <text macro="issued"/>
</else-if>
<else-if variable="publisher-place publisher" match="any">
<group delimiter=", ">
@@ -961,8 +961,8 @@
<group delimiter=" ">
<group delimiter=", ">
<text macro="title-short"/>
- <!--if title & author are the same: -->
- <text macro="date-disambiguate"/>
+ <!--if title & author are the same: -->
+ <text macro="date-disambiguate"/>
<text macro="case-locator-subsequent"/>
</group>
<text macro="case-issue-subsequent"/>
Oops, something went wrong.

2 comments on commit b8787b8

Owner

adam3smith replied Dec 17, 2012

about the indenting - what was wrong with that? I struggled with my nxml indentation so I used an online tool - but above it looks like you're not actually changing anything - what's the right indentation?

Owner

rmzelle replied Dec 17, 2012

You mean the Chicago styles? My own script (which uses Python's lxml library) removes trailing spaces within tags.

Please sign in to comment.