1. How does Eudoc/Creole indent text?

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

new topic     » topic index » view message » categorize

2. Re: How does Eudoc/Creole indent text?

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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: How does Eudoc/Creole indent text?

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: How does Eudoc/Creole indent text?

ArthurCrump said...

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu