TexInfo Source To HTML Block Output Test



Table of Contents


Standard Blocks

#-------------

This is an indented block.
This is an indented block.

#-------------

This is a quotation block.
This is a quotation block.

#-------------

This is a quotation block with author.
This is a quotation block with author.

Longus Ventus Maximus

#-------------

This is a quotation block using the @Author macro.
This is a quotation block using the @Author macro.
— Brainius Minimus

#-------------

This is a format block.
This is a format block.

#-------------

This is a display block.
This is a display block.

#-------------

This is an example block.
This is an example block.

#-------------

This is a lisp block.
This is a lisp block.

#-------------

This is a verbatim block.
This is a verbatim block.




Small Blocks

#-------------

This is an smallindented block.
This is an smallindented block.

#-------------

This is a smallquotation block.
This is a smallquotation block.

#-------------

This is a smallquotation block with author.
This is a smallquotation block with author.

Longus Ventus Maximus

#-------------

This is a smallformat block.
This is a smallformat block.

#-------------

This is a smalldisplay block.
This is a smalldisplay block.

#-------------

This is a smallexample block.
This is a smallexample block.

#-------------

This is a smalllisp block.
This is a smalllisp block.

#-------------

=s=This is a smallverbatim block.
This is a smallverbatim block.
Note: "@smallverbatim" is not recognized by makeinfo. It is implemented
      as a user-defined macro, and must be sized via post-processing.




Large Blocks

Note: @large block commands are not recognized by makeinfo.
They are implemented as user-defined macros, and must be sized via post-processing.
Please see the Infodoc documentation or the file “texi_macros.texi” to see how
these macros are constructed.


#-------------

=l= This is a largeindented block.1
This is a largeindented block.2

#-------------

=l= This is a largequotation block.1
This is a largequotation block.2

#-------------

=l= This is a largequotation block with author.1
This is a largequotation block with author.2

Longus Ventus Maximus

#-------------

=l=
This is a largeformat block.1
This is a largeformat block.2

#-------------

=l=
This is a largedisplayblock.1
This is a largedisplayblock.2

#-------------

=l=
This is a largeexample block.1
This is a largeexample block.2

#-------------

=l=
This is a largelisp block.1
This is a largelisp block.2

#-------------

=l=This is a largeverbatim block.1
This is a largeverbatim block.2




Nested Blocks

Blocks Inside Blocks

Except for @indentedblock blocks it is strongly recommended that block environments NOT be nested within other block environments, but we run a few tests here, just to see what happens.
(Note that ’idpp’ handles these tests smoothly :)

(Remember that the contents of PRE-FORMATTED blocks are not processed)
(  by idpp, but are merely copied, unchanged from source to target.  )

@indentedblock within @indentedblock block

This text is part of the outer indented block. It should be indented by a few spaces as specified by the document’s @exampleindent command (5 spaces by default in info output).

This is a doubly-indented paragraph, i.e. it lives within a nested @indentedblock. This is a bit unlikely is a production document, but we want to see how makeinfo handles it for info-format and HTML-format output.

This text is part of the outer indented block. It should be indented by a few spaces as specified by the document’s @exampleindent command (5 spaces by default in info output).

@example within @indentedblock block

This text is part of the outer indented block. It should be indented by a few spaces as specified by the document’s @exampleindent command (5 spaces by default in info output).

This text is within an @example block (monospaced text).
It can often be useful to change font families for emphasis.

This text is part of the outer indented block. It should be indented by a few spaces as specified by the document’s @exampleindent command (5 spaces by default in info output).

Simple @quotation block with @author

"Give a man a fish, and he’ll eat fish."

Samwise Gamgee

@quotation block within @indentedblock

This text is within the indented block. It should be indented by a few spaces as specified by the document’s @exampleindent command if present (5 spaces by default in info output).

"Give a man a fish, and he’ll think something is rotten in Denmark, but teach a man to fish, and he’ll think you want to have sex with him."

Samwise Shakespeare

This text is within the indented block. It should be indented by a few spaces as specified by the document’s @exampleindent command if present (5 spaces by default in info output).

@indentedblock within @quotation block

"Why is the rum gone?"

"One, Because it is a vile drink that turns even the most respectable men into complete scoundrels..."

This text is within an indented block within a @quotation command. Note that we cannot follow an @author sub-command with an indented block because makeinfo always places the @author just outside the end of the @quotation block.

"But why is the rum gone?"

"... and two, because that signal is over a thousand feet high. The entire royal navy is out looking for me; do you think there is even the slightest chance they won’t see it?"

This text is within an indented block within a @quotation command. We don’t name the author of this exchange because everyone on the planet already knows who the speakers are–but it is after all copyrighted material–so give credit where credit is due.

"There’ll be no living with her after this."

Copyright 2003, the Walt Disney Company

@format block within @display block

This is not a recommended construct. It is included here for testing purposes.

Begin display block.
This is a format block. #1
This is a format block. #2
This is a format block. #3
End display block.

@smalldisplay block within @format block

This is not a recommended construct. It is included here for testing purposes.

