first, I write a org file:
#+TITLE: Just test
#+OPTIONS: doc:nil title:nil num:nil
* h1
hello world
as you see, I define `title:nil` in #+OPTIONS.
I wan't `title` just display in tag, and don't display in body.
But, I did not take effect after executing `org-pub
Test environment:
- Emacs 29.0.60
- Orgmode 9.6.1
- TeX Live 2020
Preconditions:
(org-babel-do-load-languages
'org-babel-load-languages
'((latex . t)))
The vulnerability occurs in the file ob-latex.el, in the `org-babel-
execute:latex' function, if then file's extension is .svg, using
`shell-c
On Sat, 2023-02-18 at 18:15 +0700, Max Nikulin wrote:
> On 18/02/2023 17:08, lux wrote:
> > - (shell-command (format "mv %s %s" img-out out-
> > file)
> > + (shell-command (format "mv %s %s" (shell-quote-
> > a
On Sat, 2023-02-18 at 11:43 +, Ihor Radchenko wrote:
> lux writes:
>
> > - (shell-command (format "mv %s %s" img-out out-
> > file)
> > + (rename-file img-out out-file
>
> I think should be (rename-file img-out ou
On Sat, 2023-02-18 at 11:43 +, Ihor Radchenko wrote:
> lux writes:
>
> > - (shell-command (format "mv %s %s" img-out out-
> > file)
> > + (rename-file img-out out-file
>
> I think should be (rename-file img-ou
On Tue, 2023-03-07 at 12:35 +, Ihor Radchenko wrote:
> lux writes:
>
> (you don't seem to have FSF copyright
> assignment).
>
Thank you :-)
I have already signed a copyright assignment with Emacs, do I need to
sign again with Org Mode?
On Tue, 2023-03-07 at 22:31 +0700, Max Nikulin wrote:
> There are a couple more mv shell commands in ob-latex.el. It would be
> nice to fix them as well. Sorry, I have not checked it earlier. Are
> you
> still interested in this topic? I hope, you already have examples
> that
> can be used to qui
On Tue, 2023-03-07 at 22:31 +0700, Max Nikulin wrote:
> On 06/03/2023 10:17, lux wrote:
> > On Sat, 2023-02-18 at 11:43 +, Ihor Radchenko wrote:
> > >
> > > I think should be (rename-file img-out out-file t)
> >
> > Fixed, thank you.
>
> Th
On Thu, 2023-03-09 at 12:22 +, Ihor Radchenko wrote:
>
> im-in-options and im-out-options, according to
> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html
> ,
> are options passed to ImageMagick.
>
> However, for example, (shell-quote-argument "-enhance -strip") will
> r
On Sat, 2023-03-11 at 10:47 +, Ihor Radchenko wrote:
>
> I am afraid that we cannot make things universally safe here without
> breaking changes. The best way will be treating :cmd and similar
> header
> args as unsafe and include them into the planned safety prompt system
> we
> discussed in
On Tue, 2023-08-08 at 22:53 +0800, Ruijie Yu wrote:
> Hello Ihor, Lux and all,
>
> On Aug 8, 2023, at 14:55, Ihor Radchenko wrote:
> >
> > lux writes:
> >
> > > Hi
> > > To facilitate Chinese users' understanding of Org Mode, I have
> >
On Thu, 2024-11-07 at 11:40 +0100, Rens Oliemans wrote:
> Xi Lu writes:
>
> > - (grep (format "grep -rnH -e '%s' *" ',region-string))]
> > + (grep (format "grep -rnH -e '%s' ./*" ',region-string))]
>
> This works so my comment might be a bit too bikesheddy, but another method
> would
On Fri, 2024-11-08 at 10:46 +0700, Max Nikulin wrote:
>
> Xi Lu, is it a kind of friendly trolling that you submitted a patch with
> a workaround for leading dash file name pitfall, but you decided to keep
> ability to pass arbitrary shell code as selection? Just quotes is a poor
> way to prote
Dear list,
I send the attached patch for your consideration. It allows to use biber for
bibliographies. I tested it with this:
(require 'oc-natbib)
#+cite_export: natbib
#+LaTeX_HEADER: \usepackage[style=numeric-comp,sorting=none,
hyperref=true,backref=true,url=true,backend=biber,natbib=true]{
LOL What an idio...! (sorry)
January 20, 2023 at 11:59:22 AM CET Ihor Radchenko
wrote:Edgar Lux writes:
> I send the attached patch for your consideration. It allows to use biber for
bibliographies. I tested it with this:
Thanks, but could you please attach the patch?
--
Ihor Radche
For which one can use the appended patch, which may break other things, of
course :P . The gain is control over biblatex options without resorting to
#+latex_header: \usepackage[...]{biblatex}
Cheers! Thanks.
January 21, 2023 at 9:37:18 AM CET Ihor Radchenko
wrote:Edgar Lux writes:
I no
January 22, 2023 at 12:36:32 PM CET "András Simonyi"
wrote:Dear All,
> There is also the customizable variable `org-cite-biblatex-options' to
> pass additional options,
That is very useful, indeed (I didn't know how to use it). Hopefully the e-mail
which I just sent helps with the documentatio
January 22, 2023 at 12:15:14 PM CET Ihor Radchenko
wrote:Edgar Lux writes:
> Note that we have https://orgmode.org/manual/Citation-export-processors.html
> Of course, the "Citations" section of the manual is not yet complete.
> More examples and details will be we
On Jan 23, 2023 at 12:06 PM, Ihor Radchenko wrote:Edgar
Lux writes:
> So, what is the problem with LATEX_HEADER approach?
I thought that it would be preferable to have a native Org syntax.
> I do not like passing the options as-is in #+cite_export because not all
> the possible
On Jan 24, 2023 at 11:54 AM, Ihor Radchenko wrote:Edgar
Lux writes:
> I understand. My takeaway from here is that there is a need to provide
> extended global defaults for both bibliography style and citation style.
>
> Which is a questionable design choice. I was referring to
Dear Ihor,
On Feb 4, 2023 at 12:31 PM, Ihor Radchenko wrote:Edgar
Lux writes:
> For example, ... the proposed idea is
> a bit awkward:
>
> ...
> #+cite_export: processor[opt1=val1,opt2=val2,...] bibliography-style[...]
> citation-style[...]
>
> I assumed that there is
Hello, this has possibly been asked before, but (OMFG) I haven't been able to
find it (sorry). How can I keep the .tex file used to generate a latex preview
from an Org buffer (or file)? (the closest that I got was
=org-latex-logfiles-extensions=). I can usually see such file in =/tmp= if the
p
On Jun 4, 2023 at 8:34 AM, Ihor Radchenko wrote:
> In short no.
> And we are also in the process of refactoring the preview system:
> https://list.orgmode.org/orgmode/87lek2up0w@tec.tecosaur.net/
Looks promising!
Is the functionality which I mentioned there as well? (get the .tex for the
pre
When using xetex and dvisvgm, an equation like this:
\(µp\)
will render as p (see attached file), most likely because my configuration is
wrong. I don't know how I fixed it for another buffer, but then I restart
and--without knowing what happened--the "no-µ" behaviour is back. Also (I am
hanks!
On Jun 5, 2023 at 11:34 AM, Edgar Lux wrote:When using
xetex and dvisvgm, an equation like this:
\(µp\)
will render as p (see attached file), most likely because my configuration is
wrong. I don't know how I fixed it for another buffer, but then I restart
and--without knowing wha
Hello, how can I get the output of a =#+begin_src org= in the current buffer?
#+begin_src emacs-lisp
(org-babel-do-load-languages
'org-babel-load-languages
'((shell . t)
(latex . t)
(emacs-lisp . t)
(org . t)
))
#+end_src
#+caption: T
Thanks!!!
Regarding the typo, it does not show here. But in the info buffer, the =(see
*note...= becomes (see see ...).
See (:P) attachment
On Aug 12, 2023 at 1:07 PM, Ihor Radchenko wrote:Edgar
Lux writes:
> #+begin_src org
> #+latex_header: \usepackage{nil}
> #+end_src
>
&
Hi! Is there a way to prevent resizing of a table with
=org-table-toggle-coordinate-overlays=?
#+caption: there are some extra spaces after =1=, and before and after =b=.
#+begin_src org
,#+startup: noalign
| 1 | 2 | b |
#+end_src
When typing C-c } (command for =org-table-toggle-coordin
Hello. How to preserve indentation of title inside a latex src block when
exporting to LaTeX?
For (annoying) reasons, I need a frontmatter block which is able to indent its
contents. I am almost there, but the title line is not. I can edit this
manually after export, but I would like to know if
'my-latex-filter-indent-title)
;; indent title ends
On Aug 15, 2023 at 12:35 PM, Edgar Lux wrote:Hello.
How to preserve indentation of title inside a latex src block when
exporting to LaTeX?
For (annoying) reasons, I need a frontmatter block which is able to indent its
c
Hi,
I don't really need help with this. Org has been telling me for days that I
should report this, but I don't really want to share my configuration publicly,
and I thought that it was only for a file on which I was working. It seems to
be general for my configuration. I hope that it helps. If
On Aug 18, 2023 at 6:04 PM, Ihor Radchenko wrote:Edgar
Lux writes:
> The Org version is very strange. Emacs 28 ships with Org 9.5.5 and the
> latest stable version of Org available on ELPA is Org 9.6.7. The warning
> comes from Org >9.6.
Super weird. I don't know why I end
On Aug 18, 2023 at 6:04 PM, Ihor Radchenko wrote:
> May you try to install the latest stable Org first, following
> https://orgmode.org/manual/Installation.html? You should get M-x
> org-version printing Org 9.6.7.
> Then, let us know if the warning keeps appearing.
* What happens
When I type
On Aug 23, 2023 at 9:56 AM, Ihor Radchenko
> 1. Save the equation to file /tmp/bug.org
> 2. Save your `setq' snippet to /tmp/bug.el
> 3. cd /path/to/org/repo
> 4. make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org"
> 5. Move point to "t = 0" line
> 6. C-c C-x C-l (2x)
> 7. The preview appears and
On Aug 26, 2023 at 6:28 PM, Ihor Radchenko wrote:
> Did you see a new Emacs instance at this point?
Nope. I just launched Emacs again (there is another instance running) and
copied the command
>> 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org"
Shell buffer shows
#+begin_example
m
On Aug 27, 2023 at 1:28 PM, Ihor Radchenko wrote:
>>> 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org"
> Please run this command from terminal.
> It should spawn a clean Emacs instance with Org version from the repository.
No warning after C-c C-x C-l(2x)
--
Ihor Radchenko
On Aug 28, 2023 at 11:00 AM, Ihor Radchenko wrote:Edgar
Lux writes:
> On Aug 27, 2023 at 7:29 PM, Ihor Radchenko wrote:
>> I recommend https://github.com/Malabarba/elisp-bug-hunter to narrow down
>> which part of the config is the culprit.
>
> We have a winner:
Ano
I forgot to say that now:
"9.7-pre"
GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo
version 1.17.8)
--
Sent with https://mailfence.com
Secure and private email
--
Sent with https://mailfence.com
Secure and private email
Hi!
I wish you a nice day, week, month...
I would like to know if there is a way to set =org-babel-noweb-wrap-start= for
a specific language. If I set that variable to a value, it will apply to all of
them. Thank you.
This is fine right now
#+begin_src lang1 :noweb yes
//;name_of_anoter_blo
Nope, there is still something wrong with my config (see attachment). Haven't
been able to reproduce consistently.
--
Sent with https://mailfence.com
Secure and private email
log.gz
Description: File Attachment: log.gz
I'm almost sure that this is known, but I don't want to assume.
I get the text between ~ ~ with colouring as if it was in-text code
snippet. I found it interesting
\(a ~b\) and \(\int_{\Omega}fv~\mathrm{d}\)
Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
cairo
On Oct 9, 2023
> #--- bug.org
> \(a = 1\)
> #---
further, if you stay "inside" the equation and do C-u C-c C-x C-l (to remove
the preview) and try to show it again with C-c C-x C-l, the preview is not
regenerated, but the minibuffer shows =Creating LaTeX previews in section...
done.=
--
Sent
On Oct 9, 2023 at 3:59 PM
if I comment out the (add-hook 'org-mode-hook #'org-indent-mode), the error is
gone
--
Sent with https://mailfence.com
Secure and private email
--
Sent with https://mailfence.com
Secure and private email
Hello!
I am trying to exclude different sub-trees (a.k.a. headings or sections),
depending on the exporter backend. I am familiar with =:noexport:= to exclude
selected sections (disregarding the backend). I found a solution, but it is
only intended for a specific backend:
https://emacs.stackex
Hi, I had a need for this again (sorry for the necro-bump).
On Feb 26, 2024 at 5:51 PM, Ihor Radchenko wrote:
> The suggestions to use backend-specific export tag in the links are used
> as ugly workarounds...
Ok. It was just to show that there are other people who may use it :) .
> As for igno
Hello.
I got this in an Org file:
#+begin_src org
[[file:Figures/Ti19-g(w, eta={0.1,}, R=1e-3).svg]]
[[file:Figures/Ti19-g(w, eta={0.1,}, R=1e-3).png]]
#+end_src
The files exist, and can be viewed in image-mode (tested with src_bash{emacs
-q}).
With =C-c C-o= src_emacs-lisp{(org-open-at-point)}
46 matches
Mail list logo