Skip to content

Commit

Permalink
Add metadata to other PDF files
Browse files Browse the repository at this point in the history
  • Loading branch information
marcows committed Apr 11, 2023
1 parent 5ed4cb7 commit 7870c52
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 6 deletions.
6 changes: 6 additions & 0 deletions doc/etc/BUILDING.man
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
.\"
.TH Build SRecord SRecord "Reference Manual"
.so etc/version.so
.pdfinfo /Title SRecord Build Instructions
.pdfinfo /Author Scott Finneran, Peter Miller
.pdfinfo /Subject How to build SRecord version \*(V) [\*(G)]
.pdfinfo /Keywords SRecord setup building testing installing packaging
.pdfsync
.\" ---------------------------------------------------------------------------
.if n .hy 0
.if n .ad l
.if n .nr IN 8n
Expand Down
6 changes: 6 additions & 0 deletions doc/etc/README.man
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
.\"
.TH "Read Me" SRecord SRecord "Reference Manual"
.so etc/version.so
.pdfinfo /Title SRecord Read Me
.pdfinfo /Author Scott Finneran, Peter Miller
.pdfinfo /Subject Overview of SRecord version \*(V) [\*(G)]
.pdfinfo /Keywords SRecord README changelog releases
.pdfsync
.\" ---------------------------------------------------------------------------
.hy 0
.ad l
.XX "" "The README file"
Expand Down
6 changes: 6 additions & 0 deletions doc/etc/change_log.man
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
.\"
.TH "Change Log" SRecord SRecord "Change Log"
.so etc/version.so
.pdfinfo /Title SRecord Change Log
.pdfinfo /Author Scott Finneran, Peter Miller
.pdfinfo /Subject Release notes up to SRecord version \*(V) [\*(G)]
.pdfinfo /Keywords SRecord changelog releases
.pdfsync
.\" ---------------------------------------------------------------------------
.hy 0
.ad l
.SH RELEASE NOTES
Expand Down
19 changes: 13 additions & 6 deletions doc/etc/reference.man
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@
.ds MO \\*[MONTH\n[mo]]
.nr *year \n[yr]+1900
.ds DY \n[dy] \*[MO] \n[*year]
.\"
.pdfinfo /Title SRecord Reference Manual
.pdfinfo /Author Scott Finneran, Peter Miller
.pdfinfo /Subject This document describes SRecord version \*(V) [\*(G)]
.pdfinfo /Keywords SRecord srec_cat srec_cmp srec_info
.pdfview /PageMode /UseOutlines
.\" ---------------------------------------------------------------------------
\&.
.sp 2i
Expand Down Expand Up @@ -124,6 +118,19 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
.\" moving TOC up with psselect. It would be included in the TOC page(s).
.pdfsync
.\"
.\" ---------- Add the PDF metadata -----------------------------------------
.\"
.\" After inclusion of "the Other Stuff" from above to overwrite their values.
.pdfinfo /Title SRecord Reference Manual
.pdfinfo /Author Scott Finneran, Peter Miller
.pdfinfo /Subject Detailed description of SRecord version \*(V) [\*(G)]
.pdfinfo /Keywords SRecord srec_cat srec_cmp srec_info
.pdfview /PageMode /UseOutlines
.\"
.\" Sync before TOC to avoid overwriting with "the Other Stuff" metadata
.\" when moving TOC up with psselect.
.pdfsync
.\"
.\" ---------- Include the Table of Contents --------------------------------
.\"
.if o .bp \" because .TH is going to throw another one
Expand Down

0 comments on commit 7870c52

Please sign in to comment.