You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally I found a somewhat short MWE that doesn't require any of my modules.
Consider:
(The text is a nonsensical pseudo-injoke devoid of context.)
nondet.sil
\begin{document}
\script[src=packages/rebox]
\script[src=packages/raiselower]
\script{
local inputfilter = SILE.require("packages/inputfilter").exports
-- not done elsewhere so it doesn't mess up arguments to other commands
local function dblquotes(input, content)
return input:gsub('%"', '”')
end -- "Handle double quotes"
SILE.registerCommand("texmode", function(options, content)
local output = [[\rebox[height=0,width=0,depth=0]{\lower[height=72pt]{{Tinatawag nilá akón͠g ``magandá'' dahil ang akin͠g }{\em{ĉapelo}}{ ay nasa taman͠g lugár.}}}
\rebox[height=0,width=0,depth=0]{\lower[height=72pt - 1.25em]{Sa totoó lang, pan͠g{}unahin͠g kagandahan͠g{-}ásal sa m͠ga titik magsuót n͠g \em{ĉapelaĵoj} ganitó.}}
\rebox[height=0,width=0,depth=0]{\lower[height=72pt - 2.50em]{An͠g m͠ga titik na hindi, sila'y hindi edukado lan͠g pô kasí.}}]]
local tree = SILE.inputs.TeXlike.docToTree('\\begin{document}'..output..'\\end{document}')
SILE.process(inputfilter.transformContent(tree, dblquotes))
end)
local newline = function(_, content)
SILE.settings.temporarily(function()
SILE.settings.set("typesetter.parseppattern", "\n")
SILE.doTexlike(" \n\\skip[height=0em]")
end)
end
SILE.registerCommand("newline", newline)
SILE.registerCommand("\\", newline)
}
\font[family=Gentium Plus]
ĥ:
\texmode\end{document}
Sometimes the output is:
Other times:
Notice how the word ''ĉapelaĵoj" moves about. Nothing changes in the document between invocations.
I do not know how to debug this. Help would be appreciated.
The text was updated successfully, but these errors were encountered:
Finally I found a somewhat short MWE that doesn't require any of my modules.
Consider:
(The text is a nonsensical pseudo-injoke devoid of context.)
nondet.sil
Sometimes the output is:
Other times:
Notice how the word ''ĉapelaĵoj" moves about. Nothing changes in the document between invocations.
I do not know how to debug this. Help would be appreciated.
The text was updated successfully, but these errors were encountered: