Re: org-latex-preview and font-locking

2025-04-14 Thread Yu Huang
ded by cdlatex.el. It offers plenty of useful and convenient snippets (functions) for inserting latex environment in org-mode. Yu Huang

Re: org-persist-write:index takes minutes to run

2025-04-05 Thread Yu Huang
.5s-1s, I think, to compile all fragments and show the results on the screen. But the result of (my-org-latex-preview-benchmark) would be shown on the message buffer after some seconds, and its results is stable around 5.5s. Yu Huang Replied Message FromYu HuangDate3/29/2025 12:04ToK

Re: org-persist-write:index takes minutes to run

2025-03-28 Thread Yu Huang
like tikz, geometry, stmaryrd do not affect the result time notably. Maybe deleting my all newcommands and declareMathoperator (about 20 headers) will decrease the time more? But without them, I need to rewrite this org file to make the compilation successfully. So I haven't attempted it ye

Re: org-persist-write:index takes minutes to run

2025-03-28 Thread Yu Huang
svg" :message "you need to install the programs: latex and dvisvgm." :image-input-type "dvi" :image-output-type "svg" :latex-compiler ("%l -interaction nonstopmode -output-directory %o %f") :latex-precompiler ("%l -output-directory %o -ini -jobnam

Re: org-persist-write:index takes minutes to run

2025-03-28 Thread Yu Huang
5.5s. I think this time is mistaken, since by my naked eyes, the fragments around \(\alpha\) only take 0.5s-1s to be compiled and shown. Yu Huang Replied Message FromKarthik ChikmagalurDate3/29/2025 12:30ToYu HuangCcIhor Radchenko, emacs-orgmode@gnu.orgSubjectRe: org-persist-write:

Re: org-persist-write:index takes minutes to run

2025-03-28 Thread Yu Huang
ailutils". Yeah, I use lucid. P.S.2. I also identified the overide of autosync mode in this prodiler, so I conducted two tests, one with autosync enabled and the other without. The results show only a slight discrepancy. Yu Huang Replied Message FromKarthik ChikmagalurDate3/29/2025

[PATCH] Fix org-do-latex-and-related at buffer start

2024-11-25 Thread Shao-yu Tseng
When org-mode is called at the start of a buffer that starts with a latex fragment, it produces an error "Beginning of buffer" caused by attempt to call backward-char. A minimal example to reproduce: 1. Open a scratch buffer 2. Insert text \(\Omega\) 3. Turn on org-mode The observable effect of t

Bug: org-table-insert-column edits formulas wrongly [9.3 (release_9.3 @ /usr/local/Cellar/emacs-plus/HEAD-9d38564/share/emacs/28.0.50/lisp/org/)]

2020-03-30 Thread Yu Han Quek
Calling org-table-insert-column in a table with formulas wrongly increments the column number left of the newly inserted column. Minimal example: | 1 | 2 | 3 | #+TBLFM: $3=$1+$2 With cursor in the `1` cell, call `M-x org-table-insert-column`. Expected output: | 1 | | 2 | 3 | #+TBLFM: $4=$1+$

[O] [BUG] Export of sub- and superscripts to LaTeX inconsistent in tables?

2012-06-21 Thread Yu
e sample above as the contents of a minimal file with the same result. king regards, Yu

Re: [O] babel, executing code in background process

2012-03-05 Thread Yu
session *foo* :results value <> :<> : #+end_src would be possible, though of course no convenient solution. My current solution for long-running octave scripts isn't any more convenient though: Define the task as functions and then switch to the session buffer manually and run those interactive

[O] [BUG]? Constant-definition-lines in tables get exported.

2012-02-17 Thread Yu
zn)/(2*$A_int);%.2f My org-mode is a yesterday's pull from the git-repository. kind regards, Yu

[O] Table formulas: Cannot use column names on the left hand side

