Re: [O] Cannot display local images with orgmode under macOS

2019-09-13 Thread Rick Frankel
On Thu, Sep 12, 2019 at 02:48:15PM +0200, Marco Wahl wrote: > Hi, > > Orgmode under macOS cannot display local images correctly, but it can > > display internet images > > without problem. > > After bisecting org-mode source code I found out that this commit > > causes the problem: > > >

Re: [O] S5 HTML export - org9.1.1

2017-10-10 Thread Rick Frankel
As the orginal author -- who hasn't looked @ or used ox-s5 in years ;O, just confirming the patch looks correct to me. I don't think i have commit privilges anymore (lost that ssh key), so i appreciate your applying it. thanks, rick On Sat, Oct 07, 2017 at 06:51:05PM +, Kyle Meyer wrote: > dc

Re: [O] [RFC] Shrink columns dynamically

2017-07-12 Thread Rick Frankel
So I haven't posted in a while, but i use table a lot, so here's my $0.02. Personally, my use of width cookies has been mostly for visual display of columns are very long and will wrap in an html or latex table export, but would force the display too wide. My ideal default would be to have a setti

Re: [O] [BUG] Inserting new heading

2017-03-16 Thread Rick Frankel
On Thu, Mar 16, 2017 at 01:03:18PM +0100, Nicolas Goaziou wrote: > Hello, > > Rick Frankel writes: > > > There is a bug w/ inserting new headings after a collapsed heading (w/ > > C-return, org-insert-heading-respect-content) if the last content under the > > headi

[O] [BUG] Inserting new heading

2017-03-15 Thread Rick Frankel
There is a bug w/ inserting new headings after a collapsed heading (w/ C-return, org-insert-heading-respect-content) if the last content under the heading (or a subhead) is a RESULTS: block. This occurs w/ the value of org-blank-before-new-entry as either '(heading . auto) or '(heading . nil). Thi

[O] [PATCH] Update ob-ruby for inf-ruby 2.5

2016-12-27 Thread Rick Frankel
previous version (2.4). rick >From aa836b45487e61de6e74b6edde3c07ab5b885eb8 Mon Sep 17 00:00:00 2001 From: Rick Frankel Date: Mon, 26 Dec 2016 15:00:32 -0500 Subject: [PATCH] Update ob-ruby for inf-ruby 2.5 * lisp/ob-ruby.el (org-babel-ruby-initiate-session): `run-ruby` has very differ

Re: [O] [BUG] org-create-formula-image requires 'gs' when it doesn't look like to be necessary (causing issues on Windows)

2016-11-11 Thread Rick Frankel
On Fri, Nov 11, 2016 at 10:02:00AM -0500, Frederick Giasson wrote: > > Do you mean that "gs" could be removed from all entries in > > `org-preview-latex-process-alist'? > > > > I'm Cc'ing Feng Shu, who implemented the new LaTeX preview mechanism. He > > hopefully knows why this dependency was intr

Re: [O] Nested ordered (numbered) lists

2016-06-25 Thread Rick Frankel
On Sat, Jun 25, 2016 at 10:34:35PM +0300, ST wrote: > Hi, > > is there a way to produce nested ordered (numbered) lists and get it > exported (to pdf/html) properly? Like: > > 1. item_1 > 2. item_2 >2.1. subitem_2_1 > 2.1.1. subsubitem_2_1_1 >2.2. subitem_2_2 > 3. item_3 have you t

Re: [O] Combine tables which are results from calculations?

2015-11-04 Thread Rick Frankel
On Wed, Nov 04, 2015 at 10:03:48AM +0100, Rainer M Krug wrote: > Rick Frankel writes: > > > On Tue, Nov 03, 2015 at 02:18:05PM +0100, Rainer M Krug wrote: > >> Hi > >> > >> Considering the following example: > > > > here's a way to d

Re: [O] HTML Export, CSS Styling

2015-08-23 Thread Rick Frankel
On Fri, Aug 21, 2015 at 09:13:13PM -0700, David A. Gershman wrote: > I've been reading all evening about HTML exporting, style sheets, etc. > Maybe I've been inundated with information, but I haven't been able to > determine an answer to my question: can text in the middle of a > paragraph by styl

Re: [O] HTML export / list issues

2015-08-21 Thread Rick Frankel
On Fri, Aug 21, 2015 at 02:58:35PM +0200, Nicolas Goaziou wrote: > Hello, > > Jarmo Hurri writes: > > > Below is a (hopefully) self-explanatory org file of my problem and the > > associated html export. > > > > Jarmo > > > > * Problem description > > The examples below illustrate three problem

Re: [O] controlling how htmlize fontifies code

2015-08-03 Thread Rick Frankel
On Mon, Aug 03, 2015 at 02:50:27PM +0100, Eric S Fraga wrote: > On Sunday, 2 Aug 2015 at 09:19, Rick Frankel wrote: > > Check the documentation for the variable `org-html-htmlize-output-type'. > > Since > > ox-reveal is derived from ox-html, it should work as specifie