Begin format block.
This is a smalldisplay block. #1
This is a smalldisplay block. #2
This is a smalldisplay block. #3
End display block.




Cartouche Objects

Cartouche Objects

What’s a Cartouche? Is that like ’Rick and Morty’?

          Format Using Inherited Font Size with Pre-formatted Text (default)

=ai= A “cartouche” is a bordered paragraph. The border is not visible within the ‘info’ document, and may as well have beeen ignored. However, the border is rendered correctly within the HTML document. CSS style for margins and interior padding is added to beautify the output. By default, text within an HTML cartouche block is pre-formatted and is not modified during post-processing. However, the text formatting style may be selected using the "--cartouche" post-processing option.


          Format Using Smaller Font Size with Pre-formatted Text

=as= Teresita’s First Crush:   Aaron isn’t like the other boys. He’s very mature. He never plays tricks on people the way my stupid brothers do. And he smiles almost all the time, even when Mrs. Ratburger is giving him a hard time, (his English isn’t very good.) To tell the truth, my English isn’t so great either. That’s why we’re both in the immersion class together, even though he’s in second grade, and I’m just in first grade. He sits in the front row, and I sit three rows back and one to the left. Of course, I’ve never talked to him. I would just die if he ever looked at me.


          Format Using Larger Font Size with Pre-formatted Text

=al= Teresita’s First Crush:   Aaron isn’t like the other boys. He’s very mature. He never plays tricks on people the way my stupid brothers do. And he smiles almost all the time, even when Mrs. Ratburger is giving him a hard time, (his English isn’t very good.) To tell the truth, my English isn’t so great either. That’s why we’re both in the immersion class together, even though he’s in second grade, and I’m just in first grade. He sits in the front row, and I sit three rows back and one to the left. Of course, I’ve never talked to him. I would just die if he ever looked at me.


          Format Using Inherited Font Size with Free-flowing Text

=fi= Teresita’s First Crush:   Aaron isn’t like the other boys. He’s very mature. He never plays tricks on people the way my stupid brothers do. And he smiles almost all the time, even when Mrs. Ratburger is giving him a hard time, (his English isn’t very good.) To tell the truth, my English isn’t so great either. That’s why we’re both in the immersion class together, even though he’s in second grade, and I’m just in first grade. He sits in the front row, and I sit three rows back and one to the left. Of course, I’ve never talked to him. I would just die if he ever looked at me.


          Format Using Smaller Font Size with Free-flowing Text

=fs= Teresita’s First Crush:   Aaron isn’t like the other boys. He’s very mature. He never plays tricks on people the way my stupid brothers do. And he smiles almost all the time, even when Mrs. Ratburger is giving him a hard time, (his English isn’t very good.) To tell the truth, my English isn’t so great either. That’s why we’re both in the immersion class together, even though he’s in second grade, and I’m just in first grade. He sits in the front row, and I sit three rows back and one to the left. Of course, I’ve never talked to him. I would just die if he ever looked at me.


          Format Using Larger Font Size with Free-flowing Text

=fl= Teresita’s First Crush:   Aaron isn’t like the other boys. He’s very mature. He never plays tricks on people the way my stupid brothers do. And he smiles almost all the time, even when Mrs. Ratburger is giving him a hard time, (his English isn’t very good.) To tell the truth, my English isn’t so great either. That’s why we’re both in the immersion class together, even though he’s in second grade, and I’m just in first grade. He sits in the front row, and I sit three rows back and one to the left. Of course, I’ve never talked to him. I would just die if he ever looked at me.





Multitables

Multitables

Standard Multitable With and Without Head-item Entry

STANDARD  MULTI-TABLE   WITH HEADER
 Inherited Font Field #2 Field#3 Field#4
 Inherited Font Field #2 Field#3 Field#4
 Inherited Font Field #2 Field#3 Field#4

 Inherited Font Multi-Field #2 Field#3 Field#4
 Inherited Font Multi-Field #2 Field#3 Field#4
 Inherited Font Multi-Field #2 Field#3 Field#4

(THE FOLLOWING EXAMPLES ARE NOT VISIBLE IN THE ’INFO’ OUTPUT.)

Multitables With Smaller Font

=bs= SMALLER  MULTI-TABLE   WITH HEADER
 Smaller Font Field #2 Field#3 Field#4
 Smaller Font Field #2 Field#3 Field#4
 Smaller Font Field #2 Field#3 Field#4

=bs=  Smaller Font Multi-Field #2 Field#3 Field#4
 Smaller Font Multi-Field #2 Field#3 Field#4
 Smaller Font Multi-Field #2 Field#3 Field#4

Multitables With Larger Font

=bl= LARGER  MULTI-TABLE   WITH HEADER
 Larger Font Field #2 Field#3 Field#4
 Larger Font Field #2 Field#3 Field#4
 Larger Font Field #2 Field#3 Field#4

=bl=  Larger Font Multi-Field #2 Field#3 Field#4
 Larger Font Multi-Field #2 Field#3 Field#4
 Larger Font Multi-Field #2 Field#3 Field#4




Index