put last modified date on the PDF form generated by markdown + hyperref + javascript + fancyhdr?
This is my pandoc version:
pandoc --version
pandoc 2.3.1
Compiled with pandoc-types 1.17.5.1, texmath 0.11.1.1, skylighting 0.7.3
Default user data directory: /Users/vle/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
And the test markdown document (testjs.md):
---
title: "Test Javascript"
geometry: "left=2.5cm,right=2cm,top=2cm,bottom=2cm"
output: pdf_document
header-includes:
- usepackage{hyperref}
- usepackage{fancyhdr}
- pagestyle{fancy}
- fancyhead[LE,LO]{Last Modified Date TextField[name=opendate, calculate={var OpenDate = this.getField("opendate"); OpenDate.value = new Date();}]{}}
- fancyfoot[CO,CE]{Template Version today}
- fancyfoot[LE,RO]{thepage}
---
# Section
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var d = this.getField("datefield"); d.value = new Date();}
]{}
pagebreak
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield1,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var e = this.getField("datefield"); e.value = new Date();}
]{}
pagebreak
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield2,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var f = this.getField("datefield"); f.value = new Date();}
]{}
rendering command:
pandoc --number-section -o testjs.pdf testjs.md
The output PDF open in Acrobat Professional DC on macOS gives this:

Problems:
- Date is not shown on the textfield on the "Last Modified Date"
header field. Date is not shown on the text field in the body of all
three pages.Textfield "Last Modified Date" on page 3 does not appear because of
textfield name collision.
How do I solve these problems?
Update:
I think I found some clues: There must be some event to trigger the javascript to update field. So the more practical question is how to update the header on some onsave event or onclick of some form button. I prefer onsave to save the whole document and update the timestamp.
hyperref fancyhdr pandoc markdown javascript
add a comment |
This is my pandoc version:
pandoc --version
pandoc 2.3.1
Compiled with pandoc-types 1.17.5.1, texmath 0.11.1.1, skylighting 0.7.3
Default user data directory: /Users/vle/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
And the test markdown document (testjs.md):
---
title: "Test Javascript"
geometry: "left=2.5cm,right=2cm,top=2cm,bottom=2cm"
output: pdf_document
header-includes:
- usepackage{hyperref}
- usepackage{fancyhdr}
- pagestyle{fancy}
- fancyhead[LE,LO]{Last Modified Date TextField[name=opendate, calculate={var OpenDate = this.getField("opendate"); OpenDate.value = new Date();}]{}}
- fancyfoot[CO,CE]{Template Version today}
- fancyfoot[LE,RO]{thepage}
---
# Section
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var d = this.getField("datefield"); d.value = new Date();}
]{}
pagebreak
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield1,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var e = this.getField("datefield"); e.value = new Date();}
]{}
pagebreak
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield2,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var f = this.getField("datefield"); f.value = new Date();}
]{}
rendering command:
pandoc --number-section -o testjs.pdf testjs.md
The output PDF open in Acrobat Professional DC on macOS gives this:

Problems:
- Date is not shown on the textfield on the "Last Modified Date"
header field. Date is not shown on the text field in the body of all
three pages.Textfield "Last Modified Date" on page 3 does not appear because of
textfield name collision.
How do I solve these problems?
Update:
I think I found some clues: There must be some event to trigger the javascript to update field. So the more practical question is how to update the header on some onsave event or onclick of some form button. I prefer onsave to save the whole document and update the timestamp.
hyperref fancyhdr pandoc markdown javascript
add a comment |
This is my pandoc version:
pandoc --version
pandoc 2.3.1
Compiled with pandoc-types 1.17.5.1, texmath 0.11.1.1, skylighting 0.7.3
Default user data directory: /Users/vle/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
And the test markdown document (testjs.md):
---
title: "Test Javascript"
geometry: "left=2.5cm,right=2cm,top=2cm,bottom=2cm"
output: pdf_document
header-includes:
- usepackage{hyperref}
- usepackage{fancyhdr}
- pagestyle{fancy}
- fancyhead[LE,LO]{Last Modified Date TextField[name=opendate, calculate={var OpenDate = this.getField("opendate"); OpenDate.value = new Date();}]{}}
- fancyfoot[CO,CE]{Template Version today}
- fancyfoot[LE,RO]{thepage}
---
# Section
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var d = this.getField("datefield"); d.value = new Date();}
]{}
pagebreak
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield1,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var e = this.getField("datefield"); e.value = new Date();}
]{}
pagebreak
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield2,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var f = this.getField("datefield"); f.value = new Date();}
]{}
rendering command:
pandoc --number-section -o testjs.pdf testjs.md
The output PDF open in Acrobat Professional DC on macOS gives this:

