Questions tagged [markup]

about logical markup (the logical identification of text elements) in LaTeX.

Filter by
Sorted by
Tagged with
5
votes
3answers
555 views

Single-key teletype?

I'm writing a document with a ton of pseudocode and it's very tedious to keep wrapping code objects in {\tt text}. It would be so much nicer to, well, do what StackExchange does! There's a one-...
0
votes
1answer
328 views

How to assign variables from a [json|yaml|toml] file

I have two Latex files for a weekly document I create. template.tex contains a large list of variables that get changed each week: \newcommand{\var}{foo} \newcommand{\othervar}{bar} Then the ...
0
votes
3answers
114 views

Logical markup for math symbols/variables, alternative to \newcommand

I would like to use markup for any math symbols/variables (Sorry, I'm not sure what is the correct terminology here). The reason is to make late changes of the naming convention easier by just ...
0
votes
2answers
58 views

etoc halts with error on tableofcontent

When I use the \tableofcontents macro in a document where the etoc package is loaded, latex pauses and reports an error. If I let the compilation continue a well formed pdf is generated. Minimal ...
1
vote
1answer
47 views

How to check if different markups give identical output

Is there a way to check if markups give identical outputs? As a rather silly example, how could I check if these look the same on a pdf? \mathop{\text{cos}} \cos
4
votes
3answers
102 views

What markup indicates a newly introduced word?

Suppose I am writing a book where I want to mark newly introduced words. What is the LaTeX markup in say, the following passage from The Lorax (Dr. Suess)? And with great skillful skill and with ...
4
votes
2answers
399 views

Add ToC to ToC with dotted leaders and page number while omitting them for every other entry

Using scrbook. I have removed leader dots and page number from all numbered chapters, so that only unnumbered ones have them (e.g. acknowledgement, abstracts, list of figures, list of tables, etc). I ...
1
vote
1answer
284 views

What is the type of citition for J.UCS journal?

Please I need to know the type of citation for references for Journal of Universal Computer science, they don't provide the citation type at this guide. How can I automatically add my references if ...
1
vote
0answers
51 views

Embedding Cmx.io code in LaTex?

This may seem a bit silly, but here goes. There's a project called Cmx.io that allows you to create xkcd-style comics using an HTML markup. I wanted to include comics like these in a book I am ...
2
votes
1answer
93 views

how to mark a word or a sentence to remember it in the futur

Me and my colleague have wrote a report using "Microsoft Word" and now we're migrating to LaTeX. While typing the document i figured out that some sentences (or words) must be changed. i want to ...
1
vote
1answer
33 views

Set global replacement macros

There are ways to set global style. But how about add user define code? If the use of the following summation notation is expected to appear for countless times: \sum_{i=1}^n \lim\limits_{t\...
5
votes
0answers
840 views

Generating nice-looking static websites from LaTeX? [closed]

I notice that a lot of researchers tend to have crappy-looking websites, often because they aren't willing to put in the time it takes to learn HTML, CSS, and design principles--they'd rather do ...
3
votes
1answer
94 views

How to disable pdfmarkupcomment?

I filled my thesis with lot of pdfmarkupcomments which come as a part of the package pdfcomment. Is there a way to disable this comments globally. Or should I go manually to every place I made it and ...
3
votes
1answer
392 views

Pretty printing DTDs (Document Type Declaration)

I want to include a didactic, compact view of a DTD (Document Type Declaration) in my texts. DTDs are used to define the set of tags and attributes of a XML/SGML document -- some sort of a grammar of ...
7
votes
1answer
550 views

Separate content from formatting - i.e., “just type”

What exactly does "separate content from formatting (style)" mean? And if it's "necessary", how do I do it practically? After reading many LaTeX documents and TeX Stack Exchange, I keep seeing ...
1
vote
2answers
506 views

Is there an in-line comment system, convention or program?

When writing papers such as this one https://github.com/geneura-papers/2015-Evostar/blob/b9474f66cd45aee316136831c4a9b4acaef4e89f/GPbot/GPbot-evostar2015.tex, we use LaTeX comments for, well, ...
3
votes
2answers
502 views

Quotes within quotes breaking

When a word in single quotes falls at the end of the quotation, LaTeX decides to render it as "' instead of '". For example: ``He said it was `off the hook''' would render: "He said it was 'off the ...
15
votes
1answer
1k views

What is the difference between a typesetting language and a markup language

I remember, I read some article in a technical journal where the author drew the attention on the reader on a lot of people confusing typesetting languages and markup languages. How can I surely tell ...
2
votes
0answers
535 views

Problem with Latin Modern in HTML [closed]

I ask this question here because "Latin Modern" is a font, now also available in OpenType format, that's derived from Knuth's "Computer Modern", which is is mainly known by and of interest to the TeX/...
7
votes
1answer
432 views

Active characters in linguistics

What are the pros and cons of using active characters instead of macros in text? Would it make sense to implement a “simplified markup” parser in Latex to make code more readable? Rationale Latex-...
3
votes
1answer
143 views

Modest changes in LaTeX dialect possible?

I would like to create my own LaTeX-derivative markup language. (I asked similar questions before, but this is more limited.) Advice would be useful. First Question: I believe there are three main ...
7
votes
0answers
3k views

Typesetting programming packages/libraries in LaTeX

When referring to programming packages/libraries (such as matplotlib for example) within a LaTeX document should one typeset it to denote it as a package/library name? Such as using \texttt{}?
9
votes
2answers
1k views

Add a marker to the left of the text

I want to mark certain points in my text by adding a marker 0.5cm outside the left margin of the text (at the hight of the point that is to be marked out). The marker is drawn with tikz but could ...
6
votes
2answers
367 views

How to convert mdash into LaTeX markup?

I am converting HTML markup into LaTeX markup by using sed command. I need to convert — into its corresponding LaTeX markup. How can I implement it? — into LaTeX markup
1
vote
1answer
593 views

How to convert HTML markup into LaTeX markup?

I have one input file which will be used for LaTeX and HTML (Java program). Input file has HTML markups like <b></b> for bold. <li></li> for list. How can I convert above ...
12
votes
2answers
218 views

An environment which parses periods differently to redefine their behavior

I have a collection of documents that I want to read into a LaTeX environment. The problem is that these documents are not exactly formatted the way I would like. I would like to create an ...
3
votes
0answers
895 views

How to format a CV / Resume so that it can be parsed by automatic resume uploaders? [closed]

Many job sites do not accept a PDF resume; they require me to fill in their custom fields. Other sites will attempt to parse a PDF into pre-defined fields but this process does a poor job of ...
15
votes
2answers
2k views

LaTeX mark-up as a generic mark-up language

Tremendous benefits can accrue, if TeX-like mark-up could be used in lieu of html and its variants, where a requirement exists to have a document both as (All)TeX mark-up and html format. There ...
15
votes
1answer
2k views

Light markup languages for TeX users

I was wondering if people could share their experience with various mark up languages. In particular, I am interested in situations for which you consider light markups preferable to TeX. I am also ...