Keep sorting local to groups for symbols in glossaries-extra with bib2glsGrouping list of symbols generated...

How to speed up a process

Use comma instead of & in table

Can you 'upgrade' leather armor to studded leather armor without purchasing the new armor directly?

Find the next monthly expiration date

How to deny access to SQL Server to certain login over SSMS, but allow over .Net SqlClient Data Provider

Where is this triangular-shaped space station from?

What is this waxed root vegetable?

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

Most significant research articles for practical investors with research perspectives

If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

Make me a metasequence

Is my plan for fixing my water heater leak bad?

What's the purpose of these copper coils with resistors inside them in A Yamaha RX-V396RDS amplifier?

What if I store 10TB on azure servers and then keep the vm powered off?

How do I construct an nxn matrix?

Why is working on the same position for more than 15 years not a red flag?

Has the Isbell–Freyd criterion ever been used to check that a category is concretisable?

Non-Italian European mafias in USA?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

How do I implement simple JS code to deploy a compiled smart contract to ganache-cli?

If nine coins are tossed, what is the probability that the number of heads is even?

Significance and timing of "mux scans"

When should a commit not be version tagged?



Keep sorting local to groups for symbols in glossaries-extra with bib2gls


Grouping list of symbols generated by glossaries-extraglossaries-extra: How to apply custom abbreviation styles while using bib2glsacl{} command problem while using glossaries-extra with bib2glsglossaries-extra - Problem creating new style for acronymsGrouping list of symbols generated by glossaries-extraglossaries-extra autoindex and sorting of entries with language switching commandglossaries-extra autoindex, manual sorting of entryUse glossaries-extra + bib2gls with secondary files via include instead of inputglossaries-extra – usage of ifglsused with acronyms loaded from external file causes errorConflict between polyglossia and glossaries-extra?glossaries-extra package help













1















Consider this example:



documentclass{article}
usepackage[record,style=alttreegroup,nomain,symbols]{glossaries-extra}

begin{filecontents}{symbols.bib}
@symbol{alpha,
name = {ensuremath{alpha}},
description = {angle},
group = {greek},
}
@symbol{theta,
name = {ensuremath{theta}},
description = {for testing},
group = {greek},
}
@symbol{diffusion,
name = {ensuremath{D}},
description = {diffusion factor},
group = {roman},
}
@symbol{choke,
name = {ensuremath{mathrm{cor}}},
description = {corrected},
group = {sub},
}
@symbol{blockage,
name = {ensuremath{B}},
description = {blockage factor},
group = {roman},
}
end{filecontents}

GlsXtrLoadResources % input file created by bib2gls
[% instructions to bib2gls:
src={symbols},
type = symbols,
selection = {all},%
% symbol-sort-fallback={name},%turning off makes it worse
]

setglossarypreamble[symbols]{glssetwidest{MMM}}

begin{document}
glsxtrsetgrouptitle{roman}{Roman Letters}
glsxtrsetgrouptitle{greek}{Greek Letters}
glsxtrsetgrouptitle{sub}{Subscripts}

printunsrtglossaries % iterate over all defined entries
end{document}


It produces this results:



enter image description here



It is quickly clear what is wrong here. The sorting works globally when building the document as



pdflatex document
bib2gls document
pdflatex document


as shown here. Running bib2gls -g document did not seem to make a difference.



How can the groups be kept separate and sorting local to them, without mixing of groups?



A possible workaround I thought of would be to have different types for Roman, Greek etc. and then call them all manually (as opposed to one type for symbols). But that seems not the right way. I feel like I am very close to the solution, but the last steps I could not find help with in the doc.










share|improve this question























  • For reference, I indeed ended up splitting the one *.bib-file into all respective parts. Each is then invoked using a newly defined type via e.g. newglossary*{greek}{Greek}. I then printunsrtglossary[type = greek, style = mystyle]. This has disadvantages (mainly more manual work), but also gives good control. Symbols can receive their own style (using mystyle) which can involve units, and abbreviations receive a different style. This would not be possible with just printunsrtglossaries.

    – Hans Lollo
    5 hours ago


