Re: [O] controlling how htmlize fontifies code

2015-08-02 Thread Rick Frankel
On Sun, Aug 02, 2015 at 10:24:25AM +0100, Eric S Fraga wrote: > Now, I can simply start up emacs with a light background, export my > slides and everything is fine. However, it would be nice to not have to > start up a new emacs just for this. Is there an easy way to pretend, > for export to HTML

Re: [O] Org-Mode and Mac OS X advice

2015-03-28 Thread Rick Frankel
On Thu, Mar 26, 2015 at 02:57:40PM +0100, Alan Schmitt wrote: > On 2015-03-26 14:50, Bernd Haug writes: > > I'm using this nice trick (passed to me by a colleague) that sets the > environment variables and path to be the same in zsh and emacs (launched > From the GUI). > > #+begin_src emacs-lisp >

[O] BUG: Cached named call lines

2015-03-13 Thread Rick Frankel
There are bugs with calling named call lines and blocks when they are cached. If the callee is cached, the results vary when the caller is re-evaluated. The following file demonstrates the bug(s). Unfortunately I don't have time right now to debug... #+BEGIN_SRC org ,* Cached results bug ,**

Re: [O] html export using html5 elements and bootstrap framework

2015-01-06 Thread Rick Frankel
On Sun, Jan 04, 2015 at 02:32:03AM +0100, Rasmus wrote: > Hi, > > RC writes: > > > If the default heading and content classes used by ox-html could be > > changed or aliased it should work well with org-mode html > > Maybe you can set up filters then to replace e.g. section into the desired > n

Re: [O] html export using html5 elements and bootstrap framework

2015-01-03 Thread Rick Frankel
On Fri, Jan 02, 2015 at 03:47:36PM +, R C wrote: > I would like to have org mode export a project using html5 elements and > bootstrap framework adapting the worg tutorial: > org-publish-html-tutorial.html > > - template with links to bootstrap css and js files, and a local.js file > with my

Re: [O] How to export to S5 HTML presentation

2014-09-28 Thread Rick Frankel
On Sat, Sep 27, 2014 at 07:59:13AM -0700, Jay Iyer wrote: >Hi, >I would like to use the S5 backend for HTML presentations but I am not >able to figure out how: (1) to set up headlines for incremental slide >builds and (2) to add speaker notes.� I spent a lot of time on the mailing >

Re: [O] org-table: missing vertical boundary when exported

2014-08-14 Thread Rick Frankel
On 2014-08-13 00:46, Shiyuan wrote: Rick,     Do you mean that   and don't mean the same thing? Their names suggest they do the same things. That's a terrible naming. Changing the former to the latter does fix the problem though. Why is that?  Please read the HTML specifications for an explain

Re: [O] Need info about code block header arguments in (HTML) export

2014-08-12 Thread Rick Frankel
On 2014-08-11 10:58, Avdi Grimm wrote: Hi there, Org experts! I write books in org-mode, and one of the features I've really started to need is to be able to automatically include filename information when exporting source code listings. That is, given some Org source like this:     #+BEGIN_SRC

Re: [O] org-table: missing vertical boundary when exported

2014-08-11 Thread Rick Frankel
On Sat, Aug 09, 2014 at 05:49:27PM -0700, Shiyuan wrote: >Hi,� >� � I learned a bit a about html/css and took another look the issue. It >turns out that org-mode uses the border attribute which is not respected >by my browser(Google Chrome version 36.0.1985.125 on Mac 10.9.4) .� >

Re: [O] HTML export of - [ ] does not display box anymore

2014-08-06 Thread Rick Frankel
On Wed, Aug 06, 2014 at 10:05:25AM +0200, Rainer Stengele wrote: >Am 05.08.2014 um 15:39 schrieb Rick Frankel: > On 2014-08-05 08:25, Rainer Stengele wrote: >doing an html export of > >* headline >- [ ] checkbox >- item > &

Re: [O] HTML export of - [ ] does not display box anymore

2014-08-06 Thread Rick Frankel
On Wed, Aug 06, 2014 at 10:05:25AM +0200, Rainer Stengele wrote: >Am 05.08.2014 um 15:39 schrieb Rick Frankel: > >I do not see the checkbox box anymore as I did in older versions. >I tried to find an export setting, tried several settings related to >tod

Re: [O] HTML export of - [ ] does not display box anymore

2014-08-05 Thread Rick Frankel
On 2014-08-05 08:25, Rainer Stengele wrote: Hi, doing an html export of * headline - [ ] checkbox - item I do not see the checkbox box anymore as I did in older versions. I tried to find an export setting, tried several settings related to todos but I cannot find a setting stopping the box to

Re: [O] Possible to use src block to generate org headlines for export?

