-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Licence to metadata + switch to doclicense #294
Comments
That this only happens with tudapub is not weird, it's actually quite easy. ;-) You get the same result with
Sadly doclicense doesn't support to disable the auto add of the metadata. But I think it's about the ccicons which tudapub doesn't use itself? Then I can help you with adding these without the package, same for the automatic add of the license to the metadata - which would be an idea to add that one generally. I will think about which author to contact would be the best, currently don't know where exactly it comes from, will try to find time to have a look tomorrow. If you want to be involved let me know. |
That's interesting, I don't know enough about hyperxmp, so this idea might not work. Edit |
@zhtaihao I don't it's a good idea to generally support two corresponding mechanisms to add the xmp metadata. The package is one thing. TUDa-CI is the other. That's why I'd like to know what you wanted to archieve using the package. because we generally have a mechanism to add license info and maybe we can extend this one to match your requirement. If the difference is the image we could also use the images without loading the package. I just did not yet add these, because I didn't want us to blow up the texlive installation but since doclicense already provides these, we can use them. And yes I found the corresponding change and am currently thinking about, because it seems like maybe the xmpdata package and pdfx should know from each other, which would not require any change in doclicense. Edit: pdfx and doclicense both write the xmpdata directly without checking if it's there, so it would probably be the best to ask doclicense to add an option to disable the xmpdata or maybe the complete metadata environment. Because this is not compatible to PDF/A creation. I can add a pull request on this -> then we can also use doclicense instead of implementing our own descriptions on the CC licenses. Working workaround for your issue would be to disable the writing of metadata of hyperxmp by setting
after loading doclicense. |
Consider the following MWE, which inserts a CC license and image:
At the very end of the document, another page gets inserted with a single comma. My testing has concluded that this happens because of the
doclicense
package.Weirdly, this does not happen with other classes, I tested
(scr)article
,(scr)report
,tudabeamer
. It does however happen withtudaletter
, and of coursetudapub
as seen in the MWE.Because this bug does not happen in most other document classes, I resorted to reporting it here instead of at https://github.com/ypid/latex-packages/issues. But I understand if this is entirely a bug of the package instead.
The text was updated successfully, but these errors were encountered: