PDF : allow breaking a table on multiple page, corrected a few wrong or duplicate anchors (checked with Linkchecker), made titles more discernible

This commit is contained in:
MrHeadwar 2021-12-29 12:24:26 +01:00
parent b99f0aae8f
commit a3e38aa8e3
5 changed files with 44 additions and 40 deletions

View File

@ -74,7 +74,7 @@
<tr> <tr>
<th>Record mode</th> <th>Record mode</th>
<td>This option is only available for audio tracks and affects how it behaves <td>This option is only available for audio tracks and affects how it behaves
when recording. See <a href="@@track-types#trackmodes">Track Modes</a> for when recording. See <a href="@@track-modes">Track Modes</a> for
details.</td> details.</td>
</tr> </tr>
<tr> <tr>

View File

@ -7,7 +7,7 @@
<p> <p>
It is enabled by checking It is enabled by checking
<kbd class="option">Enable master-bus output gain control</kbd> in the <kbd class="option">Enable master-bus output gain control</kbd> in the
<a href="@@preferences#preferences-mixer">Preferences</a>. <a href="@@preferences#preferences-signal_flow">Preferences</a>.
The <a href="@@master-bus-strip">Master Bus strip</a> then shows a <kbd class="menu">LAN</kbd> The <a href="@@master-bus-strip">Master Bus strip</a> then shows a <kbd class="menu">LAN</kbd>
button to start the analysis, and a volume slider that is the global gain button to start the analysis, and a volume slider that is the global gain
that can be set either manually or by the loudness normalizer. that can be set either manually or by the loudness normalizer.

View File

