1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//!
//! Well, hello there.
//!
//! So this crate aims to provide convenient ways of programmatically generating a latex file.
//!
//! If you want to just convert from some other file format WITHOUT any processing, I recommend `pandoc`.
//!
//! I'll slowly and steadily begin adding more features, and my goal is to be able to cover most standard use-cases of Latex.
//! If you want any feature, raise an issue! I will see it, and while I may not reply (scatterbrained, much?) I will fix it.
//!
//! A shout-out to another crate, `tex-rs`. A few of the design choices I made are based on this crate.

/// Bunch of From<>s, they feel like they might be useful
pub mod casting;

/// Latex commands/macros. Haven't found this in any other crate.
pub mod commands;

/// Standard Latex things.
pub mod component;

/// Packages and the overall latex layout.
pub mod document;

/// Custom error type.
pub mod errors;

/// Really helpful stuff.
pub mod macros;

/// Ubiquitous.
pub mod traits;

pub mod label;

///
#[cfg(test)]
mod tests;

pub mod prelude {
    pub use crate::commands::*;
    pub use crate::component::*;
    pub use crate::document::*;
    pub use crate::errors::*;
    pub use crate::label::*;
    pub use crate::traits::*;

    // All the macros, again.
    pub use crate::{
        builtin, chapter, command, document, environment, frame, image, package, part, row,
        section, tabular, textchunk, unwrap, reference, label
    };
}