New answers tagged

2

The file you'll get by running e.g. pdflatex novel.tex will show up in the same directory where novel.tex is located (unless something went wrong and no PDF file was written), normally called novel.pdf. Usually you'll set up a directory in your $HOME for each (set of) documents you work on. E.g., one your your hopefully prize-winning novel, one for letters, ...


2

# works with Python3 import os import platform import subprocess # TeX source filename tex_filename = 'my_doc.tex' filename, ext = os.path.splitext(tex_filename) # the corresponding PDF filename pdf_filename = filename + '.pdf' # compile TeX file subprocess.run(['pdflatex', '-interaction=nonstopmode', tex_filename]) # check if PDF is successfully ...


2

There must be some problems (either in PDFKit or dvipdfmx) in supporting FlateDecode predictor filter for 16bit gray color images, which is used for SoftMask of blurred image. As a workaround for this problem, using the following dvipdfmx option should help -C 0x20 Alternatively, you can insert the following \special instruction (in the first page) \special{...


0

Install and then select a Hebrew font that has italics, such as David CLM from Culmus. Decide whether you want them slanted right or left.


4

Although you finally solved this problem using "pympress", it is worth to mention that "pdfpc" could be also used for that. At the moment I am writing this comment (October 2020), pdfpc (version 4.4.0) has the argument "--windowed". This argument splits the presenter and the presentation windows. Therefore, you can share only ...


0

I have written such an automation for LibreOffice calc and the process basically is to export the data into a CSV file and then include these CSVs using something like pgfplotstable. The program I have written takes care of exporting the LibreOffice Calc data into CSVs from which point on LaTeX can take over. As Excel uses a different file-format the same ...


1

I also read, that in the future, the LaTeX Core Team plans to provide functionality required for "tagged PDFs", first as an Add-on and later integrated into the kernel itself. Before this is implemented, I understood that it is nearly impossible to provide a working solution without restrictions, breakage or manual tagging/adjustments as also ...


0

Try adding these lines, it worked for me. \newcommand{\CLASSINPUTtoptextmargin}{2.4cm} \newcommand{\CLASSINPUTbottomtextmargin}{4.6cm} %\newcommand{\CLASSINPUToutersidemargin}{1.3cm} %\newcommand{\CLASSINPUTinnersidemargin}{1.3cm} \documentclass[conference]{IEEEtran}


3

Use the option unicode for hyperref (but it will be the default in the next hyperref version). I would also prefer babel over the polski package, I'm not quite trusting its catcode settings. And load hyperref always rather late. inputenc is not needed anymore in a current latex. \documentclass[a4paper,12pt]{article} \usepackage[T1]{fontenc} \usepackage[...


4

You can do what you want, but it's quite a pain. The example below has a simple interface to set material in a \vbox and allows you to set the opacity and blend mode. The usage is: \begin{transparencygroup}[ opacity = < Value between 0 and 1 >, blend mode = < One of the standard PDF blend modes > ] \end{transparencygroup} Because of ...


1

If I understand you correctly, you want to include a PDF to your LaTeX document as you would include a picture. This is possible with the pdfpages package. The usage of the package is very straight forward: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[⟨options⟩]{⟨filename⟩} \end{document} There are various options to ...


8

This is not a solution to this question, and is being posted here only to showcase what can be achieved with tikz/pgf (as instructed in question). Update: PGF only answer Here's an optimised solution using only pgf. It has less overhead than using the tikz interface. Having looked at this for too long, I think this is the best solution by a long way. It's ...


3

As Ulrike said in the comments all you need is a counter and then use the counter in the name key of each text box: \documentclass{paper} \usepackage{hyperref} \newcounter{textboxid} \newcommand{\instextboxes}{% \stepcounter{textboxid}% \TextField[name=TextBox\thetextboxid, width=5cm, height=0.6cm]{Type Last Name}% \vspace{0.1in}% \par \stepcounter{...


1

By default pdflatex will place the output in the current directory. You can usually get usage details for a program either by running man or passing one of -h, --help, or -help to the program. In this case either man pdflatex or pdflatex -help will give you (among other things): -output-directory=DIR use existing DIR as the directory to write files in So ...


0

A \chapter* command produces an unnumbered chapter, does not enter it into the ToC and does not increment the chapter number. Try this version of your (incomplete) MWE. % appendixprob.tex SE 564548 \documentclass{book} % PW added \begin{document} \tableofcontents \chapter*{Intro} bla bla bla \chapter{Cap 1} \section{Sec 1.1} ...


-1

I did not experience a fix in the latest Inkscape release which is 1.0.1! The workarounds provided in this thread are not complete but work sometimes. I can always fix the pdf and the related crash when I move all objects, not only the text, to the first layer and remove all other layers, then tex compiles and the input of the image works. As others ...


0

I had the same problem until I discovered that, in Adobe Reader, once you are in full screen mode, you can press shift+D seven times and you get a pencil that you can use to draw on your slides. You need to ensure that Use Single-Key Accelerators to Access Tools is checked off under preferences. There are full instructions here: cambridge.org/core/journals/...


-1

I give you something that can help you in this situation and more. Install Mathpix Snip https://mathpix.com/ and see any tutorial, it's very easy actually.


Top 50 recent answers are included