Re: [O] export to odt, eqnarray and align are not supported
>>> "Eric" == Eric S Fraga writes: > On Friday, 15 Jun 2018 at 10:52, Uwe Brauer wrote: >> Both a set to nil, but even if I try dvipng via >> >> #+OPTIONS: tex:dvipng >> >> Or #+OPTIONS: tex:imagemagick > Data point: > Both work for me. The dvipng output looks better, however. The mathml > doesn't work (for me) for the second case with the align environment. Thanks, I got meanwhile the mathml to work, but the result is not appealing. >> The math, even equations are inserted verbatim, that is really odd. >> The minibuffer tells me that the png are generated and indeed there are, >> but they are not inserted in the odt file using as org-export-dispatch >> and then chosing odt. > Strange. Cannot help. Sorry. Ok I started emacs -q and then it worked. So it must be something in my setting. Sigh. I have to debug this which can take a while, anybody an idea which variable I set incorrectly? smime.p7s Description: S/MIME cryptographic signature
Re: [O] export to odt, eqnarray and align are not supported
On Friday, 15 Jun 2018 at 10:52, Uwe Brauer wrote: > Both a set to nil, but even if I try dvipng via > >#+OPTIONS: tex:dvipng > > Or #+OPTIONS: tex:imagemagick Data point: Both work for me. The dvipng output looks better, however. The mathml doesn't work (for me) for the second case with the align environment. > The math, even equations are inserted verbatim, that is really odd. > The minibuffer tells me that the png are generated and indeed there are, > but they are not inserted in the odt file using as org-export-dispatch > and then chosing odt. Strange. Cannot help. Sorry. -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.11-620-ga548e4 signature.asc Description: PGP signature
Re: [O] export to odt, eqnarray and align are not supported
>>> "Uwe" == Uwe Brauer writes: > Hi > Maybe there is something odd in my configuration, but I cannot export > the following minimal example to odt, with the equation correctly > translated, and I don't know how to debug it. Sigh (describe-variable 'org-latex-to-mathml-jar-file) (describe-variable 'org-latex-to-mathml-convert-command) Both a set to nil, but even if I try dvipng via #+OPTIONS: tex:dvipng Or #+OPTIONS: tex:imagemagick The math, even equations are inserted verbatim, that is really odd. The minibuffer tells me that the png are generated and indeed there are, but they are not inserted in the odt file using as org-export-dispatch and then chosing odt. This is all very odd. smime.p7s Description: S/MIME cryptographic signature
[O] export to odt, eqnarray and align are not supported
Hi Maybe there is something odd in my configuration, but I cannot export the following minimal example to odt, with the equation correctly translated, and I don't know how to debug it. * Statistics \begin{eqnarray} H_0&=& \mu_{C1}-\mu_{C2}=0\\ H_a&=& \mu_{C1}-\mu_{C2} > 0\\ \end{eqnarray} \begin{align} H_0&= \mu_{C1}-\mu_{C2}=0\\ H_a&= \mu_{C1}-\mu_{C2} > 0 \end{align} The odt file I obtain looks like Uwe Brauer testodt.odt Description: application/vnd.oasis.opendocument.text
Re: [O] export to odt with LaTeX math formulae and tables
Hello John, hello everybody, This is just a reminder for the problem that remains to solve with ox-word.el, as you requested to send it to you, few hours ago. In fact, on this page: [[http://kitchingroup.cheme.cmu.edu/blog/2017/04/15/A-new-org-mode-exporter-to-Word-for-scimax/]] you said correctly: #+BEGIN_QUOTE The references are reasonably formatted, but not compatible with Endnote, or other bibliography manager software. There are still some issues with Figure numbering and cross-references, but it is not too bad. The main benefit of this seems to be that one source generates HTML and the Word document. #+END_QUOTE That is true. Your code works smoothly to export the bibliography in docx. But it fails to reproduce the convenient system of labels and reference with numbering translation in LaTeX: in the docx document, equations have no more numbers (neither letters) to identify them, and labels in format [label-foo] refer therefore to nothing. (I have adopted a solution in making tables, but it is not a valuable one because it is only a way of solving this problem and this works poorly only for my docx document, not for an export in LateX.) Anyway, again, many thanks for scimax and for this ox-word.el. (As I told you, I succeeded to install pandoc-crossref - only in a new Debian sid for the occasion on my computer, but I did not succeed to use it.) Best wishes, -- Jo.
Re: [O] export to odt with LaTeX math formulae and tables
Message: 2 Date: Sat, 19 May 2018 19:24:12 +0200 From: Joseph Vidal-Rosset <joseph.vidal.ros...@gmail.com> To: emacs-orgmode list <emacs-orgmode@gnu.org>, John Kitchin <jkitc...@andrew.cmu.edu>,John Kitchin <johnrkitc...@gmail.com> Subject: Re: [O] export to odt with LaTeX math formulae and tables Message-ID:
Re: [O] export to odt with LaTeX math formulae and tables
Hello John, hello the list, The results of my efforts to export an org file with equations, proofs and so on to odt: imagemagick works, but the png images are ugly. References of equations and bibliography do not work, because the png images do not reproduce the org-ref references. I am afraid that by using another way of exporting math. (Mathjax, Mathml...) I will not get the natural deductions proofs that I get via proof.sty. (The export to odt or docx seems to be a real nightmare, and that is not very surprising, because LaTeX is the only good solution...) Best wishes, Jo. 2018-05-19 17:52 GMT+02:00 Joseph Vidal-Rosset < joseph.vidal.ros...@gmail.com>: > Hello, > > Edgar was right: the problems that I had with the odt export came from my > file "user.el" i.e. the file for my setup of preferences for scimax. With a > minimal user.el file containing the latex packages that I need , the export > is now almost perfect. Are still lacking the right numbering of equations > and references for these equations, and the bibliography is not pretty. But > the main work is done. > > Best wishes, > > Jo. > > 2018-05-19 15:32 GMT+02:00 Joseph Vidal-Rosset < > joseph.vidal.ros...@gmail.com>: > >> Dear Edgar, >> >> At the moment, the results that I get with the odt export are not so >> bad. Bibliography works and images for proofs also. Therefore I guess >> that the problems that I have really to solve are minor. >> >> We stay in touch and I will inform you. >> >> Best wishes, >> >> -- >> Jo. >> > >
Re: [O] export to odt with LaTeX math formulae and tables
Hello, Edgar was right: the problems that I had with the odt export came from my file "user.el" i.e. the file for my setup of preferences for scimax. With a minimal user.el file containing the latex packages that I need , the export is now almost perfect. Are still lacking the right numbering of equations and references for these equations, and the bibliography is not pretty. But the main work is done. Best wishes, Jo. 2018-05-19 15:32 GMT+02:00 Joseph Vidal-Rosset < joseph.vidal.ros...@gmail.com>: > Dear Edgar, > > At the moment, the results that I get with the odt export are not so > bad. Bibliography works and images for proofs also. Therefore I guess > that the problems that I have really to solve are minor. > > We stay in touch and I will inform you. > > Best wishes, > > -- > Jo. >
Re: [O] export to odt with LaTeX math formulae and tables
Dear Edgar, At the moment, the results that I get with the odt export are not so bad. Bibliography works and images for proofs also. Therefore I guess that the problems that I have really to solve are minor. We stay in touch and I will inform you. Best wishes, -- Jo.
Re: [O] export to odt with LaTeX math formulae and tables
Message: 16 Date: Fri, 18 May 2018 14:48:56 +0200 From: Joseph Vidal-Rosset <joseph.vidal.ros...@gmail.com> To: emacs-orgmode list <emacs-orgmode@gnu.org> Subject: Re: [O] export to odt with LaTeX math formulae and tables Message-ID: <cad-vtcglwa94b2nwnayb3v1eje4mzueeyqe2enwy0ebrksm...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello again, I just got this message error: OpenDocument export failed: Wrong type argument: listp, 67 What is the meaning of this message and how can I do? Many thanks for your help, Jo. I don't really know, Jo, but whenever I get something like that it means that 1. there is something wrong with my .emacs, or 2. there is something wrong with my document (strange character, missing bracket, mistyped #+OPTIONS line, etc.). I would (and usually) 0. Open the *Messages* buffer to see if there is some useful information there. 1. fire up a new emacs :: ~emacs -Q~, 2. load package :: M-: (require 'package), 3. initialize package :: M-: (package-initialize), 4. load Org :: M-: (require 'org) (you may need a path, if you did not install from elpa or similar). 5. take the document by chunks, export it piece by piece, and try to find which part holds the bug. - ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
Re: [O] export to odt with LaTeX math formulae and tables
Message: 14 Date: Fri, 18 May 2018 12:01:22 +0200 From: Joseph Vidal-Rosset <joseph.vidal.ros...@gmail.com> To: emacs-orgmode list <emacs-orgmode@gnu.org> Subject: Re: [O] export to odt with LaTeX math formulae and tables Message-ID: <87fu2p8eq5@gmail.com> Content-Type: text/plain Dear Edgar, Thanks for your help on the export of bibliography for docx or odt. I am going to persist in trying to succeed it. One is glad to be of help :) ;) . About proof.sty, really there is not the least problem from org-mode to latex, everything is smoothly exported and the final pdf document is really nice (with the really pretty smfart.class [[http://smf4.emath.fr/Publications/Formats/]] that I advice.) I will try that. Thanks. No, my problem is only with the export of these proof to odt, Oh, I know! and Authorea fails also (that is the main reason why I gave up Authorea, which seems to me being a nice project, but not complete enough and therefore unfortunately useless for me). I'm sorry if I mislead you: the only thing that I recommended was the LaTeXML style from them. I don't know what Authorea is, actually. The only reasonable solutions seems to me the png export from a succeeding org export to an odt file. This is by far the quickest solution, and if you don't care about having others modify your equations in the ODT, go for it! I would even send a compressed file with the Org and other required files (.bib, .png, etc.). I make no promises, but I will try to make a template for you that can export tables and equations (on my machine) Best wishes, -- Joseph I wish you the best of luck on this :) . - ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
Re: [O] export to odt with LaTeX math formulae and tables
Hello again, I just got this message error: OpenDocument export failed: Wrong type argument: listp, 67 > What is the meaning of this message and how can I do? Many thanks for your help, Jo. 2018-05-18 12:01 GMT+02:00 Joseph Vidal-Rosset < joseph.vidal.ros...@gmail.com>: > Dear Edgar, > > Thanks for your help on the export of bibliography for docx or odt. I am > going to persist in trying to succeed it. > > About proof.sty, really there is not the least problem from org-mode to > latex, everything is smoothly exported and the final pdf document is > really nice (with the really pretty smfart.class > [[http://smf4.emath.fr/Publications/Formats/]] that I advice.) > > No, my problem is only with the export of these proof to odt, and > Authorea fails also (that is the main reason why I gave up Authorea, > which seems to me being a nice project, but not complete enough and > therefore unfortunately useless for me). The only reasonable solutions > seems to me the png export from a succeeding org export to an odt file. > > Best wishes, > > -- > Joseph >
Re: [O] export to odt with LaTeX math formulae and tables
Dear Edgar, Thanks for your help on the export of bibliography for docx or odt. I am going to persist in trying to succeed it. About proof.sty, really there is not the least problem from org-mode to latex, everything is smoothly exported and the final pdf document is really nice (with the really pretty smfart.class [[http://smf4.emath.fr/Publications/Formats/]] that I advice.) No, my problem is only with the export of these proof to odt, and Authorea fails also (that is the main reason why I gave up Authorea, which seems to me being a nice project, but not complete enough and therefore unfortunately useless for me). The only reasonable solutions seems to me the png export from a succeeding org export to an odt file. Best wishes, -- Joseph
Re: [O] export to odt with LaTeX math formulae and tables
On 2018-05-18 08:35, Joseph Vidal-Rosset wrote: Hello Edgar, Nicolas, Eric, and everybody of the emacs-orgmode list, I give news of my export tentatives from my .org file to odt , in a word: it fails. I suspect that the problem is my setup, but I am unable to be more precise (if it was not the case, I could probably fix it). Anyway, pandoc alone was useful and with pandoc -f latex -t odt -o output.odt input.tex or pandoc my-document.tex -o my-document.docx (I got help here: https://askubuntu.com/questions/82634/how-to-convert-tex-into-odt and here: https://jabranham.com/blog/2016/11/using-pandoc-export-to-word/ ) I have succeeded to get odt and docx files . But in these files: 1. tables from tabular with multicolumn are not correctly exported, 2. the bibliography is not exported 3. figures of natural deduction proofs produced with proof.sty cannot be read, because only the latex code is given (I suppose that I need png images, but because my org export to odt fails, the export of all natural deductions proof schema also fails.). *Comment:* It is a terrible waste of time for a result that even if with a lot of efforts the odt or docx export will finally succeed, the final result will be far to be as nice as the pdf produced by the latex file. Anyway, your help is still welcome. Best wishes, Jo. Dear Jo, First of all, I don't want you to have the wrong impression: I am not an Emacs nor Org guru. If I give you an advice, always, always take it with caution. Secondly, I am glad that you are having progress! :D . Thirdly, I think that I can help you with point (2). Did you try with pandoc like I said before?: On 2018-05-16 20:19, hidden@mail wrote: Export to ~LaTeX~ file first with ~C-c C-e l l~ pandoc --csl=council-of-science-editors.csl \ --bibliography=/path/to/myreferences.bib \ -f latex+smart inputfile.tex \ -t docx+smart -o outputname.docx You will need 1. a CSL file to set a style to your references (council-of-science-editors.csl in this example). You can get some from here: https://github.com/citation-style-language/styles 2. a bib style (I use Biber; I don't know if that matters, just try). This has worked for me in the past to produce a DOCX with references. What I actually recommend is to get that DOCX and copy the references to what Org mode exports as ODT (https://lists.gnu.org/archive/html/emacs-orgmode/2018-05/msg00346.html), then save the ODT as DOCX in LibreOffice. The ODT produced by Org is almost ready, and it carries the advantage of 1. tweaking an OTT (template) to your needs to set a specific format (see the link above; you can try the same with --reference-doc in pandoc, by the way). 2. being able to (partially use siunitx or other LaTeX commands with LaTeXMLMath; although pandoc is working on getting siunitx as well--make sure to get the latest version). If you see siunitx.sty.ltxml from Authorea's github.com (see link above), you'll see that it may be possible to tweak it to your needs for proof.sty. 3. produces tables (you may need to change the format; did I mention the OTT?) One disadvantage of this method is that you may need to replace the key to the references to the format which you need (i.e. [authoryear] to [1]), but you can use the Replace All function from LibreOffice (if there are not many references). I would advise to keep a copy of the list after you do the first Replace All, because it's going to be lost the next time that you export. I am sure that there is a good reason for which exporting with references has not been implemented in the ODT export function in Org. As I said, I am not a guru, and I am not going to complain to the developers if I can't code it myself, but you may want to post a feature request (may be I should too). I have never used proof.sty, but I know that there is a way to ask Org to load a set of packages when exporting. May be that helps (look for the documentation of org-latex-default-packages-alist and org-latex-packages-alist; C-h v org-latex-default-packages-alist) Bonne chance! :) . - ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
Re: [O] export to odt with LaTeX math formulae and tables
Hello Edgar, Nicolas, Eric, and everybody of the emacs-orgmode list, I give news of my export tentatives from my .org file to odt , in a word: it fails. I suspect that the problem is my setup, but I am unable to be more precise (if it was not the case, I could probably fix it). Anyway, pandoc alone was useful and with pandoc -f latex -t odt -o output.odt input.tex > or pandoc my-document.tex -o my-document.docx > > (I got help here: https://askubuntu.com/questions/82634/how-to-convert-tex-into-odt and here: https://jabranham.com/blog/2016/11/using-pandoc-export-to-word/ ) I have succeeded to get odt and docx files . But in these files: 1. tables from tabular with multicolumn are not correctly exported, 2. the bibliography is not exported 3. figures of natural deduction proofs produced with proof.sty cannot be read, because only the latex code is given (I suppose that I need png images, but because my org export to odt fails, the export of all natural deductions proof schema also fails.). *Comment:* It is a terrible waste of time for a result that even if with a lot of efforts the odt or docx export will finally succeed, the final result will be far to be as nice as the pdf produced by the latex file. Anyway, your help is still welcome. Best wishes, Jo. 2018-05-17 18:31 GMT+02:00 Joseph Vidal-Rosset < joseph.vidal.ros...@gmail.com>: > Many thanks Edgar, > > I did not pay attention to the list because I had to finish this > paper. It is finished, now, but still not exported in odt format. I hope > that I will succeed to do it. Thanks to you and to all for your kind > help. > > Best wishes, > -- > Joseph >
Re: [O] export to odt with LaTeX math formulae and tables
Many thanks Edgar, I did not pay attention to the list because I had to finish this paper. It is finished, now, but still not exported in odt format. I hope that I will succeed to do it. Thanks to you and to all for your kind help. Best wishes, -- Joseph
Re: [O] export to odt with LaTeX math formulae and tables
On Fri, 11 May 2018 14:09:33 +0200 (Why an acedemic review request Word files? It should be forbidden.) Joseph I agree! (in some countries, universities are partially funded--influenced--by Micro$oft, that may explain). On Fri, 11 May 2018 14:37:10 +0200 Nicolas Goaziou: > #+OPTIONS: LaTeX:t This option is obsolete since Org 8.0. That option still shows up in org-info (Working with LaTeX math snippets): GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian Org mode version 9.1.13 (9.1.13-elpa 20180507) May be it's corrected in a newer Emacs... Also, I hadn't seen this thread, sorry. Thus, I created this: https://lists.gnu.org/archive/html/emacs-orgmode/2018-05/msg00346.html Hope it helps. You can potentially use it to get any other symbols. You can also try with pandoc (using 2.0.5 here; there is a binary on https://github.com/jgm/pandoc/releases/latest): Export to ~LaTeX~ file first with ~C-c C-e l l~ #+BEGIN_SRC bash pandoc --csl=council-of-science-editors.csl \ --bibliography=/path/to/myreferences.bib \ -f latex+smart inputfile.tex \ -t docx+smart -o outputname.docx #+END_SRC Good luck! - ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
Re: [O] export to odt with LaTeX math formulae and tables
On Friday, 11 May 2018 at 14:09, Joseph Vidal-Rosset wrote: > The export works, but I meet always the same strange problem with the > falsity constant \(\bot\) that I need absolutely: the symbol appears > with \ begin{equation} ... \ end{equation} but not in lines... the latex > command for equation produces inverted interrogation marks... Yes, it appears that mathml support for \bot is not quite there. Interestingly, it works if there is a symbol before and one after so it's acting as if it is an operator. E.g. \alpha\bot\beta works fine. You could also use \perp instead although it's slanted and quite ugly (in my opinion). > (Why an an acedemic review request Word files? It should be > forbidden.) Totally agree. They'll be asking for papyrus next... -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.11-620-ga548e4 signature.asc Description: PGP signature
Re: [O] export to odt with LaTeX math formulae and tables
Merci Nicolas ! Your email was arrived at the good moment and was very helpful 2018-05-11 14:37 GMT+02:00 Nicolas Goaziou: > Hello, > > Joseph Vidal-Rosset writes: > > > Now it works with theses options in my org file. > > > > #+LANGUAGE: fr > > #+OPTIONS: ':t > > > > #+OPTIONS: tex:t > > This option is superseded by the last one. > > > #+OPTIONS: LaTeX:t > > This option is obsolete since Org 8.0. > > > > #+OPTIONS: tex:imagemagick > > This option supersedes "tex:t" > > So basically, you are using > > #+language: fr > #+options: ':t tex:imagemagick > > Regards, > > -- > Nicolas Goaziou >
Re: [O] export to odt with LaTeX math formulae and tables
Hello, Joseph Vidal-Rossetwrites: > Now it works with theses options in my org file. > > #+LANGUAGE: fr > #+OPTIONS: ':t > > #+OPTIONS: tex:t This option is superseded by the last one. > #+OPTIONS: LaTeX:t This option is obsolete since Org 8.0. > > #+OPTIONS: tex:imagemagick This option supersedes "tex:t" So basically, you are using #+language: fr #+options: ':t tex:imagemagick Regards, -- Nicolas Goaziou
Re: [O] export to odt with LaTeX math formulae and tables
Hello Eric, hello the list, Now it works with theses options in my org file. #+LANGUAGE: fr #+OPTIONS: ':t #+OPTIONS: tex:t #+OPTIONS: LaTeX:t #+OPTIONS: tex:imagemagick But the formulae are png images that are less clean than in a pdf file produced from a .tex file... Again, thanks Eric. -- Joseph
Re: [O] export to odt with LaTeX math formulae and tables
Le ven. 11 mai 2018 à 12:45:57 , Eric S Fragaa envoyé ce message: > On Friday, 11 May 2018 at 13:15, Joseph Vidal-Rosset wrote: >> Hello, >> >> I would be glad to get a configuration for an easy export from an org >> file to an odt file. My problem is that this org file contains >> mathematical formulae written for LaTeX export and also tables >> (tabular). > > have you tried? tables work out of the box. maths equations work > reasonably well if you use the mathml conversion. On Debian, I had to > > sudo apt install latexml > > and then use > > #+options: tex:t > > in the org file. > > Try and see what happens! Thanks a lot Eric, in my Debian I had not installed latexml. It's done now. The export works, but I meet always the same strange problem with the falsity constant \(\bot\) that I need absolutely: the symbol appears with \ begin{equation} ... \ end{equation} but not in lines... the latex command for equation produces inverted interrogation marks... (Why an an acedemic review request Word files? It should be forbidden.) Best wishes, -- Joseph
Re: [O] export to odt with LaTeX math formulae and tables
On Friday, 11 May 2018 at 13:15, Joseph Vidal-Rosset wrote: > Hello, > > I would be glad to get a configuration for an easy export from an org > file to an odt file. My problem is that this org file contains > mathematical formulae written for LaTeX export and also tables > (tabular). have you tried? tables work out of the box. maths equations work reasonably well if you use the mathml conversion. On Debian, I had to sudo apt install latexml and then use #+options: tex:t in the org file. Try and see what happens! -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.11-620-ga548e4 signature.asc Description: PGP signature
Re: [O] export to odt with LaTeX math formulae and tables
Hello again, I read and have applied what it is explained here: https://orgmode.org/manual/Working-with-LaTeX-math-snippets.html#FOOT136 It works rather well, but for some symbols it does not work : for example for \(\bot\) the code for falsity constant in LaTeX, it does not work. I imagine that I have not installed some library? 2018-05-11 13:15 GMT+02:00 Joseph Vidal-Rosset < joseph.vidal.ros...@gmail.com>: > Hello, > > I would be glad to get a configuration for an easy export from an org > file to an odt file. My problem is that this org file contains > mathematical formulae written for LaTeX export and also tables > (tabular). > > I do not know well libreoffice. > > Your help is welcome. > > Best wishes, > > -- > Joseph >
[O] export to odt with LaTeX math formulae and tables
Hello, I would be glad to get a configuration for an easy export from an org file to an odt file. My problem is that this org file contains mathematical formulae written for LaTeX export and also tables (tabular). I do not know well libreoffice. Your help is welcome. Best wishes, -- Joseph
Re: [O] export to odt is not per default in the export menu
Hi. >>> [...] I suggest that ODT should be provided out of the box. It is >>> clearly in demand. It meets the needs of a whole segment of users >>> that need to work with office software. Sure, nothing prevents them >>> from using it by adding a brief line to their init file. But why not >>> advertise it? It's a major feature and it works well. >> FWIW, I also think this would be a good thing to load by default. > Done. Thanks Nicolas! :) -- eduardo mercovich Donde se cruzan tus talentos con las necesidades del mundo, ahí está tu vocación.
Re: [O] export to odt is not per default in the export menu
>>> FWIW, I also think this would be a good thing to load by default. >> >> Done. > > Thanks very much, Nicolas! +1! Yours, Christian
Re: [O] export to odt is not per default in the export menu
Nicolas Goaziouwrites: > Hello, > > Eric Abrahamsen writes: > >>> This question pops up fairly often. I suggest that ODT should be >>> provided out of the box. It is clearly in demand. It meets the needs of >>> a whole segment of users that need to work with office software. Sure, >>> nothing prevents them from using it by adding a brief line to their init >>> file. But why not advertise it? It's a major feature and it works well. >> >> FWIW, I also think this would be a good thing to load by default. > > Done. Thanks very much, Nicolas!
Re: [O] export to odt is not per default in the export menu
Hello, Eric Abrahamsenwrites: >> This question pops up fairly often. I suggest that ODT should be >> provided out of the box. It is clearly in demand. It meets the needs of >> a whole segment of users that need to work with office software. Sure, >> nothing prevents them from using it by adding a brief line to their init >> file. But why not advertise it? It's a major feature and it works well. > > FWIW, I also think this would be a good thing to load by default. Done. Regards, -- Nicolas Goaziou
Re: [O] export to odt is not per default in the export menu
+1 even if I personally don't use it. For many people is the bridge to work with others. Best... Xebar Saramwrites: > +1 as well :) > > Z > > On Fri, Apr 8, 2016 at 12:38 PM, Eric Abrahamsen > wrote: > > Christian Moe writes: > > > This question pops up fairly often. I suggest that ODT should be > > provided out of the box. It is clearly in demand. It meets the > needs of > > a whole segment of users that need to work with office software. > Sure, > > nothing prevents them from using it by adding a brief line to > their init > > file. But why not advertise it? It's a major feature and it > works well. > > FWIW, I also think this would be a good thing to load by default. > > > -- eduardo mercovich Donde se cruzan tus talentos con las necesidades del mundo, ahí está tu vocación.
Re: [O] export to odt is not per default in the export menu
> Uwe Brauerwrites: > Somewhere in your init files, put (require 'ox-odt). Then it will always > be available. Take a look at the other ox-* files, many of them are > useful enough to always load by default. Thanks that worked fine!
Re: [O] export to odt is not per default in the export menu
+1 as well :) Z On Fri, Apr 8, 2016 at 12:38 PM, Eric Abrahamsenwrote: > Christian Moe writes: > > > This question pops up fairly often. I suggest that ODT should be > > provided out of the box. It is clearly in demand. It meets the needs of > > a whole segment of users that need to work with office software. Sure, > > nothing prevents them from using it by adding a brief line to their init > > file. But why not advertise it? It's a major feature and it works well. > > FWIW, I also think this would be a good thing to load by default. > > >
Re: [O] export to odt is not per default in the export menu
Christian Moewrites: > This question pops up fairly often. I suggest that ODT should be > provided out of the box. It is clearly in demand. It meets the needs of > a whole segment of users that need to work with office software. Sure, > nothing prevents them from using it by adding a brief line to their init > file. But why not advertise it? It's a major feature and it works well. FWIW, I also think this would be a good thing to load by default.
Re: [O] export to odt is not per default in the export menu
This question pops up fairly often. I suggest that ODT should be provided out of the box. It is clearly in demand. It meets the needs of a whole segment of users that need to work with office software. Sure, nothing prevents them from using it by adding a brief line to their init file. But why not advertise it? It's a major feature and it works well. Yours, Christian Eric Abrahamsen writes: > Uwe Brauerwrites: > >> Hi >> >> When I use org-export-dispatch, then a list of possible formats pop up >> but odt is not among them. Only if I explicitly call >> org-odt-export-to-odt >> >> once, then this command pops up in the list. How >> can I change this behaviour and have the odt export function in the >> list?? > > Somewhere in your init files, put (require 'ox-odt). Then it will always > be available. Take a look at the other ox-* files, many of them are > useful enough to always load by default. > > E
Re: [O] export to odt is not per default in the export menu
Uwe Brauerwrites: > Hi > > When I use org-export-dispatch, then a list of possible formats pop up > but odt is not among them. Only if I explicitly call > org-odt-export-to-odt > > once, then this command pops up in the list. How > can I change this behaviour and have the odt export function in the > list?? Somewhere in your init files, put (require 'ox-odt). Then it will always be available. Take a look at the other ox-* files, many of them are useful enough to always load by default. E
[O] export to odt is not per default in the export menu
Hi When I use org-export-dispatch, then a list of possible formats pop up but odt is not among them. Only if I explicitly call org-odt-export-to-odt once, then this command pops up in the list. How can I change this behaviour and have the odt export function in the list?? Thanks Uwe Brauer
Re: [O] export to odt: error in style.xml
Hi, Achim Gratz strom...@nexgo.de writes: Rasmus writes: Could you please rebase or cherry-pick your changes onto the then-current master before committing them? However, can you please elaborate on what exactly I did wrong? I have checked for the following to understand your criticism: 1. When I do $ git diff 004332b^ 00433b I get a one line diff (except the context). There are no change of white space or other garbage. Why is this not cherry-picked? […] This one is, but your earlier commits introduced half a dozen Let's be clear, there are *two* redundant merges. spurious merges since they were all started at different points on master. I fail to see the relevance of your remark. In principal it is true. However, is it a real issue¹ in practice? The script that generates the ChangeLog for the Emacs merge will list all of these separately and Bastien or who else is doing the merge will have to manually put them back together. Thanks. I will be more careful on this. Bastien b...@gnu.org writes: I was asking no such thing, only that the author name and email you use for your commits are always one and the same. Yes: it's important to use the same name and address so that we can group changelogs under the same person when adding them to Emacs. Thanks. Which file is grouped by author? Looking quickly at ORG-NEWS, it doesn't seem to be grouped by author? Anyway —Rasmus -- C is for Cookie
Re: [O] export to odt: error in style.xml
Achim Gratz strom...@nexgo.de writes: The script that generates the ChangeLog for the Emacs merge will list all of these separately and Bastien or who else is doing the merge will have to manually put them back together. Yes. ¹ It pains me every time I use my private email for public mailing list, but I doubt you had my privacy in mind? I was asking no such thing, only that the author name and email you use for your commits are always one and the same. Yes: it's important to use the same name and address so that we can group changelogs under the same person when adding them to Emacs. Thanks, -- Bastien
Re: [O] export to odt: error in style.xml
Rasmus writes: Could you please rebase or cherry-pick your changes onto the then-current master before committing them? Yes, I am very happy to! However, can you please elaborate on what exactly I did wrong? I have checked for the following to understand your criticism: 1. When I do $ git diff 004332b^ 00433b I get a one line diff (except the context). There are no change of white space or other garbage. Why is this not cherry-picked? […] This one is, but your earlier commits introduced half a dozen spurious merges since they were all started at different points on master. In principal it is true. However, is it a real issue¹ in practice? The script that generates the ChangeLog for the Emacs merge will list all of these separately and Bastien or who else is doing the merge will have to manually put them back together. ¹ It pains me every time I use my private email for public mailing list, but I doubt you had my privacy in mind? I was asking no such thing, only that the author name and email you use for your commits are always one and the same. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
[O] export to odt: error in style.xml
Hi! Trying to open an exported ODT document I see the erroe message: format error in styles.xml in position (790,2) This is found the following part of styles.xml: snip a lot of stuff from styles.xml !-- Org Htmlfontify Styles -- /office:styles ^ This line above is line 790 office:automatic-styles style:style style:name=MP1 style:family=paragraph style:parent-style-name=Footer/ style:paragraph-properties fo:text-align=center style:justify-single-word=false/ /style:style snip more stuff . Any ideas? GNU Emacs 24.3.1, org from git Org-mode version 8.3beta (release_8.3beta-422-gb54ad3 Export to latex/pdf works as expected. Thx in advance Detlef
Re: [O] export to odt: error in style.xml
Hi Detlef, Detlef Steuer detlef.ste...@gmx.de writes: Trying to open an exported ODT document I see the erroe message: format error in styles.xml in position (790,2) I changed the style used by odt in commit 464cd96. The part you refer to is defined in `org-odt-template', but I don't see how it relates to that commit instantly though the regexp part shortly after the comment you point out, might not work. . . Please (always) provide a short example demonstrating your problem. Thanks, Rasmus -- You people at the NSA are becoming my new best friends!
Re: [O] export to odt: error in style.xml
Hi Detlef, Detlef Steuer detlef.ste...@gmx.de writes: I cannot send the file to the list, but maybe you can take a look off list? In the future you should sent minimal examples. In this case it did not matter and the mentioned commit was indeed to blame. It should be fixed in master @ 004332b. Thanks for reporting this. —Rasmus PS: The output of the file you sent me will likely not look like you expect (e.g. missing the table), but that is because of syntax mistakes. -- Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio
Re: [O] export to odt: error in style.xml
Rasmus writes: In the future you should sent minimal examples. In this case it did not matter and the mentioned commit was indeed to blame. It should be fixed in master @ 004332b. Could you please rebase or cherry-pick your changes onto the then-current master before committing them? Also, you might want to decide on a single mail address for these committs. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Re: [O] export to odt: error in style.xml
Hi Achim, Thanks for your helpful message. Achim Gratz strom...@nexgo.de writes: Rasmus writes: In the future you should sent minimal examples. In this case it did not matter and the mentioned commit was indeed to blame. It should be fixed in master @ 004332b. Could you please rebase or cherry-pick your changes onto the then-current master before committing them? Yes, I am very happy to! However, can you please elaborate on what exactly I did wrong? I have checked for the following to understand your criticism: 1. When I do $ git diff 004332b^ 00433b I get a one line diff (except the context). There are no change of white space or other garbage. Why is this not cherry-picked? 2. I know I git pull --rebase'ed before I submitted. I believe the patch was only submitted to master, since it shows up on git log when I'm on the master branch but not on the maint branch. This is true for my local checkout and for cgit online. Why is this not against the current master? 3. There is no nasty Merge branch... so, again, why is it not cherry picked? I'm not claiming to be an expert of anything, least of all of anything–software, so please be explicit so I can learn to commit better. Also, you might want to decide on a single mail address for these committs. In principal it is true. However, is it a real issue¹ in practice? Rest assured it is always a real email address checked frequently. It happens because I use several computers and I sometimes forget to correct .git/config. If it *is* a real issue, I could change my global git config, though it is configured the way it is for a reason. Thanks, Rasmus Footnotes: ¹ It pains me every time I use my private email for public mailing list, but I doubt you had my privacy in mind? -- This is the kind of tedious nonsense up with which I will not put
Re: [O] export to ODT fails strangely
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I hope somebody can point me in the right direction. I am trying to export a large document to ODT to share with my collaborators. Exporting to LaTeX works like a charm. However, with ODT, the exporter fails with: , | OpenDocument export failed: FIXME: Resolve (paragraph (:begin 23510 :end | 23635 :contents-begin 23599 :contents-end 23629 :post-blank 1 | :post-affiliated 23599 :name fig:graph :caption (((#(Dependency graph | of major tasks in the project. 0 47 (:parent #4) :results () | [...] ` I guess you are cross-referencing to a paragraph (probably a standalone image) named fig:graph. You can probably get an ECM if you isolate both that paragraph and the link referring to it. Well, you are partially correct in that the problem has to do with my [[fig:graph]] type of links, which I assume are valid? Does the fig: maybe confuse something? In any case, I could get the document to export but only by removing all similar links. I have two figures and 6 references to these figures in my large document. I tried changing fig: to fig- in all cases but I have the same problem. Removing all the links (all I did was change [[fig to [fig) allows the file to be exported (without the links, obviously). This particular document is no longer needed. It was a grant proposal which was submitted on Thursday and will never need to be exported again so the problem no longer affects me. However, there is some problem somewhere... While I'm at it, thanks again to the org community: the process of putting together a rather large proposal went so much better thanks to org than it would have been had I had to use any alternative system! Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.5h-585-g5f0ca0
Re: [O] export to ODT fails strangely
Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: The messages buffer contains a very large amount of text, including most of my document in one form or another it seems... I have no idea where to start. Start by instrumenting `org-odt-link--infer-description' with `edebug-defun' and see what element causes this, probably a figure or a link for which the ODT exporter cannot find a description. Good luck, -- Bastien
[O] export to ODT fails strangely
Hello, I hope somebody can point me in the right direction. I am trying to export a large document to ODT to share with my collaborators. Exporting to LaTeX works like a charm. However, with ODT, the exporter fails with: , | OpenDocument export failed: FIXME: Resolve (paragraph (:begin 23510 :end | 23635 :contents-begin 23599 :contents-end 23629 :post-blank 1 | :post-affiliated 23599 :name fig:graph :caption (((#(Dependency graph | of major tasks in the project. 0 47 (:parent #4) :results () | [...] ` The messages buffer contains a very large amount of text, including most of my document in one form or another it seems... I have no idea where to start. I cannot seem to come up with a minimal example and the long example has too much confidential material for me to pass on to anybody at all unfortunately. Argg. Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.5g-539-g0b67b7
Re: [O] export to ODT fails strangely
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I hope somebody can point me in the right direction. I am trying to export a large document to ODT to share with my collaborators. Exporting to LaTeX works like a charm. However, with ODT, the exporter fails with: , | OpenDocument export failed: FIXME: Resolve (paragraph (:begin 23510 :end | 23635 :contents-begin 23599 :contents-end 23629 :post-blank 1 | :post-affiliated 23599 :name fig:graph :caption (((#(Dependency graph | of major tasks in the project. 0 47 (:parent #4) :results () | [...] ` I guess you are cross-referencing to a paragraph (probably a standalone image) named fig:graph. You can probably get an ECM if you isolate both that paragraph and the link referring to it. Regards, -- Nicolas Goaziou
Re: [O] export to odt, change the default font.
Looks like there are many people who are new to LibreOffice in general. I strongly recommend this document. http://wiki.documentfoundation.org/File:Ooo_for_students.odt for introductory reading. Jambunathan K kjambunat...@gmail.com writes: Uwe Brauer o...@mat.ucm.es writes: Hello I am searching the docs in order to configure the odt-export function. I cannot find anything concerning fonts. I would like to have hebrew text exported using a particular font. Can anybody give me a hint? 1. Search for Stylist in the LibreOffice documents. 2. Make your font selection or whatever you want to change. 3. Create a .ott file for the Hebrew document. 4. Use ODT_STLYES_FILE to use a document-specific style. If that doesn't work and if you report back, I can investigate further and cook up a fix. As an aside, LibreOffice Stylist doesn't cater to table related elements. Meaning, the Tables have to be styled using automatic styles (i.e., on a one-off basis, by hand). So styling of Tables, is really an issue - Not exactly an issue, but a hassle - compared to other things. thanks Uwe Brauer
Re: [O] export to odt, change the default font.
Uwe Brauer o...@mat.ucm.es writes: Hello I am searching the docs in order to configure the odt-export function. I cannot find anything concerning fonts. I would like to have hebrew text exported using a particular font. Can anybody give me a hint? 1. Search for Stylist in the LibreOffice documents. 2. Make your font selection or whatever you want to change. 3. Create a .ott file for the Hebrew document. 4. Use ODT_STLYES_FILE to use a document-specific style. If that doesn't work and if you report back, I can investigate further and cook up a fix. As an aside, LibreOffice Stylist doesn't cater to table related elements. Meaning, the Tables have to be styled using automatic styles (i.e., on a one-off basis, by hand). So styling of Tables, is really an issue - Not exactly an issue, but a hassle - compared to other things. thanks Uwe Brauer
[O] export to odt, change the default font.
Hello I am searching the docs in order to configure the odt-export function. I cannot find anything concerning fonts. I would like to have hebrew text exported using a particular font. Can anybody give me a hint? thanks Uwe Brauer
Re: [O] export to odt
Manfred Lotz writes: On Thu, 13 Jun 2013 08:37:55 +0100 Eric S Fraga e.fr...@ucl.ac.uk wrote: Manfred Lotz manfred.l...@arcor.de writes: [...] This is really weird or it is because just my knowledge about Libreoffice is limited. At least, I'm happy to be able to use LaTeX in most cases instead of an office product. I'm with you on this! I use LaTeX almost exclusively. Every now and again, unfortunately, I have to share an editable document with others and LibreOffice/MSWord is the only easy way. For simple dissemination, LaTeX - PDF is better. Yep, exactly. I'm grateful that the export to odt was implemented in org-mode so that we have an option to give a finalized document away if needed. Note, however, that what you've been discussing is a feature, not a requirement. LibreOffice allows you to put the title of the document in a field code that mirrors the document metadata; it doesn't force you to, and I imagine 95% of users aren't even aware of the option. As I recall, this was a solution Jambunathan opted for at some late point in the development of the org-odt exporter. Before that, the exporter just wrote the title in as ordinary, editable text. I sort of preferred the old approach, but not enough to bother to ask to have it back. But if many users are baffled why they can't just edit a document title on the page itself after exporting to ODT -- and that seems likely -- maybe this feature is ripe for a change. Yours, Christian
Re: [O] export to odt
On Fri, 14 Jun 2013 09:07:26 +0200 Christian Moe m...@christianmoe.com wrote: Manfred Lotz writes: On Thu, 13 Jun 2013 08:37:55 +0100 Eric S Fraga e.fr...@ucl.ac.uk wrote: Manfred Lotz manfred.l...@arcor.de writes: [...] This is really weird or it is because just my knowledge about Libreoffice is limited. At least, I'm happy to be able to use LaTeX in most cases instead of an office product. I'm with you on this! I use LaTeX almost exclusively. Every now and again, unfortunately, I have to share an editable document with others and LibreOffice/MSWord is the only easy way. For simple dissemination, LaTeX - PDF is better. Yep, exactly. I'm grateful that the export to odt was implemented in org-mode so that we have an option to give a finalized document away if needed. Note, however, that what you've been discussing is a feature, not a requirement. LibreOffice allows you to put the title of the document in a field code that mirrors the document metadata; it doesn't force you to, and I imagine 95% of users aren't even aware of the option. As I recall, this was a solution Jambunathan opted for at some late point in the development of the org-odt exporter. Before that, the exporter just wrote the title in as ordinary, editable text. I sort of preferred the old approach, but not enough to bother to ask to have it back. Yes I'm aware that this is due to the way how org-mode export to odt is coded. But if many users are baffled why they can't just edit a document title on the page itself after exporting to ODT -- and that seems likely -- maybe this feature is ripe for a change. Hm, I do not have any requirements to later change title and author in the odt document as I would change it in the org file directly. Thus I don't care how the title and author is set in the odt document. -- Manfred
Re: [O] export to odt
Manfred Lotz manfred.l...@arcor.de writes: On Fri, 14 Jun 2013 09:07:26 +0200 Christian Moe m...@christianmoe.com wrote: But if many users are baffled why they can't just edit a document title on the page itself after exporting to ODT -- and that seems likely -- maybe this feature is ripe for a change. Hm, I do not have any requirements to later change title and author in the odt document as I would change it in the org file directly. Thus I don't care how the title and author is set in the odt document. And this only comes up for me very infrequently (less than once a month, probably much les). Now that I know how to change the title, I'm not bothered very much. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.3-193-g334581
Re: [O] export to odt
Manfred Lotz manfred.l...@arcor.de writes: [...] Aah, ok. Now I see what your are after. GO to menu entry File/Properties and then you click tab Description. There you can edit Title. Indeed! Thanks. It seems that you can edit author via menu Tools/Options. Then choose LibreOffice/User Data and edit First/Last Name. Finally, you have to go to File/Properties and click on Reset (Please note, that there 'Apply user data' must be clicked on). Yikes. Now this is definitely not straightforward. Although it sort of makes sense... I may actually find it easier to edit the .odt file directly although, even there, the information (both title and author) is found in two places: meta.xml and content.xml. I am not sure why the information needs to be repeated. It leads me to wonder whether the meta information could remain as it is and the exporter could generate the actual content as editable text? This is really weird or it is because just my knowledge about Libreoffice is limited. At least, I'm happy to be able to use LaTeX in most cases instead of an office product. I'm with you on this! I use LaTeX almost exclusively. Every now and again, unfortunately, I have to share an editable document with others and LibreOffice/MSWord is the only easy way. For simple dissemination, LaTeX - PDF is better. Thanks again for your help on this! -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.3-193-g334581
Re: [O] export to odt
On Thu, 13 Jun 2013 08:37:55 +0100 Eric S Fraga e.fr...@ucl.ac.uk wrote: Manfred Lotz manfred.l...@arcor.de writes: [...] This is really weird or it is because just my knowledge about Libreoffice is limited. At least, I'm happy to be able to use LaTeX in most cases instead of an office product. I'm with you on this! I use LaTeX almost exclusively. Every now and again, unfortunately, I have to share an editable document with others and LibreOffice/MSWord is the only easy way. For simple dissemination, LaTeX - PDF is better. Yep, exactly. I'm grateful that the export to odt was implemented in org-mode so that we have an option to give a finalized document away if needed. -- Manfred
Re: [O] export to odt
Manfred Lotz manfred.l...@arcor.de writes: On Tue, 11 Jun 2013 11:33:56 +0100 Eric S Fraga e.fr...@ucl.ac.uk wrote: [...] 2. The title and author fields in the exported document are protected in some way and I cannot figure out how to enable editing on them. I can change the style for these just fine but I cannot change the text. You easily can setup both title and author in your org document like this: #+TITLE: My Important Documentation #+AUTHOR: Manfred Lotz Is this what you mean? No. I know I can set the title and author in org. However, sometimes, I need to tweak the title or author information *only* in the exported document. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.3-193-g334581
Re: [O] export to odt
On Wed, 12 Jun 2013 08:33:55 +0100 Eric S Fraga e.fr...@ucl.ac.uk wrote: Manfred Lotz manfred.l...@arcor.de writes: On Tue, 11 Jun 2013 11:33:56 +0100 Eric S Fraga e.fr...@ucl.ac.uk wrote: [...] 2. The title and author fields in the exported document are protected in some way and I cannot figure out how to enable editing on them. I can change the style for these just fine but I cannot change the text. You easily can setup both title and author in your org document like this: #+TITLE: My Important Documentation #+AUTHOR: Manfred Lotz Is this what you mean? No. I know I can set the title and author in org. However, sometimes, I need to tweak the title or author information *only* in the exported document. Aah, ok. Now I see what your are after. GO to menu entry File/Properties and then you click tab Description. There you can edit Title. It seems that you can edit author via menu Tools/Options. Then choose LibreOffice/User Data and edit First/Last Name. Finally, you have to go to File/Properties and click on Reset (Please note, that there 'Apply user data' must be clicked on). This is really weird or it is because just my knowledge about Libreoffice is limited. At least, I'm happy to be able to use LaTeX in most cases instead of an office product. -- Manfred
Re: [O] export to odt
Manfred Lotz manfred.l...@arcor.de writes: [...] The following worked fine: I loaded the exported odt document, changed the Heading 1 style to do a page break before the heading and saved the template as my.ott (I copied it into the ~/org directory). Thanks. Very helpful. I have two different questions about exporting to ODT, one related to style and other not: 1. Description lists are indented somehow, both the item and the description. I would like to change the indentation but the LibreOffice sytle dialogue doesn't show any indentation. I cannot find where the indentation is specified. 2. The title and author fields in the exported document are protected in some way and I cannot figure out how to enable editing on them. I can change the style for these just fine but I cannot change the text. Can you please point me in the right direction for either or both of these? I am a n00b when it comes LibreOffice etc. unfortunately. Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.3-193-g334581
Re: [O] export to odt
On Tue, 11 Jun 2013 11:33:56 +0100 Eric S Fraga e.fr...@ucl.ac.uk wrote: Manfred Lotz manfred.l...@arcor.de writes: [...] The following worked fine: I loaded the exported odt document, changed the Heading 1 style to do a page break before the heading and saved the template as my.ott (I copied it into the ~/org directory). Thanks. Very helpful. I have two different questions about exporting to ODT, one related to style and other not: 1. Description lists are indented somehow, both the item and the description. I would like to change the indentation but the LibreOffice sytle dialogue doesn't show any indentation. I cannot find where the indentation is specified. Hm, not quite sure about this as I am no expert regarding Libreoffice. I will have a look if I find anything about this. 2. The title and author fields in the exported document are protected in some way and I cannot figure out how to enable editing on them. I can change the style for these just fine but I cannot change the text. You easily can setup both title and author in your org document like this: #+TITLE: My Important Documentation #+AUTHOR: Manfred Lotz Is this what you mean? -- Manfred
Re: [O] export to odt
Hi Eric, On Tue, 11 Jun 2013 11:33:56 +0100 Eric S Fraga e.fr...@ucl.ac.uk wrote: Manfred Lotz manfred.l...@arcor.de writes: [...] The following worked fine: I loaded the exported odt document, changed the Heading 1 style to do a page break before the heading and saved the template as my.ott (I copied it into the ~/org directory). Thanks. Very helpful. I have two different questions about exporting to ODT, one related to style and other not: 1. Description lists are indented somehow, both the item and the description. I would like to change the indentation but the LibreOffice sytle dialogue doesn't show any indentation. I cannot find where the indentation is specified. I found the following. You open the Modify Dialog for style OrgDescriptionList. Here you choose tab Position. Then you can modify indentation for level 1 and 2. Example: org mode: - dog :: is an animal In odt document dog is an animal Then dog is level 1 and 'is an animal' is level 2. Then as previously described the style could be saved in an .ott file and be specified in the org file itself. Hope this helps. -- Manfred
Re: [O] export to odt
Hi, Manfred Lotz writes: My question: Is there an easy way to configure the odt export to do a page break before switching to a Heading 1 line? In the end I would like to view a Heading 1 like a chapter in a LaTeX book class. It's easier to use LibreOffice to modify the Heading 1 paragraph style to always have a page break before. It's an option on the Text Flow tab on the Edit Paragraph Style dialogue. You can save the style and reuse it, cf. 12.9.4 Applying custom styles in the manual. Yours, Christian
Re: [O] Export as ODT, as ODT file is opening document automatically
On Tue, Mar 26, 2013 at 5:14 PM, Christian Moe m...@christianmoe.com wrote: I cannot replicate this. `C-c C-e o o' works as expected. I don't use openwith, so that may be where the problem lies. Yup. It's not actually openwith itself, but I tracked it down to: (openwith-mode t) I only have this setup for using Sunrise Commander (Emacs file manager) so I can open files from it. Something must be triggering openwith on Org-mode export to ODT. Can one set a conditional use of a mode? I'd be happy to adjust my config so that openwith only turns on when I use Sunrise. Best regards, John Yours, Christian John Hendy writes: I'm on =release_8.0-pre-181-ge7cfb4= and with =C-e o o=, LibreOffice immediately opens the file. I'd expect this with =C-e o O=, but not with =C-e o o=. I noticed that I have an openwith process running =soffice /path/to/file.odt=... is the exporter somehow triggering openwith to open it even though I haven't said to do so upon export? Here's my settings in .emacs: (openwith-associations (quote ((\\.pdf\\' evince (file)) (\\.mp3\\' vlc (file)) (\\.\\(?:mpe?g\\|avi\\|wmv\\|mov\\)\\' vlc (-idx file)) (\\.\\(?:jp?g\\|png\\)\\' geeqie (file)) (\\.\\(?:odg\\|odt\\|docx\\|doc\\)\\' soffice (file)) (\\.\\(?:odp\\|ppt\\|pptx\\)\\' soffice (file)) (\\.\\(?:xls\\|xlsx\\|ods\\)\\' soffice (file) John
[O] Export as ODT, as ODT file is opening document automatically
I'm on =release_8.0-pre-181-ge7cfb4= and with =C-e o o=, LibreOffice immediately opens the file. I'd expect this with =C-e o O=, but not with =C-e o o=. I noticed that I have an openwith process running =soffice /path/to/file.odt=... is the exporter somehow triggering openwith to open it even though I haven't said to do so upon export? Here's my settings in .emacs: (openwith-associations (quote ((\\.pdf\\' evince (file)) (\\.mp3\\' vlc (file)) (\\.\\(?:mpe?g\\|avi\\|wmv\\|mov\\)\\' vlc (-idx file)) (\\.\\(?:jp?g\\|png\\)\\' geeqie (file)) (\\.\\(?:odg\\|odt\\|docx\\|doc\\)\\' soffice (file)) (\\.\\(?:odp\\|ppt\\|pptx\\)\\' soffice (file)) (\\.\\(?:xls\\|xlsx\\|ods\\)\\' soffice (file) John
Re: [O] Export as ODT, as ODT file is opening document automatically
I cannot replicate this. `C-c C-e o o' works as expected. I don't use openwith, so that may be where the problem lies. Yours, Christian John Hendy writes: I'm on =release_8.0-pre-181-ge7cfb4= and with =C-e o o=, LibreOffice immediately opens the file. I'd expect this with =C-e o O=, but not with =C-e o o=. I noticed that I have an openwith process running =soffice /path/to/file.odt=... is the exporter somehow triggering openwith to open it even though I haven't said to do so upon export? Here's my settings in .emacs: (openwith-associations (quote ((\\.pdf\\' evince (file)) (\\.mp3\\' vlc (file)) (\\.\\(?:mpe?g\\|avi\\|wmv\\|mov\\)\\' vlc (-idx file)) (\\.\\(?:jp?g\\|png\\)\\' geeqie (file)) (\\.\\(?:odg\\|odt\\|docx\\|doc\\)\\' soffice (file)) (\\.\\(?:odp\\|ppt\\|pptx\\)\\' soffice (file)) (\\.\\(?:xls\\|xlsx\\|ods\\)\\' soffice (file) John
Re: [O] export to ODT
Henri Info manual has some useful info on odt exporter. See http://orgmode.org/manual/OpenDocumentText-export.html#OpenDocumentText-export It's relatively a reliable way to explore the capabilities of the exporter. I got the following line in my *Messages* buffer: Use of MathJax is incompatible with ODT exporter. Using dvipng instead. I do know about this MathJax. (Very roughly) what this message tries to convey is this: If you have LaTeX fragments in your Org file you are better off using dvipng instead of MathJax. This message concerns with the following config line (implicit or explicit) --8---cut here---start-8--- #+OPTIONS: LaTeX:t --8---cut here---end---8--- It is also a cue to the developer that ODT and HTML exporter still needs LaTeX-MathML functionality. If it doesn't trouble you don't bother about it much. When the odt file is loading I get a message window from LibreOffice with a general error. Then it goes away and the file continues loading. In my experience this typically happens when the XML is *not* well-formed. If OpenOffice thinks that it can get around to recover from the non-well-formedness, then it continues loading the file by repairing it. In othercases, OpenOffice may not be able to recover from the malformed XML and in that it case it simply says the file is corrupt and resigns from the task at hand. One thing you could do for identifying the root cause of this error is: 1. Switch to *.odt buffer (C-x n whatever.odt) 2. Open the content.xml (Hit RET on content.xml) 3. Do a C-u C-c C-n (M-x rng-first-error) You will be able to identify the error and surrounding the context which is problematic. This will help you with constructing a minimal sample that reproduces the error. There are a few issues with merging lines and no space in between them, but overall it looks great. Please add few more lines of description. Send me a minimal sample that reconstructs these issues. Thanks to the developer(s) or org-odt!!! Thanks for trying out org-odt and feeding back your experiences. Best, Henri-Paul --
[O] export to ODT
Dear orgmoders, I am an intermediate emacs + org-mode user. I would like to ask you for instructions on how to install the org - ODT converter. I googled for instructions but they are above my level of understanding. I run the git development versions and update it daily. I run GNU Emacs 24 on Ubuntu Maverick (10.10). Thanks and best regards, Henri-Paul -- Henri-Paul Indiogine Email: hindiog...@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.5
Re: [O] export to ODT
Henri-Paul Indiogine hindiog...@gmail.com wrote: Dear orgmoders, I am an intermediate emacs + org-mode user. I would like to ask you for instructions on how to install the org - ODT converter. I googled for instructions but they are above my level of understanding. I run the git development versions and update it daily. I run GNU Emacs 24 on Ubuntu Maverick (10.10). It's been pulled into contrib/ so all you have to do is make sure that the contrib/lisp directory is in your load-path and then C-c C-e o (or C-c C-e O) - at least, it did for me on a simple org file. Nick
Re: [O] export to ODT
Hi Nick! Nick Dokos nicholas.do...@hp.com writes: It's been pulled into contrib/ so all you have to do is make sure that the contrib/lisp directory is in your load-path and then C-c C-e o (or C-c C-e O) - at least, it did for me on a simple org file. Thanks! That is easier than I thought. I have now the following lines in my .emacs : (add-to-list 'load-path ~/elisp/org-mode/lisp) (add-to-list 'load-path ~/elisp/org-mode/contrib/lisp) (require 'org-install) (require 'org-exp) (require 'org-latex) I got the following line in my *Messages* buffer: Use of MathJax is incompatible with ODT exporter. Using dvipng instead. I do know about this MathJax. When the odt file is loading I get a message window from LibreOffice with a general error. Then it goes away and the file continues loading. There are a few issues with merging lines and no space in between them, but overall it looks great. Thanks to the developer(s) or org-odt!!! Best, Henri-Paul -- Henri-Paul Indiogine Email: hindiog...@gmail.com Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.5