2012-02-16 Thread Yu
Hello! I tried today to use named columns for calculations. While this works on the right hand side of the equation, names don't seem to work for the left hand side -- which is a problem, because a change in column arrangement, that isn't caused by org functions (e.g. manually inserting a column w

Re: [O] Weirdness re: inclusion of figures

2012-02-16 Thread Yu
e code block is not rerun on export. o Intervening text, ":exports both": The code is run twice (!), the image is exported both before and after the text. king regards, Yu 2012/2/16 Paul Magwene : > Hi All, > > I'm trying to get up to speed with org-mode and babel for doing

[O] Images in Tables?

2012-02-08 Thread Yu
Hello! I was wondering if there is any useful way, to organize images in tables. This would be useful e.g. if one needs to organize some images on a regular grid, but the images aren't equally sized, such that a simple line break doesn't do the trick. Creating just a table with the image links in

Re: [O] Showing evaluation buffer while executing source blocks?

2012-02-02 Thread Yu
Little correction: it doesn't seem to be simple after all. Emacs' single-threading kills the concept, because the display doesn't get updated during execution anyway. Does anybody have an idea, if this can be avoided? 2012/2/2 Yu : > Hello! > > I wondered if there is a wa

Re: [O] Variable settings in .emacs VS cross device portability.

2012-02-01 Thread Yu
2012/1/31 Eric S Fraga : > Eric Schulte writes: > > [...] > >> File Local Variables [1] make it possible to explicitly specify the >> values of variables from within the text of a .org file.  This can be >> placed in a single line at the top of a file for small changes or in a >> larger section at

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-30 Thread Yu
;t show up automatically (due to the save-excursion I assume, so probably the warnings should be thrown in one go /after/ the save excursion and be collected into a list until then. (Multiple advantages: `add-to-list' can take care of multipli occuring warnings and a single warning is more clear by f

[O] "noweb-ref": Limiting scope of definitions?

2012-01-30 Thread Yu
Hello! Scenario - * Maintain a potentially long org file as an appendix. * In this appendix, many independent scripting tasks will be documented. * Each such scripting task has similiar partial tasks, e.g. imports, "settings", ... In such a case, many independent scripts ma

[O] Variable settings in .emacs VS cross device portability.

2012-01-30 Thread Yu
ines should create buffer-local bindings). king regards, Yu

[O] [BUG]? \\ and `fill-paragraph'

2012-01-30 Thread Yu
Hello! When using "\\" to force linebreaks, these potentially get lost when reformatting the paragraph with Alt+Q (fill paragraph). Given an input : - long sentence long sentence :long sentence long sentence :long sentence long sentence :long sentence: \\ :Next line.

Re: [O] Marking specific elements for folding?

2012-01-28 Thread Yu
a=hello-world-table :file foo.pdf :<"fold that block" header argument> : set term pdfcairo mono : plot data using 1:2 blablabla : #+END_SRC : :END: : : And this table looks like [[foo.pdf]] when folded. king regards, Yu 2012/1/27 Eric S Fraga : > Yu writes:

[O] Marking specific elements for folding?

2012-01-26 Thread Yu
Hello! I was wondering, if there is a way to mark specific elements for staying folded unless explicitly shown. Reading the manual I only found possibilities to control the global folding of sections and blocks in general. However, what I want to do is: - Embed a table of numerical data in my org

[O] Absolute paths in exported files

2012-01-23 Thread Yu
with. Any ideas? It works well for html export and for use within the org-mode buffer, but it would be nice if the links in the PDF file could support local files properly too (though I'm not sure if the viewers even support this). kind regards, Yu

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-21 Thread Yu
I forgot to implement one of the partial tasks, rather than having to find out missing code blocks from the output file (where, as mentioned, they result in "nothing" rather than an unresolved "<<...>>" construct). kind regards, Yu 2012/1/14 Eric Schulte : > Yu w

[O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-12 Thread Yu
if a code-block states : <> : <> the reader needs to know, which code blocks define these. kind regards, Yu

[O] Quoting characters?

2012-01-12 Thread Yu
there also in the C-c C-' editing buffer. In a source code block, that is declared to be of the language "org", this behaviour doesn't appear, but it reappears for other languages. When exporting to html or pdf, the comma isn't present for "src" blocks, but it is for the "colon" blocks. kind regards, Yu

[Orgmode] A bug of org-freemind.el in org-mode package 3.34c

2010-01-27 Thread Yu Shen (MCBU)
%s, forgot org-odd-levels-only?" (line-number-at-pos))) )) Attached is an example to demonstrate the problem. I'd like to know the author's (Lennart Borgman) intension before I attempt to modify it. Yu Shen yubrs.

[Orgmode] Inline Latex Fragment in html export

2009-01-29 Thread Yu Zhao
Hi everyone, When I use inline latex in a org file like $a=b^2$ or \( a=b^2 \) and export it with C-c C-e b, the formula is not inline. Instead it is displayed in a new line and centered. Do you have any idea about it? Thank you! Yu Zhao

[Orgmode] word wrapping inside org table

2009-01-14 Thread Yu Zhao
Hello everyone, Is it possible to do word wrapping inside org table as MS Word did? I know that one table mode can do this. (http://www.emacswiki.org/emacs/TableMode) Best wishes, Yu Zhao ___ Emacs-orgmode mailing list Remember: use `Reply All

[Orgmode] About grammar highlight

2008-11-14 Thread Yu Zhao
if it is possible to use htmlize.el to enable grammar highlight like muse does while publishing html. Is it possible to use pgf/tikz package? Best wishes, Yu Zhao ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the l