Re: Using org-latex-preview in other major modes

2024-04-22 Thread Tony Zorman
happen :)) > 3. How to force precompilation to occur in the default-directory instead >of in /tmp: > >Based on 1 and 2, the easiest way would be to add an \input{} or >\include{} statement to the preamble. The current test is very >simple, you can even place it in a LaTeX comment and it should work. This does indeed work; thanks! Tony -- Tony Zorman | https://tony-zorman.com/

Re: Using org-latex-preview in other major modes

2024-04-21 Thread Tony Zorman
On Tue, Apr 09 2024 22:06, Tony Zorman wrote: > As a very brief summary, one currently needs to—in addition to supplying > a preamble and a way to recognise maths and environments—patch the > following functions: > > · org-latex-preview--place-from-elements > · org-

Re: Using org-latex-preview in other major modes

2024-04-09 Thread Tony Zorman
nudged to more easily facilitate this kind of integration. After that I guess there's still the issue of caching and numbering, but I'll cross that bridge once we get to it :) Tony -- Tony Zorman | https://tony-zorman.com/

Re: Using org-latex-preview in other major modes

2024-04-08 Thread Tony Zorman
Then again, maybe I'm being too negative—after taking another quick look at the code I think you're right in that this should not be impossible to overcome. I'll try to conjure up some time this week to get live previews up and running; will report back if I hit any unforeseen major bumps. Tony -- Tony Zorman | https://tony-zorman.com/

Using org-latex-preview in other major modes

2024-04-07 Thread Tony Zorman
the way. Tony [1]: https://abode.karthinks.com/org-latex-preview/latex-preview-everywhere.html latex-latex-preview.el Description: application/emacs-lisp -- Tony Zorman | https://tony-zorman.com/

Re: The org--math-p advice around texmathp

2024-03-16 Thread Tony Zorman
point. I guess I would wish for more granular advice, but I recognise the difficulty in getting this exactly right. Thanks for your patience! Tony -- Tony Zorman | https://tony-zorman.com/

Re: The org--math-p advice around texmathp

