package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.std/B0_pdf_viewer/index.html

Module B0_pdf_viewerSource

PDF viewer interaction.

Show PDFs

Sourcetype t

The type PDF viewers.

Sourceval find : ?search:B0_std.Cmd.tool_search -> ?cmd:B0_std.Cmd.t -> unit -> (t, string) result

find ?search ~pdf_viewer tries to find a PDF viewer in a platform dependent way using Os.Cmd.find ?search.

Sourceval show : t -> B0_std.Fpath.t -> (unit, string) result

show pdf_viewer file shows PDF file using pdf_viewer.

Cli interface

Sourcemodule Env : sig ... end

Environment variables.

Sourceval pdf_viewer : ?docs:string -> ?opts:string list -> unit -> B0_std.Cmd.t option Cmdliner.Term.t

pdf_viewer ~docs ~opts () is an option and Env.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.