Questions tagged [polymode]

Polymode is an emacs package that offers generic support for multiple major modes inside a single emacs buffer.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
722 views

How to set PDF export in polymode-mode to use xelatex engine?

Consider the below MWE of .Rmd file containing Arabic text which needs xelatex engine to be rendered by pandoc. As the documentation of the latter says putting this option would make it: --latex-...
1
vote
0answers
18 views

Can we get inline results with polymode for Rmd files?

As a new Emacs user, I've recently learned how to use polymode to handle R code in org-mode. I'm happy with it, since I get the same features than those implemented for example in Rstudio for Rmd ...
1
vote
0answers
66 views

Missing RMarkdown templates with poly-R

I use the ess, polymode, and poly-R packages together to work with RMarkdown files. I have also installed the R packages rmarkdown and tufte in my R library. While these R packages provide ".Rmd" ...
1
vote
0answers
28 views

Polymode: customise buffer names

Polymode creates a distinct buffer for each mode involved. Some use really inconvenient names, where the mode part of the name is easily longer than the actual document name itself, e.g. foo.Rmd[poly-...
1
vote
0answers
68 views

Good way to match symmetric delimiters

I am trying to match $$ resp $ pairs to switch into latex-mode via polymode in a markdown file. $$ is the delimiter for displayed math in this case and $ for inline math. I know that this is not a ...
1
vote
0answers
53 views

Does SyncTeX work with Emacs polymode?

Specifically, I want to sync an Rnoweb (Rnw) source with a PDF opened in either Skim or Evince using polymode. Note that I have no problem weaving or exporting Rnw files and viewing PDFs with Skim. ...
1
vote
0answers
25 views

polymode with fsharp-mode has trouble sending last line in code block to interactive

I just started setting up polymode I got ESS and r going nicely with markdown. (use-package markdown-mode) (use-package polymode) (require 'poly-R) (require 'poly-markdown) I was able to put r code ...
0
votes
0answers
19 views

How to specify a pdf viewer for ess mode

I have set the variable ess-pdf-viewer-pref to "evince" But when I export any Rnw file using M-n e, instead of displaying the pdf in evince it is displayed inside Emacs. How can I stop Emacs ...
0
votes
0answers
15 views

Compile multiple Rnw files

If we divide our Rnw file into multiple files, is it possible to create the whole document using knitr and LaTeX in Emacs by pressing M-n e on a child file? I guess the process above should be ...
0
votes
0answers
17 views

Polymode changes from ESS-mode to Markdown-mode whenever I press enter

When I am editing .Rmd code within a polymode chunk, the mode switches from ESS to Markdown mode whenever I press enter. However, it switches back to ess-mode whenver I save the file. I will try ...
0
votes
0answers
22 views

How to ignore certain modes in polymode by flyspell?

This is smilar to How to make Flyspell ignore code blocks in Markdown? but I have jekyll-modes which is poly-mode with markdown and other languages to be used with jekyll files. I want to ignore ...