Re: [PATCH] Allow external libraries (org-roam) to supply org-id locations

2024-05-02 Thread Rick Lupton
ities in a well-defined order. So I suggest cancelling this. I just proposed this as a change to org-roam: https://github.com/org-roam/org-roam/pull/2432 Best Rick On Sat, 20 Apr 2024, at 12:07 PM, Ihor Radchenko wrote: > Ihor Radchenko writes: > >> Also, before we merge your pa

Attributes on images (was:: Experimental public branch for inline special blocks)

2024-04-14 Thread Rick Lupton
ght 400 :alt "An image"]{another-image.png}. Or, if using the original syntax, perhaps the attribute should be explicitly :img-attr or :img-height to resolve the ambiguity about which element is being targetted? Rick

Re: [PATCH] Allow external libraries (org-roam) to supply org-id locations

2024-03-17 Thread Rick Lupton
Thanks, I hadn't understood the significance of named functions vs variables for advice. But now I realise this is not solving the same problem as the original patch. The point is that I was thinking org-roam should advise/modify/hook the specific function `org-id-find' [to find ids in its dat

Re: [PATCH] Allow external libraries (org-roam) to supply org-id locations

2024-03-16 Thread Rick Lupton
use the hook, than to have bar put advice in foo. (https://www.gnu.org/software/emacs/manual/html_node/elisp/Advising-Named-Functions.html) But I don't mind either way. I agree your approach is simpler if it's a reasonable way for a third party library like org-roam to extend the org id functions. Thanks, Rick

[PATCH] Allow external libraries (org-roam) to supply org-id locations

2024-03-12 Thread Rick Lupton
to the hook. Does this seem like a good idea? Thanks, Rick [1] Link: https://list.orgmode.org/118435e8-0b20-46fd-af6a-88de8e19f...@app.fastmail.com/ 0001-lisp-org-id.el-add-hook-org-id-find-functions.patch Description: Binary data

Re: org-id-locations as a large-scale database store?

2024-03-12 Thread Rick Lupton
You might be interested in https://www.orgroam.com/ which is a broadly similar idea to org-brain but uses a SQLite database to track id locations and links.

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-24 Thread Rick Lupton
Thanks for your help with it! On Sat, 24 Feb 2024, at 1:02 PM, Ihor Radchenko wrote: > Bastien Guerry writes: > >>> "Rick Lupton" writes: >>> >>>> On Fri, 9 Feb 2024, at 12:09 PM, Ihor Radchenko wrote: >>>>> May you please update on

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-09 Thread Rick Lupton
On Fri, 9 Feb 2024, at 12:09 PM, Ihor Radchenko wrote: > May you please update on your FSF copyright assignment status? I believe the agreement is all signed and completed. Thanks Rick

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-08 Thread Rick Lupton
On Thu, 8 Feb 2024, at 1:02 PM, Ihor Radchenko wrote: > I have some thoughts about rewording your changes to the manual and > ORG-NEWS. See the attached patch on top of yours. Thanks, makes sense -- wasn't sure whether to keep this as a separate patch or not, I have squashed into the attached upd

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-08 Thread Rick Lupton
the numeric level for new headings, but actually more flexible (e.g. you could if you wanted (with additional future elisp) create missing headings as part of a "To be filed" subtree within the file, rather than always at the end). Does that look ok? [is it useful to keep attaching

[PATCH] lisp/ol.el: Improve docstring

2024-02-08 Thread Rick Lupton
On Sat, 3 Feb 2024, at 1:10 PM, Ihor Radchenko wrote: > In my testing, I used #+name: as link target. > However, what I missed is that #+name targets are matched even when > `org-link-search-must-match-exact-headline' is set to 'query-to-create. > The docstring is not accurate there and must be upd

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-01 Thread Rick Lupton
On Thu, 1 Feb 2024, at 12:13 PM, Ihor Radchenko wrote: > The patch does not apply onto the latest main. May you please update it? I have rebased onto the latest main. It changes quickly! (there were no conflicts during the rebase, which I'd have thought would mean the patches shouldn't be a prob

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-01-31 Thread Rick Lupton
On Mon, 29 Jan 2024, at 1:00 PM, Ihor Radchenko wrote: >>> 3. Consider >>>(setq org-id-link-consider-parent-id t) >>>(setq org-id-link-to-org-use-id t) >>> >>>Then, create a new empty Org file >>>M-x org-store-link with create a top-level properties drawer with ID >>>and store t

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-01-28 Thread Rick Lupton
-in-file-links' being enabled). >> -(defun org-id-get (&optional epom create prefix) >> +(defun org-id-get (&optional epom create prefix inherit) >>"Get the ID property of the entry at EPOM. >> EPOM is an element, marker, or buffer position. >

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-01-02 Thread Rick Lupton
cting any narrowing of the buffer). Otherwise, \"top-level\" means level 1." (the motivation for this is that when the buffer is narrowed to the subtree with the matching ID, the new heading will be created at the appropriate level). Best Rick

[PATCH v2] org-id: allow using parent's existing id in links to headlines

2023-12-17 Thread Rick Lupton
Please find attached updated patch which I think addresses all the points discussed. Let me know if you see any further changes needed. Thanks, Rick 0001-org-id.el-Extend-links-with-search-strings-inherit-v2.patch Description: Binary data

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-12-15 Thread Rick Lupton
annah.gnu.org/cgit/emacs/org-mode.git/commit/?id=89164e605 > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5c543cd9d > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=cb71bde7c > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=63ef7b924 > > But does your code do narrowing? I did not notice it. Not in the patch I sent, I added it later after you pointed this out. I'll send an updated patch next. Thanks, Rick

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-12-14 Thread Rick Lupton
link-search' does not always search from point. So, you may end up > matching, for example, a duplicate CUSTOM_ID above. > Moreover, regular expression match option will be broken - > `org-link-search' creates sparse tree in the whole buffer and will > disregard the ID part of the link. I suspect that you will need to make > dedicated modifications to `org-link-search' as well in order to > implement opening ID links with search option cleanly. Thanks, yes. It looks to me (from the code and some testing) that narrowing to the target heading first before calling `org-link-search' does the right thing. Was there a particular reason you thought `org-link-search' would need to be changed? Thanks, Rick > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, > or support my work at <https://liberapay.com/yantar92>

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-12-04 Thread Rick Lupton
Hi, I can’t see this patch listed at https://tracker.orgmode.org/ so just wanted to check it hasn’t got lost? Thanks Rick On Sun, 19 Nov 2023, at 3:21 PM, Rick Lupton wrote: > Here's an updated patch, which adds (optional) search strings to ID > links, and the option to inherit

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-11-19 Thread Rick Lupton
-id` I've left with a default value of `nil`, since I'm not sure if everyone will want this behaviour. Thanks Rick 0001-org-id.el-Extend-links-with-search-strings-inherit-p.patch Description: Binary data

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-11-09 Thread Rick Lupton
-interactive-and-no-custom-id) (not custom-id To move this logic to `org-id-store-link`, is there a way that `org-id-store-link` can tell whether `org-store-link` was called (a) interactively, or (b) with the `interactive?` argument true? Thanks Rick

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-11-04 Thread Rick Lupton
s), but it could change the behaviour when calling `org-store-link` with an active region or when point is on a named element. Depending on the answer, I can update the patch accordingly. Thanks, Rick

Re: IDs below headline level (for paragraphs, lists, etc) (was: [PATCH] org-id: allow using parent's existing id in links to headlines)

2023-07-28 Thread Rick Lupton
I can see this being useful in general, but not avoiding the need for my patch. Org links using search strings already strike a good compromise between working with arbitrary plain text, and allowing links to specific locations. When a search string is enough to find the thing you want to link t

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-07-28 Thread Rick Lupton
id:abc::#my-id][Description]] Thanks Rick

[PATCH] org-id: allow using parent's existing id in links to headlines

2023-07-24 Thread Rick Lupton
its own org ID. Feedback on the patch welcome. If you would like to merge this I will (I assume) need to sort out FSF copyright assignment and update ORG-NEWS and the manual. Best Rick 0001-lisp-org-id.el-Allow-using-a-parent-s-existing-id.patch Description: Binary data

[BUG] LaTeX aligned equations do not have right spacing [9.6.1 (release_9.6.1 @ /home/yhu/dev/prefix/org-mode/emacs/site-lisp/org/)]

2023-02-01 Thread Rick Hu
--text follows this line-- Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. --

Re: [HELP] Fwd: Org format as a new standard source format for GNU manuals

2022-10-05 Thread Rick Lupton
Hi Ihor and all, I wonder if you have seen Pollen’s approach to this? https://docs.racket-lang.org/pollen/pollen-command-syntax.html There are two separate ideas used there which seemed related to this discussion. I’m not sure if they are useful in the org context. 1. The use of a special ch

Re: [BUG] org-cite does not support techreport, mastersthesis, phdthesis, and conference entries [9.5.2 (release_9.5.2-426-gf6813d @ /usr/share/emacs/site-lisp/org/)]

2022-04-08 Thread Rick Lupton
. I did find this surprising, as I’ve always just used “.bib” for both dialects, and unless I was missing something it seemed to be incompatible with the bibtex program which seemed to expect a .bib extension. Generally the cite export is working well, thank you. Best Rick On Fri, 8 Apr 2022

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 M

Re: [O] [RFC] Shrink columns dynamically

2017-07-12 Thread Rick Frankel
min-column-width setting to use when there is no cookie solve the the bi- vs tri-state problem (every column has three states) rick P.S. and (somewhat) off topic: The doc string for `org-ascii-table-use-ascii-art' is out of date. `ascii-art-to-unicode.el' is now in elpa and the url no longer works.

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
rt-heading-respect-content) The new heading characters ('**') are appended to the end of the result block (the end of the heading line after the '...') BTW, if the heading containing the source block is expanded it works correctly. rick

Re: [O] Is `head-include-scripts' flag reachable from OPTIONS?

2017-02-15 Thread rick
On 15 Feb 2017, 13:43:34 -0500 Nick Dokos wrote: > #+BIND: org-html-head-include-scripts nil > > perhaps? Ah, yes. This works much better than what I had before, which was to put the following lines at the bottom of my source file. #+BEGIN_COMMENT Local Variables: eval: (setq org-html-head-incl

[O] Is `head-include-scripts' flag reachable from OPTIONS?

2017-02-15 Thread rick
When I export to html, it puts a javascript

[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
so won't work on osx w/o explicitly installing ghostscript, but in fact, work fine w/o it. I am not sure why it has been set for each converter as a dependency since it does not seem to be used by any of the conversion chains. As an aside, it is not mentioned in the documentation (info). rick

Re: [O] Nested ordered (numbered) lists

2016-06-25 Thread Rick Frankel
item_2_2 > 3. item_3 have you tried: # #+LATEX_HEADER_EXTRA: \usepackage{enumitem} \setlist[enumerate]{label*=\arabic*.} * Numbered lists 1. item_1 2. item_2 1. subitem_2_1 1. subsubitem_2_1_1 2. subitem_2_2 3. item_3 rick

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
the above examples are exported by default as: - bold - italic - underline So you can redefine the css associated with them if you want. Also, you can customize `org-html-text-markup-alist' to change the markup. rick

Re: [O] HTML export / list issues

2015-08-21 Thread Rick Frankel
tell what is wrong here. I would assume it's because there is no css for ~div.center~. Try (untested): div.center > p { text-align: center; } Note that this will center each line, separately. To center the entire paragraph as a block is more complex. This will do if if you specify the paragraph width. div.center > p { margin-left: auto; margin-right: auto; width: {X}em; } See http://www.w3.org/Style/Examples/007/center#viewport3 for a CSS3 (less backward compatible) approach. that doesn't require setting the width of the paragraph. I usually just set a left margin or padding as opposed to trying to float the block in the middle. (e.g. ~margin-left: 2em~.) rick

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
he variable `org-html-htmlize-output-type'. Since ox-reveal is derived from ox-html, it should work as specified. I personally use ox-deck (also derived from html), so YMMV. rick

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

2015-03-28 Thread Rick Frankel
al vars) > (setq exec-path > (append > (split-string-and-unquote (getenv "PATH") ":") > exec-path))) > #+end_src You could also use the `exec-path-from-shell' package, which will set a specified list of variables (defaults to MANPATH, PATH) from the shell. rick

[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
a derived exporter (ox-bootstrap?) based on ox-html. You can look at one of the slideshow backends (ox-deck, ox-s5, ox-reveal) for examples (e.g., `org-deck-item' or org-s5-headline for how to "advise" the html exporter functions.) rick

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

2015-01-03 Thread Rick Frankel
t require specific classes on the markup? To make it work you will probably need to add additonal classes to every heading, etc. rick

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

2014-09-28 Thread Rick Frankel
24.3.1 (Apple build) and the >built in exporter engines. Documentation for ox-s5 is @ https://github.com/cybercode/org-slides#ox-s5el, although personally i use ox-deck (documented at the same location) now. rick

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 specificati

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

2014-08-12 Thread Rick Frankel
ts code print "foo\n"; #+END_SRC which would generate this html: #+BEGIN_SRC html foo/bar.pl print "foo\n"; #+END_SRC I don't see a way to get the `:tangle' keyword during export, as the parser does not include that in list passed to the src-block export function. rick

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

2014-08-11 Thread Rick Frankel
EAD_EXTRA: #+HTML_HEAD_EXTRA: table {border-left: 1px solid black; border-right: 1px solid black;} #+HTML_HEAD_EXTRA: rick

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
y-inline-images nil t))) #+END_SRC rick

