Skip to content

Setting vertical marks #1741

Answered by Omikhleia
alerque asked this question in Q&A
Discussion options

You must be logged in to vote

A new version (with the latest "parbox.sile" module at this date), better for two reasons at least:

  • Avoids the box stealing trick
  • Properly handles footnotes
\begin[papersize=a6,class=book]{document}
\neverindent
\nofolios
\use[module=packages.parbox]
\use[module=packages.image]
\font[family=Libertinus Serif,size=12]

\lua{
-- DOH, we cannot use SILE.registerCommand here without deprecation warning
-- so we have to retrieve the class instance with this long-winded way
local class = SILE.documentState.documentClass 

-- DOH "\use" above doesn't seem to load the package into the class:
-- local pboxer = class.packages.parbox -- NOPE!
local pboxer = SILE.require("packages.parbox") -- ERM, w…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

alerque
Nov 1, 2016
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Omikhleia
Comment options

alerque
Feb 15, 2023
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Ask for advice or investigate solutions
3 participants
Converted from issue

This discussion was converted from issue #318 on March 26, 2023 09:16.