1. How does Eudoc/Creole indent text?
- Posted by ArthurCrump Mar 31, 2013
- 1342 views
Running Eudoc and Creole has resulted in an html file which does not have any indentation. How is a layout like the Euphoria manual achieved? Does it require an assembly file? If so, some documentaion would be desirable; see ticket:859
2. Re: How does Eudoc/Creole indent text?
- Posted by _tom (admin) Apr 01, 2013
- 1346 views
Preamble
Eudoc collects text (from source-code and independent files) and produces a single text file. The .af "assembly file" is is a list of files that get processed by the eudoc program.
Creole is a "markup language" used for example in the OpenEuphoria wiki and in this forum. You can choose to write your documentation text using Creole markup or you could even choose to use some other markup language--this is unrelated to the eudoc program. The creole application translates plain text, written with Creole markup, into an html or tex file. The html or tex formatting is responsible for the final product and its formatted appearance. Both html and tex can be turned into a pdf as a final product.
Formatted Result
Use a .css (cascading style sheet) to determine how your html documentation looks like. Examine style.css and pdf.css found with the documentation source. A webpage editor will let you experiment with formatting and then save a .css file.
If you use tex output, then a LaTex editor can be used to format the output.
3. Re: How does Eudoc/Creole indent text?
- Posted by ArthurCrump Apr 06, 2013
- 1309 views
Thanks for the information. Sorry about the lateness of this reply; I thought I would have some time to spare when I retired, but I seem to be trying to do several things at once. I will probably need a little header file, an assembly file and a CSS file. I doubt if I will get my HTML file to be in the style of the Euphoria documentation, but I should at least be able to improve it.
Arthur
4. Re: How does Eudoc/Creole indent text?
- Posted by useless_ Apr 06, 2013
- 1325 views
Thanks for the information. Sorry about the lateness of this reply; I thought I would have some time to spare when I retired, but I seem to be trying to do several things at once. I will probably need a little header file, an assembly file and a CSS file. I doubt if I will get my HTML file to be in the style of the Euphoria documentation, but I should at least be able to improve it.
Arthur
Not sure what you mean to do, but i use
p.par { text-indent: 30px; text-align: justify; }in css (you could inline it in the html instead of a separate css file), and then the html file uses it like
<p class="par">This gets indented.</p>
useless