Problems:
- Date is not shown on the textfield on the "Last Modified Date"
header field. Date is not shown on the text field in the body of all
three pages.Textfield "Last Modified Date" on page 3 does not appear because of
textfield name collision.
How do I solve these problems?
Update:
I think I found some clues: There must be some event to trigger the javascript to update field. So the more practical question is how to update the header on some onsave event or onclick of some form button. I prefer onsave to save the whole document and update the timestamp.
hyperref fancyhdr pandoc markdown javascript
This is my pandoc version:
pandoc --version
pandoc 2.3.1
Compiled with pandoc-types 1.17.5.1, texmath 0.11.1.1, skylighting 0.7.3
Default user data directory: /Users/vle/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
And the test markdown document (testjs.md):
---
title: "Test Javascript"
geometry: "left=2.5cm,right=2cm,top=2cm,bottom=2cm"
output: pdf_document
header-includes:
- usepackage{hyperref}
- usepackage{fancyhdr}
- pagestyle{fancy}
- fancyhead[LE,LO]{Last Modified Date TextField[name=opendate, calculate={var OpenDate = this.getField("opendate"); OpenDate.value = new Date();}]{}}
- fancyfoot[CO,CE]{Template Version today}
- fancyfoot[LE,RO]{thepage}
---
# Section
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var d = this.getField("datefield"); d.value = new Date();}
]{}
pagebreak
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield1,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var e = this.getField("datefield"); e.value = new Date();}
]{}
pagebreak
## Header :
*Try to set the current date when the PDF file is open*
TextField[name=datefield2,%
width = hsize,%
height = 3cm,%
multiline=true,%
bordercolor= ,%
% color = 1 1 1,%
calculate={var f = this.getField("datefield"); f.value = new Date();}
]{}
rendering command:
pandoc --number-section -o testjs.pdf testjs.md
The output PDF open in Acrobat Professional DC on macOS gives this:

