Re: [org-cite] issues with org-cite-make-insert-processor select-style

2021-07-22 Thread Matt Price
Bruce, are you loading this code with use-package? If so, and if I'm reading this right, you can perhaps add the missing functions to the :commands directive for org-mode? IIUC that should ensure that they are available to your package, as long as you have an :after (org oc) line in the

Re: setting export options in headline properties

2021-07-21 Thread Matt Price
roperties have an ‘EXPORT_’ prefix. For > example, ‘DATE’ becomes, ‘EXPORT_DATE’ when used for a specific > sub-tree. Except for ‘SETUPFILE’, all other keywords listed above have > an ‘EXPORT_’ equivalent. > > HTH, > > Chuck > > > On Jul 21, 2021, at 11:52 AM, Ma

Re: org-cite: how to include a cite with no key?

2021-07-21 Thread Matt Price
On Tue, Jul 20, 2021 at 3:32 AM Emmanuel Charpentier < emm.charpent...@free.fr> wrote: > Le mardi 20 juillet 2021 à 02:55 -0400, Matt Price a écrit : > > Certainly citation of personal communications is common in the fields of > history and philosophy of science, where it re

setting export options in headline properties

2021-07-21 Thread Matt Price
Hi, I'm not sure if I'm reading the documentation properly, but my understnading is that I ought to be able to set export options as subtree properties, and that if I do so, they should be picked up by export engines when exporting subtrees. However, that doesn't see to be happening for me, and

Re: convert subtree or nested list to table

2021-07-20 Thread Matt Price
On Tue, Jul 20, 2021 at 12:06 PM Nick Dokos wrote: > Matt Price writes: > > > Christian et al, > > > > I seem to have broken something while fiddling around and I can't quite > make out what. Would someone be willing to check for me whether this does > or doe

Re: convert subtree or nested list to table

2021-07-20 Thread Matt Price
Christian et al, I seem to have broken something while fiddling around and I can't quite make out what. Would someone be willing to check for me whether this does or does not produce the desired full table? Right now I am again getting a truncated result and I'm not fully sure what I might be

Re: org-cite: how to include a cite with no key?

2021-07-20 Thread Matt Price
Certainly citation of personal communications is common in the fields of history and philosophy of science, where it represents an effort to responsibly represent the source of ideas owed to other persons. It's not really a question of whether you personally would do it; it's a question of

Re: oc-csl/citeproc: suffixes in cite links

2021-07-16 Thread Matt Price
" or "chapter" -- > hopefully replacing the citation with > [cite:@GentilcoreTastetomatoItaly2009 chap. 4] will fix the rendering, > > best regards, > András > > On Fri, 16 Jul 2021 at 22:40, Matt Price wrote: > > > > (cc:ing Andras in case this issue

oc-csl/citeproc: suffixes in cite links

2021-07-16 Thread Matt Price
(cc:ing Andras in case this issue maybe comes from citeproc) I'm having some trouble with suffixes in cite: links when the oc-csl exporter is enabled, e.g. with something like this: #+cite_export: csl "/home/matt/src/styles/apa.csl" this cite: [cite:@GentilcoreTastetomatoItaly2009 ch4] is

conditionally add heading to tree on export

2021-07-12 Thread Matt Price
Hi everyone, Now that org-cite is working (!!!), I am incrementally updating all my lecture slides to use proper citations. This is mostly quite simple, but I find that in the rush before class I am often forgetting to add a new slide with *both* the #+print_bibliography: line that will

Re: Citations merged!

2021-07-09 Thread Matt Price
Congratulations What time is the parade? On Fri, Jul 9, 2021 at 8:03 AM Julian M. Burgos wrote: > Amazing! Thank you to everyone that contributed. I am looking forward to > start playing with this. :) > > Nicolas Goaziou writes: > > > Hello, > > > > It took years, but citations are now

Re: [wip-cite-new] Merging tomorrow?

