Commit 7a6860bc2b

7a6860bc2b2bf7d0cdc715f6115797b9936c6f00

parent: cf8b291899

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-20 20:50 UTC

Document native ASCII export

Layout: unified · split

README.org +2 −2
@@ -36,8 +36,8 @@ Emacs tomorrow and nothing has been reformatted.
36- *Tables.* Aligned as you type, with =#+TBLFM= formulas. 36- *Tables.* Aligned as you type, with =#+TBLFM= formulas.
37- *Code blocks.* Run source blocks and tangle them into files, as =org-babel-tangle= 37- *Code blocks.* Run source blocks and tangle them into files, as =org-babel-tangle=
38 does. 38 does.
39- *Export.* HTML, Markdown, PDF, Word, RTF, ODT, iCalendar and LaTeX built in; PDF through 39- *Export.* HTML, Markdown, PDF, Word, RTF, ODT, iCalendar, LaTeX and ASCII built in; PDF
40 LaTeX and more through Emacs when it is installed (download version only). 40 through LaTeX and more through Emacs when it is installed (download version only).
41- *Search.* Across file names, headings and text, plus Spotlight and Quick Look 41- *Search.* Across file names, headings and text, plus Spotlight and Quick Look
42 previews of =.org= files. 42 previews of =.org= files.
43 43
docs/manual/guide/03-keys.org +1 −1
@@ -996,7 +996,7 @@ When a key appears in several rows, it runs the command whose condition holds at
996| Export to PDF with Emacs (=app.export.pdf=) | =C-c C-e l p= | — | =SPC m e l p= (N) | Exports to PDF through Emacs (=org-latex-export-to-pdf=). | 996| Export to PDF with Emacs (=app.export.pdf=) | =C-c C-e l p= | — | =SPC m e l p= (N) | Exports to PDF through Emacs (=org-latex-export-to-pdf=). |
997| Export to LaTeX (=app.export.latex=) | =C-c C-e l l= | — | — | Exports to LaTeX without Emacs, as =org-latex-export-to-latex= does. | 997| Export to LaTeX (=app.export.latex=) | =C-c C-e l l= | — | — | Exports to LaTeX without Emacs, as =org-latex-export-to-latex= does. |
998| Export to ODT (=app.export.odt=) | =C-c C-e o o= | — | — | Exports to OpenDocument text without Emacs, as =org-odt-export-to-odt= does. | 998| Export to ODT (=app.export.odt=) | =C-c C-e o o= | — | — | Exports to OpenDocument text without Emacs, as =org-odt-export-to-odt= does. |
999| Export to Plain Text with Emacs (=app.export.text=) | =C-c C-e t u= | — | — | Exports to plain text through Emacs (=org-ascii-export-to-ascii=). | 999| Export to Plain Text (ASCII) (=app.export.text=) | =C-c C-e t u= | — | — | Exports to plain text without Emacs, as =org-ascii-export-to-ascii= does. |
1000| Export to iCalendar (=app.export.icalendar=) | =C-c C-e c f= | — | — | Exports to an =.ics= calendar (=org-icalendar-export-to-ics=). | 1000| Export to iCalendar (=app.export.icalendar=) | =C-c C-e c f= | — | — | Exports to an =.ics= calendar (=org-icalendar-export-to-ics=). |
1001| Export Agenda Files to iCalendar (=app.export.icalendar-agenda=) | =C-c C-e c a= | — | — | Writes an =.ics= beside each agenda file (=org-icalendar-export-agenda-files=). | 1001| Export Agenda Files to iCalendar (=app.export.icalendar-agenda=) | =C-c C-e c a= | — | — | Writes an =.ics= beside each agenda file (=org-icalendar-export-agenda-files=). |
1002| Combine Agenda Files into iCalendar (=app.export.icalendar-combined=) | =C-c C-e c c= | — | — | Writes the agenda files' entries to one calendar (=org-icalendar-combine-agenda-files=). | 1002| Combine Agenda Files into iCalendar (=app.export.icalendar-combined=) | =C-c C-e c c= | — | — | Writes the agenda files' entries to one calendar (=org-icalendar-combine-agenda-files=). |
docs/manual/guide/12-export.org +20 −17
@@ -1,6 +1,6 @@
1#+TITLE: Export 1#+TITLE: Export
2#+DESCRIPTION: Exporting Org files from orgstar to HTML, Markdown, PDF, Word, RTF, plain text, ODT, iCalendar and LaTeX, and to ASCII through Emacs; copying as rich text. 2#+DESCRIPTION: Exporting Org files from orgstar to HTML, Markdown, PDF, Word, RTF, plain text, ODT, iCalendar, LaTeX and ASCII, and to PDF through LaTeX with Emacs; copying as rich text.
3#+LEDE: orgstar exports HTML, Markdown, PDF, Word, RTF, plain text, ODT, iCalendar and LaTeX itself, and the Mac download version hands ASCII and LaTeX-made PDF to Emacs. 3#+LEDE: orgstar exports HTML, Markdown, PDF, Word, RTF, plain text, ODT, iCalendar, LaTeX and ASCII itself, and the Mac download version hands LaTeX-made PDF to Emacs.
4 4
5* Exporting a file 5* Exporting a file
6 6
@@ -20,7 +20,7 @@ Export works on the file in the current editor, using its text as it is now, sav
20| PDF through LaTeX | Export to PDF with Emacs | =C-c C-e l p= | =SPC m e l p=, =C-c C-e l p= | yes | 20| PDF through LaTeX | Export to PDF with Emacs | =C-c C-e l p= | =SPC m e l p=, =C-c C-e l p= | yes |
21| LaTeX | Export to LaTeX | =C-c C-e l l= | =C-c C-e l l= | no | 21| LaTeX | Export to LaTeX | =C-c C-e l l= | =C-c C-e l l= | no |
22| ODT | Export to ODT | =C-c C-e o o= | =C-c C-e o o= | no | 22| ODT | Export to ODT | =C-c C-e o o= | =C-c C-e o o= | no |
23| ASCII text | Export to Plain Text with Emacs | =C-c C-e t u= | =C-c C-e t u= | yes | 23| ASCII text | Export to Plain Text (ASCII) | =C-c C-e t u= | =C-c C-e t u= | no |
24| iCalendar | Export to iCalendar | =C-c C-e c f= | =C-c C-e c f= | no | 24| iCalendar | Export to iCalendar | =C-c C-e c f= | =C-c C-e c f= | no |
25| iCalendar, every agenda file | Export Agenda Files to iCalendar | =C-c C-e c a= | =C-c C-e c a= | no | 25| iCalendar, every agenda file | Export Agenda Files to iCalendar | =C-c C-e c a= | =C-c C-e c a= | no |
26| iCalendar, agenda files in one | Combine Agenda Files into iCalendar | =C-c C-e c c= | =C-c C-e c c= | no | 26| iCalendar, agenda files in one | Combine Agenda Files into iCalendar | =C-c C-e c c= | =C-c C-e c c= | no |
@@ -29,15 +29,15 @@ The keys follow Emacs's export dispatcher (=org-export-dispatch=). =C-c C-e= on
29 29
30All fourteen commands are in File ▸ Export and in the command palette. They write the export beside the Org file, with the same name and the format's extension: =.html=, =.md=, =.pdf=, =.docx=, =.rtf=, =.tex=, =.odt=, =.txt= or =.ics=. The two agenda-file commands are the exceptions; see [[*iCalendar export][iCalendar export]]. =#+EXPORT_FILE_NAME:= names it instead, as in Org: relative to the Org file's folder (or absolute, or starting with =~=), with its extension replaced by the format's, so =#+EXPORT_FILE_NAME: out/report= writes =out/report.html=. A file already there is replaced. The message area shows "Exported to /name/". 30All fourteen commands are in File ▸ Export and in the command palette. They write the export beside the Org file, with the same name and the format's extension: =.html=, =.md=, =.pdf=, =.docx=, =.rtf=, =.tex=, =.odt=, =.txt= or =.ics=. The two agenda-file commands are the exceptions; see [[*iCalendar export][iCalendar export]]. =#+EXPORT_FILE_NAME:= names it instead, as in Org: relative to the Org file's folder (or absolute, or starting with =~=), with its extension replaced by the format's, so =#+EXPORT_FILE_NAME: out/report= writes =out/report.html=. A file already there is replaced. The message area shows "Exported to /name/".
31 31
32The [[file:../install.org][Mac App Store version]] has the eleven commands that don't need Emacs; File ▸ Export, the export dialog and the command palette leave out the other three, and a key bound to Export to PDF with Emacs runs Export to PDF. When the export file, or an =#+INCLUDE:= or =#+SETUPFILE:=, is outside your folders, orgstar first asks for access to its folder; for the export file, Save Elsewhere… instead picks another place. See [[file:../install.org][Install]]. 32The [[file:../install.org][Mac App Store version]] has the thirteen commands that don't need Emacs; File ▸ Export, the export dialog and the command palette leave out Export to PDF with Emacs, and a key bound to it runs Export to PDF. When the export file, or an =#+INCLUDE:= or =#+SETUPFILE:=, is outside your folders, orgstar first asks for access to its folder; for the export file, Save Elsewhere… instead picks another place. See [[file:../install.org][Install]].
33 33
34** The export dialog 34** The export dialog
35 35
36*Export…* in the command palette, or =⇧⌘E= in the Mac preset, opens a dialog. The Emacs and Doom presets have no key for it; bind =app.export-dialog= in =keymap.toml= if you want one (see [[file:03-keys.org][Keys and commands]]). The dialog has: 36*Export…* in the command palette, or =⇧⌘E= in the Mac preset, opens a dialog. The Emacs and Doom presets have no key for it; bind =app.export-dialog= in =keymap.toml= if you want one (see [[file:03-keys.org][Keys and commands]]). The dialog has:
37 37
38- *Format*: HTML, Markdown, PDF, Word, Rich Text (RTF), Plain text, PDF via LaTeX (Emacs), ODT, LaTeX, Plain text, ASCII (Emacs) or iCalendar. The App Store version lists LaTeX last. 38- *Format*: HTML, Markdown, PDF, Word, Rich Text (RTF), Plain text, PDF via LaTeX (Emacs), ODT, LaTeX, Plain text, ASCII or iCalendar. The App Store version lists LaTeX and Plain text, ASCII last.
39- *Scope*: the whole file, or the subtree at the caret (Org's =C-s= in the dispatcher). A subtree is exported as a document of its own: its heading is the title, its text the body, and its child headings move up a level. iCalendar is the exception: there the subtree's heading is an entry like any other. The file's =#+= keywords still apply, and the heading's =EXPORT_TITLE=, =EXPORT_AUTHOR=, =EXPORT_DATE=, =EXPORT_EMAIL=, =EXPORT_OPTIONS=, =EXPORT_SELECT_TAGS=, =EXPORT_EXCLUDE_TAGS=, =EXPORT_HTML_HEAD= and =EXPORT_HTML_HEAD_EXTRA= properties override them. Its planning line and property drawer are left out. The choice is available when the caret is under a heading. 39- *Scope*: the whole file, or the subtree at the caret (Org's =C-s= in the dispatcher). A subtree is exported as a document of its own: its heading is the title, its text the body, and its child headings move up a level. iCalendar is the exception: there the subtree's heading is an entry like any other. The file's =#+= keywords still apply, and the heading's =EXPORT_TITLE=, =EXPORT_AUTHOR=, =EXPORT_DATE=, =EXPORT_EMAIL=, =EXPORT_OPTIONS=, =EXPORT_SELECT_TAGS=, =EXPORT_EXCLUDE_TAGS=, =EXPORT_HTML_HEAD= and =EXPORT_HTML_HEAD_EXTRA= properties override them. Its planning line and property drawer are left out. The choice is available when the caret is under a heading.
40- *Body only*: leave out the title and the page around the text (Org's =C-b=). HTML is then the table of contents, the text and the footnotes, without =<html>=, =<head>= or the title; Markdown has no title heading. Not available for PDF, Word, RTF, plain text, ODT and iCalendar. 40- *Body only*: leave out the title and the page around the text (Org's =C-b=). HTML is then the table of contents, the text and the footnotes, without =<html>=, =<head>= or the title; Markdown has no title heading; ASCII has no title block or table of contents. Not available for PDF, Word, RTF, plain text, ODT and iCalendar.
41- *Destination*: where =#+EXPORT_FILE_NAME:= says, or the subtree's =EXPORT_FILE_NAME= property for a subtree, else beside the Org file. *Choose…* picks another place and name. Changing the format changes the extension. 41- *Destination*: where =#+EXPORT_FILE_NAME:= says, or the subtree's =EXPORT_FILE_NAME= property for a subtree, else beside the Org file. *Choose…* picks another place and name. Changing the format changes the extension.
42- *Margins*, *Font* and *Page numbers*, for PDF: see /PDF export/. 42- *Margins*, *Font* and *Page numbers*, for PDF: see /PDF export/.
43- *Open after export*: opens the file in its default app when the export finishes. 43- *Open after export*: opens the file in its default app when the export finishes.
@@ -46,7 +46,7 @@ The dialog remembers the format and the *Open after export* setting. The PDF set
46 46
47** On iOS 47** On iOS
48 48
49The Export menu offers HTML, Markdown, PDF, Word, Rich Text (RTF), Plain Text, ODT, iCalendar and LaTeX, and Copy as Rich Text. It is under More in the editor, and in the toolbar in the reader. Choosing one opens the share sheet with the exported file, named after the Org file or its =#+EXPORT_FILE_NAME:=. Send it to another app, or use Save to Files to keep it. The export is the same as on the Mac, except that LaTeX and ODT have no author unless the file has =#+AUTHOR:=. ASCII and PDF through LaTeX are not available on iOS, nor are the agenda-file iCalendar exports. 49The Export menu offers HTML, Markdown, PDF, Word, Rich Text (RTF), Plain Text, ODT, iCalendar, LaTeX and Plain Text (ASCII), and Copy as Rich Text. It is under More in the editor, and in the toolbar in the reader. Choosing one opens the share sheet with the exported file, named after the Org file or its =#+EXPORT_FILE_NAME:=. Send it to another app, or use Save to Files to keep it. The export is the same as on the Mac, except that LaTeX, ODT and ASCII have no author unless the file has =#+AUTHOR:=. PDF through LaTeX is not available on iOS, nor are the agenda-file iCalendar exports.
50 50
51* HTML export 51* HTML export
52 52
@@ -242,7 +242,7 @@ Export to Word, Export to RTF and Export to Plain Text make the HTML export into
242 242
243In Word files, the title has Word's Title style and headings have its Heading 1 to Heading 6 styles, so Word's navigation pane, outline view and contents fields find them. Images from =file:= links come through as pictures, as wide as their pixels at 96 to the inch, scaled to =#+ATTR_HTML: :width= when it is set, and no wider than the page. PNG, JPEG and GIF go in as they are; other formats the system can read, such as HEIC, WebP and TIFF, go in as PNG. SVG and images at web addresses are left out. RTF and plain text have no images. 243In Word files, the title has Word's Title style and headings have its Heading 1 to Heading 6 styles, so Word's navigation pane, outline view and contents fields find them. Images from =file:= links come through as pictures, as wide as their pixels at 96 to the inch, scaled to =#+ATTR_HTML: :width= when it is set, and no wider than the page. PNG, JPEG and GIF go in as they are; other formats the system can read, such as HEIC, WebP and TIFF, go in as PNG. SVG and images at web addresses are left out. RTF and plain text have no images.
244 244
245For Org's own ASCII layout, with underlined headings and drawn tables, use Export to Plain Text with Emacs. 245For Org's own ASCII layout, with underlined headings and drawn tables, use Export to Plain Text (ASCII); see /ASCII export/.
246 246
247** Copying as rich text 247** Copying as rich text
248 248
@@ -265,6 +265,14 @@ Export to ODT writes an OpenDocument text file (=.odt=) for LibreOffice, Pages o
265 265
266The export stops with a message, instead of writing something different from ox-odt, for: a link that leads nowhere, an image file that can't be read, inline tasks, table templates (=#+ATTR_ODT: :style=), a link without a description to a =<<target>>= or to a code line that isn't numbered, an inline source block exported as code, a table in a quote or other block inside a list, an annotation in a dated document, =#+TOC:= with =:target=, and these =#+OPTIONS= at other than their default: =p=, =c=, =prop=, =broken-links=, =:=, =*=, =stat=, =tasks=, =<=, =arch=, =email=, ='=, =tex= other than =t= or =nil=, and =d= with a list of drawers. ODT export is always the whole document: the export dialog's *Body only* doesn't apply. 266The export stops with a message, instead of writing something different from ox-odt, for: a link that leads nowhere, an image file that can't be read, inline tasks, table templates (=#+ATTR_ODT: :style=), a link without a description to a =<<target>>= or to a code line that isn't numbered, an inline source block exported as code, a table in a quote or other block inside a list, an annotation in a dated document, =#+TOC:= with =:target=, and these =#+OPTIONS= at other than their default: =p=, =c=, =prop=, =broken-links=, =:=, =*=, =stat=, =tasks=, =<=, =arch=, =email=, ='=, =tex= other than =t= or =nil=, and =d= with a list of drawers. ODT export is always the whole document: the export dialog's *Body only* doesn't apply.
267 267
268* ASCII export
269
270Export to Plain Text (ASCII) writes the =.txt= file that Emacs's =org-ascii-export-to-ascii= writes under =emacs -Q= (Org 9.8.7), without Emacs, on the Mac and iOS: a centered title block, a table of contents, numbered headings underlined by level, paragraphs filled to 72 columns, links listed at the end of their section, and footnotes at the end. It uses Org's default =ascii= charset (=org-ascii-charset=), so bullets, rules and table borders are plain ASCII characters. Without =#+AUTHOR:=, the author on the Mac is your account's full name, as =user-full-name= is in Emacs.
271
272=#+TITLE=, =#+SUBTITLE=, =#+AUTHOR=, =#+DATE=, =#+LANGUAGE=, =#+TOC: headlines=, =#+ASCII:= lines, =#+BEGIN_EXPORT ascii= blocks, =@@ascii:...@@= snippets, =#+ATTR_ASCII: :width= on horizontal rules, and the =center=, =justifyleft= and =justifyright= blocks work as in Emacs, as do the tags and =COMMENT= that leave headings out (see /Which headings are exported/). Body-only and subtree export are in the export dialog. In a subtree export, the heading's =EXPORT_TITLE=, =EXPORT_SUBTITLE=, =EXPORT_AUTHOR=, =EXPORT_DATE=, =EXPORT_LANGUAGE=, =EXPORT_OPTIONS=, =EXPORT_SELECT_TAGS= and =EXPORT_EXCLUDE_TAGS= properties replace the file's keywords. Leading tabs in a source block become spaces, as in Emacs.
273
274A file with something this export doesn't handle stops with "Can't export to plain text: " and what it was, rather than giving a =.txt= that differs from Emacs's: citations and =#+BIBLIOGRAPHY=, radio targets, inline tasks, table.el tables, diary sexps, inline source blocks and calls, =#+CALL=, source blocks exported with their results, =#+RESULTS= without a source block, wide or combining characters (such as CJK text, emoji and combining accents), tabs outside source and example blocks or in the indentation of an indented source block, footnote definitions of several paragraphs, footnotes in headings, keywords, captions or other footnotes, =UNNUMBERED= and =ALT_TITLE=, tables with special columns or column groups, empty list items, alphabetical counters, affiliated keywords in list items, blocks whose first line is blank, headings inside blocks, numbered source blocks inside other blocks, verse blocks with more than text, links inside link descriptions, links to =<<targets>>= and named elements, short or repeated captions, unknown entities, a keyword such as =#+SUBTITLE= repeated with an empty value, =#+TOC:= other than =headlines= or with =local= or =:target=, and =#+OPTIONS= items other than =toc=, =num=, =H=, =tags=, =todo=, =pri=, =^=, =tex=, =title=, =author=, =date=, =-=, =<= and =timestamp= set to something other than Org's default. A link Emacs can't resolve stops the export in both, including a link to a heading the export leaves out. On iOS the share sheet stops and the message shows at the bottom of the screen. Publishing to plain text stops with the file's name in the message. In the download version, when Emacs is installed, such a file is exported by Emacs instead (see /Exporting through Emacs/).
275
268* Markdown export 276* Markdown export
269 277
270Markdown export writes GitHub-flavored Markdown: 278Markdown export writes GitHub-flavored Markdown:
@@ -308,7 +316,7 @@ Differences from Org: diary sexps (=%%(…)= lines and =<%%(…)>= timestamps) a
308 316
309* Publishing 317* Publishing
310 318
311Publishing (=org-publish=) exports a folder of Org files to a folder of HTML, Markdown, LaTeX or ODT files, copies other files beside them, and can write a sitemap. Projects are =[[publish]]= tables in =config.toml=, as =org-publish-project-alist= entries are in Emacs: 319Publishing (=org-publish=) exports a folder of Org files to a folder of HTML, Markdown, LaTeX, ODT or plain text files, copies other files beside them, and can write a sitemap. Projects are =[[publish]]= tables in =config.toml=, as =org-publish-project-alist= entries are in Emacs:
312 320
313#+BEGIN_SRC toml 321#+BEGIN_SRC toml
314[[publish]] 322[[publish]]
@@ -341,7 +349,7 @@ components = "notes static"
341| =recursive= | Files in subfolders too | =false= | 349| =recursive= | Files in subfolders too | =false= |
342| =exclude= | An Emacs regexp on the file's path under =base-directory=; matching files are left out | | 350| =exclude= | An Emacs regexp on the file's path under =base-directory=; matching files are left out | |
343| =include= | More files, relative to =base-directory=, separated by spaces | | 351| =include= | More files, relative to =base-directory=, separated by spaces | |
344| =publishing-function= | =org-html-publish-to-html=, =org-md-publish-to-md=, =org-latex-publish-to-latex=, =org-odt-publish-to-odt= or =org-publish-attachment= (copied as they are), several separated by spaces | =org-html-publish-to-html= | 352| =publishing-function= | =org-html-publish-to-html=, =org-md-publish-to-md=, =org-latex-publish-to-latex=, =org-odt-publish-to-odt=, =org-ascii-publish-to-ascii= or =org-publish-attachment= (copied as they are), several separated by spaces | =org-html-publish-to-html= |
345| =body-only= | The export's body only | =false= | 353| =body-only= | The export's body only | =false= |
346| =auto-sitemap= | Write a sitemap into =base-directory= and publish it with the rest | =false= | 354| =auto-sitemap= | Write a sitemap into =base-directory= and publish it with the rest | =false= |
347| =sitemap-filename= | The sitemap's name | ="sitemap.org"= | 355| =sitemap-filename= | The sitemap's name | ="sitemap.org"= |
@@ -367,14 +375,9 @@ A file whose published copy is newer than it is skipped, as Org skips files that
367 375
368* Exporting through Emacs 376* Exporting through Emacs
369 377
370On the Mac, PDF and plain text exports are done by Emacs, with the =ox= functions Emacs's dispatcher uses: 378On the Mac, PDF through LaTeX is done by Emacs, with =org-latex-export-to-pdf=, the function Emacs's dispatcher uses.
371
372| Format | Function |
373|------------+-----------------------------|
374| PDF | =org-latex-export-to-pdf= |
375| Plain text | =org-ascii-export-to-ascii= |
376 379
377LaTeX goes to Emacs (=org-latex-export-to-latex=) only for a file orgstar's own LaTeX export can't write as Emacs would; see /LaTeX export/. The [[file:../install.org][Mac App Store version]] doesn't run Emacs and has none of these exports. 380LaTeX and plain text go to Emacs (=org-latex-export-to-latex=, =org-ascii-export-to-ascii=) only for a file orgstar's own export can't write as Emacs would; see /LaTeX export/ and /ASCII export/. The [[file:../install.org][Mac App Store version]] doesn't run Emacs and has none of these exports.
378 381
379orgstar runs =emacs -Q --batch= in the Org file's folder. It opens the file, replaces its contents with the editor's current text without saving, and calls the function. Emacs writes the result beside the file, as it would itself; with a destination chosen in the export dialog, orgstar then moves it there. The message area shows "Exporting with Emacs…" and then "Exported to /name/". 382orgstar runs =emacs -Q --batch= in the Org file's folder. It opens the file, replaces its contents with the editor's current text without saving, and calls the function. Emacs writes the result beside the file, as it would itself; with a destination chosen in the export dialog, orgstar then moves it there. The message area shows "Exporting with Emacs…" and then "Exported to /name/".
380 383
docs/manual/guide/14-ios.org +3 −3
@@ -329,9 +329,9 @@ The app icon's badge counts the entries in the agenda's Overdue section that are
329 329
330* Export 330* Export
331 331
332Export (in the reader's toolbar and the editor's More menu) offers HTML, Markdown, PDF, Word, Rich Text (RTF), Plain Text, ODT, iCalendar and LaTeX, and Copy as Rich Text. Each opens the share sheet with a file named after the org file, which you can send to another app or keep with Save to Files. The export reads the file's setup files and follows its export keywords, as the Mac's export does. For a file the LaTeX export can't write as Emacs would, the share sheet stops and "Can't export to LaTeX: " and the reason show at the bottom of the screen. 332Export (in the reader's toolbar and the editor's More menu) offers HTML, Markdown, PDF, Word, Rich Text (RTF), Plain Text, ODT, iCalendar, LaTeX and Plain Text (ASCII), and Copy as Rich Text. Each opens the share sheet with a file named after the org file, which you can send to another app or keep with Save to Files. The export reads the file's setup files and follows its export keywords, as the Mac's export does. For a file the LaTeX or ASCII export can't write as Emacs would, the share sheet stops and "Can't export to LaTeX: " or "Can't export to plain text: " and the reason show at the bottom of the screen.
333 333
334PDF export follows =pdf-margin=, =pdf-font= and =pdf-page-numbers= in =config.toml=, and Word files get heading styles and the file's images, as on the Mac. ASCII and PDF through LaTeX aren't available on iOS. See [[file:12-export.org][Export]]. 334PDF export follows =pdf-margin=, =pdf-font= and =pdf-page-numbers= in =config.toml=, and Word files get heading styles and the file's images, as on the Mac. PDF through LaTeX isn't available on iOS. See [[file:12-export.org][Export]].
335 335
336* Code blocks and tables 336* Code blocks and tables
337 337
@@ -436,7 +436,7 @@ Quick Look in the Files app shows org files as the HTML export renders them.
436* What the Mac has that iOS doesn't 436* What the Mac has that iOS doesn't
437 437
438- In the download version: running code blocks in languages other than Emacs Lisp and JavaScript, Emacs Lisp beyond orgstar's interpreter, JavaScript that needs node, and tables that need Emacs. 438- In the download version: running code blocks in languages other than Emacs Lisp and JavaScript, Emacs Lisp beyond orgstar's interpreter, JavaScript that needs node, and tables that need Emacs.
439- Publishing, and in the download version ASCII and LaTeX-made PDF export. 439- Publishing, and in the download version LaTeX-made PDF export.
440- Idle detection while a clock runs. 440- Idle detection while a clock runs.
441- Import from Emacs of agenda folders. 441- Import from Emacs of agenda folders.
442- The Columns inspector, the buffer list and tab bar, and resizing panes by dragging their divider. The board and column view are there (see [[file:07-agenda.org][The agenda]] and [[file:04-outlines.org][Outlines]]). 442- The Columns inspector, the buffer list and tab bar, and resizing panes by dragging their divider. The board and column view are there (see [[file:07-agenda.org][The agenda]] and [[file:04-outlines.org][Outlines]]).
docs/manual/guide/15-alongside-emacs.org +2 −2
@@ -120,9 +120,9 @@ Some features run Emacs in batch mode on the Mac. Everything else works without
120| Emacs Lisp source blocks (=emacs-lisp=, =elisp=) | The block, in =emacs -Q --batch= | 120| Emacs Lisp source blocks (=emacs-lisp=, =elisp=) | The block, in =emacs -Q --batch= |
121| Table formulas outside what orgstar computes itself | =org-table-recalculate= on a copy of the file; the table's new text replaces the old one if the table didn't change meanwhile | 121| Table formulas outside what orgstar computes itself | =org-table-recalculate= on a copy of the file; the table's new text replaces the old one if the table didn't change meanwhile |
122| Lisp table formulas that orgstar's Emacs Lisp interpreter can't evaluate | The same; orgstar first asks whether to run Lisp (yes, no, always) | 122| Lisp table formulas that orgstar's Emacs Lisp interpreter can't evaluate | The same; orgstar first asks whether to run Lisp (yes, no, always) |
123| Export to PDF and plain text, and LaTeX orgstar can't write itself | =org-latex-export-to-pdf=, =org-ascii-export-to-ascii= or =org-latex-export-to-latex= | 123| Export to PDF, and LaTeX and plain text orgstar can't write itself | =org-latex-export-to-pdf=, =org-latex-export-to-latex= or =org-ascii-export-to-ascii= |
124 124
125HTML, Markdown, ODT and LaTeX export don't use Emacs. See [[file:11-code-blocks.org][Code blocks]], [[file:10-tables.org][Tables]] and [[file:12-export.org][Export]]. 125HTML, Markdown, ODT, LaTeX and ASCII export don't use Emacs. See [[file:11-code-blocks.org][Code blocks]], [[file:10-tables.org][Tables]] and [[file:12-export.org][Export]].
126 126
127** How Emacs is found 127** How Emacs is found
128 128
docs/manual/install.org +5 −5
@@ -7,7 +7,7 @@
7- macOS 26 or later. 7- macOS 26 or later.
8- Optional, for the download version: GNU Emacs, for the features that hand work to it 8- Optional, for the download version: GNU Emacs, for the features that hand work to it
9 (Emacs Lisp code blocks that need full Emacs, Lisp table formulas the built-in 9 (Emacs Lisp code blocks that need full Emacs, Lisp table formulas the built-in
10 interpreter can't run, and export to PDF through LaTeX and ASCII). See 10 interpreter can't run, and export to PDF through LaTeX). See
11 [[file:guide/15-alongside-emacs.org][Working alongside Emacs and other tools]]. 11 [[file:guide/15-alongside-emacs.org][Working alongside Emacs and other tools]].
12 12
13* The Mac app 13* The Mac app
@@ -59,7 +59,7 @@ App Store version.
59| Tangling | Yes | Yes | 59| Tangling | Yes | Yes |
60| Table formulas | Those orgstar computes itself | The rest in Emacs as well | 60| Table formulas | Those orgstar computes itself | The rest in Emacs as well |
61| Plots | Drawn with Swift Charts | gnuplot when installed, else Swift Charts | 61| Plots | Drawn with Swift Charts | gnuplot when installed, else Swift Charts |
62| Export | HTML, Markdown, PDF, Word, RTF, plain text, ODT, iCalendar, LaTeX; publishing | Also PDF through LaTeX and ASCII, in Emacs | 62| Export | HTML, Markdown, PDF, Word, RTF, plain text, ODT, iCalendar, LaTeX, ASCII; publishing | Also PDF through LaTeX, in Emacs |
63| Settings | In the app's container, or a folder you choose | =~/.config/orgstar= | 63| Settings | In the app's container, or a folder you choose | =~/.config/orgstar= |
64| Files outside your folders | After you grant access to their folder | Directly | 64| Files outside your folders | After you grant access to their folder | Directly |
65| Attachments | Copied, or moved from inside your folders | Copied, moved, linked or symlinked | 65| Attachments | Copied, or moved from inside your folders | Copied, moved, linked or symlinked |
@@ -73,9 +73,9 @@ reports "This block uses /name/, which runs only in node." A table whose formula
73the first formula that needs it, which the message names with the reason; the fields 73the first formula that needs it, which the message names with the reason; the fields
74before it stay and the rest are unchanged. The Emacs exports are 74before it stay and the rest are unchanged. The Emacs exports are
75not in the File ▸ Export menu, the export dialog or the command palette; a key bound to 75not in the File ▸ Export menu, the export dialog or the command palette; a key bound to
76Export to PDF with Emacs exports to PDF without LaTeX. LaTeX export is orgstar's own and is in 76Export to PDF with Emacs exports to PDF without LaTeX. LaTeX and ASCII export are orgstar's own
77both versions; a file it can't write as Emacs would reports "Can't export to LaTeX", with the 77and are in both versions; a file they can't write as Emacs would reports "Can't export to
78reason. 78LaTeX" or "Can't export to plain text", with the reason.
79 79
80** Folders and files 80** Folders and files
81 81