Problems:
- Date is not shown on the textfield on the "Last Modified Date"
header field. Date is not shown on the text field in the body of all
three pages.Textfield "Last Modified Date" on page 3 does not appear because of
textfield name collision.
How do I solve these problems?
Update:
I think I found some clues: There must be some event to trigger the javascript to update field. So the more practical question is how to update the header on some onsave event or onclick of some form button. I prefer onsave to save the whole document and update the timestamp.
hyperref fancyhdr pandoc markdown javascript
hyperref fancyhdr pandoc markdown javascript
edited Jan 3 at 22:41
biocyberman
asked Jan 3 at 22:19
biocybermanbiocyberman
1135
1135
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I couldn't find a way to do this with hyperref alone.
There are two issues with using hyperref.
- Form fields are meant to be enclosed in a
Formenvironment and I came across issues trying to set the contents of the fields from JavaScript when this wasn't done (as in your MWE). And adding in this environment makes Adobe Reader think that this is a real PDF form, which seems a bit odd.
hyperrefdoesn't provide access to the Acrobatwillsavedocument event which is the most natural event to use in your case.
For working around the first issue, I suggest using the pdfcomment package and using FreeText annotations instead of form text fields.
Fortunately, the second issue is straight forward to solve.
Try this MWE. Just plain latex, but you can adapt it to your pandoc MarkDown workflow.
What does it do?
- Pass the
en-USoption todatetime2(pdfcommentseems to use theisooption by default). - Set
FreeTextannotation flags to make them read only (pdfcommenthard codes them to just turn on printing). - Write JavaScript code to be run when the document is about to be saved. The code gets all annotations in the document and sets the content to the current date. (This is not that clever and assumes that the only annotations are the date stamp ones. You could fairly easily make it more clever if you have other annotations present.)
- Use
pdfcatalogto set up the documentwillsaveevent to call our code. - Set up the
FreeTextannotation usingpdfcommentto look pretty(ish) and initialise it totoday. - Set up headers.
It seems to work fine with multiple pages.
documentclass{book}
PassOptionsToPackage{en-US}{datetime2}
usepackage{pdfcomment}
makeatletter
% Set FreeText annotation flags to Print (bit 3) and ReadOnly (bit 7)
patchcmd{pc@annot@freetext}
{/F 4}
{/F 68}
{}
{}
defwillsavecode{%
this.syncAnnotScan ();
var annots = this.getAnnots ();
for (var i = 0; i < annots.length; i++)
annots[i].contents = util.printd ("mmmm d, yyyy", new Date ());
}
pdfcatalog{/AA<</WS<</S/JavaScript/JS(Hy@escapestring{willsavecode})>>>>}
makeatother
newcommand*{datestamp}{%
pdffreetextcomment[%
width=6cm,
height=normalbaselineskip,
hoffset=1em,
voffset=-dpstrutbox,
linewidth=0pt,
color=,
fontsize=10pt]{today}}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhead[LE,LO]{Last Modified Date: datestamp}
fancyfoot[CO,CE]{Template Version: today}
fancyfoot[LE,RO]{thepage}
begin{document}
Filler text.
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468470%2fput-last-modified-date-on-the-pdf-form-generated-by-markdown-hyperref-javasc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I couldn't find a way to do this with hyperref alone.
There are two issues with using hyperref.
- Form fields are meant to be enclosed in a
Formenvironment and I came across issues trying to set the contents of the fields from JavaScript when this wasn't done (as in your MWE). And adding in this environment makes Adobe Reader think that this is a real PDF form, which seems a bit odd.
hyperrefdoesn't provide access to the Acrobatwillsavedocument event which is the most natural event to use in your case.
For working around the first issue, I suggest using the pdfcomment package and using FreeText annotations instead of form text fields.
Fortunately, the second issue is straight forward to solve.
Try this MWE. Just plain latex, but you can adapt it to your pandoc MarkDown workflow.
What does it do?
- Pass the
en-USoption todatetime2(pdfcommentseems to use theisooption by default). - Set
FreeTextannotation flags to make them read only (pdfcommenthard codes them to just turn on printing). - Write JavaScript code to be run when the document is about to be saved. The code gets all annotations in the document and sets the content to the current date. (This is not that clever and assumes that the only annotations are the date stamp ones. You could fairly easily make it more clever if you have other annotations present.)
- Use
pdfcatalogto set up the documentwillsaveevent to call our code. - Set up the
FreeTextannotation usingpdfcommentto look pretty(ish) and initialise it totoday. - Set up headers.
It seems to work fine with multiple pages.
documentclass{book}
PassOptionsToPackage{en-US}{datetime2}
usepackage{pdfcomment}
makeatletter
% Set FreeText annotation flags to Print (bit 3) and ReadOnly (bit 7)
patchcmd{pc@annot@freetext}
{/F 4}
{/F 68}
{}
{}
defwillsavecode{%
this.syncAnnotScan ();
var annots = this.getAnnots ();
for (var i = 0; i < annots.length; i++)
annots[i].contents = util.printd ("mmmm d, yyyy", new Date ());
}
pdfcatalog{/AA<</WS<</S/JavaScript/JS(Hy@escapestring{willsavecode})>>>>}
makeatother
newcommand*{datestamp}{%
pdffreetextcomment[%
width=6cm,
height=normalbaselineskip,
hoffset=1em,
voffset=-dpstrutbox,
linewidth=0pt,
color=,
fontsize=10pt]{today}}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhead[LE,LO]{Last Modified Date: datestamp}
fancyfoot[CO,CE]{Template Version: today}
fancyfoot[LE,RO]{thepage}
begin{document}
Filler text.
end{document}
add a comment |
I couldn't find a way to do this with hyperref alone.
There are two issues with using hyperref.
- Form fields are meant to be enclosed in a
Formenvironment and I came across issues trying to set the contents of the fields from JavaScript when this wasn't done (as in your MWE). And adding in this environment makes Adobe Reader think that this is a real PDF form, which seems a bit odd.
hyperrefdoesn't provide access to the Acrobatwillsavedocument event which is the most natural event to use in your case.
For working around the first issue, I suggest using the pdfcomment package and using FreeText annotations instead of form text fields.
Fortunately, the second issue is straight forward to solve.
Try this MWE. Just plain latex, but you can adapt it to your pandoc MarkDown workflow.
What does it do?
- Pass the
en-USoption todatetime2(pdfcommentseems to use theisooption by default). - Set
FreeTextannotation flags to make them read only (pdfcommenthard codes them to just turn on printing). - Write JavaScript code to be run when the document is about to be saved. The code gets all annotations in the document and sets the content to the current date. (This is not that clever and assumes that the only annotations are the date stamp ones. You could fairly easily make it more clever if you have other annotations present.)
- Use
pdfcatalogto set up the documentwillsaveevent to call our code. - Set up the
FreeTextannotation usingpdfcommentto look pretty(ish) and initialise it totoday. - Set up headers.
It seems to work fine with multiple pages.
documentclass{book}
PassOptionsToPackage{en-US}{datetime2}
usepackage{pdfcomment}
makeatletter
% Set FreeText annotation flags to Print (bit 3) and ReadOnly (bit 7)
patchcmd{pc@annot@freetext}
{/F 4}
{/F 68}
{}
{}
defwillsavecode{%
this.syncAnnotScan ();
var annots = this.getAnnots ();
for (var i = 0; i < annots.length; i++)
annots[i].contents = util.printd ("mmmm d, yyyy", new Date ());
}
pdfcatalog{/AA<</WS<</S/JavaScript/JS(Hy@escapestring{willsavecode})>>>>}
makeatother
newcommand*{datestamp}{%
pdffreetextcomment[%
width=6cm,
height=normalbaselineskip,
hoffset=1em,
voffset=-dpstrutbox,
linewidth=0pt,
color=,
fontsize=10pt]{today}}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhead[LE,LO]{Last Modified Date: datestamp}
fancyfoot[CO,CE]{Template Version: today}
fancyfoot[LE,RO]{thepage}
begin{document}
Filler text.
end{document}
add a comment |
I couldn't find a way to do this with hyperref alone.
There are two issues with using hyperref.
- Form fields are meant to be enclosed in a
Formenvironment and I came across issues trying to set the contents of the fields from JavaScript when this wasn't done (as in your MWE). And adding in this environment makes Adobe Reader think that this is a real PDF form, which seems a bit odd.
hyperrefdoesn't provide access to the Acrobatwillsavedocument event which is the most natural event to use in your case.
For working around the first issue, I suggest using the pdfcomment package and using FreeText annotations instead of form text fields.
Fortunately, the second issue is straight forward to solve.
Try this MWE. Just plain latex, but you can adapt it to your pandoc MarkDown workflow.
What does it do?
- Pass the
en-USoption todatetime2(pdfcommentseems to use theisooption by default). - Set
FreeTextannotation flags to make them read only (pdfcommenthard codes them to just turn on printing). - Write JavaScript code to be run when the document is about to be saved. The code gets all annotations in the document and sets the content to the current date. (This is not that clever and assumes that the only annotations are the date stamp ones. You could fairly easily make it more clever if you have other annotations present.)
- Use
pdfcatalogto set up the documentwillsaveevent to call our code. - Set up the
FreeTextannotation usingpdfcommentto look pretty(ish) and initialise it totoday. - Set up headers.
It seems to work fine with multiple pages.
documentclass{book}
PassOptionsToPackage{en-US}{datetime2}
usepackage{pdfcomment}
makeatletter
% Set FreeText annotation flags to Print (bit 3) and ReadOnly (bit 7)
patchcmd{pc@annot@freetext}
{/F 4}
{/F 68}
{}
{}
defwillsavecode{%
this.syncAnnotScan ();
var annots = this.getAnnots ();
for (var i = 0; i < annots.length; i++)
annots[i].contents = util.printd ("mmmm d, yyyy", new Date ());
}
pdfcatalog{/AA<</WS<</S/JavaScript/JS(Hy@escapestring{willsavecode})>>>>}
makeatother
newcommand*{datestamp}{%
pdffreetextcomment[%
width=6cm,
height=normalbaselineskip,
hoffset=1em,
voffset=-dpstrutbox,
linewidth=0pt,
color=,
fontsize=10pt]{today}}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhead[LE,LO]{Last Modified Date: datestamp}
fancyfoot[CO,CE]{Template Version: today}
fancyfoot[LE,RO]{thepage}
begin{document}
Filler text.
end{document}
I couldn't find a way to do this with hyperref alone.
There are two issues with using hyperref.
- Form fields are meant to be enclosed in a
Formenvironment and I came across issues trying to set the contents of the fields from JavaScript when this wasn't done (as in your MWE). And adding in this environment makes Adobe Reader think that this is a real PDF form, which seems a bit odd.
hyperrefdoesn't provide access to the Acrobatwillsavedocument event which is the most natural event to use in your case.
For working around the first issue, I suggest using the pdfcomment package and using FreeText annotations instead of form text fields.
Fortunately, the second issue is straight forward to solve.
Try this MWE. Just plain latex, but you can adapt it to your pandoc MarkDown workflow.
What does it do?
- Pass the
en-USoption todatetime2(pdfcommentseems to use theisooption by default). - Set
FreeTextannotation flags to make them read only (pdfcommenthard codes them to just turn on printing). - Write JavaScript code to be run when the document is about to be saved. The code gets all annotations in the document and sets the content to the current date. (This is not that clever and assumes that the only annotations are the date stamp ones. You could fairly easily make it more clever if you have other annotations present.)
- Use
pdfcatalogto set up the documentwillsaveevent to call our code. - Set up the
FreeTextannotation usingpdfcommentto look pretty(ish) and initialise it totoday. - Set up headers.
It seems to work fine with multiple pages.
documentclass{book}
PassOptionsToPackage{en-US}{datetime2}
usepackage{pdfcomment}
makeatletter
% Set FreeText annotation flags to Print (bit 3) and ReadOnly (bit 7)
patchcmd{pc@annot@freetext}
{/F 4}
{/F 68}
{}
{}
defwillsavecode{%
this.syncAnnotScan ();
var annots = this.getAnnots ();
for (var i = 0; i < annots.length; i++)
annots[i].contents = util.printd ("mmmm d, yyyy", new Date ());
}
pdfcatalog{/AA<</WS<</S/JavaScript/JS(Hy@escapestring{willsavecode})>>>>}
makeatother
newcommand*{datestamp}{%
pdffreetextcomment[%
width=6cm,
height=normalbaselineskip,
hoffset=1em,
voffset=-dpstrutbox,
linewidth=0pt,
color=,
fontsize=10pt]{today}}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhead[LE,LO]{Last Modified Date: datestamp}
fancyfoot[CO,CE]{Template Version: today}
fancyfoot[LE,RO]{thepage}
begin{document}
Filler text.
end{document}
answered Jan 4 at 13:24
David PurtonDavid Purton
9,0101835
9,0101835
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468470%2fput-last-modified-date-on-the-pdf-form-generated-by-markdown-hyperref-javasc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown