| Copyright | (C) Frank Staals |
|---|---|
| License | see the LICENSE file |
| Maintainer | Frank Staals |
| Safe Haskell | None |
| Language | GHC2024 |
Ipe.IpeToIpe
Description
Use ipetoipe to generate pdf files.
Note that all functions in this module require that ipetoipe is
installed (it is bundled with ipe) and available on the path.
Synopsis
- ipeToIpeWith :: Options -> FileType -> OsPath -> OsPath -> IO ()
- ipeToIpe :: FileType -> OsPath -> OsPath -> IO ()
- writeIpeFileAsPdf :: IpeWriteText r => OsPath -> IpeFile r -> IO ()
- data FileType
- data Export
- type PageNumber = Int
- type ViewNumber = Int
- data MarkedView
- data NoZip
- data PageRange
- data Options = Options {
- export :: Export
- pages :: PageRange
- singleView :: Maybe (PageNumber, ViewNumber)
- markedView :: MarkedView
- runLatex :: Bool
- nozip :: NoZip
- defaultOptions :: Options
Documentation
Arguments
| :: Options | the options to use |
| -> FileType | output file type |
| -> OsPath | input file path |
| -> OsPath | output file path |
| -> IO () |
Call ipetoipe to produce an image of the specified type.
writeIpeFileAsPdf :: IpeWriteText r => OsPath -> IpeFile r -> IO () Source #
Write an ipe file to disk as an ipe readable pdf file.
Note that like all other functions in this module, this requires
ipetoipe to be installed (it is bundled with ipe) and available
on the path.
Note this will write soem intermediate file to your system temp dir.
Instances
| Finitary FileType Source # | |||||
Defined in Ipe.IpeToIpe Associated Types
| |||||
| Generic FileType Source # | |||||
Defined in Ipe.IpeToIpe | |||||
| Show FileType Source # | |||||
| Eq FileType Source # | |||||
| type Cardinality FileType Source # | |||||
Defined in Ipe.IpeToIpe | |||||
| type Rep FileType Source # | |||||
Constructors
| RetainIpeInfo | |
| Export |
Instances
| Finitary Export Source # | |||||
Defined in Ipe.IpeToIpe Associated Types
| |||||
| Generic Export Source # | |||||
Defined in Ipe.IpeToIpe | |||||
| Show Export Source # | |||||
| Eq Export Source # | |||||
| type Cardinality Export Source # | |||||
Defined in Ipe.IpeToIpe | |||||
| type Rep Export Source # | |||||
type PageNumber = Int Source #
type ViewNumber = Int Source #
data MarkedView Source #
Constructors
| All | |
| OnlyMarkedViews |
Instances
| Finitary MarkedView Source # | |||||
Defined in Ipe.IpeToIpe Associated Types
Methods fromFinite :: Finite (Cardinality MarkedView) -> MarkedView Source # toFinite :: MarkedView -> Finite (Cardinality MarkedView) Source # start :: MarkedView Source # end :: MarkedView Source # previous :: MarkedView -> Maybe MarkedView Source # next :: MarkedView -> Maybe MarkedView Source # | |||||
| Generic MarkedView Source # | |||||
Defined in Ipe.IpeToIpe Associated Types
| |||||
| Show MarkedView Source # | |||||
Defined in Ipe.IpeToIpe | |||||
| Eq MarkedView Source # | |||||
Defined in Ipe.IpeToIpe Methods (==) :: MarkedView -> MarkedView -> Bool Source # (/=) :: MarkedView -> MarkedView -> Bool Source # | |||||
| type Cardinality MarkedView Source # | |||||
Defined in Ipe.IpeToIpe | |||||
| type Rep MarkedView Source # | |||||
Instances
| Finitary NoZip Source # | |||||
Defined in Ipe.IpeToIpe Associated Types
| |||||
| Generic NoZip Source # | |||||
Defined in Ipe.IpeToIpe | |||||
| Show NoZip Source # | |||||
| Eq NoZip Source # | |||||
| type Cardinality NoZip Source # | |||||
Defined in Ipe.IpeToIpe | |||||
| type Rep NoZip Source # | |||||
Constructors
| EntireFile | |
| PageRange (ClosedInterval PageNumber) |
Constructors
| Options | |
Fields
| |