Closed moewew closed 6 years ago
Aha! Turns out I was almost there. It's just important that tool
is the template name.
<?xml version="1.0" encoding="UTF-8"?>
<config>
<output_align>true</output_align>
<output_fieldcase>lower</output_fieldcase>
<sortingtemplate name="tool">
<sort order="1">
<sortitem order="1">entrytype</sortitem>
</sort>
<sort order="2">
<sortitem order="1">entrykey</sortitem>
</sort>
</sortingtemplate>
</config>
works. That is actually documented.
name="tool"
the default in tool mode as it makes little sense to define a sorting template that is not used. And I see no way to use the name of the template in the .conf
file. So it makes little sense to have the name=
there.<sorting ...>
should be turned into <sortingtemplate ...>
in the docs (pp. 26 following).Docs are fixed. It's not so simple to automate the template name as a config file could be used for tool mode and non tool mode and could have several templates to select from etc.
I see, that makes sense. Thank you.
does not sort
with
biber --tool
as expected. as expected (sigfridsson
>angenendt
>baez/article
) for me. Instead the order stays as is.The example
.conf
file follows the example in the documentation. This may have to do with the name changesscheme
->template
. But no amount of guessing was enough to get things going. I thinkmight be a step in the right direction. But it's not enough ...