Re: org-fontify-whole-block-delimiter-line behavior

2025-02-06 Thread Lei Zhe
oops, typo. The faces shouldn't be applied to spaces. On Thu, Feb 6, 2025 at 8:47 PM Lei Zhe wrote: > > When a source block is indented within a list, as shown below, > even if I set `org-fontify-whole-block-delimiter-line` to nil, the > spaces before `#+begin_src` are still fo

org-fontify-whole-block-delimiter-line behavior

2025-02-06 Thread Lei Zhe
When a source block is indented within a list, as shown below, even if I set `org-fontify-whole-block-delimiter-line` to nil, the spaces before `#+begin_src` are still fontified if I have custom faces for `org-block-begin-line` and `org-block-end-line`. In my opinion, this is incorrect behavior; th

Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Lei Zhe
Sorry, it was [[attachment:example.pdf::2]]. The lint for [[file:example.pdf::2]] is fine, since org-element-context returns the raw path without the search option. However, this is not the case for [[attachment:example.pdf::2]]. On Sun, Jan 19, 2025 at 5:57 PM Ihor Radchenko wrote: > > L

[Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Lei Zhe
For the link [[file:example.pdf::2]], org-lint identifies it as an invalid link. This patch aims to address the issue. 0001-Check-local-file-link-ignoring-path-option.patch Description: Binary data

Re: [PATCH] Ensure org-table-header displays without cursor inside table

2024-04-12 Thread Lei Zhe
Great, thanks. On Sat, Apr 13, 2024 at 2:04 AM Ihor Radchenko wrote: > Bastien Guerry writes: > > > Ihor Radchenko writes: > > > >> P.S. Bastien, may your please check Lei Zhe's copyright status? > > > > Yes, I confirm Lei Zhe copyright status is o

Fwd: [PATCH] Ensure org-table-header displays without cursor inside table

2024-04-05 Thread Lei Zhe
able-begin' to get the beginning position of the table at WS, regardless of the cursor position, resolves the above problem. Regards, Zhe Lei On Sat, Apr 6, 2024 at 2:40 AM Ihor Radchenko wrote: > Lei Zhe writes: > > > The patch ensures the header of an org-table displays witho

[PATCH] Ensure org-table-header displays without cursor inside table

2024-04-05 Thread Lei Zhe
Hi org-mode community, The patch ensures the header of an org-table displays without the cursor inside the table when org-table-header-line-mode is enabled. BTW, this is my first patch for org-mode, so please correct me if there are any issues with it. Also, I've done the paperwork before. Regar

Re: [O] String nil error when export with ":EXPORT_OPTIONS: |:nil" (without exporting table) in properties drawer

2015-11-27 Thread Lei Zhe
wrote: > Hello, > > Lei Zhe writes: > >> I tried to exclude the table export of one headline by setup: >> >> * headline >> :PROPERTIES: >> :EXPORT_OPTIONS: |:nil >> :END: >> >> But the string nil error appeared. >> Any help?

[O] String nil error when export with ":EXPORT_OPTIONS: |:nil" (without exporting table) in properties drawer

2015-11-27 Thread Lei Zhe
I tried to exclude the table export of one headline by setup: * headline :PROPERTIES: :EXPORT_OPTIONS: |:nil :END: But the string nil error appeared. Any help? I am working on Org-mode 8.2.10. Zhe Lei

[O] How can I wrap the subscript into a math environment in Org-mode?

2015-11-22 Thread Lei Zhe
I have some subscripts in my org file like B_25, B_30. These subscripts can be exported to LaTeX like B_{25}, B_{30}. However, I want part of the subscripts like B to be exported as italic /B/. As one solution for this, I can wrap these thing into a math environment like \(B_{25}\). But since my fi

Re: [O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Lei Zhe
large numbers of footnotes. Regards, Zhe Lei On Thu, Aug 6, 2015 at 9:33 PM, Nicolas Goaziou wrote: > Lei Zhe writes: > >> Hi, I tried to customize `org-footnote-auto-adjust'. >> There are only kind of sort and renumber options. >> None of them can make the footno

Re: [O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Lei Zhe
Hi, I tried to customize `org-footnote-auto-adjust'. There are only kind of sort and renumber options. None of them can make the footnote appear at the end of `Footnotes' section. Regards, Zhe Lei On Thu, Aug 6, 2015 at 9:18 PM, Nicolas Goaziou wrote: > Hello, > > Lei

[O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Lei Zhe
I found two bugs if the latest org-mode 8.3.1. 1. Footnote is inserted right after the Footnote headline, not the end of this section. 2. When I call org-drill, some entries can not be shown. Only blank buffer shows up. Hope these bugs can be fixed.

[O] exclusion of internal links in exported LaTeX

2015-07-22 Thread Lei Zhe
Dear orgers, I read the export option part in org manual, but i could not find the option for excluding the internal links for LaTeX export. Is there any other idea to do this? Thanks ahead of time.

[O] Export to Latex without \author{}

2015-06-26 Thread Lei Zhe
Dear orgers, I am trying to export a beamer from org-mode with my own \author command defined. But when I export, org-mode always generates another \author after my \author, which destroys the author list. I tried: 1. #+author: 2. #+bind: latex-export-with-author "" 3. move #+author before my auth