Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Pandoc and Path #1

Open
johanchouquet opened this issue Feb 19, 2014 · 2 comments
Open

Problem with Pandoc and Path #1

johanchouquet opened this issue Feb 19, 2014 · 2 comments

Comments

@johanchouquet
Copy link

Hi,

I've install xelatex then pandoc with their latest versions. Then I installed md2pdf through npm, and there were 2 issues:

  • on windows 7, first, the path in md2pdf.sh was not set properly, pretty easy to correct to:
    pandoc --latex-engine=xelatex --template="${srcdir}/xetex.template" \
  • then, I encountered this, from pandoc apparently :

pandoc.exe: Error producing PDF from TeX source.
! LaTeX Error: File 'ctable.sty' not found.

```Type X to quit or <RETURN> to proceed,```
```or enter new name. (Default extension: sty)```

Enter file name:
! Emergency stop.
<read *>

```l.4 \usepackage```

What should I do to set things right ? Thanks !
@vzaccaria
Copy link
Owner

Install the latex package
ctable.styhttp://www.ctan.org/tex-archive/macros/latex/contrib/ctable.

If you have something similar to TexLive on Mac it should be
straightforward. Otherwise, you need to manually install it in the root
directory.

Cheers

Vittorio

On Wed, Feb 19, 2014 at 9:57 AM, dargoan notifications@github.com wrote:

Hi,

I've install xelatex then pandoc with their latest versions. Then I
installed md2pdf through npm, and there were 2 issues:

on windows 7, first, the path in md2pdf.sh was not set properly,
pretty easy to correct to:
pandoc --latex-engine=xelatex --template="${srcdir}/xetex.template" \

then, I encountered this, from pandoc apparently :

pandoc.exe: Error producing PDF from TeX source.
! LaTeX Error: File 'ctable.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.4 \usepackage

What should I do to set things right ? Thanks !

Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@johanchouquet
Copy link
Author

Hi, thanks.
Sorry, but what is the "root directory" you're talking about? I'm quite new to Tex stuff indeed....

On windows 7, I tried to install it, but this wouldn't work. Instead, I had:

$ inst grep: Invalid content of executable zip not found

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants