hyper-literate/collects/scribble/latex-properties.rkt
Matthew Flatt 9650c4767b scribble/*-properties: allow literal bytes in *-additions
For example, a `tex-addition' structure can have literal bytes
to include in the generated Latex, instead of a path to a file that
holds the content.

original commit: 2b9f57b01d55a39a70f0d0df22bc97b1874727ea
2012-07-06 13:17:35 -06:00

10 lines
469 B
Racket

#lang scheme/base
(require "private/provide-structs.rkt"
racket/contract/base)
(provide-structs
[tex-addition ([path (or/c path-string? (cons/c 'collects (listof bytes?)) bytes?)])]
[latex-defaults ([prefix (or/c bytes? path-string? (cons/c 'collects (listof bytes?)))]
[style (or/c bytes? path-string? (cons/c 'collects (listof bytes?)))]
[extra-files (listof (or/c path-string? (cons/c 'collects (listof bytes?))))])])