Why do you need both list-pair-separator and list-final-separator in siunitx?











up vote
5
down vote

favorite
1












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:



SIlist



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.)










share|improve this question
























  • 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















up vote
5
down vote

favorite
1












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:



SIlist



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.)










share|improve this question
























  • 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













up vote
5
down vote

favorite
1









up vote
5
down vote

favorite
1






1





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:



SIlist



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.)










share|improve this question















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:



SIlist



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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










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!






share|improve this answer



















  • 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











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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

























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!






share|improve this answer



















  • 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















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!






share|improve this answer



















  • 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













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!






share|improve this answer














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!







share|improve this answer














share|improve this answer



share|improve this answer








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














  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)