help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Orgmode + auctex + reftex + preview latex.


From: Alan Davis
Subject: Re: Orgmode + auctex + reftex + preview latex.
Date: Thu, 7 Jan 2021 14:06:03 -0800

I use Org-mode to convert (ie., export) org stuff into a LaTeX file,  Then
I edit that file using Emacs/AUCTeX.   The problem comes in when I have to
make edits, which for a larger text can be problematical.

I do include LaTeX bits in the org file, so some of the heavy lifting is
done by Org.   It's not as friendly as it could be for returning to the
editing part.   Still, once the file is in a LaTeX mode, I usually just
edit in Emacs/AUCTeX for the duration.

I would welcome any configuration that would make the back-and-forth
easier; however, it works great for me, at this point.   AUCTeX (or just
editing the *.tex file) works better for some cleanup, like placement of
images, or final table edits.

Good luck.

Alan Davis

On Fri, Jan 1, 2021 at 12:18 PM Partha Pratim Ghosh <
ghosh.parthapratim.unisa@gmail.com> wrote:

> Dear Hongyi,
>
> Please find attached my .emacs configuration.
>
> This is all that I need to use LaTeX in Org mode.
>
>
> Since I have now displayes the emcas init file, please allow me to
> re-iterate the problems that I face:
>
> 1. The same notes, if I want to export to html does not do so
>    effectively, since I use my personal .sty file, which is incorporated
>    for LaTeX export but does not suit for the hrml export. So, a macro from
>    my .sty file just gets typed as is in the html file. Also, Xypic codes
>    get transferred to actual images in LaTeX export, but in the html export
>    gets treated as a piece of code.
>
> 2. I have also problems with file links in the Org mode and it is not
>    recognised. However, hyperref recognises the http links or doi links.
>
>
> With my regards and all the very best wishes,
>
> partha
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > On Tue, Dec 29, 2020 at 5:34 PM Partha Pratim Ghosh
> > <ghosh.parthapratim.unisa@gmail.com> wrote:
> >>
> >> Dear All & Hongyi,
> >>
> >> I use AucTeX for my major LaTeX projects and Org mode for smaller ones
> >> as well as compiling reading notes et al. For such short and brief ones
> >> I find the Org mode LaTeX export to be very handy. I can share my
> >> configuration separately, if you are interested, and did not do so here
> >> fearing the mail/reply becoming too long and boring.
> >
> > Could you please share your configuration on github, so that people
> > here can try/discuss it more conveniently If they want to?
> >
> >>
> >> I have a few problems though:
> >>
> >> 1. The same notes, if I want to export to html does not do so
> >> effectively, since I use my personal .sty file, which is incorporated
> >> for LaTeX export but does not suit for the hrml export. So, a macro from
> >> my .sty file just gets typed as is in the html file. Also, Xypic codes
> >> get transferred to actual images in LaTeX export, but in the html export
> >> gets treated as a piece of code.
> >>
> >> 2. I have also problems with file links in the Org mode and it is not
> >> recognised. However, hyperref recognises the http links or doi links.
> >>
> >> I would be thankful if I could find some help here in solving the two
> >> problems above.
> >>
> >>
> >> With my regards and all the very best wishes,
> >>
> >> partha
> >>
> >> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> >>
> >> > On Mon, Dec 28, 2020 at 1:09 PM David Masterson
> >> > <dsmasterson92630@outlook.com> wrote:
> >> >>
> >> >> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> >> >>
> >> >> > Orgmode is powerful and great, but if I want to write latex from
> >> >> > within it, I also want to utilize the capabilities supplied by,
> e.g.,
> >> >> > auctex, reftex, preview latex and so on.
> >> >> >
> >> >> > Any hints/notes/comments for the co-operation and combination of
> these
> >> >> > tools will be highly appreciated.
> >> >>
> >> >> Haven't used it, but this is a problem that sounds like mmm-mode (on
> >> >> Melpa) is for,
> >> >
> >> > Thanks for your notes. I've filed an issue to the author of mmm-mode:
> >> > https://github.com/purcell/mmm-mode/issues/120.
> >> >
> >> > Regards
> >>
>
>

-- 

      "This ignorance about the limits of the earth's ability to absorb
       pollutants should be reason enough for caution in the release
       of polluting substances."
                   ---Meadows et al.   1972.  Limits to Growth
<https://www.dartmouth.edu/~library/digital/publishing/meadows/ltg/>.
(p. 81)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]