Re: org-tables with monetary amounts

2020-10-14 Thread Christian Moe
Hi, Derek, Very useful, thanks! Yours, Christian Derek Feichtinger writes: > Hi, > > On Mon, Oct 12 2020, Eric S Fraga wrote: > >> On Monday, 12 Oct 2020 at 10:22, Christian Moe wrote: >>> I think I was thinking about adding mode flags for unit computations, >&

Re: org-tables with monetary amounts

2020-10-12 Thread Christian Moe
Hi, Daniele, Good that it's working for you. I'll try to explain the unclear parts. Daniele Nicolodi writes: > On 24/09/2020 11:17, Christian Moe wrote: > >> Now, with the Calc command to simplify units, you can add dollars to >> euros and get the result in whichever cu

Re: Help: how to extend org-mode markup?

2020-09-25 Thread Christian Moe
Please disregard my response. I misunderstood both your intention and the use of font-lock keywords. Sorry for the noise. :-( Yours, Christian Pierre-Henry F. writes: > Thank you very much for your replies. > > Here is the use case: > > |---+| > | something | :next: | >

Re: Help: how to extend org-mode markup?

2020-09-25 Thread Christian Moe
Hello, In your example, `:next:' is a tag. Tags and keywords are different entities. https://orgmode.org/worg/dev/org-syntax.html You should be able to do what you want by customizing `org-tag-faces'. Yours, Christian Pierre-Henry F. writes: > Hello, > > I would like to extend the org-mode

Re: org-tables with monetary amounts

2020-09-24 Thread Christian Moe
Hi, Parsing numbers followed by currencies is sort of supported already through Calc's operations on units. (Calc is the built-in emacs calculator that powers the spreadsheet function of Org tables). I haven't used this or explored it much, but my impression is that it could be made more useful

Re: I'm slowly coming back

2020-04-13 Thread Christian Moe
Important work! Stay safe. Christian Bastien writes: > Dear all, > > my day job is to work for the open data public agency in France. > > I have been drown under a massive workload in the last four weeks, > due to the COVID-19 crisis. > > I am slowly freeing more time and I'll be back at

Re: org2blog: get horizontal scrollbar on code examples?

2020-04-04 Thread Christian Moe
Try adding .org-src-container .src { overflow: auto; white-space: nowrap } to the CSS, e.g.: #+html_head_extra: .org-src-container .src { overflow: auto; white-space: nowrap } Cheers, Christian Steinar Bang writes: > Does anyone know of a way to get horizontal scrollbars on code

Re: Need Guidance in developing and generating code using org-mode

2020-02-28 Thread Christian Moe
Hi, Kokou, Adding to what Leslie Watter writes: >>- Under Register, and Login heading, How do i generate html forms >>which will post entries to specific destinations? and also generate code >>for capturing the data? >> >> To use forms, you'll probably will use raw HTML: > >

Re: Exporting comments to comments?

2020-02-23 Thread Christian Moe
I use a rather complex comment macro to make ODT annotations without introducing unwanted paragraph breaks. I'm not sure what the Markdown comment syntax is. But e.g. for HTML, the macro could be defined as simply as: #+MACRO: comment @@html:@@ Then you can write things like This is a

Re: [Idea] Org Collections

2019-12-16 Thread Christian Moe
+1, that is: This is an interesting idea, there have been times when I might have found something like this handy, and I might well use if it's developed, though I'm not sure if it will ease my cognitive load or add to it. :-) Yours, Christian Moe Gustav Wikström writes

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-11-07 Thread Christian Moe
Missing styles file?" L.C. Karssen writes: > On 06-11-18 16:35, Christian Moe wrote: >> >> I believe the need to use quotation marks around the style file name was >> removed at some point > > I didn't know that. I had a quick look at the changes to ox-odt.el for > t

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-11-06 Thread Christian Moe
ot;template.ott\"" > > Removing the quotes fixes the export to ODT. > > > Best regards, > > Lennart. > > [1] https://orgmode.org/org.html#Applying-custom-styles > > > On 05-11-18 09:49, Christian Moe wrote: >> >> Thanks, Nicolas! >> >&g

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-11-05 Thread Christian Moe
Thanks, Nicolas! I'll test on my end when it shows up in ELPA. Yours, Christian Nicolas Goaziou writes: > Hello, > > Christian Moe writes: > >> It seems the ODT exporter currently fails to read the ODT_STYLES_FILE >> option as a list, as in this example from t

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-10-30 Thread Christian Moe
Sorry, forgot to attach the test files. #+title: ODT styles test #+ODT_STYLES_FILE: ("odt-test-styles.odt" ("styles.xml" "Pictures/120100A200B0A7D655E3F0A97ECF.png")) Place this Org file in the same directory as the accompanying file odt-test-styles.odt and export it to ODT.

