Export project PDFs through route-D when selected
This commit is contained in:
1 parent
21cc743236
commit
c3277531d3
4 files changed
+25
-2
No files matched your search
+1
-1
@@ -124,7 +124,7 @@ pub fn preview_json(source: &str) -> Result<String, String> {
|
||||
|
||||
/// Render the same checkpointed document as a route-D PDF.
|
||||
pub fn pdf_bytes(source: &str) -> Result<Vec<u8>, String> {
|
||||
let paragraphs = paragraphs(source)?;
|
||||
let paragraphs = paragraphs(latex_body(source))?;
|
||||
let document = build_document(¶graphs);
|
||||
let engine = Engine::layout(&document);
|
||||
let pages: Vec<_> = engine
|
||||
|
||||
Reference in new issue
Block a user