* Export to LaTeX buffer @ 2018-03-12 13:12 Hoffmann, Jobst 2018-03-12 14:13 ` Nicolas Goaziou 0 siblings, 1 reply; 7+ messages in thread From: Hoffmann, Jobst @ 2018-03-12 13:12 UTC (permalink / raw) To: emacs-orgmode@gnu.org Hello to all users of this list, this is my first posting. The org-mode manual version Release 9.1.6 (release 9.1.6-567-gbb5e79) says on page 159, that export of an org file to a LaTeX buffer is doneby C-c C-e l L. This ends in a message "Autoloading failed to define function turn-on-orgstruct" A little bit of googling tells me, that "[O] [ANN] OrgStruct is dead. Long live Orgalist." So I can't go on with my usual work flow, but what should I do instead? Do I have to write an elisp function, which opens the file generated by C-c C-e l l and deletes all the document stuff surrounding the contents? I'm interested only in the bare (LaTeX-prepared) content, because I continue processing the the contents in my own environment. Any help is appreciated, thanks in advance Jobst -- Prof. Dr. Jobst Hoffmann Tel: +49 (2461) 99-31 59 Fachhochschule Aachen Abt. Jülich Fax: +49 (2461) 99-31 89 Fachbereich 3 email: j.hoffmann@fh-aachen.de ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Export to LaTeX buffer 2018-03-12 13:12 Export to LaTeX buffer Hoffmann, Jobst @ 2018-03-12 14:13 ` Nicolas Goaziou 2018-03-12 21:00 ` Samuel Wales [not found] ` <1520882537.2694.42.camel@fh-aachen.de> 0 siblings, 2 replies; 7+ messages in thread From: Nicolas Goaziou @ 2018-03-12 14:13 UTC (permalink / raw) To: Hoffmann, Jobst; +Cc: emacs-orgmode@gnu.org Hello, "Hoffmann, Jobst" <J.Hoffmann@fh-aachen.de> writes: > The org-mode manual version Release 9.1.6 (release 9.1.6-567-gbb5e79) > says on page 159, that export of an org file to a LaTeX buffer is doneby C-c C-e l L. > > This ends in a message > > "Autoloading failed to define function turn-on-orgstruct" > > A little bit of googling tells me, that "[O] [ANN] OrgStruct is dead. > Long live Orgalist." > > So I can't go on with my usual work flow, but what should I do instead? > Do I have to write an elisp function, which opens the file generated by > C-c C-e l l and deletes all the document stuff surrounding the contents? > I'm interested only in the bare (LaTeX-prepared) content, because I > continue processing the the contents in my own environment. This looks like a mixed installation. "turn-on-orgstruct" does not exist in master branch, which you seem to be using. I suggest making sure you properly load Org from the git repository instead of some other location. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Export to LaTeX buffer 2018-03-12 14:13 ` Nicolas Goaziou @ 2018-03-12 21:00 ` Samuel Wales [not found] ` <1520882537.2694.42.camel@fh-aachen.de> 1 sibling, 0 replies; 7+ messages in thread From: Samuel Wales @ 2018-03-12 21:00 UTC (permalink / raw) To: Nicolas Goaziou; +Cc: Hoffmann, Jobst, emacs-orgmode@gnu.org On 3/12/18, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > This looks like a mixed installation. "turn-on-orgstruct" does not exist > in master branch, which you seem to be using. > > I suggest making sure you properly load Org from the git repository > instead of some other location. in addition, i find it useful to have a single location for load-path. otherwise requires and autoloads can do strange things. -- The Kafka Pandemic: <http://thekafkapandemic.blogspot.com> The disease DOES progress. MANY people have died from it. And ANYBODY can get it at any time. "You’ve really gotta quit this and get moving, because this is murder by neglect." --- <http://www.meaction.net/2017/02/03/pwme-people-with-me-are-being-murdered-by-neglect>. ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <1520882537.2694.42.camel@fh-aachen.de>]
[parent not found: <87zi3d9ijs.fsf@nicolasgoaziou.fr>]
* Re: Export to LaTeX buffer [not found] ` <87zi3d9ijs.fsf@nicolasgoaziou.fr> @ 2018-03-13 15:29 ` Hoffmann, Jobst 2018-03-14 13:57 ` Nicolas Goaziou 0 siblings, 1 reply; 7+ messages in thread From: Hoffmann, Jobst @ 2018-03-13 15:29 UTC (permalink / raw) To: mail@nicolasgoaziou.fr; +Cc: emacs-orgmode@gnu.org Am Montag, den 12.03.2018, 20:53 +0100 schrieb Nicolas Goaziou: > "Hoffmann, Jobst" <J.Hoffmann@fh-aachen.de> writes: > > > I'm using Fedora with a packaged emacs and an .rpm package emacs- > > commons, which contains beside other packages that I use the org > > files > > in a directory org. > > > > On the load path there comes org from git first, if I open an .org > > file, > > "org-version" shows the current version number (Org mode version > > 9.1.7 > > (release_9.1.7-506-g0de818 @ /path/to/my/installation) but "org- > > latex- > > export-as-latex" still doesn't work, it ends with the above > > mentioned > > error message. > > > > Do you have any idea how to get around that behavior? > > Have you run "make" from the Org repository? It could fix autoloads. Yes, I even did a clean install: git clone and the commands as described in "Using Org’s git repository": CURR_DIR=$(pwd) # make test make make doc make refcard make config printf "Only root can do this...\n" sudo make --directory=${CURR_DIR} install This is what the installation process said: ========= Emacs executable and Installation paths EMACS = emacs DESTDIR = ORGCM = dirall ORG_MAKE_DOC = info html pdf lispdir = /usr/share/emacs/site-lisp/org infodir = /usr/share/info datadir = /usr/share/emacs/etc/org testdir = /tmp/tmp-orgtest ========= Additional files from contrib/lisp ========= Org version make: Org mode version 9.1.7 (release_9.1.7-516-gbc7b24.dirty => /usr/share/emacs/site-lisp/org) As there is no real error, I can't produce a backtrace, but I try to follow the call chain of the uncompiled files - at the moment without success. I'm quite desperated, do you have an idea? Best regards Jobst -- Prof. Dr. Jobst Hoffmann Tel: +49 (241) 6009-5 31 59 Fachhochschule Aachen Abt. Jülich Fax: +49 (241) 6009-5 31 89 Fachbereich 09 email: j.hoffmann@fh-aachen.de ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Export to LaTeX buffer 2018-03-13 15:29 ` Hoffmann, Jobst @ 2018-03-14 13:57 ` Nicolas Goaziou 2018-03-16 18:29 ` Hoffmann, Jobst 0 siblings, 1 reply; 7+ messages in thread From: Nicolas Goaziou @ 2018-03-14 13:57 UTC (permalink / raw) To: Hoffmann, Jobst; +Cc: emacs-orgmode@gnu.org "Hoffmann, Jobst" <J.Hoffmann@fh-aachen.de> writes: > make: Org mode version 9.1.7 (release_9.1.7-516-gbc7b24.dirty => ^^^^^ > /usr/share/emacs/site-lisp/org) Could your local changes interfere with the export process? > I'm quite desperated, do you have an idea? Not really. Regards, ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Export to LaTeX buffer 2018-03-14 13:57 ` Nicolas Goaziou @ 2018-03-16 18:29 ` Hoffmann, Jobst 2018-06-08 10:22 ` Export to LaTeX buffer (solved) Hoffmann, Jobst 0 siblings, 1 reply; 7+ messages in thread From: Hoffmann, Jobst @ 2018-03-16 18:29 UTC (permalink / raw) To: mail@nicolasgoaziou.fr; +Cc: emacs-orgmode@gnu.org Am Mittwoch, den 14.03.2018, 14:57 +0100 schrieb Nicolas Goaziou: > "Hoffmann, Jobst" <J.Hoffmann@fh-aachen.de> writes: > > > make: Org mode version 9.1.7 (release_9.1.7-516-gbc7b24.dirty => > > ^^^^^ > > /usr/share/emacs/site-lisp/org) > > Could your local changes interfere with the export process? No, these local changes are done to see the call chain. It ended up at line 6223, where post-process is called. This function is LaTeX-mode, which is defined as an alias for latex-mode. latex-mode is defined in tex-mode, but I don't have the sources. Anyway, this is the point where the shit happens. I got around by defining a small loaddef file, which provides the missing function. This ends up with an error, but the buffer which I need is generated and I can do my final steps on it. If you find a better solution, please let me know. > > > I'm quite desperated, do you have an idea? > > Not really. > > Regards, Best regards Jobst -- Prof. Dr. Jobst Hoffmann Tel: +49 (241) 6009-5 31 59 Fachhochschule Aachen Abt. Jülich Fax: +49 (241) 6009-5 31 89 Fachbereich 09 email: j.hoffmann@fh-aachen.de ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Export to LaTeX buffer (solved) 2018-03-16 18:29 ` Hoffmann, Jobst @ 2018-06-08 10:22 ` Hoffmann, Jobst 0 siblings, 0 replies; 7+ messages in thread From: Hoffmann, Jobst @ 2018-06-08 10:22 UTC (permalink / raw) To: emacs-orgmode@gnu.org Answering myself: just installed emacs 26.1 from Fedora 28 and the problem is gone! Am Freitag, den 16.03.2018, 18:29 +0000 schrieb Hoffmann, Jobst: > Am Mittwoch, den 14.03.2018, 14:57 +0100 schrieb Nicolas Goaziou: > > "Hoffmann, Jobst" <J.Hoffmann@fh-aachen.de> writes: > > > > > make: Org mode version 9.1.7 (release_9.1.7-516-gbc7b24.dirty => > > > > ^^^^^ > > > /usr/share/emacs/site-lisp/org) > > > > Could your local changes interfere with the export process? > > No, these local changes are done to see the call chain. It ended up > at > line 6223, where post-process is called. This function is LaTeX-mode, > which is defined as an alias for latex-mode. latex-mode is defined in > tex-mode, but I don't have the sources. Anyway, this is the point > where > the shit happens. > > I got around by defining a small loaddef file, which provides the > missing function. This ends up with an error, but the buffer which I > need is generated and I can do my final steps on it. > > If you find a better solution, please let me know. > > > > > > I'm quite desperated, do you have an idea? > > > > Not really. > > > > Regards, > > Best regards > Jobst > -- > Prof. Dr. Jobst Hoffmann Tel: +49 (241) 6009-5 31 59 > Fachhochschule Aachen Abt. Jülich Fax: +49 (241) 6009-5 31 89 > Fachbereich 09 email: j.hoffmann@fh-aachen.de -- Prof. Dr. Jobst Hoffmann Tel: +49 (241) 6009-5 31 59 Fachhochschule Aachen Abt. Jülich Fax: +49 (241) 6009-5 31 89 Fachbereich 09 email: j.hoffmann@fh-aachen.de ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-06-08 10:22 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-03-12 13:12 Export to LaTeX buffer Hoffmann, Jobst 2018-03-12 14:13 ` Nicolas Goaziou 2018-03-12 21:00 ` Samuel Wales [not found] ` <1520882537.2694.42.camel@fh-aachen.de> [not found] ` <87zi3d9ijs.fsf@nicolasgoaziou.fr> 2018-03-13 15:29 ` Hoffmann, Jobst 2018-03-14 13:57 ` Nicolas Goaziou 2018-03-16 18:29 ` Hoffmann, Jobst 2018-06-08 10:22 ` Export to LaTeX buffer (solved) Hoffmann, Jobst
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).