aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* exporter: handle names surrounded with underscoresMiquel Sabaté Solà2026-06-261-0/+10
| | | | | | | | Handle underscores which surround the full name, not just a part of it. In this case, then the whole thing should be considered as the name, and the last name should be left nil. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* exporter: Avoid trailing dots on bare-bone itemsMiquel Sabaté Solà2025-08-082-1/+8
| | | | | | | | Some items are going to be really empty: just the title and the author; no year, no notes, etc. In these cases the exporter still tried to add this missing information. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* lib: Introduce the PlainExporterMiquel Sabaté Solà2025-07-013-33/+91
| | | | | | | This class exports things into plain text. It follows a close format to that of the one for UOC, but without any formatting. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* csv: don't export underscores on "authors"Miquel Sabaté Solà2024-03-201-7/+2
| | | | | | It does not make sense on this context. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Support underscore in the exporters on titlesMiquel Sabaté Solà2024-03-202-4/+31
| | | | | | | Underscores on titles are meant to be replaced by something else on each exporter (e.g. removed on CSV, or surrounded by \emph on UOC). Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Initial commitMiquel Sabaté Solà2024-03-135-0/+131
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>