Re: [O] Tables orgmode2html styles

2014-07-01 Thread Rick Frankel
tml5, and those attributes are not supported but must be defined in the CSS. If you would like to export org-mode files with embedded table attributes you need to use an html4 compatible format. rick

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
ovides better spacing for paragraphs in tags? Yes. But arguably, in a multi-paragraph list item, the first paragraph should be explicit and not implicit --- hence my previous suggestion to wrap all list items longer that [X] in an explicit paragraph. rick

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

2014-06-24 Thread Rick Frankel
characters?) in a paragraph (or multiple if required) and change the default css to only paragraph space _between_ paragraphs in list elements (i.e., after all but the last paragraph, or before all but the first.) rick

Re: [O] Publishing sitemap

2014-06-18 Thread Rick Frankel
emap'. So (untested), you could try: (org-publish-org-sitemap (assoc "my-project-name" org-publish-project-alist) "sitemap.txt") rick

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
paragraph? Thanks. Adding a class or wrapping the paragraphs (there can be more than one) before the first headline is non-trivial. However, I believe these are the only paragraphs as direct children of the content div, you can use the css selector "#content > p" to reference them. rick

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

2014-06-10 Thread Rick Frankel
related to the css being used to style the table in your setup. Could you post a minimal example with the html output? rick