2014-07-23 Thread Rick Frankel
On 2014-07-22 22:35, Matt Lundin wrote: Nick Dokos writes: In short, is there a more graceful and export-friendly way to use babel to generate org headlines for export? Or is there an easy way to get the export backend to delete the opening part of the drawer (i.e., :RESULTS:)? Any advice wo

Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-14 Thread Rick Frankel
On 2014-07-11 20:28, Ken Mankoff wrote: Try (org-redisplay-inline-images). Note "re". #+BEGIN_SRC :post (org-redisplay-inline-images) #+END_SRC #+RESULTS: I believe it is on WORG somewhere: #+BEGIN_SRC emacs-lisp (add-hook 'org-babel-after-execute-hook (lambda () (org-display-inline-images n

Re: [O] Tables orgmode2html styles

2014-07-01 Thread Rick Frankel
On 2014-06-30 05:32, silgon wrote: Hello guys. I just wanted to say that when you're converting the tables the properties of the tables are different. The properties are not longer part of the parameters of the tag, they are part of the css configuration. I realized that by using *org-reveal* to

Re: [O] html-encode in mathjax latex fragments

2014-07-01 Thread Rick Frankel
simply a hard-coded replacement within `org-html-format-latex', may be safer in the long run. Anyway Rick Frankel may have an opinion here. Not sure why `org-html-protect-char-alist' is a custom and not just a var, but IMHO, `org-html-encode-plain-text' is the correct solution. rick

Re: [O] unattractive list spacing in ox-html export

2014-06-25 Thread Rick Frankel
On 2014-06-24 09:24, Nicolas Goaziou wrote: Hello, Achim Gratz writes: You can disagree all you want, that doesn't make the underlying problem go away. The reason for the "unattractive spacing" is that list items, while conceptually paragraphs, do not have additional spacing after them so

Re: [O] unattractive list spacing in ox-html export

2014-06-24 Thread Rick Frankel
On 2014-06-24 08:46, Achim Gratz wrote: Eric Schulte gmail.com> writes: I disagree, editing CSS shouldn't be required for reasonable default list spacing on HTML export. You can disagree all you want, that doesn't make the underlying problem go away. The reason for the "unattractive spacing"

Re: [O] Publishing sitemap

2014-06-18 Thread Rick Frankel
Sorry, hit the wrong key... completed response below. On 2014-06-18 03:54, Vikas Rawal wrote: When I publish my web-site using org-mode, with suitable options in my org-publish-projects-alist, I can get org-publish to create a sitemap. Is it possible to just create the sitemap without publishi

Re: [O] Publishing sitemap

2014-06-18 Thread Rick Frankel
On 2014-06-18 03:54, Vikas Rawal wrote: When I publish my web-site using org-mode, with suitable options in my org-publish-projects-alist, I can get org-publish to create a sitemap. Is it possible to just create the sitemap without publishing the whole project? I sometimes update a single file,

Re: [O] Add a class for first paragraph in ox-html?

2014-06-10 Thread Rick Frankel
On 2014-06-06 18:37, kuanyui wrote: If you export an Org file to HTML, which has a paragraph before the first outline, the paragraph will be only wrapped with and no class/id: This is an obstacle for write CSS for org HTML page. Maybe this can be fix by add a seperate class or id for this par

Re: [O] org-table: missing vertical boundary when exported

2014-06-10 Thread Rick Frankel
On 2014-06-07 17:15, Shiyuan wrote:     I am following the manual example http://orgmode.org/worg/org-tutorials/tables.html [1]. But the two vertical boundary line on the very left and right  is not showing up when exported to html.  Anything I am missing? Thanks.  My guess is that it is relat

Re: [O] DTD prohibited

2014-06-05 Thread Rick Frankel
On 2014-06-04 12:52, AW wrote: Am Mittwoch, 4. Juni 2014, 17:04:14 schrieb Eric Abrahamsen: Eric S Fraga writes: > On Tuesday, 3 Jun 2014 at 22:14, AW wrote: > > [...] > >> Hi, >> >> thank you, I started again digging into this strange thing and the >> culprit >> seems the first line of the htm

Re: [O] Superscript and subscript in HTML?

2014-05-28 Thread Rick Frankel
On 2014-05-28 09:36, Peter Davis wrote: On Wed, May 28, 2014 at 09:29:44AM -0400, Rick Frankel wrote: The begin/end src lines are just that, markers to show where the org source starts and end. What you have formatted is a source code listing, not the source code. If you're giving an ex

Re: [O] Superscript and subscript in HTML?

2014-05-28 Thread Rick Frankel
On 2014-05-28 09:22, Peter Davis wrote: On Wed, May 28, 2014 at 08:50:20AM -0400, Rick Frankel wrote: On 2014-05-28 07:47, Peter Davis wrote: >Is there any markup which will let me get superscripts and subscripts >in HTML export? > >It would be great if the HTML exporter recognize

Re: [O] Superscript and subscript in HTML?