2021-07-07 Thread Matt Price
I cannot believe this is finally happening, and I am so stoked and excited about it. I've been using ~wip-cite-new~ in my classes this week, and these new tools are absolutely transformative. Thank you so much for the immense amount of work you put into this. And also to Bruce for championing

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
It's totally interesting. It's not quite designed for what I'm looking to do and is perhaps a bit overpowered for my limited needs but I'm going to test whe nI have a little mroe time! On Tue, Jul 6, 2021 at 7:51 AM Uwe Brauer wrote: > >>> "MP" == Matt Price writes:

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
thank you Juan Mnauel. I'm testing it out, but I do wonder if I would really rather work with lists and some CSS! On Tue, Jul 6, 2021 at 8:56 AM Juan Manuel Macías wrote: > Hi Matt, sorry for the slow reply... > > Matt Price writes: > > > I'd love to try that, thanks. I think

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
-lisp | (("Category" | #+end_src - On Wed, Jul 7, 2021 at 6:29 AM tbanelwebmin wrote: > Hi Matt > > Le 05/07/2021 à 21:44, Matt Price a écrit : > > I have to write a number of text-heavy documents which need to be > > delivered as tables with wrapped pa

Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag

2021-07-05 Thread Matt Price
On Thu, Jul 1, 2021 at 12:18 PM Timothy wrote: > > Matt Price writes: > > >> I would like to be able to surround some portion of a subtree with a > tag, > > > Sorry for the noise, I believe this is user error. I misread the > exported > > source co

Re: convert subtree or nested list to table

2021-07-05 Thread Matt Price
, so I will probably need a real table. I odn't think I could really handle doing this in latex. I am a terrible latex user! On Mon, Jul 5, 2021 at 9:27 PM Tim Cross wrote: > > Matt Price writes: > > > I have to write a number of text-heavy documents which need to be > d

add #+ATTR_SOMETHING to headline?

2021-07-05 Thread Matt Price
Does anyone know if attributes get attached to headline elements during the export process? I am writing a derived backend in which I would like to have a line like (let (add-toggle (org-export-read-attribute :attr_canvas_html headline :toggle)) ) But as var as i can tell, the call to

convert subtree or nested list to table

2021-07-05 Thread Matt Price
I have to write a number of text-heavy documents which need to be delivered as tables with wrapped paragraphs in most cells. Working directly in table format is pretty arduous and uncomfortable. Has anyone ever written a function to accept a list or subtree as input and process it into a table?

Re: modify citation links in a derived HTML backend

2021-07-04 Thread Matt Price
On Sun, Jul 4, 2021 at 8:56 AM Jens Lechtenboerger < lech...@wi.uni-muenster.de> wrote: > On 2021-07-03, Matt Price wrote: > > > I've added some comments in the issue you linked to, but in the meantime > > I've also come up with what seems to be at least a semi-viable ha

Re: modify citation links in a derived HTML backend

2021-07-03 Thread Matt Price
ly body-only ext-plist) ;; Export the client HTML file if org-re-reveal-client-multiplex is set true ;; by previous call to org-export-to-file (if org-re-reveal-client-multiplex (org-export-to-file backend clientfile async subtreep visible-only body-only ext-plist)) file

modify citation links in a derived HTML backend

2021-07-02 Thread Matt Price
Hi, (cc:ing Jens L. in case this is relevant for his dev work on org-re-reveal). I'm experimenting with the new citation syntax in slideshows generated with org-re-reveal. Mostly it works fine, but cite-links don't function properly in the slideshow because in reveal, internal links only work

Re: [wip-cite-new] Exporting to pandoc md (and from there to zotero odt)

2021-07-02 Thread Matt Price
29, 2021 at 2:29 PM Matt Price wrote: > Anders, just to be clear: with your new exporters I can, as of today, > insert the new [cite:@citekey] links using a better-bibtex-generated > bibliography file, export to odt via pandoc, and then manage my citations > with zotero in the r

Re: [wip-cite-new] Exporting to pandoc md (and from there to zotero odt)

2021-06-29 Thread Matt Price
Anders, just to be clear: with your new exporters I can, as of today, insert the new [cite:@citekey] links using a better-bibtex-generated bibliography file, export to odt via pandoc, and then manage my citations with zotero in the resultant odt? it so... cool. On Wed, Jun 23, 2021 at 4:04 PM

Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag

2021-06-22 Thread Matt Price
On Tue., Jun. 22, 2021, 4:30 a.m. Richard Lawrence, < richard.lawre...@uni-tuebingen.de> wrote: > Hi Matt, > > Matt Price writes: > > >> I would like to be able to surround some portion of a subtree with a > tag, > >> e.g.: > >> > >>

html export backend with inlined css?

2021-06-21 Thread Matt Price
I regularly have to upload HTML to a CMS that strips out ,

allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag

2021-06-21 Thread Matt Price
On Mon, Jun 21, 2021 at 3:07 PM Matt Price wrote: > I'm using the most recent wip-cite-new branch of org, with a recent emacs > git (28.0.50). > > I would like to be able to surround some portion of a subtree with a tag, > e.g.: > > * parent > some text > #+HTML:

BUG? unable to surround subtrees with html tag

2021-06-21 Thread Matt Price
I'm using the most recent wip-cite-new branch of org, with a recent emacs git (28.0.50). I would like to be able to surround some portion of a subtree with a tag, e.g.: * parent some text #+HTML: ** child 2 some boxed content ** child 2 more boxed content #+HTML: ** child 3 unboxed

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-08 Thread Matt Price
On Tue., Jun. 8, 2021, 5:29 a.m. Nicolas Goaziou, wrote: > Hello, > > Matt Price writes: > > > IIUC, the current architecture assigns responsibility for both *citation > > export* and *in-buffer actions* to a processor shosen by the user (right > > now,

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-07 Thread Matt Price
Ni Nicolas and Bruce, I'm having trouble keeping up with these emails, let alone testing all these new features! But this most recent response of yours, Nicolas, makes me wonder if it's worth raising a concern. On Mon, Jun 7, 2021 at 5:15 PM Nicolas Goaziou wrote: > Hello, > > "Bruce D'Arcus"

wip-cite-new minimal working example?

2021-05-28 Thread Matt Price
I may have missed something somewhere, but does anyone have a MWE for the new citation syntax, including a minimal bibliography file, style files for the various backends, & an org file with included citations? I am trying to test out oc-csl.el but am pretty sure I am not dong it right.

Re: [wip-cite-new] Initial implementation of `csl' citation processor

2021-05-27 Thread Matt Price
I'm trying to run this on a fairly recent emacs-master w/ native-comp enable, using ~emacs -Q ~/test-cites.org~, where test-cites.org is this: #+cite_export: csl "/home/matt/Zotero/styles/chicago-manual-of-style-16th-edition-inline-notes-for-syllabi.csl" #+bibliography:

Re: there are always ways to go - Re: Sad tweet

2021-05-26 Thread Matt Price
I am not an emacs contributor, but I think Jonas is saying, "I love emacs and I am the primary author of one of the two most important emacs packages. If contributing to emacs is frustrating even for me, think how many people will give up. We need to change our culture." I would be very careful

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Matt Price
Can you explain how you get calc embedded mode working in org? I have never used it and it sounds interesting, but I don't understand what hte delimiters are. On Wed, May 5, 2021 at 2:35 AM Eric S Fraga wrote: > On Wednesday, 5 May 2021 at 07:46, pie...@caramail.com wrote: > > Have been trying

async export and then do something with file

2021-04-29 Thread Matt Price
Hi everyone, I am wondering if I can perform and export asynchronously and then, without tying up emacs, wait around for the export to finish and then perform some other task, like upload the file to a server. Has anyone tried this before? I think perhaps the easiest thing to do would be to use

Re: Using backticks for the inline code delimeter?

2021-04-21 Thread Matt Price
On Tue, Apr 20, 2021 at 4:24 PM John Kitchin wrote: > I have used an approach like the one here > https://endlessparentheses.com/define-context-aware-keys-in-emacs.html > > to make context aware key-bindings. > > THanks John. That post was very helpful -- really all I was looking for was

Re: wip-cite status question and feedback

2021-04-20 Thread Matt Price
As a user, is there any way I can participate at this point? I'm not in a position to contribute code tight now but really do want to have this feature as soon as possible. It's going to improve my students' lives quite a bit. > > >

Re: Using backticks for the inline code delimeter?

2021-04-20 Thread Matt Price
On Wed., Mar. 31, 2021, 3:22 p.m. Timothy, wrote: > > autofrettage writes: > > > Quick and Dirty: Bind key '`' to ~ in Emacs? > > > > (I guess it is clear I haven't thought about the consequences.) > > You can add that just to the Org-mode map. That wouldn't be too bad, > there's always C-q. >

Re: eldoc recursion error

2020-09-08 Thread Matt Price
On Tue, Sep 8, 2020 at 11:27 AM Matt Price wrote: > > > On Tue, Sep 8, 2020 at 10:53 AM Bastien wrote: > >> Hi Matt, >> >> Matt Price writes: >> >> > In a new org file, add these lines: >> > >> > #+begin_src python >> > p

Re: eldoc recursion error

2020-09-08 Thread Matt Price
On Tue, Sep 8, 2020 at 10:53 AM Bastien wrote: > Hi Matt, > > Matt Price writes: > > > In a new org file, add these lines: > > > > #+begin_src python > > print > > #+end_src > > > > position cursor inside block and the error message occurs.

Re: eldoc recursion error

2020-09-08 Thread Matt Price
On Tue, Sep 8, 2020 at 10:25 AM Bastien wrote: > Hi Matt, > > can you provide a recipe to reproduce the problem? > > oops, sorry, that was stupid. In a new org file, add these lines: #+begin_src python print #+end_src position cursor inside block and the error message occurs.

eldoc recursion error

2020-09-08 Thread Matt Price
I know there have been a couple of updates to org-eldoc lately. After updating to current master, I get this error in source blocks if eldoc mode is turned on: eldoc error: (error Lisp nesting exceeds ‘max-lisp-eval-depth’) Is there an easy fix for this? is it a generic eldoc problem or

Re: Improving Org Mode for VSCode - Thinking Aloud

2020-05-27 Thread Matt Price
There are a number of interesting topics here. Like others, I would be very keen to share my org-based projects with non-Emacs users. I also only have very limited time & skills to contribute. There is an existing extension for org-mode on vscode here:

Re: R session and plotting in x11 window

2020-04-06 Thread Matt Price
On Sun, Apr 5, 2020 at 1:19 PM Berry, Charles wrote: > > > > On Apr 4, 2020, at 4:27 PM, Matt Price wrote: > > > > Does anyone know much about the difference between an R session opened > by typing M-x R, and the R session opened by org-babel? > > > Short

R session and plotting in x11 window

2020-04-04 Thread Matt Price
Does anyone know much about the difference between an R session opened by typing M-x R, and the R session opened by org-babel? I'm just learning R and my usual method for learning a language is to keep a kind of notebook in org with code snippets they I can execute and iterate on rapidly as I

Re: rmarkdown-like production of multiple plots in org

2020-04-02 Thread Matt Price
t; On Mar 31, 2020, at 12:23 PM, Matt Price wrote: > > > > I'm completely new to R. > > > > I've started working with a project that creates plots using the ggplot > package -- so by default it creates grid objects, rather than writing to > files. > > >

rmarkdown-like production of multiple plots in org

2020-03-31 Thread Matt Price
I'm completely new to R. I've started working with a project that creates plots using the ggplot package -- so by default it creates grid objects, rather than writing to files. In rmarkdown/rstudio, I can write something like this in a SOMEFILE.Rmd : ``` install_github('eeholmes/CoV19')

get subtree contents as string

2020-02-26 Thread Matt Price
I have the following convenience function that scans contents of a subtree and then sets a property, adds an overlay, and changes the TODO status: (defun org-lms-set-grade () "set grade property for all headings on basis of \"- Grade :: \" line Use with caution." (interactive)

Re: [PATCH] restore window configuration after org-edit-src-exit

2020-01-09 Thread Matt Price
Hi, sorry I missed this thread in the peri-holiday rush, just want to say thank you all for ironing out the difficulties arsing from that change earlier. On Tue, Jan 7, 2020 at 4:06 AM Nicolas Goaziou wrote: > Hello, > > Jack Kamm writes: > > > Attached is a patch to restore the window

Re: Small change to link syntax in maint

2019-12-28 Thread Matt Price
Just an apology for not getting back on this, I haven't managed to text this properly yet (apologies) but I am pretty sure it will fix my use case, for which I'm grateful. Thanks Nicolas. On Sun., Dec. 22, 2019, 9:09 a.m. Nicolas Goaziou, wrote: > Hello, > > Matt Price reported a

Re: managing aggressive link activation within lines?

2019-12-19 Thread Matt Price
On Thu, Dec 19, 2019 at 2:55 AM Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > MWE: > > test.org: > > -- > > This is a paragraph with [[https://google.com][a link]] > > --- > > steps to reproduce: > > > > put cu

managing aggressive link activation within lines?

2019-12-18 Thread Matt Price
Hi everyone, Not sure if this has always been an issue but with a pretty recent org git and emacs-git, I'm running into a usability issue with org-activiate-links. MWE: test.org: -- This is a paragraph with [[https://google.com][a link]] --- steps to reproduce: put cursor at beginning of file

org-custom-id-goto?

2019-12-04 Thread Matt Price
Is there a quasi-equivalent of ~org-id-goto~ or ~org-babel-goto-named-src-block~ which will jump to a header in the current buffer? I' like to be able to quickly navigate to a buffer by name; usually I give custom_id properties to headers that I am likely to link to, so using that property would

Re: [O] org-fast-todo-selection window behaviour?

2019-10-23 Thread Matt Price
e info > window is always in the same predictable place. After the selection is > done, the old window setup is restored to exactly what it was > > Carsten > > On Sun, Oct 20, 2019 at 8:46 PM Matt Price wrote: > >> I've recently noticed a slightly frustrating behavo

[O] org-fast-todo-selection window behaviour?

2019-10-20 Thread Matt Price
I've recently noticed a slightly frustrating behavour on the part of org-todo that I think is new and maybe was introduced in mid-August with f1c030bed54737319aeb1d592e3340d6a48cea3a In a split frame,calling org-todo with org-use-fast-todo-selection enabled, ~C-c C-t~ now calls

[O] org-ref: format full bibliography?

2019-10-18 Thread Matt Price
I'm successfully using org-ref to create bibliographic entries and citations in my lectures and syllabi, using ox-hugo and org-re-reveal, and of late also citeproc-orgref. It's great. Now I'd like to add a "bibliography' page to my course websites, which provides a long list of works that students

[O] managing repetitive code in export & tangling

2019-10-08 Thread Matt Price
In my lectures i often have simple examples that build progressively over several slides. In order to use klipse properly, but also for clarity, I gneerally repeat variable declarations from slide to slide, so for instance: ** Making Lists (Arrays) +#NAME: js-array-historians #+BEGIN_SRC js let

Re: [O] [RFC] Document level property drawer

2019-10-05 Thread Matt Price
On Sat., Oct. 5, 2019, 6:10 p.m. Adam Porter, wrote: > Marco Wahl writes: > > > Just I got the idea that for a good part this discussion is about > > personal preferences. > > Personal preferences are relevant to this issue in that Org is flexible > and allows users to configure it accordingly.

Re: [O] [PATCH] ox-html: add option to restore old src block behaviour?

2019-10-02 Thread Matt Price
So I'm pretty interested in this: what to others thi k? On Sat., Sep. 21, 2019, 8:16 a.m. Jens Lechtenboerger, < jens.lechtenboer...@fsfe.org> wrote: > On 2019-09-19, Matt Price wrote: > > > Over the summer, commit ded3d27b1468b878197e5fe55a70c5e13350ea27 > > by Nik Clay

Re: [O] How many other people want an org-mode client to the Canvas LMS API?

2019-10-02 Thread Matt Price
have time in the > spring before my class starts. > > > Matt Price writes: > > > Hi everyone, > > > > I've been working away slowly on my primitive API client for the Canvas > > Learning Management System, which my university now uses ( > > https://gi

[O] How many other people want an org-mode client to the Canvas LMS API?

2019-09-30 Thread Matt Price
Hi everyone, I've been working away slowly on my primitive API client for the Canvas Learning Management System, which my university now uses ( https://github.com/titaniumbones/org-lms, note the documentation is terrible and may be misleading in places). The code is at my usual very low level of

Re: [O] parsing time strings from properties

2019-09-22 Thread Matt Price
form `2019-09-26`, but optionally including a full time." (ts-format "%Y-%m-%dT%H:%M:%S%:z" (ts-parse-fill 'end date ))) I'm quite looking forward to using dash, s, ts, kv, etc to simplify my often very obtuse legacy code. On Sun, Sep 22, 2019 at 6:10 AM Thomas Plass wrote:

[O] parsing time strings from properties

2019-09-21 Thread Matt Price
I use a very simple property in my assignment descriptions to set the assignment due date: :DUE_AT: 2019-09-26 I then pass this to an API which expects a date parameter like `2019-09-26T23:59:59-04:00`. Since I only work in one time zone, I can just concat the property value with the additional

[O] ox-html: add option to restore old src block behaviour?

2019-09-19 Thread Matt Price
reiterating a question I posted to an old thread that may have gotten lost. Over the summer, commit ded3d27b1468b878197e5fe55a70c5e13350ea27 by Nik Clayton was merged to master. It's a one-line change that adds new ~~ tags around each lin of code in html export of source blocks. It's useful

Re: [O] org-map-entries but with arguments?

2019-09-19 Thread Matt Price
ties I thought it was only reporting back the standard properties, like ITEM. And in any case I had forgotten how to convert strings to symbols. This is enormously helpful. > > --- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical

Re: [O] org-map-entries but with arguments?

2019-09-18 Thread Matt Price
Sorry, replied to Adam directly by accident. On Wed, Sep 18, 2019 at 8:32 PM Matt Price wrote: > > > On Wed, Sep 18, 2019 at 5:31 PM Adam Porter wrote: > >> Matt Price writes: >> >> > Is there a lisp trick for adding arguments to the function called by >>

Re: [O] lisp: scoping vars in repetitive defuns

2019-09-18 Thread Matt Price
mmand))) > > > (defun dh-view () > "Open viewable files in browser" > (loop for f in (plist-get (dh-variables) :browseFiles) > do > (browse-url-of-file (f-join base f > > > ;; Or with the plist as an argument > (defun dh-view

[O] org-map-entries but with arguments?

2019-09-18 Thread Matt Price
Is there a lisp trick for adding arguments to the function called by `org-map-entries`? I have the following function: (cl-defun org-lms-return-all-assignments ( (send-all nil) (also-mail nil) (post-to-lms t) ) "By default mail all subtrees 'READY' to student recipients, unless SEND-ALL is

Re: [O] lisp: scoping vars in repetitive defuns

2019-09-17 Thread Matt Price
ass Grade () > ((:a :initarg :a))) > > (cl-defmethod gf1 ((g Grade) x) > (* (oref g :a) x)) > > (cl-defmethod gf2 ((g Grade) x) > (+ (oref g :a) x)) > > (let ((G (Grade :a 3))) > (list (gf1 G 2) (gf2 G 2))) > #+END_SRC > > #+RESULTS: > | 6 | 5 | > &g

[O] lisp: scoping vars in repetitive defuns

2019-09-17 Thread Matt Price
I have a number of convenience functions define to help me with grading assignments. As I go through the semester, i update all of these functions modestly so that they'rehelpful for grading the current assignment. I big chunk of these simple functions is taken up just declaring variables with

Re: [O] (no subject)

2019-09-15 Thread Matt Price
I'm replying a year late to this thread, post-merge, because I've discovered it breaks interaction with the highlight.js library( https://highlightjs.org/) and therefore my workflow, which depends on highlightjs via reveal.js. My difficulty is with the current version of

Re: [O] superfluous tags in html src block output

2019-09-14 Thread Matt Price
at's very helpful. Clearly this is the issue. I'll have to figure out the best way to make this work with the `highlight.js` library that reveal.js depends on for code highlighting. > > > HTH, > > Chuck > > > > On Sep 14, 2019, at 8:52 AM, Matt Price wrote: > > > >

[O] superfluous tags in html src block output

2019-09-14 Thread Matt Price
I'm seeing something I hadn't noticed before in src block html exports. Instead of producing structures like: ... ... ... each individual like is wrapped in its own tag. In regular HTML exports this doesn't really affect display, but in exports to reveal using the highlight.js plugin, code

[O] add class to *figure*, not *img*, on html export?

2019-09-04 Thread Matt Price
in HTML export, the following org text: #+ATTR_HTML: :class paired [[file:~/DH/Images/louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg]] exports for me as: - -- Is there a way to get the ~class="paired"~ attached to the *figure* rather than the *img* tag? Thank you!

[O] org-ref: conditionally add url to formatted citation

2019-08-30 Thread Matt Price
On Sat, Jan 7, 2017 at 8:23 AM John Kitchin wrote: > > > >> > >> 2. If you click on a citation link, you can select an action to copy the > >> formatted entry for that key. > > > > > > I had trouble with this. I constructed a minimal emacs config: > > > > #+BEGIN_SRC emacs-lisp > > ;;; elpa

Re: [O] minimal testing setup for pdf export?

2019-08-30 Thread Matt Price
On Thu, Aug 29, 2019 at 11:27 AM John Hendy wrote: > On Tue, Aug 27, 2019 at 6:34 PM Matt Price wrote: > > > > > > > > On Tue, Aug 27, 2019 at 1:33 PM John Kitchin > wrote: > >> > >> that does suggest that pdflatex is getting called somewhere

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
on University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > > On Tue, Aug 27, 2019 at 8:57 AM Matt Price wrote: > >> >> >> On Tue, Aug 27, 2019 at 8:27 AM John Kitchin >> wrote: >> >>>

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
ssor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > > On Tue, Aug 27, 2019 at 7:57 AM Julius Dittmar > wrote: &g

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
utput PDF file produced! Transcript written on .//texput.log. However, empty.tex is clearly present. Latex and pdflatex are both in my $PATH. Maybe this is a problem with pdflatex? On Tue, Aug 27, 2019 at 2:14 AM Robert Klein wrote: > On Mon, 26 Aug 2019 21:20:53 -0400 > Matt

[O] minimal testing setup for pdf export?

2019-08-26 Thread Matt Price
Can someone point me to a minimal setup for testing PDF export with "emacs -Q"? I am unable to produce a pdf with default settings and I am pretty sure that the latex is invalid... but I'm having trouble testing it since I 9still) know so little about latex. Thanks everyone! Matt

Re: [O] getting access to a self-invented option?

2019-08-07 Thread Matt Price
On Fri, Aug 2, 2019 at 4:02 PM Tim Cross wrote: > > Could you just use a tag for this? My shallow thought is that if you > tagged headlines, over time you could use different tags for different > content type whereas if you use a new custom type, you would need to > repeat the definition process

Re: [O] getting access to a self-invented option?

2019-08-07 Thread Matt Price
om/titaniumbones/ox-huveal . So my preference is to evaluate the variable BEFORE export begins. I guess another option is to just set a buffer-local variable in the file, or use #+FILETAGS: and hack htings that way. I'm not sure what the most sustainable & org-like method relaly is... > > HTH, &

Re: [O] getting access to a self-invented option?

2019-08-07 Thread Matt Price
On Sat, Aug 3, 2019 at 1:28 AM Thibault Marin wrote: > Hi, > > I am not sure where you are trying to get to the value (in the > publishing function?), but I use something like the following to handle > custom keywords: > > , > | #+MWP_EXPORT_TYPE: slides > | > | #+name: elt > | #+begin_src

[O] getting access to a self-invented option?

2019-08-02 Thread Matt Price
I'm trying to streamline some veyr ad-hoc workflows I have. One thing I do a lot during the school year is make some changes to an org source file, and then export to hugo markdown with ox-hugo, and finally commit to git (after that I have a git hook that generates the website & uploads the

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Matt Price
hmm, I still get just the attached image (approx). Presumably osmehting wrong w/ my latex setup (I use latex only very rarely). On Tue, May 7, 2019 at 1:52 PM Fraga, Eric wrote: > On Tuesday, 7 May 2019 at 13:22, Matt Price wrote: > > I thought that a latex src block with :export

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Matt Price
very thick,red] (humanities); \end{tikzpicture} #+end_src Can you see my error and/or reproduce the issue? Thanks all of you! On Tue, May 7, 2019 at 7:25 AM Fraga, Eric wrote: > On Monday, 6 May 2019 at 14:17, Matt Price wrote: > > So, I'm finding more and more that I want to incl

[O] best ways to generate simple diagrams?

2019-05-06 Thread Matt Price
So, I'm finding more and more that I want to include simple diagrams in my course materials. At present I am generating them as svg's using Inkscape, but that feels really tiresome to me. I would much rather make them programmatically, preferably including the source code as an org-mode block. I

[O] table --> org-drill

2019-04-22 Thread Matt Price
Hello everyone, I'm taking an informal but intensive Nepali language class. There's no textbook, and vocabulary comes rapidly from the teacher during lcass. I end up with notes that look like this: yo & tyo-based constructions *yo* | yatti | this much | | katti | how much | | yaha

Re: [O] property matching in org-agenda-custom-commands

2019-04-05 Thread Matt Price
at 4:17 PM Thomas Plass wrote: > Matt, > > Matt Price wrote at 13:31 on April 5, 2019: > : > : ("F" "Failing Students in Current Buffer Only" tags-tree "+GRADE=\"0\"") > : > : However, this seems to choke, and the agenda is not

[O] property matching in org-agenda-custom-commands

2019-04-05 Thread Matt Price
Embarassed that I still don't really know how to use the agenda commands after all this time :-( I have a bunch of trees that look in part like this: * Asisgnment 1 ** Student A :PROPERTIES: :GRADE: 0 :END: I would like to store a search in org-agenda-custom-commands. I generated it initially

[O] CSS Inliner for HTML emails?

2019-03-12 Thread Matt Price
Does anyone have a satisfactory solution for inlining CSS in HTML emails? I tried org-mime's built-in ~org-mime-change-element-style~ but it is pretty clumsy and does not, for instance, allow me to style "pre code" and "code" differently. Does anyone have a better solution? Thank you!

[O] Bug? svg images do not display on modenr browser on export

2019-01-15 Thread Matt Price
I think this is a bug but I don't know enough about svg images to be sure. On export, links to svg images produce an element rather than an . Here's the docstring of the function (from ox-heml): - Return \"object\" embedding svg file SOURCE with given ATTRIBUTES. INFO is a plist used as a

[O] PATCH: do not restore window config on exit from src buffer

2018-11-27 Thread Matt Price
As per our earlier thread, here is a patch to remove org-src--saved-temp-window-config from org-src.el. From ad2d8d26eee6c2bcfa517e0f7352406c9980bfd4 Mon Sep 17 00:00:00 2001 From: Matt Price Date: Tue, 27 Nov 2018 08:19:03 -0500 Subject: [PATCH] Org-sr.el: On exiting src buffer, do not restore

Re: [O] [PATCH] don't always restore previous window configuration?

2018-11-25 Thread Matt Price
On Sun, Nov 25, 2018, 4:02 AM Nicolas Goaziou Hello, > > Matt Price writes: > > > Then I'm sorry for the noise (and also for this aside!). Magit, or git, > or > > some other tool was doing something quite strange and disturbing, and I > am > > now seeing

Re: [O] [PATCH] don't always restore previous window configuration?

2018-11-24 Thread Matt Price
On Sat, Nov 24, 2018 at 5:55 AM Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > OH man, that was a little harder than I thought it would be. Does `make > > test` randomly checkout a new branch or something? > > No, it doesn't. > Then I'm sorry for t

[O] [PATCH] don't always restore previous window configuration?

2018-11-23 Thread Matt Price
: > On Thursday, 22 Nov 2018 at 14:09, Matt Price wrote: > > SO far this is working for me but I wondered whether other people would > > similarly want to change this behaviour and I should put together a > proper > > proposal & patch? > > Yes, please. This is becoming more

Re: [O] overlay showing computed value of macro?

2018-11-23 Thread Matt Price
On Fri, Nov 23, 2018 at 4:32 AM Eric S Fraga wrote: > Matt, > > you might like to have a look at how the n() macro was implemented as it > has some similar goals. Check out org-macro-initialize-templates and > org-macro--counter-increment. > ah. no stupid searching backwards through the

Re: [O] overlay showing computed value of macro?

2018-11-23 Thread Matt Price
OH man, I know this is a lot of replies to my own thread. Sorry for the noise. I just wanted to point out something I somehow failed to see as I was pretending to cook Thanksgiving dinner while working on this project (!!) -- my code does just fine producing overlays, which might be useful to

Re: [O] overlay showing computed value of macro?

2018-11-22 Thread Matt Price
On Thu, Nov 22, 2018 at 4:06 PM Matt Price wrote: > > > On Thu, Nov 22, 2018 at 1:19 PM Matt Price wrote: > >> It would be nice for me to overlay the macro invocations with the values >> that they will evaluate to on export. I guess I would have to figure out >>

Re: [O] overlay showing computed value of macro?

2018-11-22 Thread Matt Price
On Thu, Nov 22, 2018 at 1:19 PM Matt Price wrote: > It would be nice for me to overlay the macro invocations with the values > that they will evaluate to on export. I guess I would have to figure out > when to trigger recalculation of the values (maybe not too often, say only > wh

  1   2   3   4   5   6   7   >