@ -18,34 +18,34 @@
</p> </p>
<ul> <ul>
<li> <li>
<a href="#set-up">Control Surface Set</a> <a href="#osc_set-up">Control Surface Set</a>
</li> </li>
<li> <li>
<a href="#global">Master or Global messages</a> <a href="#osc_global">Master or Global messages</a>
</li> </li>
<li> <li>
<a href="#transport">Transport Control</a> <a href="#osc_transport">Transport Control</a>
</li> </li>
<li> <li>
<a href="#recording">Recording control</a> <a href="#osc_recording">Recording control</a>
</li> </li>
<li> <li>
<a href="#information">Transport Information</a> <a href="#osc_information">Transport Information</a>
</li> </li>
<li> <li>
<a href="#editing">Editing-related</a> <a href="#osc_editing">Editing-related</a>
</li> </li>
<li> <li>
<a href="#Master-strip">Master and Monitor strip control</a> <a href="#osc_Master-strip">Master and Monitor strip control</a>
</li> </li>
<li> <li>
<a href="#strips">Track specific operations</a> <a href="#osc_strips">Track specific operations</a>
</li> </li>
<li> <li>
<a href="#select">Selected Strip Operations</a> <a href="#osc_select">Selected Strip Operations</a>
</li> </li>
<li> <li>
<a href="#menu">Menu actions</a> <a href="#osc_menu">Menu actions</a>
</li> </li>
</ul> </ul>
<p> <p>
@ -82,7 +82,7 @@ here</em>"/&gt;</kbd>
OSC feedback In Ardour.</a> OSC feedback In Ardour.</a>
</p> </p>
<h2 id="set-up">Control Surface Set Up</h2> <h2 id="osc_set-up">Control Surface Set Up</h2>
<p> <p>
Control surface set up allows the controller to tell Ardour about its Control surface set up allows the controller to tell Ardour about its
@ -306,9 +306,9 @@ here</em>"/&gt;</kbd>
href="@@osc58-parameter-types"> href="@@osc58-parameter-types">
Parameter Types in OSC.</a> Parameter Types in OSC.</a>
</p> </p>
<h3 id="global">Master or Global messages</h3> <h3 id="osc_global">Master or Global messages</h3>
<h4 id="transport">Transport Control</h4> <h4 id="osc_transport">Transport Control</h4>
<table class="dl"> <table class="dl">
<tr><th><kbd class="osc">/transport_stop</kbd></th> <tr><th><kbd class="osc">/transport_stop</kbd></th>
<td>Stops a rolling transport</td></tr> <td>Stops a rolling transport</td></tr>
@ -376,7 +376,7 @@ here</em>"/&gt;</kbd>
OSC Jog Modes</a></td></tr> OSC Jog Modes</a></td></tr>
</table> </table>
<h4 id="recording">Recording control</h4> <h4 id="osc_recording">Recording control</h4>
<table class="dl"> <table class="dl">
<tr><th><kbd class="osc">/toggle_punch_in</kbd></th> <tr><th><kbd class="osc">/toggle_punch_in</kbd></th>
<td></td></tr> <td></td></tr>
@ -386,7 +386,7 @@ here</em>"/&gt;</kbd>
<td>Toggles master record enable</td></tr> <td>Toggles master record enable</td></tr>
</table> </table>
<h4 id="information">Transport Information</h4> <h4 id="osc_information">Transport Information</h4>
<table class="dl"> <table class="dl">
<tr><th><kbd class="osc">/transport_frame</kbd></th> <tr><th><kbd class="osc">/transport_frame</kbd></th>
<td>Ardour sends /transport_frame <em>current_frame</em></td></tr> <td>Ardour sends /transport_frame <em>current_frame</em></td></tr>
@ -396,7 +396,7 @@ here</em>"/&gt;</kbd>
<td>Ardour sends /record_enabled <em>recordenable_status</em></td></tr> <td>Ardour sends /record_enabled <em>recordenable_status</em></td></tr>
</table> </table>
<h4 id="editing">Editing-related</h4> <h4 id="osc_editing">Editing-related</h4>
<table class="dl"> <table class="dl">
<tr><th><kbd class="osc">/undo</kbd></th> <tr><th><kbd class="osc">/undo</kbd></th>
<td></td></tr> <td></td></tr>
@ -409,7 +409,7 @@ here</em>"/&gt;</kbd>
<td>Set session name to <em>new_name</em> (if new_name is legal and unique)</td></tr> <td>Set session name to <em>new_name</em> (if new_name is legal and unique)</td></tr>
</table> </table>
<h4 id="Master-strip">Master and Monitor strip control</h4> <h4 id="osc_Master-strip">Master and Monitor strip control</h4>
<table class="dl"> <table class="dl">
<tr><th><kbd class="osc">/master/gain <em>dB</em></kbd></th> <tr><th><kbd class="osc">/master/gain <em>dB</em></kbd></th>
<td>dB is a float indicating the desired gain in dB</td></tr> <td>dB is a float indicating the desired gain in dB</td></tr>
@ -439,7 +439,7 @@ here</em>"/&gt;</kbd>
<td>state is an int of 0 or 1 where 1 is mono mode</td></tr> <td>state is an int of 0 or 1 where 1 is mono mode</td></tr>
</table> </table>
<h3 id="strips">Track specific operations</h3> <h3 id="osc_strips">Track specific operations</h3>
<p> <p>
For each of the following, <em>ssid</em> is the Surface Strip ID for the track For each of the following, <em>ssid</em> is the Surface Strip ID for the track
</p> </p>
@ -476,7 +476,7 @@ here</em>"/&gt;</kbd>
<tr><th><kbd class="osc">/strip/spill <em>ssid</em></kbd></th> <tr><th><kbd class="osc">/strip/spill <em>ssid</em></kbd></th>
<td> Use strips this strip is grouped with or those that feed this bus <td> Use strips this strip is grouped with or those that feed this bus
(if this strip is a bus) or that this vca (if this is a VCA) controls. (if this strip is a bus) or that this vca (if this is a VCA) controls.
See <a href="#spill">Spill Strips</a> for more details</td></tr> See <a href="#osc_spill">Spill Strips</a> for more details</td></tr>
<tr><th><kbd class="osc">/strip/hide <em>ssid</em> <em>y/n</em></kbd></th> <tr><th><kbd class="osc">/strip/hide <em>ssid</em> <em>y/n</em></kbd></th>
<td>Where <em>y/n</em> = 1 hide this strip, 0 for show this track. <td>Where <em>y/n</em> = 1 hide this strip, 0 for show this track.
<a href="@@osc58-feedback-and-strip-types-values#hidden"> <a href="@@osc58-feedback-and-strip-types-values#hidden">
@ -485,7 +485,7 @@ here</em>"/&gt;</kbd>
<td>where <em>strip_name</em> is a string representing the desired name for the strip</td></tr> <td>where <em>strip_name</em> is a string representing the desired name for the strip</td></tr>
<tr><th><kbd class="osc">/strip/group <em>ssid</em> <em>group_name</em></kbd></th> <tr><th><kbd class="osc">/strip/group <em>ssid</em> <em>group_name</em></kbd></th>
<td>where <em>group_name</em> is a string representing the name of the group desired. <td>where <em>group_name</em> is a string representing the name of the group desired.
See <a href="#groups">groups</a> for more details</td></tr> See <a href="#osc_groups">groups</a> for more details</td></tr>
<tr><th><kbd class="osc">/strip/mute <em>ssid</em> <em>mute_st</em></kbd></th> <tr><th><kbd class="osc">/strip/mute <em>ssid</em> <em>mute_st</em></kbd></th>
<td>where <em>mute_st</em> is a bool/int representing the desired mute state of the track</td></tr> <td>where <em>mute_st</em> is a bool/int representing the desired mute state of the track</td></tr>
<tr><th><kbd class="osc">/strip/solo <em>ssid</em> <em>solo_st</em></kbd></th> <tr><th><kbd class="osc">/strip/solo <em>ssid</em> <em>solo_st</em></kbd></th>
@ -558,7 +558,7 @@ here</em>"/&gt;</kbd>
<tr><th><kbd class="osc">/strip/name <em>ssid</em> <em>name</em></kbd></th> <tr><th><kbd class="osc">/strip/name <em>ssid</em> <em>name</em></kbd></th>
<td>where <em>name</em> is a string for the desired name of the track</td></tr> <td>where <em>name</em> is a string for the desired name of the track</td></tr>
</table> </table>
<h3 id="select">Selected Strip Operations</h3> <h3 id="osc_select">Selected Strip Operations</h3>
<p> <p>
New for Ardour 5, A whole set of operations that work on the selected New for Ardour 5, A whole set of operations that work on the selected
or expanded strip. or expanded strip.
@ -611,7 +611,7 @@ here</em>"/&gt;</kbd>
<td>where <em>comment</em> is a string representing the desired comment for the strip</td></tr> <td>where <em>comment</em> is a string representing the desired comment for the strip</td></tr>
<tr><th><kbd class="osc">/select/group <em>group_name</em></kbd></th> <tr><th><kbd class="osc">/select/group <em>group_name</em></kbd></th>
<td>where <em>group_name</em> is a string representing the name of the group desired. <td>where <em>group_name</em> is a string representing the name of the group desired.
See <a href="#groups">groups</a> for more details</td></tr> See <a href="#osc_groups">groups</a> for more details</td></tr>
<tr><th><kbd class="osc">/select/group/enable <em>state</em></kbd></th> <tr><th><kbd class="osc">/select/group/enable <em>state</em></kbd></th>
<td>where <em>state</em> is an int representing the desired enable state <td>where <em>state</em> is an int representing the desired enable state
of the group the selected strip is a part of</td></tr> of the group the selected strip is a part of</td></tr>
@ -687,7 +687,7 @@ here</em>"/&gt;</kbd>
<tr><th><kbd class="osc">/select/spill</kbd></th> <tr><th><kbd class="osc">/select/spill</kbd></th>
<td> show only strips this strip is grouped with or <td> show only strips this strip is grouped with or
those that feed this bus or that this vca controls. those that feed this bus or that this vca controls.
See <a href="#spill">Spill Strips</a> for more details</td></tr> See <a href="#osc_spill">Spill Strips</a> for more details</td></tr>
<tr><th><kbd class="osc">/select/*/automation <em>mode</em></kbd></th> <tr><th><kbd class="osc">/select/*/automation <em>mode</em></kbd></th>
<td>where <em>mode</em> is an int ranging from 0 to 3 representing the desired automation mode for the control. <td>where <em>mode</em> is an int ranging from 0 to 3 representing the desired automation mode for the control.
<a href="@@osc58-automation">See OSC Automation.</a></td></tr> <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
@ -729,7 +729,7 @@ here</em>"/&gt;</kbd>
for page up and a switch with a value of <code>-1</code> for page down. An encoder for page up and a switch with a value of <code>-1</code> for page down. An encoder
can be used as well. (these commands were added in Ardour version 5.10) can be used as well. (these commands were added in Ardour version 5.10)
</p> </p>
<h4 id="groups">Using groups with strip and select (new for Ardour 6.0)</h4> <h4 id="osc_groups">Using groups with strip and select (new for Ardour 6.0)</h4>
<p class="note"> <p class="note">
No grouping will occure unless <code>use_group</code> is set either No grouping will occure unless <code>use_group</code> is set either
by using <kbd class="osc">/set_surface/strip_types</kbd> with the use groups bit set by using <kbd class="osc">/set_surface/strip_types</kbd> with the use groups bit set
@ -768,7 +768,7 @@ here</em>"/&gt;</kbd>
<p>To create a new group from a strip that is already joined to a group, <p>To create a new group from a strip that is already joined to a group,
the strip must first remove itself from the current group. the strip must first remove itself from the current group.
</p> </p>
<h4 id="spill">Spill Strips</h4> <h4 id="osc_spill">Spill Strips</h4>
<p><kbd class="osc">/select/spill</kbd> or <kbd class="osc">/strip/spill</kbd> <p><kbd class="osc">/select/spill</kbd> or <kbd class="osc">/strip/spill</kbd>
will:</p> will:</p>
<ul> <ul>
@ -807,7 +807,7 @@ here</em>"/&gt;</kbd>
<kbd class="osc">/strip/custom/mode <em>mode</em></kbd>. <kbd class="osc">/strip/custom/mode <em>mode</em></kbd>.
</p> </p>
<h3 id="menu">Menu actions</h3> <h3 id="osc_menu">Menu actions</h3>
<p> <p>
Every single menu item in Ardour's GUI is accessible via OSC. There is Every single menu item in Ardour's GUI is accessible via OSC. There is
a single common syntax to trigger the action as if it was selected a single common syntax to trigger the action as if it was selected

View File

@ -92,7 +92,7 @@
</ul> </ul>
<h2 id="mode_selector">The Master Level Meter</h2> <h2 id="tb_master_level_meter">The Master Level Meter</h2>
<figure> <figure>
<img alt="The Master Level Meter" src="/images/master-level-meter.png"> <img alt="The Master Level Meter" src="/images/master-level-meter.png">
@ -107,7 +107,7 @@
0dB. It can be reset by a <kbd class="mouse">Left</kbd> click. 0dB. It can be reset by a <kbd class="mouse">Left</kbd> click.
</p> </p>
<h2 id="mode_selector">Script/Shortcut buttons</h2> <h2 id="tb_script_buttons">Script/Shortcut buttons</h2>
<figure> <figure>
<img alt="The Script buttons" src="/images/script-buttons.png"> <img alt="The Script buttons" src="/images/script-buttons.png">

View File

@ -42,14 +42,12 @@ div.frontcover {
@page :right { @page :right {
@bottom-left { @bottom-left {
margin: 10pt 0 30pt 0; margin: 10pt 0 30pt 0;
/*border-top: .25pt solid #666;*/
content: "The Ardour Manual"; content: "The Ardour Manual";
font-size: 7pt; font-size: 7pt;
color: #333; color: #333;
} }
@bottom-right { @bottom-right {
margin: 10pt 0 30pt 0; margin: 10pt 0 30pt 0;
/*border-top: .25pt solid #666;*/
content: counter(page); content: counter(page);
font-size: 7pt; font-size: 7pt;
} }
@ -67,14 +65,12 @@ div.frontcover {
@page :left { @page :left {
@bottom-right { @bottom-right {
margin: 10pt 0 30pt 0; margin: 10pt 0 30pt 0;
/*border-top: .25pt solid #666;*/
content: "The Ardour Manual"; content: "The Ardour Manual";
font-size: 7pt; font-size: 7pt;
color: #333; color: #333;
} }
@bottom-left { @bottom-left {
margin: 10pt 0 30pt 0; margin: 10pt 0 30pt 0;
/*border-top: .25pt solid #666;*/
content: counter(page); content: counter(page);
font-size: 7pt; font-size: 7pt;
} }
@ -94,8 +90,7 @@ div.frontcover {
} }
body { body {
counter-reset: partnum chapternum subchapternum figurenum; /* resets all counters */ counter-reset: partnum chapternum subchapternum subsubchapternum figurenum; /* resets all counters */
/*font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;*/
font-size: 10pt; font-size: 10pt;
line-height: 1.25em; line-height: 1.25em;
@ -109,7 +104,6 @@ h1, h2 {
#toc::before { /* the ToC should not count...*/ #toc::before { /* the ToC should not count...*/
content: none; content: none;
counter-reset: partnum; counter-reset: partnum;
/*counter-increment: partnum -1;*/
} }
h1::before { /* parts */ h1::before { /* parts */
@ -127,14 +121,19 @@ h3::before { /* subchapter */
content: counter(chapternum) "." counter(subchapternum) " - " ; content: counter(chapternum) "." counter(subchapternum) " - " ;
} }
h4::before { /* subsubchapter */
counter-increment: subsubchapternum;
content: counter(chapternum) "." counter(subchapternum) "." counter(subsubchapternum) " - " ;
}
figcaption::before { figcaption::before {
counter-increment: figurenum; counter-increment: figurenum;
content: "Fig. " counter(chapternum) "." counter(figurenum) " - "; content: "Fig. " counter(chapternum) "." counter(figurenum) " - ";
} }
h1 { font-size: 3em; } h1 { font-size: 3em; }
h2 { font-size: 2.25em; counter-reset: subchapternum figurenum; } h2 { font-size: 2.25em; counter-reset: subchapternum subsubchapternum figurenum; }
h3 { font-size: 1.75em; } h3 { font-size: 1.75em; counter-reset: subsubchapternum; }
h4 { font-size: 1.4em; } h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; } h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; } h6 { font-size: 1.1em; }
@ -144,13 +143,18 @@ h1,h2,h3,h4,h5 {
page-break-after: avoid; page-break-after: avoid;
page-break-inside: avoid; page-break-inside: avoid;
line-height: 1.25em; line-height: 1.25em;
color: darkred;
} }
h1+p, h2+p, h3+p { h1+p, h2+p, h3+p {
page-break-before: avoid; page-break-before: avoid;
} }
table, figure { table {
clear: both;
}
figure {
page-break-inside: avoid; page-break-inside: avoid;
} }