package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.4.tbz
sha512=665735c8b7a8674201be765bdd676a18d1e38eff35de9d44c3dc15e2bfed2247e8963c9a32ae62d9ca2d6cd1edebd849aac29fdd5a846c14a30feea3edfc0601
doc/b0_b00_kit/B00_pdf_viewer/index.html
Module B00_pdf_viewer
PDF viewer interaction.
Environment variables
module Env : sig ... end
Environment variables.
Show PDFs
val find :
?search:B00_std.Fpath.t list ->
pdf_viewer:B00_std.Cmd.t option ->
unit ->
(t option, string) Stdlib.result
find ~search ~pdf_viewer
tries to find a PDF viewer in a platform dependent way.
val show : t option -> B00_std.Fpath.t -> (unit, string) Stdlib.result
show pdf_viewer file
shows PDF file using the viewer pdf_viewer
(if None
an error message is returned mentioning no viewer was found).
Cli interaction
val pdf_viewer :
?docs:string ->
?opts:string list ->
unit ->
B00_std.Cmd.t option Cmdliner.Term.t
pdf_viewer ~docs ~opts ()
is an option and PDFVIEWER
environment variable to use with pdf_viewer
argument of find
. opts
are the cli options and default to "pdf-viewer"
. docs
is the documentation section where the option gets documented.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page