Re: Create in Org a bilingual book with facing pages

2022-09-28 Thread Christian Moe
Hi, Juan Manuel, I keep saving your messages with process documentation for future reference should I ever attempt anything similar. Much appreciated! Yours, Christian Juan Manuel Macías writes: > Hi all, > > TL; DR: > > The bilingual critical edition (ancient Greek/Spanish) of the letters of

Re: Simple but repetitive http links

2022-09-07 Thread Christian Moe
Hi, Org scans the file for link definitions when you visit it, so when you type in the link definition in the buffer, Org is not automatically aware that it exists. To refresh setup without reloading the file, you can `C-c C-c' with point on the line with the definition. That should do it.

Re: Maintaining oc-csl

2022-08-13 Thread Christian Moe
András Simonyi writes: > Dear All, > > I'd like to volunteer to maintain oc-csl.el, which currently doesn't > have an official maintainer as far as I can tell. As the author and > maintainer of citeproc-el and the author of oc-csl's precursor, > citeproc-org, I think I'm reasonably well

[ODT][BUG] Format error on export with table in list structure

2022-08-10 Thread Christian Moe
Hi, Consider the following minimal example, a nested list with a table in a sub-item (regardless of list types and empty lines): #+BEGIN_EXAMPLE 1. List item - Sub-item | Table | #+END_EXAMPLE This causes a format error on ODT export (I'm running Org version 9.5.4). In the content.xml

Re: how obtain automatic row numbers in a table starting after the second hline?

2022-08-10 Thread Christian Moe
). Yours, Christian Uwe Brauer writes: >>>> "CM" == Christian Moe writes: > >> Hi, Uwe, >> Three ideas: > > Wow, thanks a lot of all these solutions > > I am using the new ods exporter found in > > g...@github.com:kjambunathan/org-mode-

Re: how obtain automatic row numbers in a table starting after the second hline?

2022-08-07 Thread Christian Moe
Hi, Uwe, Three ideas: 1. Since your solution depends on the row number (@#) in any case, your use case does not actually depend on hline-relative references, does it? Then you can also assign to absolute row numbers, either by - assigning to the range rather than to the colum, which

Re: [feature] Allow "," decimal point in table cells (was: org-table with different conventions: decimals)

2022-07-20 Thread Christian Moe
Ihor Radchenko writes: > Uwe Brauer writes: > >>> Uwe Brauer writes: >> >>> Org tables use Emacs' calc under the hood by default. >>> AFAIK, calc is unable to use "," as decimal point because it is reserved >>> as a vector separator. Which is why you got the vector addition in your >>>

Re: Mastodon link type for capturing toots?

2022-06-21 Thread Christian Moe
Yes, I probably will write my own (and share it here). Just wanted to check first if the wheel had already been invented, as I'm feeling lazy. Thanks for confirming it probably hasn't. Yours, Christian Ihor Radchenko writes: > Christian Moe writes: > >> Has anyone written

Re: About 'inline special blocks'

2022-06-19 Thread Christian Moe
Juan Manuel Macías writes: > To add some ideas that have been occurring to me these days... > Hi, This makes sense to me. Note: For the html output in your example, I expect you don't mean contents>, but contents. That would give the desired custom style controle of the output, and would

Mastodon link type for capturing toots?

2022-06-18 Thread Christian Moe
Hi, Has anyone written a link type for Mastodon that would allow you to org-capture the post/status ("toot") at point? I'm referring to mastodon.el (https://codeberg.org/martianh/mastodon.el), which is available via install-packages. Yours, Christian

Re: export to odt, but #text# should be coloured

2022-06-10 Thread Christian Moe
I forgot to escape the quotation marks, of course. > "@@odt:@@\\1@@odt:@@" "@@odt:@@\\1@@odt:@@"

Re: export to odt, but #text# should be coloured

2022-06-10 Thread Christian Moe
Hi, Since all formatting is defind as styles and styles are defined in separate (parts of the) files that make up an ODT file, this requires you to work with ODT styles. There may be a hack around it, I don't know. See the manual for how to use a style sheet with #+ODT_STYLES_FILE. (For a

Re: [tip] org-publish to work with (very) large books

2022-05-26 Thread Christian Moe
Thanks, Juan! Yours, Christian Juan Manuel Macías writes: > Hi Ihor and Christian, > > Ihor Radchenko writes: > >> Christian Moe writes: >> >>> Do I understand correctly that the main advantage of this approach (over >>> #+INCLUDE) is the ability t

Re: [tip] org-publish to work with (very) large books

2022-05-26 Thread Christian Moe
I see, thanks. Ought this to be documented at [[info:org#Publishing options]], perhaps? Yours, Christian Ihor Radchenko writes: > Christian Moe writes: > >> Do I understand correctly that the main advantage of this approach (over >> #+INCLUDE) is the ability to continuou

Re: [tip] org-publish to work with (very) large books

2022-05-26 Thread Christian Moe
Thanks for this, really interesting. Do I understand correctly that the main advantage of this approach (over #+INCLUDE) is the ability to continuously update preview of the whole book with latexmk -pvc even if you only re-export one chapter from Org-mode? I couldn't find the :body-only

Re: About 'inline special blocks'

2022-05-26 Thread Christian Moe
+1 Eric S Fraga writes: > On Tuesday, 24 May 2022 at 10:51, Timothy wrote: >> To me, this is another reason for comment and #+attr_X lines not to >> break paragraphs [...]. > > And, in fact, if this were true (which I would like), I personally would > see no reason for having inline special

Org-cite rocks!

2022-05-19 Thread Christian Moe
Hi, This is just to say that I've finally got around to testing org-cite with citeproc.el and it's awesome. A big thanks to Bruce, András, Nicolas and everyone else who's been patiently chipping away at this for years. Yours, Christian

[BUG] Agenda view fails with rx error in org-at-timestamp-p

2022-04-22 Thread Christian Moe
Hi, After updating to Org mode version 9.5.3-g69c588 via Elpa on Emacs 26.3, my Org Agenda view fails with the following backtrace: Debugger entered--Lisp error: (error "rx form ‘regexp’ requires args satisfying ‘stringp’") signal(error ("rx form ‘regexp’ requires args satisfying

Re: adding a header and/or footer when exporting to odt

2021-10-02 Thread Christian Moe
Uwe Brauer writes: >>>> "CM" == Christian Moe writes: > >> Uwe Brauer writes: > >>> Hi >>> >>> Is it possible to have a header and footer in all pages when >>> exporting to odt? I presume I have to use a odt style I creat

Re: adding a header and/or footer when exporting to odt

2021-10-01 Thread Christian Moe
Uwe Brauer writes: > Hi > > Is it possible to have a header and footer in all pages when exporting to > odt? I presume I have to use a odt style I create with Libreoffice/Openoffice? > > Thanks > > Uwe Brauer Yes, that's it. Just export your document, add the header you want (and do whatever

Re: [PATCH] Accept more :tangle-mode specification forms

2021-10-01 Thread Christian Moe
Tom Gillespie writes: > I strongly oppose this patch. It adds far too much complexity to the > org grammar. Representation of numbers is an extremely nasty part of > nearly every language, and I suggest that org steer well clear of > trying to formalize this. I'd like to understand these

Re: Citations merged!

2021-07-09 Thread Christian Moe
Wow, congratulations! Yours, Christian Nicolas Goaziou writes: > Hello, > > It took years, but citations are now full part of Org syntax. > > Thanks to everyone involved over the time! > > Now, it needs to be documented, but that will come a bit later. > > Regards,

Re: convert subtree or nested list to table

2021-07-08 Thread Christian Moe
Hi, Matt, Here's a version of this with a bit more processing. Define this somewhere in your document #+NAME: list2table #+BEGIN_SRC elisp :var order="columns" (let (longest) (setq data (map 'list 'flatten data)) (setq data (map 'list (lambda (x) (seq-difference x '(unordered

Re: publishing: no default publishing function, or symbol is not defined

2021-06-19 Thread Christian Moe
Hi, Chris, "Symbol's function definition is void" means there is no such function defined. Try org-html-publish-to-html instead. Yours, Christian Christopher W. Ryan via General discussions about Org-mode. writes: > I'm making my first foray into publishing a project. I'm running GNU >

Re: org-critical-edition (a package for philologists and classicists)

2021-06-14 Thread Christian Moe
Very neat! Curious about a design choice: If I understand correctly, org-critical-edition puts the hidden notes in the description and the visible annotated text in the target of an org link. This is the reverse of the out-of-the-box link appearance (description visible, target hidden if

Re: Cross referencing in Emacs Org mode

2021-05-19 Thread Christian Moe
Hi, The question, then, is not if you can have cross-references (as you say, they work fine), but if they will work with subtree export. I believe not (but others may have to correct me). Links/refs to parts of the document outside the exported subtree *will* be broken. The exporter does not

Re: [PATCH] Possibility of using alternative separators in macros

2021-05-17 Thread Christian Moe
Maxim Nikulin writes: > On 17/05/2021 02:21, Christian Moe wrote: >> Maxim Nikulin writes: >>> On 03/05/2021 04:08, Christian Moe wrote: >> [snip] >>> #+MACRO: allargshack (eval (format "- /%s/ :: %s" $1 (mapconcat >>> #'identity _ ",&qu

Re: [PATCH] Possibility of using alternative separators in macros

2021-05-16 Thread Christian Moe
Maxim Nikulin writes: > On 03/05/2021 04:08, Christian Moe wrote: [snip] >> Something that would help, without adding new syntax, is >> making macro expansion smart enough to *ignore* separators when the >> macro definition contains only *one* argument anyway, as in the

Re: [PATCH] Possibility of using alternative separators in macros

2021-05-02 Thread Christian Moe
I frequently need to escape commas in macros, which is a bit of a pain and easy to forget. My most frequent use case is a macro that expands in ODT export to a margin comment (like #+begin_annotation does, but without causing a line break). It takes one argument which typically consists of

Re: org-refile using the ID of the target

2021-04-07 Thread Christian Moe
My approach is to tag the equivalent of your "Notes" subtree of the various projects in my agenda files with an :INBOX: tag. The following code in .emacs then makes sure they are presented as refile targets: ;; Refile (setq org-refile-targets '((org-agenda-files . (:tag . "INBOX")) ;;

Re: How to have a repeating item within some hours?

2021-04-03 Thread Christian Moe
If it's on the same day, how about this? ** <2021-03-29 Mon 05:15-06:16 +7d> Time block Yours, Christian Marcin Borkowski writes: > Ping? > > On 2021-03-28, at 11:52, Marcin Borkowski wrote: > >> Hi Orgers, >> >> I'd like to have a repeating time block on the agenda, say every Monday >>

Re: [PATCH] tweaks to ox-html style

2021-02-13 Thread Christian Moe
Tim Cross writes: > BTW I think it would be nice if the html export was able to produce/use > a separate CSS file rather than in-line styles. This would make it > easier to drop exported HTML files into existing sites with custom > styles or update the look of exported files without needing to

Re: How to combine two org files that each have footnotes?

2021-02-11 Thread Christian Moe
Hi, This is actually easy because Org allows named footnotes (numbers are really just a special case of names). Make backup copies of your files for safety's sake, then visit file1.org and M-% to replace all instances of "fn:" with (for example) "fn:file1_". The footnotes will now be named

Re: Free up C-c SPC/org-table-blank-field?

2021-02-05 Thread Christian Moe
Tim Cross writes: > Eric Abrahamsen writes: > >>> Does it actually need a key binding? I've never used it and just use >>> to move to the next field, leaving the field blank. >> >> I assume it's meant for blanking a field you've already typed something >> into. But yes, I can't imagine it's a

Re: Local variables insecurities - Re: One vs many directories

2020-11-26 Thread Christian Moe
Located Eric's message and can confirm the same for mu4e (no query about setting/evaluating anything upon opening the message). cm Eric S Fraga writes: > On Wednesday, 25 Nov 2020 at 15:38, Jean Louis wrote: >> I have not configured anything. In fact I have opened the email and I >> was

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-24 Thread Christian Moe
Great! Thanks for following through on this, Dan! Yours, Christian Kyle Meyer writes: > Daniele Nicolodi writes: > >> Thank you for the review, Kyle. >> >> Another updated patch set is attached. > > Thank you for the update. > > Applied, tweaking the manual entry to use "a unit" rather than

Re: Tables: missing multi-col/row syntax

2020-11-04 Thread Christian Moe
+1 for enabling table-cell merges in export. I imagine this would be a tricky job for developers, but it would relieve me as a user of much repeated fiddling with exported drafts. +1 for doing it without adding clutter to the table syntax, but specifying merges on a separate line like formulas,

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,

  1   2   3   4   5   6   7   >