Difference between revisions of "Basics"

From Wiki
Jump to navigation Jump to search
m (add link to composing characters)
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
Here you find the Basics of ConTeXt '''document structure''' and '''text formatting''' (because paragraphs, emphasis, verbatims, quotes... also contributes to the structure of your documents).
+
Here you find the Basics of ConTeXt '''[[#Document_structure|document structure]]''' and '''[[#Text_formatting|text formatting]]''' (because paragraphs, emphasis, verbatims, quotes, etc also contribute to the structure of your documents).
  
If it can help, there is a [[Dictionary]] of typographical terms. There is also an few reference about the [[History of TeX]] (2007, it would benefit from an update).
+
If it helps, there is a [[Dictionary]] of typographical terms. There are also a few references to the [[History of TeX]] (2007); it would benefit from an update.
  
 
= Document structure =
 
= Document structure =
Line 8: Line 8:
 
{{TwoColumnsUnderLevel1
 
{{TwoColumnsUnderLevel1
 
|
 
|
== ConTeXt Projects ==
+
; ConTeXt Projects
* [[Project structure]]: How to split up content and setup.
+
:* [[Project structure]] How to split up content and setup.
* [[Modes]]: Conditional processing of document
+
:* [[Modes]] Conditional processing of document
  
== Titles, Headings, and Sections ==
+
; Titles, Headings, and Sections
 +
:* [[Titles]]: sectioning and formatting
 +
:* [[Table of Contents]]
  
* [[Titles]]: sectioning and formatting
+
; Page Structure
* [[Table of Contents]]
+
:* [[Headers and Footers]]
 
+
:* [[Footnotes]], endnotes, and related notes.
== Page Structure ==
 
* [[Headers and Footers]]
 
* [[Footnotes]], endnotes, and related notes.
 
 
|
 
|
== Structure-Related Lists ==
+
; Structure-Related Lists
* [[Registers]]: Indexes and other similar word lists.
+
:* [[Registers]]: Indexes and other similar word lists.
* [[Bibliography]]: Referenced documents and in-text citations.
+
:* [[Bibliography]]: Referenced documents and in-text citations.
  
== Referencing ==
+
; Referencing
* [[References]]: Automatically referring to pages and labels.
+
:* [[References]]: Automatically referring to pages and labels.
* [[PDF Bookmarks and Headers]]
+
:* [[Interaction#PDF_Bookmarks|PDF Bookmarks and Headers]]
 +
:* [[Cross Referencing]]: Inline text referencing.
 +
:* [[URL]]: typesetting of URLs references.
 
}}
 
}}
  
Line 34: Line 35:
 
{{TwoColumnsUnderLevel1
 
{{TwoColumnsUnderLevel1
 
|
 
|
== Basic Text Formatting ==
+
; Basic Text Formatting
 
+
:* [[Font Switching]], to change font styles (bold, italic, capitalizing, underline, etc.)
* [[Font Switching]], to change font styles (bold, italic, capitalizing, underline, etc.)
+
:* [[Right_and_left|Alignment]]
* [[Indentation]]
+
:* [[Indentation]]
* [[Columns]]
+
:* [[Columns]]
* [[Color]]
+
:* [[Color]]
* [[Verbatim text]]
+
:* [[Verbatim text]]
* [[Quotes]]
+
:* [[Quotes]]
* [[Framed]]
+
:* [[Framed]]
* [[Verse]]
+
:* [[Verse]]
* [[Initials]] (dropped caps, dropcaps)
+
:* Initials (dropped caps, dropcaps)
* [[Symbols]]
+
:** placement with {{cmd|placeinitial}}
* [[Delimiter]] to forced linebreak
+
:** customization with {{cmd|setupinitial}}
 +
:* [[Symbols]]
 +
:* [[Delimiter|Delimiters and breaks]] (delimiting text, specifying line breaks and page breaks)
 
|
 
|
== Structured Text ==
+
; Structured Text
* [[Enumerations]]: Itemizations, itemized lists, and bulleted lists.
+
:* [[Enumerations]]: Itemizations, itemized lists, and bulleted lists.
* [[Description|Descriptions]]: Lists with text labels, such as definitions.
+
:* [[Description|Descriptions]]: Lists with text labels, such as definitions.
* [[Cross Referencing]]: Inline text referencing.
+
:* [[Paragraph Enumeration]]: Numbered paragraphs.
* [[Paragraph Enumeration]]: Numbered paragraphs.
+
:* [[Paragraph Referencing]]: Number all paragraphs for referencing usage
* [[Paragraph Referencing]]: Number all paragraphs for referencing usage
+
:* [[Tables_Overview|Tables]]: Different ways to create tables in ConTeXt.
* [[Tables_Overview|Tables]]: Different ways to create tables in ConTeXt.
 
 
}}
 
}}
  
 +
= Further reading =
  
== More advanced Text Formatting ==
+
; [[Unexpected behavior]]: If ConTeXt appears to behave in a counterintuitive way, chances are that it’s actually your intuitions that lack calibration.
 +
; [[Visual Debugging]]: can facilitate tweaking text formatting
 +
; [[Sample documents]]: a page is used as a central location for these, but there is also a [[:Category:Sample_documents|dedicated category]] (the two should mostly match).
 +
; Advanced Document structure
 +
:* [[Hiding Content]]
 +
:* [[Makeup]], allowing for custom and temporary header & footer sections.
  
* [[Faking characters]]
+
; Advanced Text formatting
* [[Compound words]]
+
:* [[Hyphenation]]
* [[Hiding Content]]
+
:* [[composing characters]]
* [[Cropping text]]
+
:* [[Faking characters]]
* [[Graphical text manipulation]]
+
:* [[Compound words]]
* [[TextBackground]] (includes underlining)
+
:* [[Cropping text]]
* Specially [[Shaped paragraphs]]
+
:* [[Scaling Rotating Mirroring Clipping]]
* [[Widows and orphans control]]
+
:* [[TextBackground]] (includes underlining)
* [[Paragraph last line control]]
+
:* Specially [[Shaped paragraphs]]
* [[autoinsertnextspace]]
+
:* [[Widows and orphans control]]
* [[setuplocalinterlinespace]]
+
:* [[Paragraph last line control]]
 +
:* [[autoinsertnextspace]]
 +
:* [[setuplocalinterlinespace]]
  
{{todo|Warning: to be structured.}}
 
  
 +
{{todo|try to follow the structure of part 1 to help orientation.}}
  
{{Getting started navbox}}
 
  
[[Category:ConTeXt-Issues]]
+
[[Category:Basics]]

Latest revision as of 13:47, 18 February 2021

Here you find the Basics of ConTeXt document structure and text formatting (because paragraphs, emphasis, verbatims, quotes, etc also contribute to the structure of your documents).

If it helps, there is a Dictionary of typographical terms. There are also a few references to the History of TeX (2007); it would benefit from an update.

Document structure

Text formatting

Further reading

Unexpected behavior
If ConTeXt appears to behave in a counterintuitive way, chances are that it’s actually your intuitions that lack calibration.
Visual Debugging
can facilitate tweaking text formatting
Sample documents
a page is used as a central location for these, but there is also a dedicated category (the two should mostly match).
Advanced Document structure
Advanced Text formatting



TODO: try to follow the structure of part 1 to help orientation. (See: To-Do List)