Questions tagged [extract]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Extracting specifc items from enumerate to a new tex file

I have created a book using LaTeX in the below given format \documentclass[ 11pt]{book} \usepackage{multicol} \usepackage{tikz} \begin{document} \chapter{Chapter} \begin{multicols}{2} \begin{...
user avatar
2 votes
1 answer
49 views

How to extract specific and delimited parts in .tex file for Flashcards?

I am new to LaTeX. I want to create study guides/books for preparation of my maths exams. But I need to create Flashcards as well (in Anki etc.). So what I want is to be able to extract from my long ...
user avatar
1 vote
1 answer
74 views

"extract" package causes unfinished group

I've noticed errors like this when using the extract package: (\end occurred inside a group at level 1) ### semi simple group (level 1) entered at line 5 (\begingroup) This seems to happen even with ...
user avatar
  • 833
1 vote
0 answers
43 views

Alternative Text for Copy and Paste / Machine Reading

I'm trying to have the best of both worlds and use a nifty 2-column latex resume template (altacv), while also creating something that parses nicely via CTRL+A, CTRL+C, CTRL+V or when fed into an ...
user avatar
  • 111
0 votes
1 answer
60 views

Genealogytree export to SVG file [duplicate]

I have a simple family tree defined in Latex and package genealogytree: \documentclass{article} \usepackage[all]{genealogytree} \begin{document} \begin{tikzpicture} \genealogytree[template=formal ...
user avatar
0 votes
2 answers
92 views

Get `\tau` from libertine font

Extracting a single symbol from a certain font looks really sophisticated and it seems like each font is needed its own approach. Now I would like to extract the single \tau from \usepackage{...
user avatar
  • 2,030
0 votes
1 answer
159 views

Import 'u' and 'v' from txfonts

Unfortunately, I am not so good at extracting single characters from the other fonts, so I would like to ask for some help. I need to import 'u' and 'v', that are used in math mode, from txfonts I ...
user avatar
  • 2,030
2 votes
1 answer
201 views

Calculate percentage of quotes in a latex document?

I need to figure out how many percent of the text in my latex document which consists of quotes (in block quotes, particularly). I have wrapped all quotes in the block quotes command: \begin{quote} \...
user avatar
  • 191
1 vote
2 answers
213 views

extract package and macros that use extract environments

I have a number of (long) documents from which I want to extract all of the tikzpicture environments into a separate file. The extract package seems the right place to start, but there's a problem: ...
user avatar
  • 1,373
0 votes
0 answers
93 views

Translate English TeX to Chinese precisely

This is essentially the question of how to locate changeable text content in the TeX file. Does LaTeX have certain rule to separate the commands and text? By the way, can these text be classified into ...
user avatar
0 votes
1 answer
109 views

Illegal parameter number

This answer describes a neat way to parse and extract a latex file. It works perfectly on my laptop and desktop (both ubuntu 18.04). However, when I run the commands in a docker container, I get the ...
user avatar
  • 4,788
2 votes
2 answers
856 views

Extracting elements from a tex file

I would like to extract the contents of various latex commands, e.g. section chapter caption sidenote, etc from a .tex file. These elements would eventually end up in a CSV file chapter, chapter 1 ...
user avatar
  • 4,788
2 votes
0 answers
68 views

Is there a way to create a database and extract data from it through a command?

I have looked up packages such as datatool, but I am not quite sure if they would be able to perform this function. The basic idea is that I would like to have a database similar to a bibtex file, ...
user avatar
  • 145
1 vote
1 answer
183 views

extract two 2 A5 pages from 1 A4 page

I have a pdf with 14 A4 (Landscape) pages, each of which consists of 2 A5 (Portrait) pages. I need to print this for an old lady whose sight is somewhat impaired. So I need to enlarge the text so that,...
user avatar
  • 1,067
0 votes
0 answers
41 views

Extract a table-float from a TeX-typeset PDF?

I have this article which was near-certainly created with LaTeX. One of its floats is a table, and I would like to extract it from the PDF, i.e. obtain a PDF with just that figure (excluding the ...
user avatar
  • 11.5k
1 vote
1 answer
60 views

Strange error of compilation with beamer, extract and \hyperref package

I noticed a strange error of compilation. After multiple tests, I noticed url and \href{}{} from hyperref package systematically generated the following error main.tex, line 31 Runaway argument? ...
user avatar
  • 2,495
6 votes
3 answers
249 views

How can I produce s separate PDFs for each one of my floats, when their code isn't self-contained

I've written this document (say it's an article) with a bunch of float - figures and tables. Some of them are just \includegraphics, so the figure essentially exists outside as well inside the ...
user avatar
  • 11.5k
2 votes
1 answer
125 views

Extracting theorems into images

Is it possible to automatically export all theorems to single files, say PNG or other image formats?
user avatar
19 votes
3 answers
4k views

How is a mathematical formula represented in PDF?

If I compile a .tex file to a PDF, how will the PDF encode a mathematical formula like f.ex. the integral below? Is it a bitmap? Or how else is it encoded? And how can I extract the formula from a PDF ...
user avatar
  • 193
3 votes
2 answers
229 views

Mark/select pages for later extraction

I have a working, fairly complex setup to create a large-ish document (> 200 pages). I would like to create a "preview" of selected parts of the document. There are numerous questions about how to cut ...
user avatar
  • 2,739
1 vote
0 answers
119 views

Automatically extracting files from archive before compilation

I've got a LaTeX project in a Git repository which is being worked on using both TeX Live (Linux) and MiKTeX (Windows). The project has a very large number of \includegraphics[...]{...} statements for ...
user avatar
2 votes
1 answer
273 views

Combine extract and tcolorbox

I was formatting my class notes and used \tcolorboxenvironment from the tcolorbox package with proof from amsmath for a new formatting for my proofs. This is the code \documentclass[12pt, a4paper, ...
user avatar
  • 135
5 votes
0 answers
2k views

Extract equations from a pdf that is compiled using Latex [closed]

Is there a way to extract math equations and figures from a pdf file that was compiled using Latex. Thank you so much
user avatar
6 votes
1 answer
3k views

How to design LaTeX form with user input for data extraction?

Assume you have the following form in PDF ouput/equivalent in Fig. 1. I am thinking how to design the LaTeX form well enough for good data extraction (and eventually seeding into PostgreSQL database)....
user avatar
3 votes
1 answer
298 views

using regex to extract two values (send to macro variables) of unique multiple occurences

I read several key values from a document with bible passages written in spanish like this 1 Corintios 2:4-5; Mateo 15:1-10;Salmos 118:16 I want to extract the citations in each reference (could be ...
user avatar
  • 369
2 votes
1 answer
875 views

Statistical Analysis of bibtex file: Extract fields from bibtex or convert to e.g. csv?

OS: macOS, Sierra I want to analyse a large (5000 entries) bibtex file in R statistically to look at the years published, Journals, Authors, ... There is an R package for reading bibtex files, but ...
user avatar
  • 509
6 votes
1 answer
212 views

Is it possible to extract a cell value from a tabular array?

In a documentation application, where the version history of the document is listed in a tabular environment, I'd like to be able to silently extract the value of the last version number supplied, to ...
user avatar
  • 2,566
0 votes
1 answer
148 views

Prevent recursive extraction with the `extract` package

I am trying out the extract package to save parts of my document that I later want to repeat as a summary at the end. I am hitting a recursion problem: If I include the output of the extraction in ...
user avatar
  • 833
2 votes
2 answers
243 views

Accumulate contents of an environment

I'd like to extract and duplicate the contents of several rather arbitrary environments and repeat them at the end of my document. The extract package doesn't work for me because the environment ...
user avatar
  • 833
4 votes
0 answers
115 views

extract package: stop extraction at specific point

I use the extract package to extract an outline from my main document. I don't want anything of the appendix included in the outline, so I'm searching for any way to set the active option to inactive ...
user avatar
  • 621
3 votes
3 answers
532 views

How to extract a series of text not in an environment, but with defined commands enclosing them

Under Windows 8, I am using R and the knitr package in RStudio with an .Rnw script. My regex skills are passable, but only in R. My document has about thirty pages with a different text section at ...
user avatar
  • 169
1 vote
1 answer
540 views

Extract Package question: Not present \Sectionformat statement is extracted

I use the solution shown here (thanks to Mike Renfro!) to extract a synopsis from my LaTeX documents. Sadly I am struggling with the output of the headings. Basically the problem is that the extract ...
user avatar
  • 1,263