2024-03-15 Thread Tony Zorman
On Fri, Mar 15 2024 14:14, Ihor Radchenko wrote: > Tony Zorman writes: > >>> Because Org mode syntax is not LaTeX and `texmathp' assumes that we are >>> inside >>> LaTeX buffer. So, we first check using Org syntax whether the point is >>> inside latex f

Re: The org--math-p advice around texmathp

2024-03-14 Thread Tony Zorman
On Wed, Mar 13 2024 12:58, Ihor Radchenko wrote: > Tony Zorman writes: > >> I recently stumbled upon the fact that Org has some around advice for >> texmathp: org--math-p. For reasons that aren't entirely clear to me, >> this has some special handling for cdlatex-mat

The org--math-p advice around texmathp

2024-03-12 Thread Tony Zorman
? I'm asking because I wrote a small package to switch between environments, and the position information that texmathp-why provides is very useful in choosing the closest environment. Thanks! Tony -- Tony Zorman | https://tony-zorman.com/

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2023-03-28 Thread Tony Zorman
s a rendered LaTeX fragment. This is very convenient when, for example, going through a rendered document by pressing C-n or , as unprettifying in this case is (at least in my case) a mistake more often than not. Thanks! Tony -- Tony Zorman | https://tony-zorman.com/

Re: [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)]

2022-04-27 Thread tony aldon
I quietly followed the conversation. Thank you for the advice. On Wed, Apr 27, 2022 at 9:06 AM Ignacio Casso wrote: > > Ihor Radchenko writes: > > > Ignacio Casso writes: > > > >>> A better approach could be using org-link-expand-abbrev. It is an API > >>> function and should be

Re: [PATCH] ol: Fix org-link-search

2022-04-21 Thread tony aldon
On Thu, Apr 21, 2022 at 12:23 PM tony aldon wrote: > You're right I was effectively missing affiliated keywords and so my > patch is wrong. > > Thank you for your quick feedback and insight. > > Have a nice day, > Tony Aldon > > On Thu, Apr 21, 2022 at 7:39 AM Ihor

[PATCH] ol: Fix org-link-search

2022-04-20 Thread tony aldon
Hey everyone, If I'm not wrong, name defined after #+NAME: should be match first before trying a fuzzy search in the function `org-link-search`. You can find the patch in attachment (hope it feat in Tiny changes [though I also sent a request today for the FSF agreement]). Have a nice day. Tony

when ellipsis are "removed", org-cycle doesn't work "correctly" on list

2021-11-11 Thread tony aldon
l \"tag\" 131)) But if you removed the ellipsis (as specified previously), and you collapse the first item, evaluating `(org-list-struct)` with point on the first item gives you: ((1 0 "- " nil "[X]" nil 18) (18 0 "1. " nil nil nil 34) (34 0 "5. " &qu

Re: [O] part of table name in remote(NAME, ...) is mangled by org-edit-special

2019-04-15 Thread Tony E. Bennett
On Mon, Apr 15, 2019 at 6:30 AM Nicolas Goaziou wrote: > > "Tony E. Bennett" writes: > > > A reference to a table name such as '2019-Q1-X' is rewritten to '2019-@1 > $17-X' > > by org-edit-special. And also for '2019_Q1_X'. v9.2.3 > ... > &

[O] part of table name in remote(NAME, ...) is mangled by org-edit-special

2019-04-14 Thread Tony E. Bennett
instead of Q1 in table name. *--tony*

Re: [O] org-open-line inconsistent treatment of marking characters '#' and '*'

2019-01-13 Thread Tony E . Bennett
Nicolas Goaziou writes: > Hello, > > Tony E. Bennett writes: > >> How would org verify column 1 is a special column beyond just checking for >> [#*$] which it does already ? > > It would require to check every row. For example, there is no special &

Re: [O] org-open-line inconsistent treatment of marking characters '#' and '*'

2019-01-12 Thread Tony E . Bennett
Nicolas Goaziou writes: > Tony E. Bennett writes: > >> org-open-line replicates the table marking character '#' (if present) into >> the new table line but does not do the same for '*'. > OK, I applied the change in maint. However, I tend to think we should > not

[O] org-open-line inconsistent treatment of marking characters '#' and '*'

2019-01-10 Thread Tony E . Bennett
, changing this line: ;; Fix the first field if necessary (when (string-match "^[ \t]*| *[#$] *|" line) to: ;; Fix the first field if necessary (when (string-match "^[ \t]*| *[#*$] *|" line) gives the expected behavior. Can this be fixed? thanks -- --tony

Re: [O] org bingo

2013-01-11 Thread Tony Day
updated. thanks guys and gals :) https://gist.github.com/4343164 tony day tonyday...@gmail.com On 7 Jan 2013, at 18:16, Achim Gratz strom...@nexgo.de wrote: Yasushi SHOJI writes: + (org-agenda-buffer (if (buffer-live-p org-agenda-buffer) + org

Re: [O] emacs initialization files in org mode

2013-01-11 Thread Tony Day
https://github.com/jwiegley/dot-emacs, or eric's orgified starter kit: https://github.com/eschulte/emacs24-starter-kit Tony

Re: [O] org reserved and special words in drawers

2012-12-30 Thread Tony Day
Bastien b...@altern.org writes: I would first ask myself what is the new org format for? Is it worth implementing this? Best, My motivation is to have an ability to create a virtual org file. My workflow involves sharing bits and pieces of plain text with non-org users and, right now,

Re: [O] collaborating between org-mode and MS Word users

2012-12-30 Thread Tony Day
Julian Burgos jul...@hafro.is writes: - Is there a better way to have a non-org mode use to edit/correct a org-mode document and then bring back the corrections to an org-mode document? If MS Word users can't tolerate plain text org-mode files then I can't think of many shortcuts. This works

Re: [O] org reserved and special words in drawers

2012-12-28 Thread Tony Day
Bastien b...@altern.org writes: In other words, we could then /apply/ org-mode on a document rather than transforming a document into an org document. What we may think about is a Org readable exchange format (oref?), which would take the output of Nicolas' parser, export it in Org-mode

[O] org bingo

2012-12-19 Thread Tony Day
I have exactly 386 TODO entries and may as well introduce some randomness to get to them. org-random-entry: select and goto a random todo entry. Prefix allows you to select which todo keyword. https://gist.github.com/4343164

Re: [O] indentation across multiple source blocks

2012-12-18 Thread Tony Day
On 18 Dec 2012, at 22:55, Bastien b...@altern.org wrote: Hi Tony, Hi Bastien, Thanks for the flurry of activity :) Tony Day tonyday...@gmail.com writes: Is there an easy way to preserve indentation for a source block taking into account previous blocks? No. Besides, I don't

[O] indentation across multiple source blocks

2012-12-17 Thread Tony Day
Any help much appreciated. Tony

Re: [O] org-export-handle-include-files

2012-12-08 Thread Tony Day
On 9 Dec 2012, at 02:24, Nick Dokos nicholas.do...@hp.com wrote: Is there a method where you can use #+INCLUDE without overwriting the current buffer? You can do what org-export-preprocess-string does: create a temp buffer, insert the contents of the original buffer and call

Re: [O] What's new in an orgmode based website

2012-12-07 Thread Tony Day
-title (ob:get-last-post Tips 3)){/lisp}]] - [[file:{lisp}(format %s/%s (ob:path-to-root) (ob:post-htmlfile (ob:get-last-post Tips 4))){/lisp}][{lisp}(ob:post-title (ob:get-last-post Tips 4)){/lisp}]] Tony

[O] Adding a class to html export of a list

2012-12-07 Thread Tony Day
#+END_EXAMPLE I've been back and forth through the docs and I can't place a way to do it, other than to drop back to raw html (and I love my plain lists). Any help appreciated. tony

[O] org-export-handle-include-files

2012-12-07 Thread Tony Day
? Is there a method where you can use #+INCLUDE without overwriting the current buffer? tony tonyday...@gmail.com

[O] org reserved and special words in drawers

2012-11-06 Thread tony day
a header? One solution that comes to mind is to define an item (or a subtree in other words) as all content until the next properties drawer. Is there anything else missing from this list? Tony

[O] Header Jumping

2012-10-24 Thread tony day
-get-position org-jumped-to) (bookmark-jump org-jumped-from (bind-key C-. j 'org-jump) (bind-key C-. l 'org-jump-back) #+end_src tony

[O] indentation following yas snippet insert

2012-10-23 Thread tony day
-around-point command? I've looked and looked and the closest I can find is org-indent-indent-buffer. But this seems a little over-the-topish for the task. Tony

Re: [O] org-anywhere

2012-10-18 Thread tony day
On 18 Oct 2012, at 22:50, Rasmus ras...@gmx.us wrote: Perhaps something like fold mode of AUCTex would be useful. I.e. all deadline markers would be replace by a [d] which folds out when the cursor is on [d]. It might even be possible with the magic which replaces \delta with δ in org

[O] org-anywhere

2012-10-17 Thread tony day
of this but would like to know if it would be generally useful to others, and what priorities may be. Tony

[O] [PATCH] * org-insert-link: use ido when inserting links

2012-10-12 Thread tony day
, I'm not sure to agree with you: it /is/ meaningful to have user-defined link abbrevs before default types. Excellent advice (yes, even the nitpicks :) From 31c9855ca6db95d10ca09611f749d74074b19b08 Mon Sep 17 00:00:00 2001 From: Tony Day zygom...@gmail.com Date: Fri, 12 Oct 2012 14:39:53 +1100

[O] link creation, ido usage, and headers

2012-10-11 Thread tony day
headlines, inheritance will not be considered. #+end_quote Rerouting the org refile technology to the link tech may be a one liner, or may be hard. Others will have a better sense of the scope. Tony

Re: [O] [PATCH] org-insert-link: allow ido usage when inserting links

2012-10-11 Thread tony day
collect (list link))) #+end_src Tony

[O] [PATCH] * org-insert-link: use ido when inserting links

2012-10-11 Thread tony day
org.el (org-insert-link): removed a list within the list of link creation that was causing a bug when using ido. Removed the hard coded iswitch and ido switches. Changed the order of prefixes so http came up first. (org-iread-file-name): created a function that can use ido-read-file-name if

[O] [PATCH] org-insert-link: allow ido usage when inserting links

2012-10-10 Thread tony day
From a8f301277e15bc786fa63bbcce3ba1afb85c46aa Mon Sep 17 00:00:00 2001 From: Tony Day zygom...@gmail.com Date: Mon, 10 Sep 2012 13:54:38 +1000 Subject: [PATCH 41/41] org-insert-link: allow ido usage when inserting links * lisp/org.el (org-insert-link): added all-links to cleanly create prefix+st

[O] Macro and babel

2012-09-18 Thread tony day
on C-c C-c? That would be an awesome feature, basically adding macro capabilities to every babelable language. Or am I missing something? Tony

[O] PATCH: using ido when inserting links

2012-09-14 Thread tony day
type so you can fire up ido just like org-capture (not sure what non-ido org-capture looks like). This is my first patch, so please let me know if I'm not doing things right. Tony 0001-org-insert-link-allow-ido-usage-when-inserting-links.patch Description: Binary data

[O] [PATCH] org-insert-link: allow ido usage when inserting links

2012-09-14 Thread tony day
here is to add an 'org:' link type so you can fire up ido just like org-capture (not sure what non-ido org-capture looks like). This is my first patch, so please let me know if I'm not doing things right. Tony [PATCH] org-insert-link: allow ido usage when inserting links * lisp/org.el (org

[O] Problems with pdf export (and bibtex) after upgrading to TeXLive-2011 on Lion

2011-09-22 Thread Tony Ware
, where the p stands for 'paranoid', and as a result bibtex refuses to write the .blg file. Cheers, Tony Ware -- http://www.math.ucalgary.ca/~aware

[Orgmode] GtD with org-mode and a Palm PDA

2010-03-27 Thread Tony McC
to be replaced by a batch file, but I don't imagine those modifications would be too difficult. I hope this is of some use, I have certainly found the process helpful in my own work. Tony P.S. I know Palm devices are old fashioned now, but as long as my TX works I have no desire to use anything

[Orgmode] Folding comments under clock entries

2009-10-30 Thread Tony Ware
: It would be great to be able to see this as a list of clock entries only (with trailing ellipses perhaps) and to be able to expand to see the text if desired. Thanks, Tony -- http://www.math.ucalgary.ca/~aware ___ Emacs-orgmode mailing list Remember

[Orgmode] find-library-name, used by org-reload, missing on XEmacs

2009-03-31 Thread Tony E . Bennett
-name (library) (find-library library nil 'find-library-name-helper)) )) thanks --tony ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo

[Orgmode] Re: Installing on windows

2009-02-05 Thread Tony Mc
directory and cleaning up temporary files afterwards. You will probably need to change some of the paths (I have Emacs installed in C:\Emacs and my customization directory is D:\.emacs.d I hope that is of some help to you. Tony org_update.btm follows: @ECHO OFF REM Update the Emacs org-mode

[Orgmode] Publish multi-file project to LaTeX

2008-11-05 Thread Tony
file into a .tex file which would be processed separately by latex. Thanks, Tony ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

[Orgmode] Re: Updating OrgMode

2007-11-14 Thread Tony Mc
version. HTH, Tony Batch file org_update.btm --- @ECHO OFF REM Update the Emacs org-mode automatically REM Usage: org_update xxx REM to update to version xxx SETLOCAL SET ORGFILES=org-%1 SET EMACS=C:\emacs\bin\emacs.exe SET EMACS_OPTS=--batch -q -f batch-byte