Re: [O] DTD prohibited

2014-06-05 Thread Rick Frankel
: 6px;} #+HTML_HEAD: FYI, here's the table definition output in html4: and html5 rick

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
t/sffms/, which looks like what you want... rick

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

2014-05-15 Thread Rick Frankel
d homebrew to install the build dependencies (autoconf, automake, imagemagick, etc) and the git mirror of the emacs trunk (http://git.sv.gnu.org/emacs.git) YMMV. rick

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

2014-05-15 Thread Rick Frankel
learn them, you will be able to use emacs on any platform -- mac, windows, unix. Also, your configuration will be portable across all the same platforms. rick

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
(org-export-read-attribute :attr_html paragraph))) > > ... > > (t (format "\n%s" attributes extra contents)) > > This way, attributes will not be limited to "class" only. See, for > example, `org-html-special-block'. A version of this patch using Nicolas' approach has been pushed to master. rick

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

[O] Help needed - export markdown is it supposed to pre-pend html?

2014-04-03 Thread Rick DeNatale
# Another top level headline Is this expected? or is there something wrong with my installation? M-x org-version gives Org-mode version 8.2.5h (8.2.4h-94-g91175a-elpa @ /Users/rick/.emacs.d/elpa/org-20140331/) I installed then used M-x customize-variable RET org-export-backends RET to turn md

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
;. If you would like your exported documents to include it, you can use the HTML_HEAD_EXTRA property on a per-file basis, or customize the variable `org-html-head-extra'. 3. Fixed unnecessary "\n" at the end of Description meta. 4. Removed unnecessary spaces in meta tags. Are these bugs or simply stylistic cleanup? rick

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

