Why do you need both list-pair-separator and list-final-separator in siunitx?
up vote
5
down vote
favorite
I wanted to translate the automatically written words in the siunitx
package to Danish (at least the parts I use) and found the answer to Problem with SIlist with two values and list-final-separator = {, }.
I used the following code to do it:
documentclass{memoir}
usepackage[danish]{babel}
usepackage[range-phrase={ til },
list-final-separator={ og },
list-pair-separator={ og },
detect-all,
separate-uncertainty=true,
group-digits=false]{siunitx}
begin{document}
SIlist{8;9;10}{keV}
SIlist{8;10}{keV}
end{document}
and got the output:
My question is (probably for Joseph Wright): Why do I need to state both pair
and final
(list separator)? Is it just me who wants the same separator in both cases? I thought (from the name of the option) that final
was all I needed and that pair
could be used if I wanted them to differ. Wouldn't that be a better option?
(I'm just asking, not criticising.)
siunitx
add a comment |
up vote
5
down vote
favorite
I wanted to translate the automatically written words in the siunitx
package to Danish (at least the parts I use) and found the answer to Problem with SIlist with two values and list-final-separator = {, }.
I used the following code to do it:
documentclass{memoir}
usepackage[danish]{babel}
usepackage[range-phrase={ til },
list-final-separator={ og },
list-pair-separator={ og },
detect-all,
separate-uncertainty=true,
group-digits=false]{siunitx}
begin{document}
SIlist{8;9;10}{keV}
SIlist{8;10}{keV}
end{document}
and got the output:
My question is (probably for Joseph Wright): Why do I need to state both pair
and final
(list separator)? Is it just me who wants the same separator in both cases? I thought (from the name of the option) that final
was all I needed and that pair
could be used if I wanted them to differ. Wouldn't that be a better option?
(I'm just asking, not criticising.)
siunitx
I guess it's for coping with the “Oxford comma”; according to this practice you write “apples and oranges”, but “apples, pears, and oranges”.
– egreg
May 16 '14 at 14:25
Also known as serial comma
– clemens
May 16 '14 at 14:26
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
I wanted to translate the automatically written words in the siunitx
package to Danish (at least the parts I use) and found the answer to Problem with SIlist with two values and list-final-separator = {, }.
I used the following code to do it:
documentclass{memoir}
usepackage[danish]{babel}
usepackage[range-phrase={ til },
list-final-separator={ og },
list-pair-separator={ og },
detect-all,
separate-uncertainty=true,
group-digits=false]{siunitx}
begin{document}
SIlist{8;9;10}{keV}
SIlist{8;10}{keV}
end{document}
and got the output:
My question is (probably for Joseph Wright): Why do I need to state both pair
and final
(list separator)? Is it just me who wants the same separator in both cases? I thought (from the name of the option) that final
was all I needed and that pair
could be used if I wanted them to differ. Wouldn't that be a better option?
(I'm just asking, not criticising.)
siunitx
I wanted to translate the automatically written words in the siunitx
package to Danish (at least the parts I use) and found the answer to Problem with SIlist with two values and list-final-separator = {, }.
I used the following code to do it:
documentclass{memoir}
usepackage[danish]{babel}
usepackage[range-phrase={ til },
list-final-separator={ og },
list-pair-separator={ og },
detect-all,
separate-uncertainty=true,
group-digits=false]{siunitx}
begin{document}
SIlist{8;9;10}{keV}
SIlist{8;10}{keV}
end{document}
and got the output:
My question is (probably for Joseph Wright): Why do I need to state both pair
and final
(list separator)? Is it just me who wants the same separator in both cases? I thought (from the name of the option) that final
was all I needed and that pair
could be used if I wanted them to differ. Wouldn't that be a better option?
(I'm just asking, not criticising.)
siunitx
siunitx
edited Apr 13 '17 at 12:35
Community♦
1
1
asked May 16 '14 at 14:23
Thomas
7911721
7911721
I guess it's for coping with the “Oxford comma”; according to this practice you write “apples and oranges”, but “apples, pears, and oranges”.
– egreg
May 16 '14 at 14:25
Also known as serial comma
– clemens
May 16 '14 at 14:26
add a comment |
I guess it's for coping with the “Oxford comma”; according to this practice you write “apples and oranges”, but “apples, pears, and oranges”.
– egreg
May 16 '14 at 14:25
Also known as serial comma
– clemens
May 16 '14 at 14:26
I guess it's for coping with the “Oxford comma”; according to this practice you write “apples and oranges”, but “apples, pears, and oranges”.
– egreg
May 16 '14 at 14:25
I guess it's for coping with the “Oxford comma”; according to this practice you write “apples and oranges”, but “apples, pears, and oranges”.
– egreg
May 16 '14 at 14:25
Also known as serial comma
– clemens
May 16 '14 at 14:26
Also known as serial comma
– clemens
May 16 '14 at 14:26
add a comment |
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
Depending on the language/editorial style, the 'filler' used in a list of two items:
<item one> <pair separator> <item two>
and the filler used in a longer list:
<item one> <list separator> <item two> <final separator>
may be different (e.g. in English with the 'Oxford comma' the first case is just 'and
' but the second case is ',and
'). The only way to cover that in an interface is to differential between the two: trying to say 'you can set only one' and have inheritance is asking for trouble!
1
Entirely unrelated to TeX, of course!
– Joseph Wright♦
May 16 '14 at 14:27
'inheritance' was the word I was looking for... So the point is that inheritance is messy, I guess. Also I didn't think of the (Oxford) comma notation since that's not a problem in Danish as far as I'm concerned. Is there another place I should have posted this question (non-TeX forum)?
– Thomas
May 16 '14 at 16:05
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
Depending on the language/editorial style, the 'filler' used in a list of two items:
<item one> <pair separator> <item two>
and the filler used in a longer list:
<item one> <list separator> <item two> <final separator>
may be different (e.g. in English with the 'Oxford comma' the first case is just 'and
' but the second case is ',and
'). The only way to cover that in an interface is to differential between the two: trying to say 'you can set only one' and have inheritance is asking for trouble!
1
Entirely unrelated to TeX, of course!
– Joseph Wright♦
May 16 '14 at 14:27
'inheritance' was the word I was looking for... So the point is that inheritance is messy, I guess. Also I didn't think of the (Oxford) comma notation since that's not a problem in Danish as far as I'm concerned. Is there another place I should have posted this question (non-TeX forum)?
– Thomas
May 16 '14 at 16:05
add a comment |
up vote
5
down vote
accepted
Depending on the language/editorial style, the 'filler' used in a list of two items:
<item one> <pair separator> <item two>
and the filler used in a longer list:
<item one> <list separator> <item two> <final separator>
may be different (e.g. in English with the 'Oxford comma' the first case is just 'and
' but the second case is ',and
'). The only way to cover that in an interface is to differential between the two: trying to say 'you can set only one' and have inheritance is asking for trouble!
1
Entirely unrelated to TeX, of course!
– Joseph Wright♦
May 16 '14 at 14:27
'inheritance' was the word I was looking for... So the point is that inheritance is messy, I guess. Also I didn't think of the (Oxford) comma notation since that's not a problem in Danish as far as I'm concerned. Is there another place I should have posted this question (non-TeX forum)?
– Thomas
May 16 '14 at 16:05
add a comment |
up vote
5
down vote
accepted
up vote
5
down vote
accepted
Depending on the language/editorial style, the 'filler' used in a list of two items:
<item one> <pair separator> <item two>
and the filler used in a longer list:
<item one> <list separator> <item two> <final separator>
may be different (e.g. in English with the 'Oxford comma' the first case is just 'and
' but the second case is ',and
'). The only way to cover that in an interface is to differential between the two: trying to say 'you can set only one' and have inheritance is asking for trouble!
Depending on the language/editorial style, the 'filler' used in a list of two items:
<item one> <pair separator> <item two>
and the filler used in a longer list:
<item one> <list separator> <item two> <final separator>
may be different (e.g. in English with the 'Oxford comma' the first case is just 'and
' but the second case is ',and
'). The only way to cover that in an interface is to differential between the two: trying to say 'you can set only one' and have inheritance is asking for trouble!
edited 3 hours ago
xerxes25
338
338
answered May 16 '14 at 14:27
Joseph Wright♦
201k21554879
201k21554879
1
Entirely unrelated to TeX, of course!
– Joseph Wright♦
May 16 '14 at 14:27
'inheritance' was the word I was looking for... So the point is that inheritance is messy, I guess. Also I didn't think of the (Oxford) comma notation since that's not a problem in Danish as far as I'm concerned. Is there another place I should have posted this question (non-TeX forum)?
– Thomas
May 16 '14 at 16:05
add a comment |
1
Entirely unrelated to TeX, of course!
– Joseph Wright♦
May 16 '14 at 14:27
'inheritance' was the word I was looking for... So the point is that inheritance is messy, I guess. Also I didn't think of the (Oxford) comma notation since that's not a problem in Danish as far as I'm concerned. Is there another place I should have posted this question (non-TeX forum)?
– Thomas
May 16 '14 at 16:05
1
1
Entirely unrelated to TeX, of course!
– Joseph Wright♦
May 16 '14 at 14:27
Entirely unrelated to TeX, of course!
– Joseph Wright♦
May 16 '14 at 14:27
'inheritance' was the word I was looking for... So the point is that inheritance is messy, I guess. Also I didn't think of the (Oxford) comma notation since that's not a problem in Danish as far as I'm concerned. Is there another place I should have posted this question (non-TeX forum)?
– Thomas
May 16 '14 at 16:05
'inheritance' was the word I was looking for... So the point is that inheritance is messy, I guess. Also I didn't think of the (Oxford) comma notation since that's not a problem in Danish as far as I'm concerned. Is there another place I should have posted this question (non-TeX forum)?
– Thomas
May 16 '14 at 16:05
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f178535%2fwhy-do-you-need-both-list-pair-separator-and-list-final-separator-in-siunitx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I guess it's for coping with the “Oxford comma”; according to this practice you write “apples and oranges”, but “apples, pears, and oranges”.
– egreg
May 16 '14 at 14:25
Also known as serial comma
– clemens
May 16 '14 at 14:26