Giter VIP home page Giter VIP logo

atom-pandoc-pdf's Introduction

I am a Lecturer in Psychology at City, University of London, where I work on statistical data analysis methods for cognitive neuroscience and psychology, and teach about statistical methods and their implementation in Matlab, R, and Python. My background is in physics (nonlinear dynamics).

My repositories contain

I also use GitHub to publish a random collection of nerdy notes.

atom-pandoc-pdf's People

Contributors

allefeld avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

agustinottobre

atom-pandoc-pdf's Issues

Allow to configure the defaults file from YAML

Dear Carsten,

thank you very much for the code. I am playing currently with it to explore which workflow our office can use to improve the typesetting quality of our documents.

I am very happy to have learnt through this package of the existance of pandoc's new defaults option. While I can preconfigure defaults in ~/.config/pandoc/defaults, I still need to copy or symlink them to activate them for files I edit.

Couldn't this tool check if there is a defaults key in the YAML file and pass the value over to pandoc?

https://github.com/jonschlinkert/gray-matter could make the front matter available to your code.

Uncaught TypeError: _electron2.default.shell.openItem is not a function

Hi, I don't seem able to have a preview PDF as I could before. I don't know what happened...

Atom: 1.56.0 x64
Electron: 9.4.4
OS: macOS 11.3
Thrown From: pandoc-pdf package 0.1.2

Stack Trace

Uncaught TypeError: _electron2.default.shell.openItem is not a function

At /Users/maurizio/.atom/packages/pandoc-pdf/lib/pandoc-pdf-processor.js:117

TypeError: _electron2.default.shell.openItem is not a function
    at PandocPdfProcessor.showFiles (/packages/pandoc-pdf/lib/pandoc-pdf-processor.js:117:20)
    at /packages/pandoc-pdf/lib/pandoc-pdf-view.js:167:38)

Commands

  2x -6:32.7.0 markdown-preview-plus:toggle (ul.list-inline.tab-bar.inset-panel)
  2x -6:06.9.0 pandoc-pdf:process (input.hidden-input)
     -4:36.4.0 markdown-preview-plus:toggle (input.hidden-input)
  2x -4:21.6.0 pandoc-pdf:process (input.hidden-input)

Non-Core Packages

autocomplete-bibtex 1.2.10 
file-type-icons 1.3.4 
language-markdown 0.37.0 
latex-completions 0.3.6 
markdown-image-assistant 0.2.2 
markdown-preview-plus 4.9.3 
markdown-table-editor 1.1.3 
pandoc-pdf 0.1.2 
pdf-view 0.72.0 
wordcount 3.2.0 
x-terminal 13.0.3 
zotero-citations 5.2.0 

Improve performance of pandoc in consecutive runs

I wonder if the rendering can be carried out faster after the initial run of pandoc, if latexmk would be configured to reuse the last temporary file folder.

So I tried to overwrite the output directory of latexmk (last definition holds):

pdf-engine-opts:
- "-xelatex"
- "-output-directory=cache"

I have the impression that consecutive updates on save require only 2 instead of 4 or 5 runs. Couldn't Pandoc/PDF configure such a directory that is auto deleted when the respective tab is closed? Maybe this can be made configurable in the Pandoc/PDF settings.

Adding the pandoc-xnos filter

Hi,
Nice pakage.
I am laso using xnos filters, so I just change the code a little:

`
case 'Latexmk + XeLaTeX':

    args.push('--pdf-engine=latexmk')
   args.push('--pdf-engine-opt=-pdfxe')
    args.push('--pdf-engine-opt=-output-directory=' + this.tempDir)
    args.push('--filter=pandoc-xnos')
    args.push('--citeproc')
    break

`
Maybe you can also add this option to this package

Problem saving the generated pdf

Hi !
I'm having issues saving the generated pdf. When I click on "Save generated pdf" it opens my file manager, enabling me to save it, but it does not save it (I cannot find it where I wanted it to be saved).
Let me know if I can bring you further informations.

By the way, it would be nice if we could choose to automatically have the generated pdf saved in our directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.