SoftVarE-Group / MibTeX

Minimalistic tool to manage your references with BibTeX
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Support for multiple tag lists #28

Closed tthuem closed 6 years ago

tthuem commented 7 years ago

Currently, we can only give as parameter which BibTeX taglist (e.g., tt-tags or rs-tags) is used for the row with Tags in HTML. It would be nice to use multiple BibTeX taglists for the output.

If multiple taglists are choosen, starting from the second one the name of the taglist should be used as prefix in the following form:

tt-tags = {Bla}, tc-tags = {Blub},

"Bla, tc-Blub" if tt-tags is the first taglist in settings file "Blub, tt-Bla" if tc-tags is the first taglist in settings file

Kogoro commented 7 years ago

The dev branch now contains the support for multiple tags for the single HTML export. Please check if it solves this issue.

tthuem commented 7 years ago

Works great!

tthuem commented 7 years ago

Does not work, if the first tag is not existent. Then, the exported taglist is empty.

tthuem commented 6 years ago

Would be good if you could continue with this issue. It seems this is the last known bug of MibTeX. :)

Kogoro commented 6 years ago

Implemented a check for missing tags

tthuem commented 6 years ago

Tags are indeed listed now, but with wrong prefix.

tthuem commented 6 years ago

Also, using the HashMap is not a good idea, as it seems to shuffle tag lists in my exports.

Kogoro commented 6 years ago

For me the tags are generated and sorted correctly. Do you use the HTML exporter?

tthuem commented 6 years ago

For example, the sampling exporter leads to another output order (since your change):

https://github.com/tthuem/MibTeX/blob/dev/MibTeX/src/de/mibtex/export/ExportSampling.java

Kogoro commented 6 years ago

The output hasn't changed as far as I can see. Tested the old and the new code. The result of both runs is this: unbenannt3

tthuem commented 6 years ago

With a hashmap, it may only appear sporadically...