Set metadata for the pdf file generated by AMC (Feature #229)


Added by Anirvan Sarkar over 10 years ago. Updated almost 10 years ago.


Status:New Start date:10/11/2013
Priority:Normal Due date:
Assignee:Anirvan Sarkar % Done:

0%

Category:-
Target version:-

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.


set-metadata.sty (325 Bytes) Anirvan Sarkar, 10/11/2013 05:05 pm


History

Updated by Anirvan Sarkar over 10 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 10 years ago

  • Assignee set to Anirvan Sarkar

Updated by Anirvan Sarkar almost 10 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?

Also available in: Atom PDF