changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/organ/object/latex-fragment.lisp

changeset 698: 96958d3eb5b0
parent: a5ae5a58c4cd
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; lib/organ/object/latex-fragment.lisp --- Org Latex Fragment Object
2 
3 ;; Latex fragments match the patterns:
4 
5 #|
6 \NAME BRACKETS
7 \(CONTENTS\)
8 \[CONTENTS\]
9 |#
10 
11 ;; The fun doesn't end here though, Org also supports inline latex
12 ;; fragments matching:
13 
14 #|
15 $$CONTENTS$$
16 PRE$CHAR$POST
17 PRE$BORDER1 BODY BORDER2$POST
18 |#
19 
20 ;; We define these as separate objects.
21 
22 ;;; Code:
23 (in-package :organ)
24 
25 (define-org-object latex-fragment (name contents))
26 
27 (define-org-object inline-latex-fragment (contents))