-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete adjacent space in remaining cases - Part 3 #1357
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -250,8 +250,8 @@ | |
</group> | ||
</else-if> | ||
<else-if type="chapter paper-conference" match="any"> | ||
<text macro="title" prefix=" '" suffix="', "/> | ||
<group prefix=" " delimiter=" "> | ||
<text macro="title" prefix="'" suffix="',"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could you change this to quotes="true" (the style is already en-GB, so they'll be single quotes with comma outside) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I understand correctly that would then be
Is this correct? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes |
||
<text term="in"/> | ||
<text macro="editor"/> | ||
<text variable="container-title" font-style="italic" suffix="."/> | ||
|
@@ -265,19 +265,19 @@ | |
</group> | ||
</else-if> | ||
<else> | ||
<group suffix="."> | ||
<text macro="title" prefix=" "/> | ||
<text macro="editor" prefix=" "/> | ||
<group suffix=". " prefix=" " delimiter=" "> | ||
<text macro="title"/> | ||
<text macro="editor"/> | ||
</group> | ||
<text variable="container-title" prefix=" "/> | ||
<text macro="access" prefix=" " suffix=". "/> | ||
<group prefix=" " suffix="."> | ||
<group prefix=" "> | ||
<text variable="container-title" suffix=" "/> | ||
<text macro="access" suffix=". "/> | ||
<group suffix="." delimiter=" "> | ||
<group> | ||
<text variable="volume"/> | ||
<text variable="issue" prefix=" (" suffix=")"/> | ||
<text macro="issued"/> | ||
</group> | ||
<group prefix=" "> | ||
<group> | ||
<label variable="locator" form="short"/> | ||
<text macro="pages"/> | ||
</group> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -309,8 +309,8 @@ | |
<date-part name="month" form="short" suffix=". " text-case="lowercase"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. while we're at it, the parentheses should really be set as a prefix/suffix on the |
||
<date-part name="year" suffix="). "/> | ||
</date> | ||
<text variable="volume" prefix=" " suffix=":"/> | ||
<text variable="issue" suffix=" "/> | ||
<text variable="volume" suffix=":"/> | ||
<text variable="issue"/> | ||
<text variable="page" prefix=" "/> | ||
</else-if> | ||
<else-if type="webpage" match="any"> | ||
|
@@ -355,7 +355,7 @@ | |
<text macro="container-contributors" suffix=". "/> | ||
<text macro="medium"/> | ||
<text macro="locators" suffix=" "/> | ||
<text macro="access" prefix=" "/> | ||
<text macro="access"/> | ||
</group> | ||
</if> | ||
<else-if type="map"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
<if variable="author"> | ||
<names variable="editor translator" delimiter=". "> | ||
<label form="short" text-case="capitalize-first" suffix=" "/> | ||
<name and="text" prefix=" " delimiter=", " initialize-with=". "/> | ||
<name and="text" delimiter=", " initialize-with=". "/> | ||
</names> | ||
</if> | ||
</choose> | ||
|
@@ -58,7 +58,7 @@ | |
<group> | ||
<names variable="container-author"> | ||
<label form="verb-short" prefix=" " suffix=" " strip-periods="true"/> | ||
<name and="text" prefix=" " delimiter=", " initialize-with=". "/> | ||
<name and="text" delimiter=", " initialize-with=". "/> | ||
</names> | ||
</group> | ||
</if> | ||
|
@@ -280,9 +280,9 @@ | |
<text term="volume" form="short" suffix=" "/> | ||
<number variable="volume" form="numeric"/> | ||
</group> | ||
<group suffix="; "> | ||
<number variable="number-of-volumes" form="numeric" suffix=" "/> | ||
<text term="volume" form="short" prefix=" " suffix=" " plural="true"/> | ||
<group suffix=" ; " delimiter=" "> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That space there isn't actually right given the styleguide:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also, delete the form="short" as per the same example. |
||
<number variable="number-of-volumes" form="numeric"/> | ||
<text term="volume" form="short" plural="true"/> | ||
</group> | ||
</group> | ||
</if> | ||
|
@@ -291,9 +291,9 @@ | |
<text variable="collection-title"/> | ||
<text variable="collection-number" prefix=" "/> | ||
</group> | ||
<group suffix="; "> | ||
<number variable="number-of-volumes" form="numeric" suffix=" "/> | ||
<text term="volume" form="short" prefix=" " suffix=" " plural="true"/> | ||
<group suffix=" ; " delimiter=" "> | ||
<number variable="number-of-volumes" form="numeric"/> | ||
<text term="volume" form="short" plural="true"/> | ||
</group> | ||
<choose> | ||
<if variable="page" match="none"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,10 +49,8 @@ | |
</macro> | ||
<macro name="publisher"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. given how popular this style is, we should also do the publisher/publisher place thing right, i.e. with a group with delimiter=": " |
||
<text variable="publisher-place" suffix=": "/> | ||
<text variable="publisher" suffix="."/> | ||
<group suffix=". "> | ||
<text macro="accessed-date" prefix=" "/> | ||
</group> | ||
<text variable="publisher" suffix=". "/> | ||
<text macro="accessed-date" suffix=". "/> | ||
</macro> | ||
<macro name="accessed-date"> | ||
<choose> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -277,7 +277,7 @@ | |
<choose> | ||
<if type="thesis"> | ||
<text variable="genre" suffix=". "/> | ||
<text macro="publisher" prefix=" "/> | ||
<text macro="publisher"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. while I was looking at this style -- we should run a sed script to remove all empty affixes (i.e. prefix="" and suffix="") Since those never do anything, that can just be scripted and separate. @rmzelle might even consider including it in his general maintenance script? |
||
<text variable="number-of-pages" suffix=" p."/> | ||
</if> | ||
<else-if type="bill book graphic legal_case legislation motion_picture report song manuscript" match="any"> | ||
|
@@ -303,7 +303,7 @@ | |
<text macro="journal-title" prefix=", "/> | ||
</group> | ||
<text variable="collection-title" prefix="" suffix=", "/> | ||
<text macro="publisher" prefix=" "/> | ||
<text macro="publisher"/> | ||
<text variable="page" prefix=" p. " suffix="."/> | ||
</else-if> | ||
<else-if type="webpage" match="any"> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an extra space, too, right? remove.