{scripts} is for questions involving external scripts (small programs in source code form) related to (La)TeX.

learn more… | top users | synonyms (1)

2
votes
1answer
182 views

How to remove LaTeX control sequences from a .tex document using plasTeX?

I need to get just the text and math expressions (ignoring tables, pictures and styling) from a set of LaTeX documents and represent them in html. Looks like plasTeX and MathJaX are enough for this ...
3
votes
0answers
69 views

Filling LaTeX template programatically

I have an offical document template in LaTeX, which I would like to fill programatically, i.e. providing script with values for selected variables (e.g. name, surname or boolean value for Mr./Mrs.) ...
2
votes
0answers
43 views

Kile script for regexp replace

It would be very handy to set a shortcut to script in Kile that replaces given instances of text, like for setting non-breaking spaces (~) around given words within selected text: (^|~|\s)(I|of|...
2
votes
0answers
66 views

search for and highlight words/numbers in pdfpages while only printing highlighted pages

I have a project where it would be very helpful to be able to include pdf pages with certain text and or number highlighted, and in addition limit the pages output to those which have the highlighted ...
2
votes
0answers
46 views

How to run TexShop scripts from the terminal on OSX

I wish to run the following scripts/commands from the command line: pdflatexmk, the command that cleans the directory, i.e. only keeps the .tex, .pdf, .bib files. Any help is appreciated, Thank you ...
2
votes
0answers
98 views

Call “cmd” from within latex

As I asked here, I'm trying to add a link to an image, which already works this way: \documentclass{article} \usepackage{graphicx} \usepackage{hyperref} \let\oldincludegraphics=\includegraphics \...
1
vote
0answers
420 views

LaTeX for automatic report generation

I accept that this question might be a bit outside the scope of this page, but please bear with me! At work I'm going to set up a framework for generating some pretty basic reports, which could be on ...
1
vote
0answers
27 views

Weird behaviour runing pdflatex on terminal

I'll try to summarize the problem. Consider the MWE below at /home/user/main.tex and also a pdf file at /home/user/new.pdf. MWE \documentclass{report} \usepackage{graphicx} \begin{document} \sbox0{\...
1
vote
0answers
90 views

Collecting Beamer frames from multiple tex files

I now have several dozens of beamer TeX files with hundreds of slides. I am wondering is there an easy way of collecting all frames into one document? I think it can be done with any of the scripting ...
1
vote
0answers
123 views

Something like \tikzexternalize[prefix=tikztmp/] for LuaLaTeX

My aim is to compile a *.tex file that contains quite a number of tikz-environments and to create for every tikz-environment one pdf-file. Under LaTeX I would use something like \usetikzlibrary{...
0
votes
0answers
39 views

How can I programmatically normalize bibtex records across multiple .bib files?

I use bibdesk to manage a variety of .bib files, some of which have overlapping records. This is because the .bib files are generally oriented around a long-term project and tagging can be quite ...
0
votes
0answers
31 views

Using different fonts based on scripts type in XeTeX?

In XeTex and XePersian, I can choose different fonts for normal Persian font, and text which is explicitly defined as Latin separately. But what if I want to typeset other scripts beyond Arabic and ...
0
votes
0answers
62 views

scripts.ini no such file or directory

I have a problem with usage of tex4th package. I installed it, however when I want to check if it works I receive the following error: ht: No such file or directory: C:\Program Files (x86)...\MiKTeX\...
0
votes
0answers
108 views

Make TeX output look as input wrt script/language?

I have several languages/keyboard layouts on my Mac-pro (Yosemite). I want to write in Armenian/Bengali/Hebrew and so on. These keyboards/languages are formally part of Mac's Yosemite so I have no ...
0
votes
0answers
94 views

Run an external script from within lyx

Is it possible to run external scripts from within lyx, passing information about the current file as arguments? I am thinking of usecases like Interacting with file versioning software not ...
0
votes
0answers
346 views

Script to extract and copy from LaTeX files

I have a large LaTeX document, one main and a lot of \input{file} for each chapter. For each of these files I would like to copy them and only keep the Theorems, in other words I'd like to extract and ...