Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t4ccer/nix-org-export
Export org files to pdf as nix outputs
https://github.com/t4ccer/nix-org-export
emacs nix org-mode
Last synced: about 13 hours ago
JSON representation
Export org files to pdf as nix outputs
- Host: GitHub
- URL: https://github.com/t4ccer/nix-org-export
- Owner: t4ccer
- License: gpl-3.0
- Created: 2022-09-16T03:01:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T03:20:36.000Z (almost 2 years ago)
- Last Synced: 2024-12-11T20:07:51.685Z (about 2 months ago)
- Topics: emacs, nix, org-mode
- Language: Nix
- Homepage:
- Size: 20.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* =nix-org-export=
Use =nix-org-export= to export org files to PDFs using =(org-latex-export-to-pdf)=.
** Usage
*** Using flakes
- Ensure you have flakes enabled
- Add =github:t4ccer/nix-org-export= to your inputs
- Call =exportOrgFor "your-system" ./src "path-to-org-file="** Example
Example exposes README of your project in PDF as a flake output.
#+begin_src nix
{
description = "nix-org-export example";
inputs.nix-org-export.url = "github:t4ccer/nix-org-export";
outputs = { nix-org-export, ... }: {
readmeExported = nix-org-export.exportOrgFor "x86_64-linux" ./. "README.org";
};
}
#+end_src** License
Copyright (C) 2022 Tomasz Maciosowski (t4ccer)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.