Comments (2)
doclicense should therefore not assume that hyperref is loaded through hyperxmp but load it itself.
Does it really assume that? When I look at the code
latex-packages/doclicense/doclicense.dtx
Lines 695 to 729 in 4bb0436
Can you propose a patch/pull request that fixes it for you? I currently donβt have the latest TeX Live installed so I cannot test your example.
from latex-packages.
sorry I got a bit lost in your various if-clauses and so tried to fix the problem it the wrong way. I will update the pdfmanagement to remove the error there.
But it remains the problem that hyperxmp is not loaded and so your hypersetup is lost. I suggest that you replace
\@ifpackageloaded{hyperxmp}{%
% The following options are only defined when the hyperxmp package was loaded.
\hypersetup{%
pdfcopyright = {\doclicenseLongTextForHyperref},
pdflicenseurl = {\doclicenseURL},
}
}{}
by
\IfDocumentMetadataTF
{
\hypersetup{%
pdfcopyright = {\doclicenseLongTextForHyperref},
pdflicenseurl = {\doclicenseURL},
}
}
{
\@ifpackageloaded{hyperxmp}{%
\hypersetup{%
pdfcopyright = {\doclicenseLongTextForHyperref},
pdflicenseurl = {\doclicenseURL},
}}{}
}
from latex-packages.
Related Issues (20)
- Fix CI (latest TeXlive and chktex support) HOT 1
- Hard to use doclicense in class file HOT 2
- Essa >> Esta HOT 1
- Checkout and reference https://ctan.org/pkg/gfdl in doclicense docs HOT 1
- Document fails to build when importing dolicense: Package hyperxmp Error: hyperref must be loaded before hyperxmp. HOT 2
- ! Undefined control sequence. HOT 7
- Automated testing with different TeX Live versions HOT 1
- doclicense: option to disable xmp to be compatible with pdfx HOT 3
- How to improve doclicense? Integrate with https://reuse.software/?
- Copyright License HOT 3
- Incompatibility between doclicense and silence (Regression) HOT 5
- doclicense: Specify package order for any dependencies in documentation HOT 6
- doclicense: Token not allowed in a PDF string (Unicode):(hyperref) removing `\enquote' HOT 1
- doclicense: No language definition for nilfound HOT 3
- content of \doclicenseLongText not suitable for pdfcopyright key HOT 3
- doclicense incompatible with biblatex HOT 3
- doclicense: Use the Unicode Creative Commons characters instead of the ccicons package HOT 2
- Clarify in documentation how to use CC0 HOT 1
- doclicense: add year and author data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex-packages.