1















Consider this example:



documentclass{article}
usepackage[record,style=alttreegroup,nomain,symbols]{glossaries-extra}

begin{filecontents}{symbols.bib}
@symbol{alpha,
name = {ensuremath{alpha}},
description = {angle},
group = {greek},
}
@symbol{theta,
name = {ensuremath{theta}},
description = {for testing},
group = {greek},
}
@symbol{diffusion,
name = {ensuremath{D}},
description = {diffusion factor},
group = {roman},
}
@symbol{choke,
name = {ensuremath{mathrm{cor}}},
description = {corrected},
group = {sub},
}
@symbol{blockage,
name = {ensuremath{B}},
description = {blockage factor},
group = {roman},
}
end{filecontents}

GlsXtrLoadResources % input file created by bib2gls
[% instructions to bib2gls:
src={symbols},
type = symbols,
selection = {all},%
% symbol-sort-fallback={name},%turning off makes it worse
]

setglossarypreamble[symbols]{glssetwidest{MMM}}

begin{document}
glsxtrsetgrouptitle{roman}{Roman Letters}
glsxtrsetgrouptitle{greek}{Greek Letters}
glsxtrsetgrouptitle{sub}{Subscripts}

printunsrtglossaries % iterate over all defined entries
end{document}


It produces this results:



enter image description here



It is quickly clear what is wrong here. The sorting works globally when building the document as



pdflatex document
bib2gls document
pdflatex document


as shown here. Running bib2gls -g document did not seem to make a difference.



How can the groups be kept separate and sorting local to them, without mixing of groups?



A possible workaround I thought of would be to have different types for Roman, Greek etc. and then call them all manually (as opposed to one type for symbols). But that seems not the right way. I feel like I am very close to the solution, but the last steps I could not find help with in the doc.










share|improve this question























  • For reference, I indeed ended up splitting the one *.bib-file into all respective parts. Each is then invoked using a newly defined type via e.g. newglossary*{greek}{Greek}. I then printunsrtglossary[type = greek, style = mystyle]. This has disadvantages (mainly more manual work), but also gives good control. Symbols can receive their own style (using mystyle) which can involve units, and abbreviations receive a different style. This would not be possible with just printunsrtglossaries.

    – Hans Lollo
    5 hours ago
















1












1








1








Consider this example:



documentclass{article}
usepackage[record,style=alttreegroup,nomain,symbols]{glossaries-extra}

begin{filecontents}{symbols.bib}
@symbol{alpha,
name = {ensuremath{alpha}},
description = {angle},
group = {greek},
}
@symbol{theta,
name = {ensuremath{theta}},
description = {for testing},
group = {greek},
}
@symbol{diffusion,
name = {ensuremath{D}},
description = {diffusion factor},
group = {roman},
}
@symbol{choke,
name = {ensuremath{mathrm{cor}}},
description = {corrected},
group = {sub},
}
@symbol{blockage,
name = {ensuremath{B}},
description = {blockage factor},
group = {roman},
}
end{filecontents}

GlsXtrLoadResources % input file created by bib2gls
[% instructions to bib2gls:
src={symbols},
type = symbols,
selection = {all},%
% symbol-sort-fallback={name},%turning off makes it worse
]

setglossarypreamble[symbols]{glssetwidest{MMM}}

begin{document}
glsxtrsetgrouptitle{roman}{Roman Letters}
glsxtrsetgrouptitle{greek}{Greek Letters}
glsxtrsetgrouptitle{sub}{Subscripts}

printunsrtglossaries % iterate over all defined entries
end{document}


It produces this results:



enter image description here



It is quickly clear what is wrong here. The sorting works globally when building the document as



pdflatex document
bib2gls document
pdflatex document


as shown here. Running bib2gls -g document did not seem to make a difference.



How can the groups be kept separate and sorting local to them, without mixing of groups?



A possible workaround I thought of would be to have different types for Roman, Greek etc. and then call them all manually (as opposed to one type for symbols). But that seems not the right way. I feel like I am very close to the solution, but the last steps I could not find help with in the doc.










