![]() |
![]() |
![]() |
font help bookshelf TOC thumbnails | 1 of 9 | ![]() |
Leo : Basics Derived Files Part 2 |
Leo has a second way of creating derived files. This is the @file directive. This directive at first seems similar to the @root directive, but there is an important conceptual difference. When you use the @file directive, outline information is always written to the derived file. Therefore, you cannot use the @silent directive.
The benefit of using the @file directive is that there is no longer any need to explicity tangle and untangle. Tangling and untangling happen automatically by opening a .leo file and saving it. This makes alternating between Leo and another editor or IDE completely transparent.
In addition, when you use the @file directive, you can have unnamed sections. To see how these work, read on...
1 2 3 4 5 6 7 8 9 |