^root^

Tinderbox Icon


Code Type:   Export Mark-up
Code Scope of Action:   document

^root^

Returns the relative path from the current file to the directory that contains the cover page. When concatenating ^root^ with a path, it is not necessary to add a trailing (folder) slash as this is created as part of the ^root^ output. Thus

- ^root^images/icon.gif

... not ...

- ^root^/images/icon.gif

Note that this is not necessarily the same as ^root(this)^, used in the case where a note (this) is embedded inside another note that is included in a page.

The ^root^ of this note is: ../../../../ (see the browser URL bar to see how this resolves)


Possible relevant notes (via "Similar Notes" feature):

Up: Document-based

A Tinderbox Reference File : Export Codes : Export Code Scope : Document-based : ^root^

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox