Search code examples
htmllatexmarkuppostscript

"Page description language" and "markup language"


What is the difference and relation between "Page description language", "markup language" and "Page description markup language"?

Based on their wiki webpages, I just don't understand what is their difference. Why needs there be a markup adaption of the Page description language - "Page description markup language"?

Examples: PostScript is a page description language. Is it a markup language? HTML and Latex are markup language. Are they page description language?


Solution

  • You can think of a page description language as something like a Word file: it's got blobs of text and an idea of where to put them. A markup language is just a listing of data that provides some type of context. A good example of a markup language is HTML: it gives context to the text that you put in it, but the layout is largely variable. You're basically just telling HTML what your data should look like; you're not fine-tuning it to what it should look like exactly (that's what CSS is for).