2014-03-28 Thread Rick Frankel
checked and trans)... I think i'll change the unchecked box to ☐ to match the checked box (same as sachua). rick

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
rg source, the code path bypasses that step (and just runs the completion function). If org-reveal doesn't have a publishing function, try (not tested): (lambda (plist filename pubdir) (org-publish-org-to 'reveal filename ".html" plist pubdir)) 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 completion function. rick

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

2014-03-25 Thread Rick Frankel
ction nil)". Per the definition in `ox-html.el', it must be either 'inline-css or 'css. But it's an excellent idea. I have a patch to ox-html which will allow ox-htmlize-output type to be set to `nil', to explicitly return plain text. I will push it to master tonight

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

Re: [O] org-html5presentation

2014-03-23 Thread Rick Frankel
tried org-reveal and it works like a charm. There are also s5 (ox-s5) and deck.js (ox-deck) exporters in contrib ;). rick

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
ave very specific meanings associated with them and their mis-use is worse than their non-use. rick

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
ming output. Since the change is cosmetic, I don't see the purpose in adding a lot of conditional code to the exporter to output different entities for html[45] vs xhtml[45]. rick

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
e (at least): - ox-s5 - ox-deck - ox-reveal - beamer As well as pdf, html and others. So it doesn't seem to make sense to use org as a frontend to Rstudio, but i may be wrong... rick

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

2014-01-23 Thread Rick Frankel
((some-var . <> #+END_SRC how about: * As a variable :PROPERTIES: :header-args: :var foo="bar" :END: #+BEGIN_SRC emacs-lisp foo #+END_SRC * As a noweb source block #+name: foo #+BEGIN_SRC emacs-lisp :exports none :eval never "bar" #+END_SRC #+BEGIN_SRC emacs-lisp :noweb yes (foo . <>) #+END_SRC rick

  1   2   3   4   5   >