* Export from org-mode to latex from the commandline
@ 2022-02-10 10:51 Sharon Kimble
2022-02-11 6:31 ` Corwin Brust
0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2022-02-10 10:51 UTC (permalink / raw)
To: emacs-orgmode
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
When you build the documentation from the org-mode git repository,
something is calling emacs to build the documents in the background, but
what? Where can I find that command please, because I want to try and
use it to export org-mode to latex and then build a pdf file in the
background, all from the commandline.
Seeing the thread 'RE: Unable to get current or via use-package',
Malcolm Cook suggests to use 'emacs -Q -batch -eval "(progn (require
'package) (package-initialize) (package-refresh-contents)
(package-install 'org))"'.
Could this be customised to export from org-mode to latex, and then
subsequently I build the pdf file from the already converted latex using
my program 'pdfbuild'?
Thanks
Sharon.
- --
A taste of linux = http://www.sharons.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-----BEGIN PGP SIGNATURE-----
iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmIE7iIdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1tTvxAAxZJA5r+OqQyBanqF
LBxkXug+xFaV/eGoxF5aK/2mSvVMM0iF2G57C6B61liTZuqD19dilPZ9dxoR/tZT
iBI0MiXGSX+wvDRhbIQA3cb43hkZbR/5PlgYctO0i1KysBgpHyxXBeM+QUpIB1eg
YDq0f3SbI7YsidKnFwiRp5RLWGZS5hDjXxYRecnCav/jBEl+p2E3HppqN0DEkGGp
S0gbQ0vrpoDw2w5RaEr7UAlwX/oOZSJdthTHZQlQo9K6Wq8NaRtf3a/bOfXiLywZ
kxFeLfLHXJsaTNlChnV6nkJqgTJIp1ZpaoD9j8juf3YYHKCw5lzLBXSOku4rKYRF
+R3cz0sZXf3XQw2kcsQ+wS4TVAVCN7KJESderqaMT7ZNp0eKPxbkzFEuOYhC+okr
UAO8XDYbuKb20RxUN452Vz8BtedXwTjyXT4K8C/91AvnWKMVDqLPdp38yHAbRFb3
jh4bra1cQgso0ba5hWTIxE8UV0RcjwkU7pi1Kto33CwI4YALmvRQ1r9rBeT6RQSk
m8RlI/q2lzRZpbEl6jR8yMmkkSg66lnqtGGEbNNInVk4talsC7VaWCCsWKcnprKL
JDiR5SSRQGnu1aGnbVGl1+k/wdA88jsZo4rq3boYmM2CwcSz9NAYYtlT92fdfZ2p
oY2usvkM/LBUkpr+JrZvM6O25e4=
=cT7U
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Export from org-mode to latex from the commandline
2022-02-10 10:51 Export from org-mode to latex from the commandline Sharon Kimble
@ 2022-02-11 6:31 ` Corwin Brust
0 siblings, 0 replies; 2+ messages in thread
From: Corwin Brust @ 2022-02-11 6:31 UTC (permalink / raw)
To: Sharon Kimble; +Cc: Org-mode
Hi Sharon,
>
> Could this be customised to export from org-mode to latex, and then
> subsequently I build the pdf file from the already converted latex using
> my program 'pdfbuild'?
>
I'm not sure how helpful this is, but I have a small "project" that I
include with other projects that use git for version control. This
contains a shell script (used as a git-post-commit hook, in my case)
as well as an elisp script called under --batch mode. Together, these
export README.org into README.{md, pdf, txt} each time I check in a
give project that uses them. I suspect these might not be too
difficult to adapt to your use-case.
https://git.sr.ht/~mplscorwin/org-git-hooks
HTH
Corwin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-11 6:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-10 10:51 Export from org-mode to latex from the commandline Sharon Kimble
2022-02-11 6:31 ` Corwin Brust
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).