Permalink
Browse files
Improve edition macro for din-1505-2 (#3559)
- Loading branch information...
|
@@ -168,10 +168,17 @@ |
|
|
|
</group> |
|
|
|
</macro> |
|
|
|
<macro name="edition"> |
|
|
|
<group> |
|
|
|
<number variable="edition" form="numeric" suffix=". "/> |
|
|
|
<text term="edition" form="short" plural="false"/> |
|
|
|
</group> |
|
|
|
<choose> |
|
|
|
<if is-numeric="edition"> |
|
|
|
<group delimiter=" "> |
|
|
|
<number variable="edition" form="numeric" suffix=". "/> |
|
|
|
<text term="edition" form="short" plural="false"/> |
|
|
|
</group> |
|
|
|
</if> |
|
|
|
<else> |
|
|
|
<text variable="edition" suffix="."/> |
|
|
|
</else> |
|
|
|
</choose> |
|
|
|
</macro> |
|
|
|
<macro name="pages"> |
|
|
|
<choose> |
|
|
|
@@ -163,10 +163,17 @@ |
|
|
|
</group> |
|
|
|
</macro> |
|
|
|
<macro name="edition"> |
|
|
|
<group> |
|
|
|
<number variable="edition" form="numeric" suffix=". "/> |
|
|
|
<text term="edition" form="short" plural="false"/> |
|
|
|
</group> |
|
|
|
<choose> |
|
|
|
<if is-numeric="edition"> |
|
|
|
<group delimiter=" "> |
|
|
|
<number variable="edition" form="numeric" suffix=". "/> |
|
|
|
<text term="edition" form="short" plural="false"/> |
|
|
|
</group> |
|
|
|
</if> |
|
|
|
<else> |
|
|
|
<text variable="edition" suffix="."/> |
|
|
|
</else> |
|
|
|
</choose> |
|
|
|
</macro> |
|
|
|
<macro name="pages"> |
|
|
|
<choose> |
|
|
|
@@ -153,10 +153,17 @@ |
|
|
|
</group> |
|
|
|
</macro> |
|
|
|
<macro name="edition"> |
|
|
|
<group> |
|
|
|
<number variable="edition" form="numeric" suffix=". "/> |
|
|
|
<text term="edition" form="short" plural="false"/> |
|
|
|
</group> |
|
|
|
<choose> |
|
|
|
<if is-numeric="edition"> |
|
|
|
<group delimiter=" "> |
|
|
|
<number variable="edition" form="numeric" suffix=". "/> |
|
|
|
<text term="edition" form="short" plural="false"/> |
|
|
|
</group> |
|
|
|
</if> |
|
|
|
<else> |
|
|
|
<text variable="edition" suffix="."/> |
|
|
|
</else> |
|
|
|
</choose> |
|
|
|
</macro> |
|
|
|
<macro name="pages"> |
|
|
|
<choose> |
|
|
|
@@ -186,10 +186,17 @@ |
|
|
|
</group> |
|
|
|
</macro> |
|
|
|
<macro name="edition"> |
|
|
|
<group> |
|
|
|
<number variable="edition" form="numeric" suffix=". "/> |
|
|
|
<text term="edition" form="short" plural="false"/> |
|
|
|
</group> |
|
|
|
<choose> |
|
|
|
<if is-numeric="edition"> |
|
|
|
<group delimiter=" "> |
|
|
|
<number variable="edition" form="numeric" suffix=". "/> |
|
|
|
<text term="edition" form="short" plural="false"/> |
|
|
|
</group> |
|
|
|
</if> |
|
|
|
<else> |
|
|
|
<text variable="edition" suffix="."/> |
|
|
|
</else> |
|
|
|
</choose> |
|
|
|
</macro> |
|
|
|
<macro name="pages"> |
|
|
|
<choose> |
|
|
0 comments on commit
f560249