Questions tagged [markup]

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

Filter by
Sorted by
Tagged with
1 vote
3 answers
80 views

How do I tag certain text to distinguish it, but that can also easily be toggled off to exclude from printing?

I've prepared law school course notes/outlines in LaTeX (using Overleaf). I have a school course in which I'll be tested on both the general law in a certain subject across most U.S. states, and also ...
T.C.'s user avatar
  • 111
4 votes
1 answer
379 views

How to run TeX documents through Grammarly?

I have many articles that I'd like to run through Grammarly. The problem is, they are all written with TeX markup throughout (ConTeXt specifically, but I'm hoping for a more generic solution that ...
Village's user avatar
  • 13.6k
1 vote
1 answer
212 views

Is there a blog engine which can work directly with posts written with LaTeX markup? [closed]

I several times have searched without success for a blogging engine which accepts posts written in LaTeX markup. For this application, I have no interest in the ability of LaTeX to typeset ...
russ's user avatar
  • 67
8 votes
1 answer
268 views

Is it good practice to use a custom command for logical (consistent) markup of functions?

I am only recently learning about the importance of being consistent with markup when typesetting a document in LaTeX (Separate content from formatting - i.e., "just type"). For instance, \...
user avatar
5 votes
3 answers
676 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-...
Addem's user avatar
  • 867
1 vote
1 answer
2k 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 ...
Ian Pringle's user avatar
0 votes
3 answers
450 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 ...
Archer's user avatar
  • 3
0 votes
2 answers
123 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 ...
midtiby's user avatar
  • 1,863
1 vote
1 answer
51 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
oweydd's user avatar
  • 133
4 votes
3 answers
283 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 ...
Ana Nimbus's user avatar
4 votes
2 answers
2k 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 ...
M. Ridha Siregar's user avatar
1 vote
2 answers
758 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 ...
H.H's user avatar
  • 221
2 votes
0 answers
116 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 ...
naiveai's user avatar
  • 151
2 votes
1 answer
228 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 ...
younes zeboudj's user avatar
1 vote
1 answer
38 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\...
Howard's user avatar
  • 377
8 votes
0 answers
2k 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 ...
JesseTG's user avatar
  • 260
3 votes
1 answer
208 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 ...
dineshdileep's user avatar
  • 1,429
4 votes
1 answer
651 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 ...
JJoao's user avatar
  • 683
8 votes
1 answer
1k 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 ...
Kevin P. Kilburn's user avatar
1 vote
2 answers
920 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, ...
jjmerelo's user avatar
  • 210
3 votes
2 answers
1k 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 ...
Joey Garlic's user avatar
17 votes
2 answers
3k 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 ...
user40989's user avatar
  • 528
2 votes
0 answers
807 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/...
William  F. Hammond's user avatar
7 votes
1 answer
567 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-...
Crissov's user avatar
  • 1,866
3 votes
1 answer
180 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 ...
ivo Welch's user avatar
  • 3,768
13 votes
1 answer
9k 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{}?
Ben's user avatar
  • 1,229
10 votes
2 answers
3k 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 ...
user25750's user avatar
  • 185
6 votes
2 answers
432 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
manish's user avatar
  • 9,131
1 vote
1 answer
846 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 ...
manish's user avatar
  • 9,131
12 votes
2 answers
266 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 ...
A.Ellett's user avatar
  • 50.6k
4 votes
0 answers
1k 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 ...
David LeBauer's user avatar
15 votes
2 answers
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 ...
yannisl's user avatar
  • 117k
15 votes
1 answer
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 ...
Predrag Punosevac's user avatar