In #16315 we introduced support for .bst styles for LibreOffice.
Currently, one can import multiple of those file with the same name:
which can be confusing (regardless of whether they are actually the same style or different).
"name" here is just the .bst filename with the extension stripped off, as these files do not specify a separate "name" field like CSL.
In CSL Styles, we don't allow the import of two files with the same name. We show a dialog that such a style already exists. Goal is to have the same guard for the .bst tab.
This no-duplication mechanism should take into account both internal (default) and externally added styles in the list.
Note: Please explore the CSL code, warning messages etc properly before attempting this. Refer to #15463 for more hints.
In #16315 we introduced support for
.bststyles for LibreOffice.Currently, one can import multiple of those file with the same name:
which can be confusing (regardless of whether they are actually the same style or different).
"name" here is just the
.bstfilename with the extension stripped off, as these files do not specify a separate "name" field like CSL.In CSL Styles, we don't allow the import of two files with the same name. We show a dialog that such a style already exists. Goal is to have the same guard for the
.bsttab.This no-duplication mechanism should take into account both internal (default) and externally added styles in the list.
Note: Please explore the CSL code, warning messages etc properly before attempting this. Refer to #15463 for more hints.