Set metadata for the pdf file generated by AMC (Feature #229)
Description
The default PDF Creator metadata for the pdf file AMC generates is Tex. It would be nice if this is changed to display the name of AMC and the version which generated it.
Also it would be nice to have some basic commands like \AMCAuthor to set the Author metadata and similar for Title and Subject metadata so that it is easily set by people using AMC-TXT.
I have attached a file which implements this.
History
Updated by Anirvan Sarkar over 11 years ago
Anirvan Sarkar wrote:
Also it would be nice to have some basic commands like \AMCAuthor to set the Author metadata and similar for Title and Subject metadata so that it is easily set by people using AMC-TXT.
Instead of using latex commands it would be more convenient to set it in the project preferences similar to how one can set the Examination Name in the the Examination description section in Edit>Preferences>Project window. So one doesn't have to make any changes in the latex source file and maybe it will also be easier for you to implement.
Updated by Anirvan Sarkar almost 11 years ago
- Assignee set to Anirvan Sarkar
Updated by Anirvan Sarkar almost 11 years ago
If we use the hyperref
package as I did in set-metadata.sty
we can only set the metadata for the pdf generated by Latex and not the ones created in annotation process. So I am leaning more to use the PDF::API2 module to set the metadata for all the pdf files generated by AMC using the $pdf->info method. But this will add a new dependency to libpdf-api2-perl
package. What are your thoughts?