Skip to content

Commit

Permalink
docs(manual): Update REPL example with current length types (#2094)
Browse files Browse the repository at this point in the history
Co-authored-by: Omikhleia <didier.willis@gmail.com>
  • Loading branch information
alerque and Omikhleia committed Aug 24, 2024
1 parent 317a9ec commit d523356
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions documentation/c13-tricks.sil
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,11 @@ If you call SILE with no input file names, it enters the REPL:

\begin{autodoc:codeblock}
\sileversion
> \em{l = SILE.types.length.parse("22mm")}
> \em{l = SILE.types.length("22mm")}
> \em{l.length}
62.3622054
22mm
> \em{l.absolute()}
62.3622054pt
\end{autodoc:codeblock}

At any point during the evaluation of Lua commands, you can call \code{SILE.repl:enter()} to enter the REPL and poke around;
Expand Down

0 comments on commit d523356

Please sign in to comment.