https://wiki.contextgarden.net/index.php?title=Command/showprint&feed=atom&action=history
Command/showprint - Revision history
2024-03-28T16:41:04Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://wiki.contextgarden.net/index.php?title=Command/showprint&diff=33273&oldid=prev
Taco at 15:56, 30 November 2021
2021-11-30T15:56:07Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 15:56, 30 November 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l22" >Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:description>Visualizes the combined effect of {{cmd|setuppapersize|2=[arg1][arg2]}} and {{cmd|setuplayout|2=[arg3]}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:description>Visualizes the combined effect of {{cmd|setuppapersize|2=[arg1][arg2]}} and {{cmd|setuplayout|2=[arg3]}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:description></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:description></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><cd:examples><cd:example title=""></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><cd:examples><cd:example title="<ins class="diffchange diffchange-inline">"><context source="yes</ins>"></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Output is too big to be useful on the wiki, but you could run something like this:</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">\showprint[][][nx=2,ny=2,location=middle]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"></context></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"></cd:example><cd:example title=""></ins>Output is too big to be useful on the wiki, but you could run something like this:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><texcode></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><texcode></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\setuppapersize[A3][A3]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\setuppapersize[A3][A3]</div></td></tr>
</table>
Taco
https://wiki.contextgarden.net/index.php?title=Command/showprint&diff=33272&oldid=prev
Taco at 15:53, 30 November 2021
2021-11-30T15:53:49Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 15:53, 30 November 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l22" >Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:description>Visualizes the combined effect of {{cmd|setuppapersize|2=[arg1][arg2]}} and {{cmd|setuplayout|2=[arg3]}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:description>Visualizes the combined effect of {{cmd|setuppapersize|2=[arg1][arg2]}} and {{cmd|setuplayout|2=[arg3]}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:description></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:description></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><cd:examples><cd:example title=""><<del class="diffchange diffchange-inline">context source="yes"</del>></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><cd:examples><cd:example title=""></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">Output is too big to be useful on the wiki, but you could run something like this:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><<ins class="diffchange diffchange-inline">texcode</ins>></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\setuppapersize[A3][A3]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\setuppapersize[A3][A3]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>\switchtobodyfont[<del class="diffchange diffchange-inline">5pt</del>]</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>\switchtobodyfont[<ins class="diffchange diffchange-inline">8pt</ins>]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\starttext</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\starttext</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l61" >Line 61:</td>
<td colspan="2" class="diff-lineno">Line 63:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\stopcombination</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\stopcombination</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\stoptext</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>\stoptext</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></<del class="diffchange diffchange-inline">context</del>></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></<ins class="diffchange diffchange-inline">texcode</ins>></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:example></cd:examples></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:example></cd:examples></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:notes></cd:notes></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:notes></cd:notes></div></td></tr>
</table>
Taco
https://wiki.contextgarden.net/index.php?title=Command/showprint&diff=33271&oldid=prev
Taco: Created page with "Documentation for \showprint"
2021-11-30T15:51:13Z
<p>Created page with "Documentation for \showprint"</p>
<p><b>New page</b></p><div><cd:commandgroup name="showprint" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"><br />
<cd:shortdesc>The command <tt>\showprint</tt> visualizes paper and layout arrangement options<br />
</cd:shortdesc><br />
<cd:variants><br />
<cd:command category="layout" file="page-run.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-layout.xml" level="document" name="showprint" variantnumber="1"><br />
<cd:arguments><br />
<cd:keywords list="yes" optional="yes" ordinal="1"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:inherit name="setuppapersize"></cd:inherit><br />
</cd:keywords><br />
<cd:keywords list="yes" optional="yes" ordinal="2"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:inherit name="setuppapersize"></cd:inherit><br />
</cd:keywords><br />
<cd:assignments list="yes" optional="yes" ordinal="3"><br />
<cd:assignmentsdoc></cd:assignmentsdoc><br />
<cd:inherit name="setuplayout"></cd:inherit><br />
</cd:assignments><br />
</cd:arguments><br />
</cd:command><br />
</cd:variants><br />
<cd:description>Visualizes the combined effect of {{cmd|setuppapersize|2=[arg1][arg2]}} and {{cmd|setuplayout|2=[arg3]}}<br />
</cd:description><br />
<cd:examples><cd:example title=""><context source="yes"><br />
\setuppapersize[A3][A3]<br />
\switchtobodyfont[5pt]<br />
\starttext<br />
<br />
\startcombination[4*4]<br />
{\showprint} {\strut}<br />
{\showprint[][][location=middle]} {\type{location=middle}}<br />
{\showprint[][][location=middle,marking=on]} {\type{marking=on}\break\type{location=middle}}<br />
{\showprint[][][location=middle,marking=on,nx=2]} {\type{marking=on}\break\type{location=middle}\break\type{nx=2}}<br />
{\showprint[][][location=left]} {\type{location=left}}<br />
{\showprint[][][location=right]} {\type{location=right}}<br />
{\showprint[][][location={left,bottom}]} {\type{location={left,bottom}}}<br />
{\showprint[][][location={right,bottom}]} {\type{location={right,bottom}}}<br />
{\showprint[][][nx=2,ny=1]} {\type{nx=2,ny=1}}<br />
{\showprint[][][nx=1,ny=2]} {\type{nx=1,ny=2}}<br />
{\showprint[][][nx=2,ny=2]} {\type{nx=2,ny=2}}<br />
{\showprint[][][nx=2,ny=2,location=middle]} {\type{nx=2,ny=2}\break\type{location=middle}}<br />
{\showprint[][][backoffset=3pt]} {\type{backoffset=.5cm}}<br />
{\showprint[][][topoffset=3pt]} {\type{topoffset=.5cm}}<br />
{\showprint[][][scale=1.5]} {\type{scale=1.5}}<br />
{\showprint[][][scale=0.8]} {\type{scale=0.8}}<br />
\stopcombination<br />
<br />
\startcombination[3*4]<br />
{\showprint[landscape][] [location=middle]} {\type{landscape}}<br />
{\showprint[] [landscape][location=middle]} {\strut\break\type{landscape}}<br />
{\showprint[landscape][landscape][location=middle]} {\type{landscape}\break\type{landscape}}<br />
{\showprint[90] [] [location=middle]} {\type{90}}<br />
{\showprint[] [90] [location=middle]} {\strut\break\type{90}}<br />
{\showprint[90] [90] [location=middle]} {\type{90}\break\type{90}}<br />
{\showprint[180] [] [location=middle]} {\type{180}}<br />
{\showprint[] [180] [location=middle]} {\strut\break\type{180}}<br />
{\showprint[180] [180] [location=middle]} {\type{180}\break\type{180}}<br />
{\showprint[mirrored] [] [location=middle]} {\type{mirrored}}<br />
{\showprint[] [mirrored] [location=middle]} {\strut\break\type{mirrored}}<br />
{\showprint[mirrored] [mirrored] [location=middle]} {\type{mirrored}\break\type{mirrored}}<br />
\stopcombination<br />
\stoptext<br />
</context><br />
</cd:example></cd:examples><br />
<cd:notes></cd:notes><br />
<cd:seealso><br />
<cd:commandref name="definelayout" originator="system"></cd:commandref><br />
<cd:commandref name="definepapersize" originator="system"></cd:commandref><br />
<cd:commandref name="setuplayout" originator="system"></cd:commandref><br />
<cd:commandref name="setuppapersize" originator="system"></cd:commandref><br />
<cd:source file="page-run.mkiv" originator="system"></cd:source><br />
<cd:wikipage originator="system" page="Category:Layout"></cd:wikipage></cd:seealso><br />
</cd:commandgroup></div>
Taco