Open thblt opened 4 years ago
outshine--minor-mode-activate
from (outshine-set-outline-regexp-base)
to the end of the function makes outshine work with LaTeXSolution: provide a secondary outshine mode, like outshine-respectful-mode
or something, that doesn't try to compute the heading regexp. This can be done with a variable provided this variable gets set before outshine-mode
is called.
Solution: provide a secondary outshine mode, like
outshine-respectful-mode
or something, that doesn't try to compute the heading regexp. This can be done with a variable provided this variable gets set beforeoutshine-mode
is called.
I like the sound of that!
Hi @thblt , indeed I just started the LaTeX infrastructure when new professional opportunities turned my focus completely away from Emacs. So whats there cannot be more than some skeletons for some initial ideas wrt to LaTeX.
All those modes that define headlines themselves (Latex , html, ...) don't play too well with outshine I think. Its like "marking a headline as a headline" somehow.
outshine-respectful-mode sounds like a nice idea.
Continuing #85 here.
So outshine-cycle wont work till this is fixed. Is there a quick fix which I can incorporate in my config so that 'outshine-cycle' work in latex. I just need this function, nothing else from outshine-latex features.
I resolved it, please check https://github.com/alphapapa/outshine/issues/85#issuecomment-812295359
This is probably related to #63 . Outshine has a lot of infrastructure to support LaTeX editing, but it seems this infrastructure is totally isolated from the main code.
outshine-get-latex-documentclass
function (inoutshine-org-cmds.el
for some reason) that tries to determine the document's class but assumes the\documentclass
is in the current buffer, which won't play well with AucTex's master document feature, and more generally the common LaTeX pattern to have a source file per chapter or so.This issue is just a reminder for now.