2014-05-28 Thread Rick Frankel
On 2014-05-28 07:47, Peter Davis wrote: Is there any markup which will let me get superscripts and subscripts in HTML export? It would be great if the HTML exporter recognized ^{...} and _{...} so the same markup would work for both LaTeX/PDF and for HTML. It does for me. I believe it always h

Re: [O] LaTex export questions

2014-05-28 Thread Rick Frankel
On 2014-05-27 23:25, Steven Arntson wrote: Nick Dokos writes: Igor Sosa Mayor writes: Steven Arntson writes: Hi, I'm trying to export an org-mode doc to LaTex and subsequently to PDF. This is a literary novel, written in prose. Right now when I run the export command, the resulting file is

Re: [O] emacs24-starter-kit and Aquamacs 3.0

2014-05-15 Thread Rick Frankel
On 2014-05-15 10:31, Vikas Rawal wrote: Probably not the answer you want, but as a long-time mac and emacs user, my suggestion would be to use the vanilla os x version of emacs. The "nextstep" build of emacs runs as a native app, You are suggesting to a Mac user to build his own Emacs? Do you k

Re: [O] emacs24-starter-kit and Aquamacs 3.0

2014-05-15 Thread Rick Frankel
On 2014-05-15 07:59, Axel Kielhorn wrote: I never wanted to learn Emacs. There is probably a more elegant way to add a /.emacs.d to the path when the editor is Aquamacs, but I have to learn some elisp for that. Or a way to tell Aquamacs to use a different init file. Any suggestions are apprecia

Re: [O] Export HTML with Free Form Text

