emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noboru Ota <me@nobiot.com>
To: Uwe Brauer <oub@mat.ucm.es>, emacs-orgmode@gnu.org
Subject: Re: Introducing Org-transclusion
Date: Fri, 05 Nov 2021 20:24:24 +0100	[thread overview]
Message-ID: <87o86yl82f.fsf@nobiot.com> (raw)
In-Reply-To: <87pmrer0hi.fsf@mat.ucm.es>

Uwe Brauer <oub@mat.ucm.es> writes:

> If I include the content of another org file (say Russell) into my
> main.org file
>
>     1. I can export main.org to say latex and that latex file includes
>        the corresponding content of Russell.
>     2. It is a one way bridge, I cannot modify the content of Russell in
>        main.org, right?

You can.  Put your point on the read-only copied text content in
main.org (transcluded text) and press "e" to call the
"org-transclusion-live-sync-start" command.  The transcluded text and
source will get an overlay, which lets you edit and sync the changed
content real-time. This works both ways.

There are some restrictions if the source file is Org file; you will get
a message telling you that you cannot activate live-sync for these
cases.  This is due to the way I use Org elements.  I might be able to
find a way later with this helpful community.  The restriction is
documented in the docstring of the "live-sync-start" command.  Here is
an excerpt:

    For transclusions of Org elements or a buffer, live-sync works
    only on the following elements: center-block, drawer,
    dynamic-block, latex-environment, paragraph, plain-list,
    quote-block, special-block table, and verse-block.

Let me know if you have more questions. Thank you for taking interest :)

Noboru


  reply	other threads:[~2021-11-05 19:25 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-30 11:51 Noboru Ota
2021-10-30 12:31 ` Juan Manuel Macías
2021-11-01  9:17   ` Noboru Ota
2021-10-30 13:59 ` Ihor Radchenko
2021-11-01  9:11   ` Noboru Ota
2021-11-01 13:24     ` Ihor Radchenko
2021-11-06 10:43       ` Noboru Ota
2021-11-08 15:07         ` Ihor Radchenko
2021-11-10 21:09           ` Noboru Ota
2021-11-14  8:22             ` Ihor Radchenko
2021-11-14  9:35               ` Ihor Radchenko
2021-11-01 20:07     ` Thomas Paulsen
2021-11-01 21:01       ` Noboru Ota
2021-11-02  5:17     ` Timothy
2021-11-05 19:53       ` Noboru Ota
2021-11-05 21:56         ` Tim Cross
2021-11-05 23:20           ` Timothy
2021-11-06 10:14             ` Noboru Ota
2021-11-06 10:22               ` Tim Cross
2021-11-06 11:49                 ` Noboru Ota
2021-11-05 17:11 ` Uwe Brauer
2021-11-05 19:24   ` Noboru Ota [this message]
2021-11-05 20:15     ` Uwe Brauer
2021-11-05 23:02       ` Noboru Ota
2021-11-06 14:01         ` Uwe Brauer
2021-11-06 14:25         ` Ihor Radchenko
2021-11-06 14:54           ` Noboru Ota
2021-11-06 15:49             ` Uwe Brauer
2021-11-07  7:34               ` Ihor Radchenko
2021-11-07  8:07                 ` Uwe Brauer
2021-11-07  8:30                   ` Ihor Radchenko
2021-11-07 13:25                     ` Uwe Brauer
2021-11-07 13:41                       ` Ihor Radchenko
2021-11-07 13:56                         ` Uwe Brauer
2021-11-05 19:59   ` Noboru Ota
2021-11-05 20:13     ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o86yl82f.fsf@nobiot.com \
    --to=me@nobiot.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    --subject='Re: Introducing Org-transclusion' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).