Questions tagged [extract]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 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 ...
0
votes
0answers
14 views

Multiple Extractions with the Extraction Package

Consider my lecture notes typed up as main.tex document, containing a mix of definitions and theorems. Now I wish to extract both environments on their own, generating separate tex files including ...
0
votes
2answers
65 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{...
0
votes
1answer
54 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 ...
0
votes
0answers
68 views

pdfannotextractor showing error

I am stuck with a extracting hyperlinks from pdf task. I am using pdfannotextractor. For this I have installed pdfannotextractor and pfbox library. When I run my program I am facing with this error. ...
2
votes
1answer
48 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} \...
1
vote
2answers
96 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: ...
0
votes
0answers
67 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 ...
0
votes
1answer
66 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 ...
2
votes
2answers
396 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 ...
2
votes
0answers
59 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, ...
1
vote
1answer
81 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,...
0
votes
0answers
36 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 ...
1
vote
1answer
47 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? ...
5
votes
1answer
195 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 ...
2
votes
1answer
96 views

Extracting theorems into images

Is it possible to automatically export all theorems to single files, say PNG or other image formats?
19
votes
3answers
3k 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 ...
3
votes
2answers
116 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 ...
1
vote
0answers
88 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 ...
2
votes
1answer
221 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, ...
4
votes
0answers
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
6
votes
1answer
2k 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)....
3
votes
1answer
283 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 ...
2
votes
1answer
706 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 ...
6
votes
1answer
136 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 ...
0
votes
1answer
136 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 ...
2
votes
2answers
198 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 ...
4
votes
0answers
104 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 ...
3
votes
3answers
507 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 ...
1
vote
1answer
340 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 ...