Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [preview]

The main purpose of the {preview} package is the extraction of selected elements from a LaTeX source, like formulas or graphics, into separate pages of a DVI file.

0
votes
0answers
24 views

Preview's “tightpage” is too tight

I'm using the preview package to generate tightly boxed maths environments. Unfortunately, it seems to be clipping out the edges (some subscripts are not showing in the final pdf). Is there a way to ...
2
votes
1answer
62 views

Typesetting single chapters in large book while preserving all cross-references, accurate page numbering, etc

I'm writing a large book (using tufte-book) that will likely be 500 pages. My computer has enough working memory that I can typeset the full text but this book is about art and the digital document ...
0
votes
1answer
50 views

In org-mode why does org-latex-create-formula-image-program gives extra information?

In my .emacs I have (setq org-latex-create-formula-image-program 'imagemagick) It's working so I get a preview of the formula with c-c c-x c-l but I also get an unwanted information linktoc = all, ...
0
votes
0answers
25 views

Logic behind Standalone Precompiled graphics

I want to compile my expensive graphics to a PDF such that I can integrate the files in my main document. I am using pgfplots and groupplots for that purpose. So let's say I have two graphics looking ...
1
vote
0answers
41 views

Use multi-page PDF as multiple graphics in LyX with correct preview?

In LyX, the "Insert > Graphics" dialog is the standard way for including graphics and, usefully, provides an inline-preview of the graphic in question. LaTeX's \includegraphics command allows to ...
3
votes
2answers
136 views

2 internal pdfviewers in TeXstudio

Merry Christmas! I use TeXstudio on Windows 10 for writing 2 texts simultaneously. So I need to see simultaneously their previews. Can anyone help me for this?
1
vote
1answer
171 views

How to configure Inverse Search with WinEdt + Okular configuration?

My environment is as follows: OS: Windows 10 Pro: 64bit kept being updated. WinEdt: Build: 20180507 (v. 10.3) - 64-bit Okulat: 1.6.70 32-bit Very sorry, I should have mentioned it. WinEdt is an ...
5
votes
3answers
8k views

How to use LaTeX on VS Code?

I am very new to using VS Code and am very lost in it. I would like to edit and preview tex documents in VSC like I can on overleaf. I Installed LaTeX Workshop through VSC, but I can't see any preview....
1
vote
0answers
87 views

Auctex previews with dark theme [duplicate]

I am using auctex (last version from repositories) with emacs in a ubuntu 18.04 machine. I would like to customize emacs with a dark theme to reduce eye strain. When I do that, latex previews are ...
0
votes
0answers
29 views

Texstudio How to switch back to previously compiled pdf preview [duplicate]

I use TeXstudio 2.12.10 (git 2.12.10) Say I have two tex files A and B. I compile A and I see its preview pdf on right side pane. Then I compile B and see B's pdf on right hand side. Now I want to ...
0
votes
1answer
133 views

Windows 10: (Emacs + ) pdftexlive + Auto-Updating Previewer?

[background: I am an old unix guy. I use a 4-year old macbook pro, but the newer macbooks seem to become worse (keyboard,touchbar) rather than better. They are now also twice as expensive as the ...
0
votes
1answer
104 views

Restoring Ctrl+R preview shortcut in LyX

I just installed LyX on a new device and noticed that, while I can manually export to a saved PDF, Ctrl+R didn't have the usual convenient effect of creating a preview PDF. I read this answer to a ...
2
votes
2answers
162 views

Is it possible to invert the colors in Kile's live preview?

I like to use a dark theme for Kile, but the live PDF preview window (which is a great feature) is very bright. Is there any way to make it dark, or set the background black, or invert the colors, or ...
0
votes
1answer
392 views

Integrate pdf preview on Kile

Has Kile a integrate pdf preview like Texmaker? If so, how can I active this function?
2
votes
0answers
104 views

how do I display very large proof trees (bussproofs, ebproofs, tikz's tree library)

I am looking at different options to typeset proof trees. I have asked a more general question and run into some issues. In particular I am trying to understand how to display very large proof trees, ...
0
votes
0answers
30 views

package Preview, how could I ask LaTeX to calculate values for PreviewBbAdjust? [duplicate]

I am trying to output very large (bussproofs) prooftrees, say with hundreds of nodes. An attempt I am trying is by the package preview. By trial and error, I may find a large value to set ...
0
votes
1answer
45 views

LYX : import blank file.lyx with a preamble

I have some problems using LyX. So I have a blank custom cover page but I use the preamble to put some LaTeX code and do my stuff (write text, import picture, title, author, etc.). I have my main.lyx ...
1
vote
1answer
50 views

LyX removing preview block

It seems I have lots of questions that either aren't explained anywhere, or that I don't know the right search term to find them! This time, I'm not sure how one is supposed to remove an instant ...
0
votes
1answer
33 views

Is it possible to generate preview/sample chapters directly

If I have a commercial book of 10 chapters. Is it possible to generate free preview/sample material of different chapters: lets say the sample material will include (/frontmatter + chapter1, chapter3, ...
0
votes
1answer
51 views

Export inkscape formatted figure in a separate pdf

I am using input of pdf_tex files created by Inkscape as recommended, i.e. \begin{figure}[t] \centering \def\svgwidth{0.5\linewidth} \input{name.pdf_tex} \caption{Some text.} \label{name} \...
1
vote
1answer
143 views

Preview of LaTeX Table in Lyx does not work for me

I have a LaTeX table that I generate in R using stargazer. I include it via Insert -> File -> Child Document -> Type: Input. I have activated instant preview, and I ticked the box to show the preview ...
1
vote
0answers
423 views

TeXShop preview hangs in MacOS High Sierra

After upgrading to MacOS High Sierra, the preview window in TeXShop no longer updates the PDF output after typesetting. I edit the LaTeX file in a separate (terminal) window using vim (after 30 ...
1
vote
1answer
1k views

TexStudio: Compile and Preview on File Save

I've spent the better part of the last couple hours searching through StackExchange and Google to find either a WYSIWYG style LaTeX editor, and for Windows, I have settled with TexStudio as the best ...
1
vote
1answer
89 views

PDFLaTeX starts every time I type in math environments [closed]

Every time I want to type in math environments the MikTeX (2.9) pdflatex.exe starts in a separate console window and stands for a while until it closes and some other consoles appear and disappear ...
1
vote
1answer
56 views

Conflict between animate and preview?

I want to create a small animation using tikz and animate. In order to crop the draw, I use preview package. Without it I obtain an animation that works fine but when I activate preview I am not able ...
4
votes
2answers
948 views

Can not generate Preview by AUCTeX

I try to generate preview by AUCTeX (on Emacs GUI), but it displays I click on the red sign, choose View error and get /usr/bin/rungs -dOutputFile\=\(_region_.prv/tmp5971SJc/pr1-5.png\) -q -...
0
votes
1answer
533 views

TeXstudio pre-viewing options [duplicate]

In TeXstudio, is it possible to set the internal previewer to a single-page view? Is it possible to do so in a combination with the option "Fit to Text Width"? Edit: The answer at TeXstudio 2.6.2 ...
2
votes
2answers
2k views

Texmaker not saving settings

When I change some settings in Options - Configure Texmaker and close the window, my changes aren't saved, and there is no "save settings" button as far as I can see. More specifically, I am trying to ...
0
votes
0answers
289 views

Why those latex editors with real-time preview are so slow in rendering previews? [duplicate]

Merely adding two letters will take a few seconds for editors such as OVerleaf/Sharelatex to render a preview. How could this be the case? I just need a draft preview. Are there any latex editors ...
3
votes
0answers
360 views

Ubuntu Texmaker won't update PDF with Quickbuild

I'm using TexMaker 4.4.1 together with TexLive in Ubuntu 16.04. In TexMaker I can successfuly compile a document with XeLatex (pushing the button xelatex) and than show PDF output with the build-in ...
1
vote
0answers
359 views

TeXShop and Mac preview crashing - is it fixed in the macOS 10.12.5?

In April, there was a bug in PDFKit in macOS 10.12.4 that caused a crash while using TeXshop (see here). Herb Schulz wrote that Apple knows this and is working on a solution. I wanted to ask if ...
0
votes
1answer
299 views

Series of equations/tikz pictures in standalone document

I want to create a standalone document containing a) multiple pages containing some tikz pictures(using some kind of \only command b) some equations c) the pages should have the size of their ...
1
vote
2answers
922 views

Lyx: Change PDF Viewer from Adobe to Mac Preview

I am working with Lyx 2.1.2.2 for Mac. I want to change the pdf viewer from adobe to mac's preview. Adobe does not update changes unless I export the file, or close the pdf preview and reload it. I ...
0
votes
0answers
390 views

How to remove justification from titles?

I want to remove the justification of titles: I would like the titles (here the \section*{}) to be left aligned. Note that I'm using titletoc, hyperref and preview. MWE \documentclass[a4paper, 12pt]...
1
vote
0answers
32 views

Generating repeated .pdf file when compiling LaTeX files with Sublime

I can successfully compile my .tex file, but sublime always generates a new file. That means when I generated a .pdf file named “one” after the first time compiling, there would be a file named "one 2"...
2
votes
1answer
146 views

synchronization between lyx and pdf preview

A feature that I terribly miss in Lyx (compared to standard tex editors), is that when I click on "Preview Pdf" I get exactly to where I'm editing rightnow. A less missed feature is to go back from ...
11
votes
2answers
517 views

Is there a defect in the `preview` package of TeX-Live?

Context: I am running version 2016.41843 of TeX-Live on my computer (ArchLinux distribution) and am experiencing a defect when using the preview package. Unfortunately I cannot find out if this ...
1
vote
0answers
334 views

AucTeX fails to generate previews on Mac OS X

When I try to generate the previews for the document on my Mac I get the following error on the preview: /usr/texbin/rungs -dOutputFile\=\(review.prv/tmp7722b0S/pr1-27.png\) -q -dDELAYSAFER -dNOPAUSE ...
1
vote
0answers
1k views

TeXstudio Scrolling Follows Cursor (and Vice Versa) Don't work

I've just installed TeXstudio on my machine. On my other machines, I have it so that moving the cursor up and down the plaintext/code (LHS) doesn't move the preview (RHS), but when I do "Build and ...
2
votes
0answers
145 views

PDFLatex Printing Preview - French Cursive environment

I wanted to had a maxime to my latex book. Here is document viewed with Evince here the document viewed with the preview application in printing windows of Evince here the document viewed with ...
4
votes
0answers
219 views

Preview-LaTeX does not work when using natbib (on Emacs 24.5.1, AUCTeX 11.89)

\documentclass[12pt]{article} \usepackage[authoryear]{natbib} \begin{document} $\alpha$ \bibliographystyle{ims} \bibliography{mybibliography} \end{document} Preview-latex does not work with above ...
0
votes
1answer
247 views

Preview-Ghostscript replaces equations with triangles in Emacs in LaTeX mode

I am using auctex in Emacs, and upon running Preview->Buffer (C-c C-p C-b), what happens is: Triangles with red borders and white interiors replace every math formula A white and empty Ghostscript ...
1
vote
2answers
135 views

error while drawing a pspicture in latex

I get the following error while trying to draw a pspicture in LaTeX GPL Ghostscript 9.15: **** Could not open temporary file '' What I write inside the compiler is \documentclass{article} \...
4
votes
2answers
160 views

How to ignore ending punctuation in an equation environment?

I use the following to export all equations in a long document as a separate pdf (and subsequently, png files): \documentclass{article} \newif\ifexport %\exporttrue \ifexport \RequirePackage{...
5
votes
1answer
153 views

How to conditionally load `tikz` and draw a TikZ diagram when `preview` is not loaded

How can I conditionally load tikz and draw a TikZ diagram only when preview is not loaded, i.e., AUCTeX is not generating images for other things (e.g., mathematical formulas)? MWE: \documentclass{...
2
votes
1answer
188 views

How to print out only statements (theorems, lemmata, etc) from a tex file?

Suppose that I have a long tex file with a lot of things. In order to read the logic structure only, I want to print only text inside \begin{theorem}..\end{theorem} and \begin{lemma}..\end{lemma}. ...
1
vote
1answer
822 views

Org Mode Latex fragment preview fails to convert tex to png [closed]

I have a windows 10 machine, and MikTex. Whenever I try to toggle the preview of the I get an error in messages buffer below: org-create-formula-image-with-dvipng: Failed to create png file from c:/...
0
votes
2answers
232 views

What is the problem in the codes?

See the code given below. Actually, I am looking for a tree of number 36. Can somebody let me know what I did wrong? \documentclass[12pt, a4paper]{article} \usepackage[a4paper,top=1 in,bottom=1 in,...
2
votes
2answers
5k views

Displaying minted code line numbers from within preview environment

I'd like to have the line numbers corresponding to code highlighted using the minted package displayed in the output of a preview environment. Perhaps because the line numbers are set in the margin, ...
3
votes
2answers
350 views

AucTeX preview-latex temporary files

How can I tell preview-latex to store all temporary files (especially the folder _region_.prv which contains the preview images) in /tmp and not in the folder of my actual .tex file, when I'm using it ...