[O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-10-30 Thread Christian Moe
Hi, It seems the ODT exporter currently fails to read the ODT_STYLES_FILE option as a list, as in this example from the manual ([[info:org#Applying custom styles]]): #+ODT_STYLES_FILE: ("/path/to/file.ott" ("styles.xml" "image/hdr.png")) This is needed if you want a complex style with e.g. an

Re: [O] letterhead and signature in odt export

2018-10-30 Thread Christian Moe
You should be able to make a letterhead template by placing the letterhead in the header, saving it as an ODT styles file and specifically referencing any images in a list in the ODT_STYLES_FILE header. See the manual 12.12.5, "Applying custom styles". When I try it, though, Org fails to parse

Re: [O] [patch] Problems producing TikZ PNGs from LaTeX src blocks (was: Problems producing TikZ PNGs from LaTeX src blocks)

2018-09-30 Thread Christian Moe
ng the file name and cleaning up temporary files. Probably as a result of this failure, no PNG is created. I have also tried to apply your patch, without effect. Maybe I did it wrong, but it increasingly looks like I have some weird problem with my setup in addition to the issue you uncovered. Yours, Christian Moe

[O] Fwd: Re: Problems producing TikZ PNGs from LaTeX src blocks

2018-09-30 Thread Christian Moe
(Forgot to copy this to the list, sorry) > Hi, Eric > > Thanks for looking into this. > >> This works for me, cutting and pasting exactly what you have posted into a >> small org file. >> >> Output from my *Messages* buffer: >> , >> | Wrote /tmp/x.org >> | org-babel-exp process latex at

Re: [O] Problems producing TikZ PNGs from LaTeX src blocks

2018-09-30 Thread Christian Moe
Eric S Fraga writes: > On Friday, 28 Sep 2018 at 16:37, Christian Moe wrote: >> Hi, Eric >> >> Thanks for looking into this. >> >>> | executing Latex code block... >>> | (Shell command succeeded with no output) >>> | Code block evaluation

[O] Problems producing TikZ PNGs from LaTeX src blocks

2018-09-28 Thread Christian Moe
Hi, I am trying to generate a PNG file with a TikZ picture from a LaTeX src block, looking at instructions here: https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html I try this: #+header: :file "tikzpic.png" :fit yes :results raw file :exports results :headers

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-04-29 Thread Christian Moe
So, user feedback: I'm fine with not enabling by default. I don't use any of these, but it sounds like the new default expansion mechanism Nicolas mentioned might suit me if I ever switch from my homemade insert-block function (which does prompts and regions). Yours, Christian Bastien writes:

Re: [O] Should wip-cite branch be merged to master?

2018-04-21 Thread Christian Moe
I have no opinion on whether it's time for a merge or not, but please don't wait up for me. Nicolas Goaziou writes: > I also remember that Christian Moe suggested an alternate syntax for > citations. He might want to point out what is missing from @cite syntax > and if he still prefers

Re: [O] Structured links to headings with endless depth

2018-03-12 Thread Christian Moe
ST writes: > Adding an extra <> is not an option, as it will make the text > less readable, and there is no need in this, as the headings tree > structure is already there: Adding targets, CUSTOM_IDs or IDs are all options. You may not like them. > * 1 > ** 1 > ** 2 > *** 1 > > Why should I

Re: [O] [RFC] Moving "manual.org" into core

2018-01-23 Thread Christian Moe
Bastien Guerry writes: > Hi Nicolas, > >> "manual.org" was updated a month ago, and, so far, nobody complained >> about it. So, I think it's a good time to discuss about what could be >> done next. > > Having the manual in .org is a great achievement, congrats to anyone > who worked on this

[O] org-adapt-indentation 'content (was Re: [RFC] Moving "manual.org" into core)

2018-01-23 Thread Christian Moe
Nicolas Goaziou writes: > Bastien Guerry writes: > >> I've added (org-list-description-max-indent . 5) > > OK. > >> Me too, for the same argument. But this points to a strong limitation >> to `org-adapt-indentation' for which I'd like to propose this change. >> >>(setq

Re: [O] Org citations, CSL and citeproc-el

2018-01-05 Thread Christian Moe
This is exciting news, and I look forward to trying it out. Regarding syntax: 1. A couple of years back, there was an active discussion on this list to flesh out a native citation syntax for Org. I fell off the discussion, but I think it resulted in a non-link-based, feature-rich syntax spec,

Re: [O] make test is failing? [ob-fortran stuff]

2017-06-09 Thread Christian Moe
I see. Thanks. Yours, Christian Kaushal Modi writes: > Turns out the Fortran compiler binary gfortran is part of GCC. Those > fortran tests fail for GCC 4.4.7 but not when using GCC 6.1.0. > > On Tue, Feb 23, 2016 at 3:59 AM Christian Moe <m...@christianmoe.com> wrote: >

Re: [O] Reproducing a table

2017-03-14 Thread Christian Moe
Jarmo Hurri writes: > In some earlier version of Org the following > used to work: > > #+name: my-table > | row 1 | 1 | 2 | > | row 2 | 3 | 4 | > |---+---+---| > | | col 1 | col 2 | > > #+call: my-table() :hlines yes > > That is, in the past the

Re: [O] Reproducing a table

2017-03-14 Thread Christian Moe
You can simplify it even further to #+begin_src elisp :var data=my-table :hlines yes data #+end_src which is sane enough for me. To get simpler than that, I think you need #+INCLUDE and a separate file. I can't tell from the example why you need to define it in one place and reproduce it

Re: [O] [Ann] Tool to hack time

2017-02-03 Thread Christian Moe
Here I was, hoping it was a tool to *actually* hack time. You know, M-x tardis-mode. :-) Yours, Christian Marco Wahl writes: > Dear Orgers, > > https://gitlab.com/marcowahl/hack-time is a little tool to forge the > `current-time' in Emacs. This allows to mark todo-items done >

Re: [O] Remove Org from Emacs repository?

2016-12-18 Thread Christian Moe
+1. (= Keep it in.) Yours, Christian Carsten Dominik writes: > Dear all, > > I'd hate to see Org removed from Emacs. It took a lot of work to get it > in, and I believe that the vast majority of Emacs users does not install > packages. For a newbie to get to Emacs and to be able to open a

Re: [O] ODT export

2016-10-12 Thread Christian Moe
Haven't done this in a while, but I just tested, and ODT custom style files work fine for me under Org 8.3.4. (Note: I haven't pulled the latest Org changes; waiting for another package to catch up.) I've never know this to fail as such. I did have a problem for a while using .odt files as

[O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Christian Moe
Peter Davis writes: > 3. The direct route from org to DocBook xml seems to be missing. It's gone extinct, but there is a fossil record of it in the online manual: http://orgmode.org/guide/DocBook-export.html It's not linked to from the TOC, but turned up in a DuckDuckGo search. It should

Re: [O] apply attr_html to a whole figure?

2016-09-22 Thread Christian Moe
I don't think Org syntax provides any way to do this at present, but ignore the rest of this message if anyone knows better. Possible workarounds: 1. Wrap your figure in a #+BEGIN_ADDITIONALCLASS...#+END_ADDITIONALCLASS block, to wrap the div.figure in a div.additionalclass. Not exactly what

Re: [O] Inline HTML?

2016-09-21 Thread Christian Moe
David A. Gershman writes: > My org file has: > > This is line one. > This is line two. > > but the HTML export makes them different paragraphs... Does it? If they're not separated by a blank line, the exporter should run them together into one paragraph. Mine does. > However, a

Re: [O] odt macro export

2016-08-06 Thread Christian Moe
Ken Mankoff writes: > This works: > > #+BEGIN_ODT > > This paragraph is specially formatted and uses bold text. > > #+END_ODT > > But this does not. Should it? > > #+MACRO: BEGIN_RC @@odt:@@ > #+MACRO: END_RC @@odt:@@ > {{{BEGIN_RC}}} > This paragraph is specially formatted and uses bold

Re: [O] verse

2016-07-27 Thread Christian Moe
Uwe Brauer writes: >>> It seems that the verse environment does what I want, it is however >>> exported in a ugly font (type writer), how can I change that font. > >> See the manual, section 12.9.4 "Applying custom styles". > > That section is a very general one, I cannot find

Re: [O] verse (was: orgmode aquivalent of hfill?)

2016-07-26 Thread Christian Moe
Uwe Brauer writes: > It seems that the verse environment does what I want, it is however > exported in a ugly font (type writer), how can I change that font. See the manual, section 12.9.4 "Applying custom styles". Yours, Christian

Re: [O] Patch: default CSS class for SVG images in HTML export

2016-07-25 Thread Christian Moe
Jarmo Hurri writes: > If this patch is ok, then what is missing are the default CSS settings > for the new class org-svg in constant org-html-style-default. I simply > did not know what to put there. The manual says that this constant has > basic settings for _all_ defined CSS entities. Either

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Christian Moe
Scott Randby writes: >> #+attr_html: :width 100px >> [[path/to/image.svg]] > > It has been awhile since I tried to scale an SVG image using Org markup, > but I recall trying what you suggest and it didn't work. I will try > again when I have some time and report the results to this list. I

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Christian Moe
Jarmo Hurri writes: > The method you suggested above - setting id - works (all tests done in > Chrome). Mine are in Firefox. > But setting id-values is cumbersome, because you need to do it > for every file. > It is also possible to set a CSS class similarly, that is, modifying > your example

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Christian Moe
Jarmo Hurri writes: > Greetings. > > Does anyone have any idea of how to scale an SVG figure produced by Org > (Asymptote)? The exported HTML is > > > > Sorry, your browser does not support SVG. > > (Suggested an answer on another thread. For completeness:) You can scale the SVG by

Re: [O] Babel CALL no longer produces HTML output

2016-07-24 Thread Christian Moe
Jarmo Hurri writes: >> Try: >> >> #+CALL: rekursio-pystyviivat[:noweb yes]() :results export html > > Greetings Christian, > > for some reason that did not improve the end result. Sorry, I had that solution freshly in mind from a different problem (involving #+INCLUDE, not #+CALL), and

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Christian Moe
I also disagree with myself :-) -- I wrote: > To sum up, makes the most common task simpler (scaling the > graphic), but the Org example I included seems to show that can be just as simple from Org. Forgot to edit the conclusion. cm

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Christian Moe
I disagree. A switch to for SVG export (1) is not necessary for scaling, and (2) would disable other useful features that are presently available out of the box. (1) It *is* a bit easier to scale SVG with in HTML. But you *can* scale SVG with by putting the in a container and scaling the

Re: [O] Babel CALL no longer produces HTML output

2016-07-23 Thread Christian Moe
> #+CALL: rekursio-pystyviivat[:noweb yes]() :results html HTML blocks have been replaced with EXPORT blocks in recent Org. For good reasons, I presume, but it takes some getting used to. Try: #+CALL: rekursio-pystyviivat[:noweb yes]() :results export html Yours, Christian

Re: [O] Tuning the layout of published html

2016-07-19 Thread Christian Moe
Jarmo Hurri writes: >> and position the different parts as needed with CSS. > > This is where I don't know what exactly is going to happen. Org writes > quite a bit of CSS in each exported HTML file. If I add in, say, a > vertical navigation bar, how am I going to control its placement with >

Re: [O] Tuning the layout of published html

2016-07-19 Thread Christian Moe
Hi, No need for derived backends. You could just add both the title bar and the navigation bar in the HTML preamble to each page, and position the different parts as needed with CSS. If you're using Org's publishing function, define a :html-preamble in org-publish-project-alist. Yours,

Re: [O] Importing ODT/libreoffice into Org

2016-07-17 Thread Christian Moe
Eric Abrahamsen writes: > I just had to convert a 200+ page document to Org by hand: searching > for italics worked, but not replace. Looks like pandoc is the way to go, I'll have to try it. Still, Search/Replace for italics in LibreOffice ought to work. Try this recipe: 1) Edit -> Find /

Re: [O] Open Peer-Review Reproducible Publication with Org and GRASS

2016-06-06 Thread Christian Moe
This is really interesting on several levels. Thanks for posting. Yours, Christian Ken Mankoff writes: > Hi Org and GRASS lists, > > I just wanted to let these two lists know that I've just posted a paper > written in Org and using GRASS (text-mode) and Python for the analysis. My > goal was

Re: [O] Row reference for :table-line-pos in a capture template.

2016-04-14 Thread Christian Moe
Hello, Nicolas just fixed a bug related to this. If you can pull the latest version, try and see if it works now. Yours, Christian leho.y...@gmail.com writes: > hello, > I'm trying to use :table-line-pos in a capture template. > I want add new line just after the third hline in the table. >

Re: [O] [BUG] Capture template table line specification

2016-04-14 Thread Christian Moe
Nicolas Goaziou writes: > Fixed. Thank you. Confirmed! Thank you. Yours, Christian

Re: [O] [BUG] Capture template table line specification

2016-04-13 Thread Christian Moe
--+-| | [2016-04-09 Sat] |2 | 67 |33.5 | | [2016-04-11 Mon] |1 | 32 | 32 | | [2016-04-13 Wed] |2 | 65 |32.5 | |--+--+--+-| | | | | 0/0 | #+TBLFM: $4=$3/$2 Nicolas Goaziou writes: > Hello,

Re: [O] OT: two interesting articles about (non-)reproducible research

2016-04-11 Thread Christian Moe
Rafael Laboissière writes: > * Nick Dokos [2016-04-08 14:54]: (...) >> 538.com has published a couple of interesting articles on some poli-sci >> research: >> >> >>

[O] [BUG] Capture template table line specification

2016-04-10 Thread Christian Moe
Hi again, Another odd problems after updating to Emacs 24.5 and Org 8.3.4: I have a capture template that puts the captured info into a table line before the second horizontal line of the table. Capture fails with this message: Capture template `x': Invalid table line specification "II-1"

[O] [BUG] Failure to run sh source block

2016-04-10 Thread Christian Moe
I've hit a couple of odd problems after updating to Emacs 24.5 and Org 8.3.4 (freshly pulled). Trying to run a simple shell source block, e.g. #+begin_src sh pwd #+end_src fails with this error: org-babel-variable-assignments:sh: Symbol's function definition is void: org-babel-get-header

Re: [O] export to odt is not per default in the export menu

2016-04-10 Thread Christian Moe
>>> 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

2016-04-08 Thread Christian Moe
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

Re: [O] seeking advice on use of drawers vs blocks

2016-04-07 Thread Christian Moe
may arise, though... Yours, Christian Christian Wittern writes: > Dear Christian, > Thank you for your feedback. > On 2016-04-05 16:54, Christian Moe wrote: >> On the third hand, have you considered wrapping a block in a drawer? > No, I had not considered this. Let me play around

[O] Test failures on update

2016-04-06 Thread Christian Moe
Hi, I just updated to the current 8.3.4 after a system upgrade (Mac OS X 10.11, fresh Emacs 24.5.1 installed via Homebrew). When trying to =make up2=, I got 79 "unexpected" failures. About the same as I recall from some months back, but far more than I used to. Are other people getting this

Re: [O] seeking advice on use of drawers vs blocks

2016-04-05 Thread Christian Moe
to remember where all the colons and pluses go. If you only need the added metadata/functionality for some annotations, and not always, that might be a solution. Yours, Christian Moe Christian Wittern writes: > Dear Orgmoders, > > Today I would like to poll the collective wisdom of th

Re: [O] How to do proper folding and semantic markup

2016-03-31 Thread Christian Moe
Eduardo Mercovich writes: > > ... place the abstract and #+LATEX: commands for frontmatter before the > first exported headline, e.g., > #+BEGIN_abstract > [Abstract here] > #+END_abstract Originally my fault for pointing out that this was possible (for latex and html backends, anyway) without

Re: [O] Spreadsheet: Conditionally apply formula to cell?

2016-03-19 Thread Christian Moe
Hi, Yes, there is. See the manual on logical operations in "Formula syntax for Calc", which gives an example for almost exactly the same thing. | 1 | 2 | 13 | | | || #+TBLFM: $3=if("$1" == "nan" || "$2" == "nan", string(""), $1+$2+10);E Yours, Christian Loris Bennett writes: > Hi,

Re: [O] make test is failing? [ob-fortran stuff]

2016-02-23 Thread Christian Moe
I always fail the Fortran tests too, on Mac OS X 10.6.8, though supposedly there's a Fortran interpreter in there somewhere. Yours, Christian Kaushal Modi writes: > Hi all, > > I cloned a fresh copy of org-mode and ran "make test" for the first time. > > The following are failing: > > 3

Re: [O] Numbered list counting down?

2016-02-22 Thread Christian Moe
Hi, This will work: 1. [@3] Third 2. [@2] Second 3. [@1] First Yours, Christian Peter Davis writes: > I'm trying to create a numbered list where the numbers count down > instead of up. As I understand this: > , the following should work: > >

Re: [O] Filling a list of dates in a spreadsheet

2016-02-04 Thread Christian Moe
Hi, S- (Shift-Return) is your friend. After you've entered the first two dates, move down to the third row (which needs to be empty), and hit S-. You can continue pressing S- without moving down a row each time. Yours, Christian Cameron Horsburgh writes: > Hi folks, > > I'm putting together

Re: [O] small caps

2015-10-30 Thread Christian Moe
Thomas S. Dye writes: > Sorry, I forgot to give an example. I use it like this [[sc:ad][AD]]. > > The advantage of a link over a macro is that the link should export > correctly to both LaTeX and HTML. > > If you intend to export to a single backend, then Nicolas' suggestion to > use a macro is

[O] Update hangs on compiling org-timer.el

2015-10-28 Thread Christian Moe
Hi, Anyone else seeing this? I'm trying to update Org for the first time in ages, using "make update2" on Mac OS X 10.6.8. (No, haven't upgraded that for a while, either.) The process gets as far as "Compiling path/to/lisp/org-timer.el" and hangs there until I kill it. Yours, Christian

Re: [O] prompt for deadline in capture template?

2015-10-25 Thread Christian Moe
Matt Lundin writes: >> Xebar Saram writes: >> >>> Hi guys >>> >>> i looked in the capture docu but couldn't seem to find it. anyone knows how >>> to prompt for deadline in capture template? > > If you want to do it more pragmatically, you could use something like > this (adjust the template as

Re: [O] subject tree listing from publish

2015-10-22 Thread Christian Moe
For a listing by a hierarchy of subject, I think the index system does what you want and is the only approach that does what you want out of the box. But if I understand correctly, you already have an index, and want this to be a separate listing? Yours, Christian Greg O'Keefe writes: > Hi, >

Re: [O] Show first leaf heading on startup

2015-10-20 Thread Christian Moe
You could set a VISIBILITY property manually, but that solution of course is not robust to changes in outline and does not automatically carry over to other documents. [[info:org#Initial visibility]] Yours, Christian Shankar Rao writes: > How can I make it so that on startup, only the content

Re: [O] Add custom CSS class to code section?

2015-10-01 Thread Christian Moe
Hi, #+BEGIN_foo #+BEGIN_SRC R system.time( result <- doSomething() ) #+END_SRC #+END_foo will wrap your code section in a element. Yours, Christian Williams, Ken writes: > Hi, > > In http://orgmode.org/manual/CSS-support.html , I can see how to style > Org-Mode's existing CSS classes in

Re: [O] convert a simple list of lines each to a orgmode header

2015-09-29 Thread Christian Moe
> Xebar Saram writes: > >> Hi all >> >> im looking for a simple way toconvert a simple list of lines (i can >> mark it first if needed) each to a orgmode header anyone has such a >> way? >> > > Maybe I'm missing something, but can't you just add asterisks in front > of each

Re: [O] HTML Export, CSS Styling

2015-08-22 Thread Christian Moe
Hi, See the first paragraph of the section Quoting HTML tags in the manual. In your example, you could do: This is the paragraph body that will allow *bold* or /italic/ or even _underline_, but what if I want only @@html:span style=color: red;@@THIS@@html:/span@@ word to have

Re: [O] No ODT Export

2015-06-02 Thread Christian Moe
SabreWolfy writes: I'm using Org 8.2.4. C-c C-e does not offer any ODT export. Where should I start looking to solve this? It's not included among export backends by default. Adding (add-to-list 'org-export-backends 'odt) should do the trick. Yours, Christian

Re: [O] New maintainance team

2015-05-24 Thread Christian Moe
Thanks and a big hand of applause to all of you, and to Nicolas, for making Org-mode keep on rockin'. Yours, Christian Bastien writes: Hi all, thanks for the quick answers on helping me with the maintaince. Here is the new maintainance team: Kyle Meyer will watch Emacs development

Re: [O] Continuing a numbered list

2015-04-30 Thread Christian Moe
DJ writes: I know how to get multiple paragraphs in one numbered list item. But how can I stick a table in the middle of my multiple-paragraph list item without terminating the list? Try simply indenting the table. For aesthetics/reaability I like it to line up with the list-item

Re: [O] Numbering only *some* subheadings?

2015-04-30 Thread Christian Moe
You can do the opposite and number only the topmost headings, e.g. with #+OPTIONS: num:1 but I don't think Org has a way to number only sub-headings. In HTML export, you can get there with CSS hacks. For the exact example you gave, #+HTML_HEAD: style.section-number-2 {display: none;}/style

Re: [O] Citation syntax: Underscore MUST(?) be allowed in cite keys?

2015-03-04 Thread Christian Moe
Also, Zotero items are typically identified by [library-ID]_[item-key] hashes with an underscore separator. Christian Rasmus writes: Vaidheeswaran C vaidheeswaran.chinnar...@gmail.com writes: I am complaining about how org-element.el behaves. This [cite:@adler_how_1972] becomes this:

[O] [ODT][BUG] Custom link types in ODT footnotes

2015-02-24 Thread Christian Moe
Hi, custom link types created with org-add-link-type seem to no longer work in ODT footnotes. The expected output of the below example is for the bbdb link to be replaced with /nil/ (I don't have Stallman in my address book) and for SCREAMING LINK to be upcased if you've executed the source

Re: [O] [ODT][BUG] Custom link types in ODT footnotes

2015-02-24 Thread Christian Moe
Hi, I confirm it's fixed. Thanks! That was fast. Yours, Christian Nicolas Goaziou writes: Hello, Christian Moe m...@christianmoe.com writes: custom link types created with org-add-link-type seem to no longer work in ODT footnotes. The expected output of the below example

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Christian Moe
Hi, Thanks for this. You have [fn:1] footdef1[fn:2] [fn:2] footdef2 What do you expect to see in ODT? Presumably not a footnote in a footnote, since LibreOffice doesn't allow you to place one. An ODT cross-reference to the footnote? That makes sense, but should that be achieved by

Re: [O] exporting zotxt or orgref links to HTML and ODF

2015-01-27 Thread Christian Moe
Matt Price writes: My question: does anyone yet have a workflow that lets them export directly to HTML or ODT? Hi, Matt, Yes, now I have not just a workflow, but a code solution for Org/Zotero/ODT export that has been tried and tested for a while. It now supports multiple references in one

Re: [O] exporting zotxt or orgref links to HTML and ODF

2015-01-27 Thread Christian Moe
the same as in the original versions. So yes, please do send the code if you are willing. If you have hints about the more ambitious citation system, I and I'm sure others would love to see them. thanks, Matt On Tue, Jan 27, 2015 at 4:18 AM, Christian Moe m...@christianmoe.com wrote: Matt

Re: [O] exporting zotxt or orgref links to HTML and ODF

2015-01-27 Thread Christian Moe
Matt Price writes: On Tue, Jan 27, 2015 at 8:30 AM, Rasmus ras...@gmx.us wrote: Hi, Christian Moe m...@christianmoe.com writes: Actually, Rasmus wrote the following, not I. IMO we /need/ to add proper citation support to Org, preferably with a real syntax rather than these link

Re: [O] exporting zotxt or orgref links to HTML and ODF

2015-01-27 Thread Christian Moe
Richard Lawrence writes: It looks to me like Pandoc has a quite general solution, and it also looks like Org could use Pandoc's citation syntax as-is. I would suggest borrowing this syntax as a starting point for building citation support into Org. It's been years since I looked at Pandoc,

Re: [O] mailto link with a subject and a content

2015-01-16 Thread Christian Moe
Hi, This works fine for me with mu4e as the mail client. It's not guaranteed to work with every client, but it can be a solution for personal use. It's not necessarily the best solution. The general syntax is mailto:address?subject=textbody=text Some applications even allow adding attachments

Re: [O] [html-export question] location with JS.

2014-12-17 Thread Christian Moe
The issue is that the javascript that I use absolute position in pixels, and the browser doesn't update the location when zooming... Any ideas on how to solve this? Which browser? It seems to work well with zooming in Firefox and Safari, so I'd say you're doing something right and the

Re: [O] [html-export question] location with JS.

2014-12-17 Thread Christian Moe
= elements[0]; // instead of var e = elements[i]; Yours, Christian Rasmus writes: Hi Christian, Christian Moe m...@christianmoe.com writes: The issue is that the javascript that I use absolute position in pixels, and the browser doesn't update the location when zooming... Any ideas on how

Re: [O] [BUG][ODT] Headings not created with num:nil

2014-11-28 Thread Christian Moe
have to try to figure out why that happens. Yours, Christian Rasmus writes: Christian Moe m...@christianmoe.com writes: Hi, Headings should be styled as Heading 1, Heading 2 etc. in ODT output. But when heading numbering is turned off, they are just styled as paragraphs in Default Style

[O] [BUG][ODT] Headings not created with num:nil

2014-11-27 Thread Christian Moe
Hi, Headings should be styled as Heading 1, Heading 2 etc. in ODT output. But when heading numbering is turned off, they are just styled as paragraphs in Default Style. They *are* included in the exported TOC, though. Tested in 8.3beta. Example: #+TITLE: Test headings

Re: [O] [bug?, ox-odt] Format DATE

2014-11-10 Thread Christian Moe
[Forgot to reply all, so part of the below discussion happened off-list. Sorry. Back on track now. CM] Rasmus writes: Hi Christian, Thanks for the helpful email. Note that you did not sent it to the ML, though. Christian Moe m...@christianmoe.com writes: Going by the documentation

Re: [O] odt export of subtree: set/suppress the date in the export

2014-11-03 Thread Christian Moe
Hi, Does setting the subtree's :EXPORT_DATE: property to the date of the meeting do what you're looking for? Yours, Christian Steinar Bang writes: Emacs version: GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Org version: Org-mode version 7.9.3f

Re: [O] Adding items in table

2014-10-02 Thread Christian Moe
You probably don't really want to replace the contents of column 3 ($3) with a sum of columns including column 3 ($2..$9)? To get useful help you'll need to provide the table, or a minimal example of a table with the same structure. Yours, Christian Chris Henderson writes: I have a table and

[O] Fwd: Re: Adding items in table

2014-10-02 Thread Christian Moe
Christian Moe writes: You probably don't really want to replace the contents of column 3 ($3) with a sum of columns including column 3 ($2..$9)? To get useful help you'll need to provide the table, or a minimal example of a table with the same structure. Yours, Christian Chris Henderson

Re: [O] Fwd: Re: Adding items in table

2014-10-02 Thread Christian Moe
| price | | x | v | $323.98 | y | x | $184.45| | Total | | ?? | On Thu, Oct 2, 2014 at 7:01 PM, Christian Moe m...@christianmoe.com wrote: Christian Moe writes: You probably don't really want to replace the contents of column 3 ($3) with a sum

Re: [O] ox-odt doesn't honor :anchor page

2014-09-30 Thread Christian Moe
Confirmed, but it seems to be a documentation error, not a bug. It works if you leave out the quotation marks: #+ATTR_ODT: :anchor page The docs do indeed unequivocally require quotation marks, but I don't think there is any need for them. Yours, Christian Martin Gürtler writes: Hi,

Re: [O] Image collisions (was Re: ox-odt doesn't honor :anchor page)

2014-09-30 Thread Christian Moe
Martin Gürtler writes: Hi, thanks for the fast response. Am 30.09.2014 um 09:58 schrieb Christian Moe: Confirmed, but it seems to be a documentation error, not a bug. It works if you leave out the quotation marks: #+ATTR_ODT: :anchor page This indeed helped. Unfortunately, it turns

Re: [O] orgmode in drupal

2014-09-29 Thread Christian Moe
Thanks for this -- definitely interesting, but I'll have no time to try it out for a while. Yours, Christian David Arroyo Menendez writes: Hello, Perhaps in this mailing list there are some drupal admin who wants upload his files to drupal. I've a project to make it :)

Re: [O] resize multiple image within a row or paragraph

2014-09-24 Thread Christian Moe
Nicolas Goaziou writes: Hello, Christian Moe m...@christianmoe.com writes: Here's a simple CSS workaround that might or might not work well for you, and won't work for non-HTML backends, but at least requires minimal hacking: [...] Good to know. Anyhow, does my proposal make sense

  1   2   3   4   5   6   >