ArticleslgStudy

science

Setext

Setext is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Setext rather than just read about it. In short: Setext (Structure Enhanced Text) is a lightweight markup language used to format plain text documents such as e-newsletters, Usenet postings, and e-mails. In contrast to some other markup languages (such as HTML), the markup is easily readable without any parsing or special software.

Key takeaways

  • Setext belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Setext to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Setext from memory before moving on to harder problems.

Reference excerpt

Setext (Structure Enhanced Text) is a lightweight markup language used to format plain text documents such as e-newsletters, Usenet postings, and e-mails. In contrast to some other markup languages (such as HTML), the markup is easily readable without any parsing or special software. Setext was first introduced in 1992 by Ian Feldman for use in the TidBITS electronic newsletter.

Purpose Setext allows viewing of marked-up documents without special viewing software. When appropriate software is used, however, a rich text-style experience is available to the user. Smaller documents are trivial to create in any text editor. To prevent errors, most large setext publications are created using a markup language such as HTML or SGML and then converted. The setext document can then be distributed without the need for the recipient to use a HTML email or web viewer.

Multiple setext documents in the same file Multiple setext documents can be stored in the same file, similarly to how the mbox format can store multiple e-mail messages together. It was initially announced that multiple documents could be included in a single stream, separated by a special <end> tag serving as a document delimiter. After several months, it was clarified that this tag was not an official part of setext, and that multiple documents should instead be delimited by $$ appearing at the end of a line of text. Regardless of the number of documents stored in the same file, basic metadata can be stored about any or all of them by using the subject-tt tag syntax.

Setext tags The following are the ten most common of the 16 different setext tags.

Standalone Setext files By default all properly setext-ized files will have an ".etx" or ".ETX" suffix. This stands for an "emailable/enhanced text".

See also Other lightweight markup languages (inspired by Setext):

Markdown, one of the most used. reStructuredText, used to generate Python manuals. Textile, designed to generate HTML. txt2tags

References

Notes

References

External links Setext format Setext historical documents at Archive.org TidBITS introduction of setext setext+sgml at W3.org, including the same document in both setext-like plain text and html formats to allow a side-by-side comparison.

Implementations setext2html.pl — A Perl setext -> HTML converter setextbrowser.zomdir.com (Archived 29 November 2018 at the Wayback Machine) – A web application which let you browse the internet in a semi-setext format

Worked examples

Example 1 — a first encounter with Setext

Start with the simplest possible case. Write down what Setext claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Setext before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Setext ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Setext

In research
Setext appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Setext in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Setext is common in secondary-school and first-year university syllabi. It links to neighbouring topics Lightweight markup languages, so understanding it makes those chapters shorter.
In everyday life
Look for Setext outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Setext” →

How to study Setext in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Setext means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Setext out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Setext in simple terms?

Setext (Structure Enhanced Text) is a lightweight markup language used to format plain text documents such as e-newsletters, Usenet postings, and e-mails. In contrast to some other markup languages (such as HTML), the markup is easily readable without any parsing or special software.

Why does Setext matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Setext?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Setext.

Tags

  • Lightweight markup languages

Keep exploring