Transclusion

A Transclusion (English transclusion ) is the ability in most hypertext systems, other documents or portions thereof include in themselves (also " integrate "). So text blocks can be used multiple times in different places. If the transcluded text updated, it automatically updates the Transclusion in all directions in which this is embedded.

In contrast to a link is not only made ​​to another document. Rather - and more than one quote ( "Section" ) - pasted the whole document.

And the string the content of Literatur.tex so Werk.tex is processed with the same result as a file, the contents of the string

The function is very similar to an include in server-side scripting languages ​​such as ASP, JSP, PHP ( more on that below ) or Server Side Includes and similar to an HTML frameset.

A transclusion is to be distinguished from an immersion, in which the boundaries are resolved between two documents.

By Transclusion example, an article about a country, a table or a paragraph including describing the agricultural exports of this country from another article on agriculture. Rather than duplicate the enclosed and store data in two places, allows transclusion to save it in a location central and manage; a revised or updated version will appear in all documents that transkludieren the data. The mechanism is similar functional including normalizing in the modeling of relational databases.

Development

Ted Nelson's Xanadu project contains transclusions. Ted Nelson went to his original design for hypertext, which he presented in his book Literary Machines, assuming that readers of a document would reimburse the person or author (s) automatically via micropayments, regardless of how many fragments it would be assembled. Since this compensation model such as the World Wide Web is not provided in today's hypertext systems, provides the Transclusion represents a fundamental problem copyrighted

Atomization

The idea of ​​transclusion implies that the parts of a text can be written atomized so that the content of a part does not contradict the contents of another part. For example, the following formulations can be found in linear text is often in a text can not be atomised:

  • An explanation follows below.
  • You can find an explanation in the previous section.
  • As mentioned earlier ...
  • As we have already mentioned ...
  • We will deal later with this question in detail.

Since you do not know where the atomized text fragment will appear, you can not refer to parts outside of the fragment.

The PHP command "include" corresponds quite exactly to the internal LaTeX command "\ @ input", the PHP command "require" could be due to the additional error message with both the LaTeX command " \ input " as well as with the command " \ input " of TeX format plain TeX are compared, and the PHP command" require_once " is similar LaTeXs package loading commands ( " \ RequirePackage ", etc.) in terms of avoiding multiple integration.

  • Documentation
782306
de