Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Is pandoc hosted anywhere for online use with complete functionality? The online pandoc demo lacks PDF output and has a character limit.
Specifically, I'd to convert Markdown to PDF with embedded LaTeX, which offline pandoc does.
I've wrapped Pandoc in a web service. You can try it here https://github.com/mrded/pandoc-as-a-service
Usage:
curl -H "Content-Type: text/markdown" -X POST -d "# hello" http://localhost/html
Yes, on Authorea you can write Markdown, LaTeX (as well as rich text) and convert your content to PDF, Word, or LaTeX. The conversion is performed via an underlying Pandoc process.
If you are OK with the workflow pandoc<->latex->PDF, an alternative is sharelatex. It's open source and can be self-hosted.
Docverter is basically Pandoc as a service.
Yes, on SageMathCloud.
The downside is that you have to create an account to use it.
Once logged in, create a project or open the project in which you want to work.
Create your markdown file file.md. Fill it up with text. Open a terminal and write your pandoc incantation, for example
pandoc file.md -o file.pdf
Push Enter, then go back to fileview and you'll view your converted pdf there.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I've been trying to open Ruby source code on my Windows machine but a black box appear for less than a second and then close without showing anything, I've tried to open it with "command prompt with ruby" using File.open method but it keeps showing an error:
File.open is not recognized as an internal or external command, operable program or batch file.
You just need to use command type.
C:\> type ruby_program.rb
Just go into the directory, where your .rb file lives. And then do as above.
Read this What is the Windows equivalent of the Unix command cat?.
normally you can use every normal text editor, like notepad or ultra edit.
But the source can be encrypted, then you will see many bit's.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
while trying to convert my ipynb to html I get no LaTeX math from the markdown cells rendered. The final HTML contains original LaTeX notation instead. The notebook renders well using the ipython web based editor, however the export to HTML not.
Do I do something wrong?
Hmm, it seems a link to mathjax was broken in template (and so in the generated html), this fixes it: https://github.com/ipython/ipython/pull/6395
I'm expanding over #lukas's answer in that his link points to a page with pertinent info, but too much info. This link here is more to the point.
For the impatient, change all occurrences of 'c328740.ssl.cf1.rackcdn.com' into 'cdn.mathjax.org', so:
ipython nbconvert --to html nb.ipynb nb.html
sed 's|c328740.ssl.cf1.rackcdn.com|cdn.mathjax.org|g' nb.html > fixed.html
will do.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to format my book for a Kindle 3. I'm writing the book using LaTeX. I am ok with transferring the file in PDF format but I need it formatted to be small.
I have tried:
\documentclass[12pt,b7paper]{book}
\usepackage[top=0.5cm, bottom=0.5cm, left=0.5cm, right=0.5cm]{geometry}
But this is too small. I have also tried something like:
\usepackage[paperwidth=9cm, paperheight=12cm, top=1cm, left=1cm, right=1cm, bottom=1.5cm, includefoot]{geometry}
But that doesn't work well either. Has anyone found a good way to format a LaTeX PDF for the Kindle? (Not the big DX version.)
This works well. I found it important to remove paper size from the dvips command. Forgetting to adjust that setting through me off for a while.
\documentclass[12pt]{book}
\usepackage[paperwidth=9cm, paperheight=12cm, top=0.5cm, bottom=0.5cm, left=0.0cm, right=0.5cm]{geometry}
\special{papersize=9cm,12cm}
Why don't you convert the LaTeX to HTML and create a Mobipocket document from that? That way, the Kindle will be able to reflow the document, which it cannot do if you load it in PDF form.
This may be much more than you need, but it's worth pointing out that there's a much more comprehensive answer over on tex.stackexchange
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have tried texmaker, and it has built-in "intellisense" autocompletion, but it fails to find most of the packages because it seems it only recognizes the most basic latex commands.
Do you know any intellisense editor with a good base of commands, or better yet an editor that dynamically extracts syntax from yourinstalled packages?
thanx!
Have a look at KILE or TEXMAKER.
The new Inlage Version just got an awesome autocompletion feature.
Features:
Automatic resolving for all available LaTeX packages from the MikTeX list
Autocompletion with descriptions for ~600 LaTeX commands
Autocompletion with descriptions for 30 environments
Autocompletion with descriptions for commented user commands
Reference list for labels
nice Icons for all symbols
More information here:
http://www.inlage.com/news/?p=159
Perhaps try TeXworks, as you can easily add more terms to the autocomplete list.
Ok guys i think i got the answer.
TexnicCenter has a "import tex commands" which searches for syntax from installed packages and then adds them to auto completion. Sweet. I prefer more minimalistic editors such as texmaker, but i think i can live with texnic.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Unfortunately, I can't use rtf2latex2e because it says that DropUNIX "no longer supports the classic environment". I barely know what I'm doing otherwise, besides dropping my .rtf file onto the DropUNIX program.
What else can I use? I don't mind which type of file it is I'm converting to LaTeX (.doc would also be OK, as long as it keeps my formatting).
I am using Mac OS 10.5.8.
Open Office can. Download it.
See the fmtconv question on the UK TeX FAQ, or, more specifically, the page on Converters from PC Textprocessors to LaTeX - Overview, which is specifically about this question and has many many examples. This general list of word-processor filters may help too.
UnRTF claims to be able to convert RTF to LaTeX as well as other formats (e.g. HTML). It claims to support HTML best, so perhaps RTF->HTML->LaTeX (e.g. with html2latex) might work better. I haven't actually tried any of this though.
Make your rtf/doc document into docx, and convert it using docx2tex.
You need the System.IO.Packaging .NET class to get this to work, which is no problem if you are using Windows, and is in principle supported by Mono if you are not. If anyone has success doing this with Mono, I'd like to hear of your experiences: this didn't work a year or so ago, but their implementation of that class has improved since then.
I say more about the utility in an answer at tex.stackexchange. Suffice it to say that I consider this by far the cleanest, most Latex-friendly option out there.