summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2015-06-14 13:37:12 +0000
committerNorbert Preining <preining@logic.at>2015-06-14 13:37:12 +0000
commita76656030fb017d569e2307c7ce41b311fe89bcd (patch)
tree5b373db78d7046ddb6741f079db8f9a428730244
parent7ea3b3e8d653b705a9ff6d3ff5aef6e1a2e4d38f (diff)
TLPOBJ: merge 'also' and 'topics' into tlpobj catalogue data
git-svn-id: svn://tug.org/texlive/trunk@37522 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLPOBJ.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm
index ebdc2e22873..974e2325655 100644
--- a/Master/tlpkg/TeXLive/TLPOBJ.pm
+++ b/Master/tlpkg/TeXLive/TLPOBJ.pm
@@ -757,6 +757,17 @@ sub update_from_catalogue {
if (defined($entry->ctan) && $entry->ctan ne "") {
$self->cataloguedata->{'ctan'} = $entry->ctan;
}
+ # TODO TODO TODO
+ # we should rewrite the also fields to TeX Live package names ...
+ # for now these are CTAN package names!
+ # warning, we expect that cataloguedata entries are strings,
+ # so stringify these lists
+ if (@{$entry->also}) {
+ $self->cataloguedata->{'also'} = "@{$entry->also}";
+ }
+ if (@{$entry->topics}) {
+ $self->cataloguedata->{'topics'} = "@{$entry->topics}";
+ }
#if (defined($entry->texlive)) {
# $self->cataloguedata->{'texlive'} = $entry->texlive;
#}