share|improve this question














Consider this example:



documentclass{article}
usepackage[record,style=alttreegroup,nomain,symbols]{glossaries-extra}

begin{filecontents}{symbols.bib}
@symbol{alpha,
name = {ensuremath{alpha}},
description = {angle},
group = {greek},
}
@symbol{theta,
name = {ensuremath{theta}},
description = {for testing},
group = {greek},
}
@symbol{diffusion,
name = {ensuremath{D}},
description = {diffusion factor},
group = {roman},
}
@symbol{choke,
name = {ensuremath{mathrm{cor}}},
description = {corrected},
group = {sub},
}
@symbol{blockage,
name = {ensuremath{B}},
description = {blockage factor},
group = {roman},
}
end{filecontents}

GlsXtrLoadResources % input file created by bib2gls
[% instructions to bib2gls:
src={symbols},
type = symbols,
selection = {all},%
% symbol-sort-fallback={name},%turning off makes it worse
]

setglossarypreamble[symbols]{glssetwidest{MMM}}

begin{document}
glsxtrsetgrouptitle{roman}{Roman Letters}
glsxtrsetgrouptitle{greek}{Greek Letters}
glsxtrsetgrouptitle{sub}{Subscripts}

printunsrtglossaries % iterate over all defined entries
end{document}


It produces this results:



enter image description here



It is quickly clear what is wrong here. The sorting works globally when building the document as



pdflatex document
bib2gls document
pdflatex document


as shown here. Running bib2gls -g document did not seem to make a difference.



How can the groups be kept separate and sorting local to them, without mixing of groups?



A possible workaround I thought of would be to have different types for Roman, Greek etc. and then call them all manually (as opposed to one type for symbols). But that seems not the right way. I feel like I am very close to the solution, but the last steps I could not find help with in the doc.







sorting grouping glossaries-extra bib2gls






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 14 hours ago









Hans LolloHans Lollo

1126




1126













  • For reference, I indeed ended up splitting the one *.bib-file into all respective parts. Each is then invoked using a newly defined type via e.g. newglossary*{greek}{Greek}. I then printunsrtglossary[type = greek, style = mystyle]. This has disadvantages (mainly more manual work), but also gives good control. Symbols can receive their own style (using mystyle) which can involve units, and abbreviations receive a different style. This would not be possible with just printunsrtglossaries.

    – Hans Lollo
    5 hours ago





















  • For reference, I indeed ended up splitting the one *.bib-file into all respective parts. Each is then invoked using a newly defined type via e.g. newglossary*{greek}{Greek}. I then printunsrtglossary[type = greek, style = mystyle]. This has disadvantages (mainly more manual work), but also gives good control. Symbols can receive their own style (using mystyle) which can involve units, and abbreviations receive a different style. This would not be possible with just printunsrtglossaries.

    – Hans Lollo
    5 hours ago



















For reference, I indeed ended up splitting the one *.bib-file into all respective parts. Each is then invoked using a newly defined type via e.g. newglossary*{greek}{Greek}. I then printunsrtglossary[type = greek, style = mystyle]. This has disadvantages (mainly more manual work), but also gives good control. Symbols can receive their own style (using mystyle) which can involve units, and abbreviations receive a different style. This would not be possible with just printunsrtglossaries.

– Hans Lollo
5 hours ago







For reference, I indeed ended up splitting the one *.bib-file into all respective parts. Each is then invoked using a newly defined type via e.g. newglossary*{greek}{Greek}. I then printunsrtglossary[type = greek, style = mystyle]. This has disadvantages (mainly more manual work), but also gives good control. Symbols can receive their own style (using mystyle) which can involve units, and abbreviations receive a different style. This would not be possible with just printunsrtglossaries.

– Hans Lollo
5 hours ago












0






active

oldest

votes











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',
autoActivateHeartbeat: false,
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%2f477658%2fkeep-sorting-local-to-groups-for-symbols-in-glossaries-extra-with-bib2gls%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477658%2fkeep-sorting-local-to-groups-for-symbols-in-glossaries-extra-with-bib2gls%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

Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...