diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-02-14 18:32:15 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-02-14 18:38:56 +0200 |
commit | 1072d934d5409398cca548125a5ab22a922d6038 (patch) | |
tree | 651f7de6aaf11a3cdf0040295647479f7b7a268f /src/bin/subplot.rs | |
parent | 69d025ab976d91b4074162eb20cc7861f25c231b (diff) | |
download | subplot-1072d934d5409398cca548125a5ab22a922d6038.tar.gz |
feat! drop support for producing PDF output
We may add this back later, but for now, it's not wanted.
Sponsored-by: author
Diffstat (limited to 'src/bin/subplot.rs')
-rw-r--r-- | src/bin/subplot.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/subplot.rs b/src/bin/subplot.rs index 7f51b5c..f4057d9 100644 --- a/src/bin/subplot.rs +++ b/src/bin/subplot.rs @@ -12,7 +12,6 @@ use time::{format_description::FormatItem, macros::format_description, OffsetDat use clap::{CommandFactory, FromArgMatches, Parser}; use std::convert::TryFrom; -use std::ffi::OsString; use std::fs::{self, write}; use std::io::Write; use std::path::{Path, PathBuf}; @@ -251,11 +250,7 @@ impl Docgen { } fn run(&self) -> Result<()> { - let mut style = Style::default(); - if self.output.extension() == Some(&OsString::from("pdf")) { - trace!("PDF output chosen"); - style.typeset_links_as_notes(); - } + let style = Style::default(); let mut doc = load_linted_doc(&self.input, style, self.template.as_deref(), self.merciful)?; let mut pandoc = pandoc::new(); |