Skip to content

Commit

Permalink
v3.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPacker committed Mar 14, 2023
1 parent 55c5c8d commit feb8971
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 13 deletions.
4 changes: 2 additions & 2 deletions md2pptx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ except:
have_graphviz = False


md2pptx_level = "3.5.1+"
md2pptx_date = "6 March, 2023"
md2pptx_level = "3.5.2"
md2pptx_date = "14 March, 2023"

namespaceURL = {
"mc" : "http://schemas.openxmlformats.org/markup-compatibility/2006",
Expand Down
26 changes: 23 additions & 3 deletions user-guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -1170,13 +1170,14 @@ <h3 id="table-of-contents">Table Of Contents<a class="headerlink" href="#table-o
</ul>
</li>
<li><a href="#metadata-keys">Metadata Keys</a><ul>
<li><a href="#title-and-subtitle-font-sizes">Title And Subtitle Font Sizes</a><ul>
<li><a href="#title-and-subtitle-font-sizes-and-alignment">Title And Subtitle Font Sizes And Alignment</a><ul>
<li><a href="#page-title-size-pagetitlesize">Page Title Size - <code>pageTitleSize</code></a></li>
<li><a href="#page-subtitle-size-pagesubtitlesize">Page Subtitle Size - <code>pageSubtitleSize</code></a></li>
<li><a href="#section-title-size-sectiontitlesize">Section Title Size - <code>sectionTitleSize</code></a></li>
<li><a href="#section-subtitle-size-sectionsubtitlesize">Section Subtitle Size - <code>sectionSubtitleSize</code></a></li>
<li><a href="#presentation-title-size-prestitlesize">Presentation Title Size - <code>presTitleSize</code></a></li>
<li><a href="#presentation-subtitle-size-pressubtitlesize">Presentation Subtitle Size - <code>presSubtitleSize</code></a></li>
<li><a href="#page-title-alignment-pagetitlealign">Page Title Alignment <code>pagetitlealign</code></a></li>
</ul>
</li>
<li><a href="#monospace-font-monofont">Monospace Font - <code>monoFont</code></a></li>
Expand Down Expand Up @@ -1429,7 +1430,12 @@ <h2 id="change-log">Change Log<a class="headerlink" href="#change-log" title="Pe
</thead>
<tbody>
<tr>
<td align="left">3.5.1+</td>
<td align="left">3.5.2</td>
<td align="right">14&nbsp;March&nbsp;2023</td>
<td align="left">Added <a href="#page-title-alignment-pagetitlealign"><code>pageTitleAlign</code></a> - for content page title alignment.</td>
</tr>
<tr>
<td align="left">3.5.1</td>
<td align="right">3&nbsp;March&nbsp;2023</td>
<td align="left"><a href="#page-subtitle-size-pagesubtitlesize"><code>pageSubtitleSize</code></a> supports <code>same</code> meaning &ldquo;same font size as first line&rdquo;.</td>
</tr>
Expand Down Expand Up @@ -2839,8 +2845,9 @@ <h4 id="processing-summary">Processing Summary<a class="headerlink" href="#proce
<h3 id="metadata-keys">Metadata Keys<a class="headerlink" href="#metadata-keys" title="Permanent link"></a></h3>
<p><a id="metadata-keys"></a></p>
<p>The following sections describe each of the metadata keys.</p>
<h4 id="title-and-subtitle-font-sizes">Title And Subtitle Font Sizes<a class="headerlink" href="#title-and-subtitle-font-sizes" title="Permanent link"></a></h4>
<h4 id="title-and-subtitle-font-sizes-and-alignment">Title And Subtitle Font Sizes And Alignment<a class="headerlink" href="#title-and-subtitle-font-sizes-and-alignment" title="Permanent link"></a></h4>
<p>You can change the font sizes for titles and subtitles throughout the presentation.</p>
<p>You can change the alignment for titles of content slides.</p>
<h5 id="page-title-size-pagetitlesize">Page Title Size - <code>pageTitleSize</code><a class="headerlink" href="#page-title-size-pagetitlesize" title="Permanent link"></a></h5>
<p><a id="page-title-size-pagetitlesize"></a></p>
<p>You can specify the point size of the first title line of each slide that isn&rsquo;t a section divider or title slide. The size is specified in points.</p>
Expand Down Expand Up @@ -2899,6 +2906,19 @@ <h5 id="presentation-subtitle-size-pressubtitlesize">Presentation Subtitle Size
<pre><code>presSubtitleSize: 24
</code></pre>
<p>The default is 28 points.</p>
<h5 id="page-title-alignment-pagetitlealign">Page Title Alignment <code>pagetitlealign</code><a class="headerlink" href="#page-title-alignment-pagetitlealign" title="Permanent link"></a></h5>
<p><a id="page-title-alignment-pagetitlealign"></a></p>
<p>You can change the horizontal alignment of content pages using <code>pageTitleAlign</code>. Alignment can be:</p>
<ul>
<li>Left - with <code>left</code> or <code>l</code></li>
<li>Right - with <code>right</code> or <code>r</code></li>
<li>Center - with <code>center</code>, <code>centre</code> or <code>c</code></li>
</ul>
<p>The default is <code>left</code>.</p>
<p>Example:</p>
<pre><code>pageTitleAlign: center
</code></pre>
<p>centres content page titles.</p>
<h4 id="monospace-font-monofont">Monospace Font - <code>monoFont</code><a class="headerlink" href="#monospace-font-monofont" title="Permanent link"></a></h4>
<p><a id="monospace-font-monofont"></a></p>
<p>You can specify which font to use for monospaced text - such as on <a href="#code-slides">code slides</a>.</p>
Expand Down
7 changes: 4 additions & 3 deletions user-guide.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ mdpre Markdown Preprocessor v0.6.5 (17 February, 2023)
Def mdpre_date = 17 February, 2023
Def mdpre_level = 0.6.5
Def userid = martinpacker
Def time = 12&colon;58
Def date = 3 March&comma; 2023
Def time = 17&colon;42
Def date = 14 March&comma; 2023
Def TOC = Table Of Contents
Def md = Markdown
Def pp = Powerpoint
Expand Down Expand Up @@ -84,13 +84,14 @@ CSV Stop
..... ..... Specifying Metadata
..... ..... ..... Processing Summary
..... ..... Metadata Keys
..... ..... ..... Title And Subtitle Font Sizes
..... ..... ..... Title And Subtitle Font Sizes And Alignment
..... ..... ..... ..... Page Title Size - `pageTitleSize`
..... ..... ..... ..... Page Subtitle Size - `pageSubtitleSize`
..... ..... ..... ..... Section Title Size - `sectionTitleSize`
..... ..... ..... ..... Section Subtitle Size - `sectionSubtitleSize`
..... ..... ..... ..... Presentation Title Size - `presTitleSize`
..... ..... ..... ..... Presentation Subtitle Size - `presSubtitleSize`
..... ..... ..... ..... Page Title Alignment `pagetitlealign`
..... ..... ..... Monospace Font - `monoFont`
..... ..... ..... Margin size - `marginBase` and `tableMargin`
..... ..... ..... Controlling Adjusting Title Positions And Sizes - `AdjustTitles`
Expand Down
28 changes: 25 additions & 3 deletions user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,14 @@ In this document we'll refer to it as "md2pptx", pronounced "em dee to pee pee t
* [Specifying Metadata](#specifying-metadata)
* [Processing Summary](#processing-summary)
* [Metadata Keys](#metadata-keys)
* [Title And Subtitle Font Sizes](#title-and-subtitle-font-sizes)
* [Title And Subtitle Font Sizes And Alignment](#title-and-subtitle-font-sizes-and-alignment)
* [Page Title Size - `pageTitleSize`](#page-title-size-pagetitlesize)
* [Page Subtitle Size - `pageSubtitleSize`](#page-subtitle-size-pagesubtitlesize)
* [Section Title Size - `sectionTitleSize`](#section-title-size-sectiontitlesize)
* [Section Subtitle Size - `sectionSubtitleSize`](#section-subtitle-size-sectionsubtitlesize)
* [Presentation Title Size - `presTitleSize`](#presentation-title-size-prestitlesize)
* [Presentation Subtitle Size - `presSubtitleSize`](#presentation-subtitle-size-pressubtitlesize)
* [Page Title Alignment `pagetitlealign`](#page-title-alignment-pagetitlealign)
* [Monospace Font - `monoFont`](#monospace-font-monofont)
* [Margin size - `marginBase` and `tableMargin`](#margin-size-marginbase-and-tablemargin)
* [Controlling Adjusting Title Positions And Sizes - `AdjustTitles`](#controlling-adjusting-title-positions-and-sizes-adjusttitles)
Expand Down Expand Up @@ -311,7 +312,8 @@ To quote from the python-pptx license statement:

|Level|Date|What|
|:-|-:|:-|
|3.5.1+|3&nbsp;March&nbsp;2023|[`pageSubtitleSize`](#page-subtitle-size-pagesubtitlesize) supports `same` meaning "same font size as first line".|
|3.5.2|14&nbsp;March&nbsp;2023|Added [`pageTitleAlign`](#page-title-alignment-pagetitlealign) - for content page title alignment.|
|3.5.1|3&nbsp;March&nbsp;2023|[`pageSubtitleSize`](#page-subtitle-size-pagesubtitlesize) supports `same` meaning "same font size as first line".|
|3.5.1|25&nbsp;February&nbsp;2023|Added support for separately scaling second and subsequent slide title lines - with [`pageSubtitleSize`](#page-subtitle-size-pagesubtitlesize).|
|3.5|18&nbsp;February&nbsp;2023|Added support for GraphViz .dot file rendering within triple backticks|
|3.4.1|23&nbsp;October&nbsp;2022|Added support for a few more [slide transitions](#slide-transitions-transition): `wipe`&comma; `vortex`&comma; `fracture`&comma; `split`&comma; and `push`.|
Expand Down Expand Up @@ -1516,10 +1518,12 @@ As described in [Creating Slides](#creating-slides), md2pptx will populate the f

The following sections describe each of the metadata keys.

#### Title And Subtitle Font Sizes
#### Title And Subtitle Font Sizes And Alignment

You can change the font sizes for titles and subtitles throughout the presentation.

You can change the alignment for titles of content slides.

##### Page Title Size - `pageTitleSize`
<a id="page-title-size-pagetitlesize"></a>

Expand Down Expand Up @@ -1558,6 +1562,7 @@ You can override this value on a slide-by-slide basis with [Dynamic PageSubtitle
1. When a title spills onto another line that is not treated as a new title line.
1. You can specify `same` and it will match the [`pageTitleSize`](#page-title-size-pagetitlesize) value.


##### Section Title Size - `sectionTitleSize`
<a id="section-title-size-sectiontitlesize"></a>

Expand Down Expand Up @@ -1606,6 +1611,23 @@ Example:

The default is 28 points.

##### Page Title Alignment `pagetitlealign`
<a id="page-title-alignment-pagetitlealign"></a>

You can change the horizontal alignment of content pages using `pageTitleAlign`. Alignment can be:

* Left - with `left` or `l`
* Right - with `right` or `r`
* Center - with `center`, `centre` or `c`

The default is `left`.

Example:

pageTitleAlign: center

centres content page titles.

#### Monospace Font - `monoFont`
<a id="monospace-font-monofont"></a>

Expand Down
26 changes: 24 additions & 2 deletions user-guide.mdp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ To quote from the python-pptx license statement:
=colalign l r l
=csv
Level,Date,What
3.5.1+,3&nbsp;March&nbsp;2023,[`pageSubtitleSize`](#page-subtitle-size-pagesubtitlesize) supports `same` meaning "same font size as first line".
3.5.2,14&nbsp;March&nbsp;2023,Added [`pageTitleAlign`](#page-title-alignment-pagetitlealign) - for content page title alignment.
3.5.1,3&nbsp;March&nbsp;2023,[`pageSubtitleSize`](#page-subtitle-size-pagesubtitlesize) supports `same` meaning "same font size as first line".
3.5.1,25&nbsp;February&nbsp;2023,Added support for separately scaling second and subsequent slide title lines - with [`pageSubtitleSize`](#page-subtitle-size-pagesubtitlesize).
3.5,18&nbsp;February&nbsp;2023,Added support for GraphViz .dot file rendering within triple backticks
3.4.1,23&nbsp;October&nbsp;2022,Added support for a few more [slide transitions](#slide-transitions-transition): `wipe`&comma; `vortex`&comma; `fracture`&comma; `split`&comma; and `push`.
Expand Down Expand Up @@ -1509,10 +1510,12 @@ The one type of item that won't be removed is any Action Buttons. See [Sample Ma

The following sections describe each of the metadata keys.

#### Title And Subtitle Font Sizes
#### Title And Subtitle Font Sizes And Alignment

You can change the font sizes for titles and subtitles throughout the presentation.

You can change the alignment for titles of content slides.

##### Page Title Size - `pageTitleSize`
<a id="page-title-size-pagetitlesize"></a>

Expand Down Expand Up @@ -1553,6 +1556,7 @@ You can override this value on a slide-by-slide basis with [Dynamic PageSubtitle
1. When a title spills onto another line that is not treated as a new title line.
1. You can specify `same` and it will match the [`pageTitleSize`](#page-title-size-pagetitlesize) value.


##### Section Title Size - `sectionTitleSize`
<a id="section-title-size-sectiontitlesize"></a>

Expand Down Expand Up @@ -1605,6 +1609,24 @@ Example:

The default is 28 points.

##### Page Title Alignment `pagetitlealign`
<a id="page-title-alignment-pagetitlealign"></a>

You can change the horizontal alignment of content pages using `pageTitleAlign`. \
Alignment can be:

* Left - with `left` or `l`
* Right - with `right` or `r`
* Center - with `center`, `centre` or `c`

The default is `left`.

Example:

pageTitleAlign: center

centres content page titles.

#### Monospace Font - `monoFont`
<a id="monospace-font-monofont"></a>

Expand Down

0 comments on commit feb8971

Please sign in to comment.