2014-05-13 Thread Rick Frankel
On 2014-05-13 11:03, Esben Stien wrote: If I have a heading like this: ** foo bar baz ..and I export it to html, it comes out like this: ** foo bar baz Is there any way to tell export that free form text like this is allowed? What you want is verbatim text, or "Literal examples", not really

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-04-16 Thread Rick Frankel
On Sat, Mar 29, 2014 at 03:12:14PM +0100, Marcin Borkowski wrote: > Dnia 2014-03-28, o godz. 10:59:43 > Rick Frankel napisał(a): > > > On 2014-03-28 10:01, Sebastien Vauban wrote: > > > Rick Frankel wrote: > > > BTW, i used "[ ]" for the unchecked box (

Re: [O] Is it possible to add a class to a paragraph in HTML export?

2014-04-16 Thread Rick Frankel
On Wed, Apr 02, 2014 at 09:06:48AM +0200, Nicolas Goaziou wrote: > > If deemed useful, I think this patch should use > `org-html--make-attribute-string' instead of hard-coding "class" > attribute: > > (attributes (org-html--make-attribute-string >(org-export-read-attribute :attr_h

Re: [O] How to change org-export-html-style

2014-04-16 Thread Rick Frankel
On 2014-04-15 23:25, Rustom Mody wrote: On Tue, Apr 15, 2014 at 10:39 PM, Rick Frankel wrote: On 2014-04-15 07:30, Rustom Mody wrote: I need (for various reasons) to inline these styles I have this code in my init to change the html style (defun rusi/load-css()   "Returns string fro

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-04-02 Thread Rick Frankel
On 2014-03-29 10:12, Marcin Borkowski wrote: Dnia 2014-03-28, o godz. 10:59:43 Rick Frankel napisał(a): On 2014-03-28 10:01, Sebastien Vauban wrote: > Rick Frankel wrote: > BTW, i used "[ ]" for the unchecked box (we use the same for > checked and trans)... I think i'

Re: [O] [Patch] Few small fixes to html header

2014-03-28 Thread Rick Frankel
On 2014-03-28 11:16, Marcin Antczak wrote: Rick Frankel writes: On 2014-03-27 15:57, Marcin Antczak wrote: I've attached patch below, but I'm affraid that there is something wrong with indentation. I'm not sure if there is problem with my settings or just entire ox-html.el is

Re: [O] A problem with publishing

2014-03-28 Thread Rick Frankel
On 2014-03-28 00:44, Marcin Borkowski wrote: Dnia 2014-03-26, o godz. 09:26:15 Rick Frankel napisał(a): On 2014-03-23 17:01, Marcin Borkowski wrote: BTW, org-publish has built-in support for pushing to a remote server. You can use a tramp url as the publishing-directory, bypassing the

Re: [O] Zotero: import HTML --> org syntax?

2014-03-28 Thread Rick Frankel
On 2014-03-28 10:43, Matt Price wrote: Hi, (1) is there already an HTML "import" function that I just don't know about? Have you looked at pandoc: http://johnmacfarlane.net/pandoc/ rick

Re: [O] [Patch] Few small fixes to html header

2014-03-28 Thread Rick Frankel
On 2014-03-27 15:57, Marcin Antczak wrote: I've attached patch below, but I'm affraid that there is something wrong with indentation. I'm not sure if there is problem with my settings or just entire ox-html.el is indented badly. Unfortunately, ox-html is indented with a combination of tabs and

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-03-28 Thread Rick Frankel
On 2014-03-27 04:43, Nicolas Goaziou wrote: Hello, Grant Rettke writes: Sacha Chua made a nice hack to export checkboxes as unicode symbols to HTML here: http://sachachua.com/blog/2014/03/emacs-tweaks-export-org-checkboxes-using-utf-8-symbols/?shareadraft=baba27119_533313c944f64 (defun sacha

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-03-28 Thread Rick Frankel
On 2014-03-28 10:01, Sebastien Vauban wrote: Rick Frankel wrote: BTW, i used "[ ]" for the unchecked box (we use the same for checked and trans)... I think i'll change the unchecked box to ☐ to match the checked box (same as sachua). Isn't it error-prone and very misleading

Re: [O] A problem with publishing

2014-03-26 Thread Rick Frankel
On 2014-03-23 17:01, Marcin Borkowski wrote: Hi list, publishing doesn't work. I guess that I broke something;). May the source and publishing directories be the same? I have this in my init.el: (setq org-publish-project-alist '(("fnis2014" :base-directory "~/directory" :publ

Re: [O] Fwd: Question: how to disable htmlize during exporting?

2014-03-25 Thread Rick Frankel
when i get out from behind the firewall... rick P.S. Attached for review... From b49fa8b36b983f32ca9ff090eec0be7ff45a50c3 Mon Sep 17 00:00:00 2001 From: Rick Frankel Date: Tue, 25 Mar 2014 11:27:07 -0400 Subject: [PATCH] Allow disabling of htmlization in ox-html export. * lisp/ox-html.el (org

Re: [O] org-html5presentation

2014-03-25 Thread Rick Frankel
On 2014-03-25 09:31, Dov Grobgeld wrote: Rick Frankel's ox-slidy.el from: http://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00781.html [3] also works really well for me. He is just to modest to let you know himself. :-) Actually, i forgot i did the slidy port (it was a quick hack

Re: [O] org-html5presentation

2014-03-23 Thread Rick Frankel
On Sun, Mar 23, 2014 at 07:00:17PM +0100, Marcin Borkowski wrote: > Dnia 2014-03-23, o godz. 18:52:35 > Bastien napisał(a): > > > Rustom Mody writes: > > > > > Just checked with org 7.something (dunno for sure since org-version > > > does not work -- I had kept around an old directory in case o

Re: [O] [patch][ox-html] Support for level based containers

2014-03-19 Thread Rick Frankel
On 2014-03-18 15:41, Rasmus wrote: Rick Frankel writes: On 2014-03-17 23:31, Rasmus wrote: A general rule is that the section element is appropriate only if the element's contents would be listed explicitly in the document's outline. So, using this definition, in html5, th

Re: [O] [patch][ox-html] Stylistic changes

2014-03-19 Thread Rick Frankel
On 2014-03-18 15:46, Rasmus wrote: Rick Frankel writes: On 2014-03-17 23:36, Rasmus wrote: When you refer above to "utf-8 entities", do you mean the named html entities (e.g., <) or the actual utf-8 encoded characters? The latter. Do M-x describe-char on such an character. Em

Re: [O] How to use an image as an anchor in HTML export?

2014-03-18 Thread Rick Frankel
On 2014-03-18 11:46, William Denton wrote: I would like to use an image as an anchor in an HTML export (specifically in a reveal.js export---I really like this). I can't figure out how to make it work, and just end up with either a link with a missing image or an image with no link. I don't see t

Re: [O] [patch][ox-html] Support for level based containers

2014-03-18 Thread Rick Frankel
On 2014-03-17 23:31, Rasmus wrote: It's a variable that you can set in your project or in your Org file or in your init file. I don't see why div × 3 is better than section article div or something else conditional on two variables being explicitly set to get fancy HTML5. . . In any case, I don

Re: [O] [patch][ox-html] Stylistic changes

2014-03-18 Thread Rick Frankel
On 2014-03-17 23:36, Rasmus wrote: Rick Frankel writes: On Mon, Mar 17, 2014 at 11:19:27PM +0100, Rasmus wrote: Hi Rick, Rick Frankel writes: > On Mon, Mar 17, 2014 at 03:17:10AM +0100, Bastien wrote: >> Hello, >> >> Nicolas Goaziou writes: >> >> > S

Re: [O] [patch][ox-html] Stylistic changes

2014-03-17 Thread Rick Frankel
On Mon, Mar 17, 2014 at 11:19:27PM +0100, Rasmus wrote: > Hi Rick, > > Rick Frankel writes: > > > On Mon, Mar 17, 2014 at 03:17:10AM +0100, Bastien wrote: > >> Hello, > >> > >> Nicolas Goaziou writes: > >> > >> > So if the chang

Re: [O] [patch][ox-html] Support for level based containers

2014-03-17 Thread Rick Frankel
On Mon, Mar 17, 2014 at 11:26:28PM +0100, Rasmus wrote: > Rick Frankel writes: > > > On Mon, Mar 17, 2014 at 03:15:50AM +0100, Bastien wrote: > >> Hi Rasmus and Nicolas, > >> > > > >> Nicolas Goaziou writes: > >> > >> >>

Re: [O] [patch][ox-html] Support for level based containers

2014-03-17 Thread Rick Frankel
ext-markup-alist=.) Attached is a modification of the patch which fixes 2 & 3. #1 is a question more for Nicolas & Bastien... rick >From 21aed5d34613f9f922c2d1c8f5f67caac918c9cf Mon Sep 17 00:00:00 2001 From: Rick Frankel Date: Mon, 17 Mar 2014 13:27:12 -0400 Subject: [PATCH] Support for

Re: [O] [patch][ox-html] Stylistic changes

2014-03-17 Thread Rick Frankel
On Mon, Mar 17, 2014 at 03:17:10AM +0100, Bastien wrote: > Hello, > > Nicolas Goaziou writes: > > > So if the change is only stylistic, I see no reason to break > > compatibility with "ox-freemind.el". > I would favor a solution where the HTML backend uses what's > readable (— and friends) and wh

Re: [O] font-lock error on html export with src blocks

2014-02-27 Thread Rick Frankel
On 2014-02-27 10:00, Matt Price wrote: face-attribute: Wrong type argument: symbolp, (quote font-lock-constant-face) Did you try with emacs -Q? Have you tried resetting the definition of font-lock-constant-face? rick

Re: [O] css classes to tables in html export

2014-02-19 Thread Rick Frankel
t; > So, use the class attribute. #+ATTR_HTML: :class table table-striped table-bordered table-condensed | a | b | c | |---+---+---| | 1 | 2 | 3 | > > On Mon, Feb 17, 2014 at 03:22:13PM -0500, Rick Frankel wrote: > > On Sun, Feb 16, 2014 at 10:31:04PM +0100, Vikas Rawal wro

Re: [O] Proposal/request for input: slidify export for html slides

2014-01-29 Thread Rick Frankel
On Thu, Jan 30, 2014 at 12:57:46AM +, Ahmadou Dicko wrote: >I love slidify too and I think that having similar functionnality in org >could be great. >I think that you have everything to do that using the html backend, you >just need to interface the right Javascript/HTML5 libra

Re: [O] Org heading properties in code block?

2014-01-23 Thread Rick Frankel
On 2014-01-21 14:08, Christopher Kotfila wrote: Is it possible to include org heading properties directly in codeblocks on tangle? ** Some Subheading :PROPERTIES: :FOO: "bar" :END: #+BEGIN_SRC emacs-lisp :tangle /path/to/.dir-locals.el :noweb yes ((python-mode . ((some-var . <> #+END_SRC

Re: [O] [BUG] Testing fails after rename of ob-sh

2014-01-17 Thread Rick Frankel
On 2014-01-17 12:34, Eric Schulte wrote: Achim Gratz writes: What commit were you on before the pull and what branch/commit are you on now? Also, what's the output of "make config-test" (if you've added "sh" to BTEST_OB_LANGUAGES, simply remove it). I believe Achim's suggestion should be the

Re: [O] Bug: s5-export: Improved title template default. [8.2.1 (8.2.1-dist @ /usr/share/emacs/site-lisp/org-mode/)]

2014-01-16 Thread Rick Frankel
On Sat, Jan 11, 2014 at 02:27:01AM +0100, Arne Babenhauserheide wrote: > The following in ox-s5.el should fix this: > > (defcustom org-s5-title-slide-template > "%t > %a > %e > %d" applied in maint and master.

Re: [O] [RFC] vs in HTML export

2014-01-16 Thread Rick Frankel
On Sat, Jan 11, 2014 at 10:21:39AM +0100, Bastien wrote: > Rick Frankel writes: > > > I thing the solution is to use an tag for svg, but an > > tag for the rest. > > Yes -- I'm no HTML guru, but this corresponds to what I see in most > HTML pages. Chan

[O] [BUG] Testing fails after rename of ob-sh

2014-01-16 Thread Rick Frankel
Eric- After doing a git pull including the rename of ob-sh.el to ob-shell.el, testing fails with the error: Cannot open load file: no such file or directory, ob-sh rick

Re: [O] Buffer local alias?

2014-01-16 Thread Rick Frankel
On 2014-01-16 11:44, Achim Gratz wrote: Andreas Leha writes: Yes, I know. That's why I am sighing a bit: Both approaches need work or are inconvenient in one way or the other. That trait of reproducibility is shared with security. You might want to have alook at this: https://www.vagrantup.c

Re: [O] colorize html output when batch exporting

2014-01-15 Thread Rick Frankel
On 2014-01-15 03:04, Alan Schmitt wrote: Quick summary: I'm now able to generate the css, but I don't understand how it can change the colors. However, I still find there is a problem. Here is the html source generated from a snippet of the file: #+BEGIN_SRC html Inductive expr := | expr_th

Re: [O] colorize html output when batch exporting

2014-01-14 Thread Rick Frankel
On 2014-01-14 08:45, Alan Schmitt wrote: Hello, I'm trying to batch export a file, and I don't seem to have colorization working. Reading the documentation a bit, I found this information: Following these instructions, I set up this variable in the init.el called upon batch exporting, among o

Re: [O] [RFC] vs in HTML export

2014-01-10 Thread Rick Frankel
On 2014-01-09 16:10, Nick Dokos wrote: Exporting this to HTML produces tags like this: , | | | | | | | | | | ` I attach a patch[fn:1] that changes these to tags (the patch is proof-of-concept only, not meant for integration into org core - it'll need a fair amount of work b

Re: [O] [poll] Fontify code in code blocks

2014-01-09 Thread Rick Frankel
On 2014-01-09 07:22, Sebastien Vauban wrote: Hello, (setq org-src-fontify-natively t) as the default value of `org-src-fontify-natively' is `nil'. WDYT if we turn it on by default? +1.

Re: [O] Org Table Export to Markdown Table Question

2014-01-09 Thread Rick Frankel
On 2014-01-08 15:41, Aric wrote: I am trying to use org-mode now with R code in it to write manuscripts. That does unfortunately mean that it must be eventually exported to some doc format. I have been able to export to markdown and everything looks good in markdown (even previewed on github) w

Re: [O] html5 generation minor bug

2014-01-08 Thread Rick Frankel
Bastien- On 2014-01-04 09:36, Bastien wrote: I will look at making this the default when i have time if the doctype is html5 (`org-html-html5-p' is true), but it requires some work to get the info structure passed down to `org-html--anchor'. Sure -- please let us know when you have more time fo

Re: [O] Question about the math mode table exporting for latex and html

2014-01-07 Thread Rick Frankel
> > > > This would tell ox-html.el to transcode the table via ox-latex-tabel > > and feed the string via org-html-format-latex (assuming latex-frag is > > a string). > > FWIW, I think it's worth trying. I'm Cc'ing Rick Frankel for his > opinion. > I have no opinion on this one. Nicolas, if you think this is the correct approach syntactically, then it works for me. rick

Re: [O] html checkbox output

2014-01-07 Thread Rick Frankel
Bastien- Top quoting to keep the history but save the search to the bottom :)... Yes, i will rework/simplify the patch (remove the free-form option and the in-buffer setting), but I've been short on time the last week or so.. Will fix it and push this week. BTW, I've kept ascii output as the def

Re: [O] html5 generation minor bug

2013-12-27 Thread Rick Frankel
On 2013-12-27 12:23, Bastien wrote: Rustom Mody writes: When the html-doctype is set to html5 the generator still generates name attributes in links which is not correct html5 http://dev.w3.org/html5/markup/a.html#a-constraints Can you give an example of what it does and what it should do? R

Re: [O] [BUG] Add ob-J.el

2013-12-21 Thread Rick Frankel
On Fri, Dec 20, 2013 at 10:12:24AM -0700, Eric Schulte wrote: > Applied, Thanks! > > I've played with APL but never seriously, however I can see it being a > perfect tool for manipulating Org-mode tables. > > If you have time to put some documentation up on Worg as a new [1] > linked from [2] tha

[O] html checkbox output

2013-12-06 Thread Rick Frankel
tia rick >From 41da34c352f9c3899ece8294c3f618b665f12281 Mon Sep 17 00:00:00 2001 From: Rick Frankel Date: Tue, 3 Dec 2013 14:37:30 -0500 Subject: [PATCH] Add customization options for html checkboxes. * lisp/ox-html.el (html): Add in-buffer option HTML_CHECKBOX_TYP (org-html-checkbox-types): New constant. Contains

Re: [O] how to prevent html export from including the default javascript?

2013-12-05 Thread Rick Frankel
On 2013-12-05 03:56, Gijs Hillenius wrote: Hello I have trouble finding the correct explanation in ox-html.el.gz and searching on the web. I'm trying to tell the html exporter *not* to include the "

Re: [O] Getting checkboxes in HTML output?

2013-12-03 Thread Rick Frankel
On 2013-12-02 03:44, Sebastien Vauban wrote: Hello, Carsten Dominik wrote: I agree, but couldn't think of any other way. There are 3 other unicode options: 1. A box with an X (☒ U+2612 BALLOT BOX WITH X) 2. A bare (unboxed) X (✗ U+2717 BALLOT X) 3 A bare checkmark (✓ U+

Re: [O] Getting checkboxes in HTML output?

2013-12-03 Thread Rick Frankel
On 2013-12-02 11:38, Peter Davis wrote: I've now changed ox-html.el to include this: (defun org-html-checkbox (checkbox) "Format CHECKBOX into HTML." (case checkbox (on "☒") (off "☐") (trans "☑") (t ""))) This is sort of close to using [ ] for unchecked [/] for partially checked [X] for checke

Re: [O] Getting checkboxes in HTML output?

2013-11-30 Thread Rick Frankel
e unicode and the look at the html checkbox options. FWIW, there are other issues w/ the active version besides the changes not being saved -- If you are using hierarchical list or rollups indicators ([x/y], [x%]), they will not be updated w/o some javascript. rick > > > On 29.11.2013, at

Re: [O] Getting checkboxes in HTML output?

2013-11-29 Thread Rick Frankel
On 2013-11-28 16:58, Matt Price wrote: On Thu, Nov 28, 2013 at 4:26 PM, Sebastien Vauban wrote: Achim Gratz wrote: Rick Frankel writes: For xhtml compatibility, it would need to be 'checked="checked"'. I've done a quick look at the html dtd, and i does look like i

Re: [O] Getting checkboxes in HTML output?

2013-11-28 Thread Rick Frankel
On Wed, Nov 27, 2013 at 01:20:59PM -0500, Peter Davis wrote: > On Wed, Nov 27, 2013 at 11:03:38AM -0500, Nick Dokos wrote: > > Peter Davis writes: > > > > > I noticed that HTML output contains "[ ]" and "[X]", just like > the > > > mark-up. Wouldn't it make sense to use actual unchecked or > check

Re: [O] not handling failing sql statements in ob-sql.el with postgresql

2013-11-27 Thread Rick Frankel
On 2013-11-27 04:49, Joost Helberg wrote: Hi, in case psql (version 9.1 and later) encounters a SQL error, e.g. a syntax error, it doesn't exit with an error-code. Instead it continues and exits with 0. This means that evaluating faulty SQL-code in org-mode/babel leaves the user with no clue of

[O] [BUG] call results not creating #results

2013-11-13 Thread Rick Frankel
Eric- Since you're looking at call lines :)... there is a (fairly new i think) bug: When searching forward for results, following call lines are not being respected as stop points. For instance, given: #+BEGIN_SRC org ,* Call block test ,#+name: call-me ,#+BEGIN_SRC emacs-lisp :var v="one" v ,

Re: [O] Babel: the disappearing hline

2013-11-13 Thread Rick Frankel
On 2013-11-13 09:17, Eric Schulte wrote: Perhaps we should change `org-babel-default-inline-header-args' to include `(:hlines "yes")'. If there is no push back on that change I'd be happy to make it. I agree. It would probably make the behavior less confusing. rick

Re: [O] Babel: the disappearing hline

2013-11-12 Thread Rick Frankel
On 2013-11-12 11:09, Jarmo Hurri wrote: Rick Frankel writes: Greetings Rick. Note that in versions of org-mode prior to commit 6857d139 of 2013-09-28 (below), this was overridden in the setting of `org-babel-default-header-args:emacs-lisp, so this may be why you are seeing and "inconsis

Re: [O] Babel: the disappearing hline

2013-11-12 Thread Rick Frankel
quot; (table params)) #+TITLE: Colnames handling #+DATE: {{{modification-time(%Y-%m-%d)}}} #+AUTHOR: Rick Frankel #+EMAIL: ut0598@rtasdv12 #+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline #+OPTIONS: author:t c:nil creator:comment d:(not LOGBOOK) date:t #+OPTIONS: e:t email:nil

Re: [O] [BUG] hline references on left side of table formula

2013-11-07 Thread Rick Frankel
On 2013-11-06 15:14, Achim Gratz wrote: Achim Gratz writes: [...] with these formulas: #+TBLFM: $=vsum(@-II..@-I) whoops, press C-c C-c in the wrong buffer. I meant these formulas: #+TBLFM: @$=vsum(@-II..@-I) #+TBLFM: @II=vsum(@-II..@-I) #+TBLFM: @III=vsum(@-II..@-I) #+TBLFM: @=vsum(@-II..

Re: [O] [BUG] hline references on left side of table formula

2013-11-07 Thread Rick Frankel
On 2013-11-07 00:59, Michael Brand wrote: On Wed, Nov 6, 2013 at 7:50 PM, Rick Frankel wrote: + (not (string-match "\.\.@" (car x This would be the same as + (not (string-match "..@" (car x but you meant +

Re: [O] [BUG] hline references on left side of table formula

2013-11-06 Thread Rick Frankel
On 2013-11-06 03:23, Bastien wrote: lom...@voila.fr writes: I was interested to use hline references on the left side. However I found out that it is not completely unsupported. When the left side consist of: * single cells references, it does not work * ranged cells, it works for me (org 8.0.

Re: [O] make new links show as figures?

2013-10-31 Thread Rick Frankel
On 2013-10-31 12:20, Cook, Malcolm wrote: >> So it turns out that this is a REALLY simple patch (two characters): >> >> +++ b/lisp/org.el >> @@ -18853,7 +18853,7 @@ BEG and END default to the buffer boundaries." >> (widen) >> (setq beg (or beg (point-min)) end (or end (point-max))) >> (goto-ch

  1   2   3   >