From a38a86b6af0cc1c5ff0f65389ae4b1cd1e4bee81 Mon Sep 17 00:00:00 2001 From: Jeff MacKinnon Date: Thu, 14 Dec 2023 13:36:36 -0400 Subject: [PATCH] Created a simplier memo. --- blank-memo-simple.rst | 93 +++++++++++++++++++++++++++++++++++++++++++ blank-memo.rst | 8 +--- 2 files changed, 95 insertions(+), 6 deletions(-) create mode 100644 blank-memo-simple.rst diff --git a/blank-memo-simple.rst b/blank-memo-simple.rst new file mode 100644 index 0000000..75bc34d --- /dev/null +++ b/blank-memo-simple.rst @@ -0,0 +1,93 @@ +.. Here are some notes about setting up the files +.. rst2pdf -s "P:\General\common\jmk.yaml" blank-memo-simple.rst + +.. ==== -> Heading 1 +.. ---- -> Heading 2 +.. ~~~~ -> Heading 3 +.. ^^^^ -> Heading 4 +.. """" -> Heading 5 + +.. This changes for section numbers, remove is "typical" numbering is good. + .. section-numbering + + +.. This is the setup for the header substitutions. Sometimes there will be a second logo +.. |logo| image:: logos/logo.jpg + :height: 2cm + +.. |Revision| replace:: B +.. |Client| replace:: Internal +.. |Date| replace:: Aug 2022 +.. |ProjectNum| replace:: xxxx + + +.. header:: + + .. class:: headertable + + .. list-table:: + :widths: 20 50 20 + + * - + - |Title| + - |Date| + * - + - |SubTitle| + - |ProjectNum| + * - |logo| + - + - Page ###Page### of ###Total### + +.. footer:: + + `JMK Engineering Inc. `__ + + +.. This is where I will be adding any other text and image substitutions that will be needed throughout the "typical" specification +.. |Title| replace:: Meeting Notes +.. |SubTitle| replace:: The Main Subject + + + + +.. This sets up the page break and re-set the page numbering - Only if I figure out how to do a table of contents +.. +.. raw:: pdf + + SetPageCounter 1 arabic + + + +|SubTitle| +=========== + +Then you can just write the stuff that you want to do. + +Another thing +----------------- + +- Bullet +- Bullet +- Bullet +- Bullet + +Numbered list +~~~~~~~~~~~~~~~~ + +1. To make sure that the first is always first +#. then use the # symbol for auto numbers +#. Then there are footnotes [#]_ + +.. [#] They are end notes in rst2pdf + +Fourth Heading +^^^^^^^^^^^^^^^^^^^^ + +If you have to go this deep [#]_, here it is, but we strongly recommend that you don't. [#]_ + +.. [#] Really you should have to go 4 deep in sub headings, but there is a standard and you can go even deeper too. +.. [#] But you can + +The nice thing about the footnote/endnote system with rst2pdf is that you can just write them inline with the text and there is no goiung back and forth to make sure that you aren't missing something. And if you are using the auto-number system, then you can be sure that they just work. + +There is also a citation system, but that is not something that should be needed for a simple template like this. \ No newline at end of file diff --git a/blank-memo.rst b/blank-memo.rst index 363b8e6..c7eb7cb 100644 --- a/blank-memo.rst +++ b/blank-memo.rst @@ -100,14 +100,10 @@ - **Approved** -.. Page break after the title page -.. raw:: pdf - - PageBreak - .. This sets up the page break and re-set the page numbering - Only if I figure out how to do a table of contents -.. .. raw:: pdf +.. +.. raw:: pdf PageBreak SetPageCounter 1 arabic