package b0

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.