Graphics, Figures & Tables ⇒ Generate PDF without floats
-
- Posts: 3
- Joined: Thu Sep 03, 2009 3:13 pm
Generate PDF without floats
I want to generate a PDF without figures and tables. Is there an easy way to "turn them off" ... This is for preview purpose only, so minimal changes in the tex-file are preferred.
Thanks,
US
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Generate PDF without floats
Code: Select all
eg change
\documentclass[a4paper]{report}
to
\documentclass[a4paper,draft]{report}
-
- Posts: 3
- Joined: Thu Sep 03, 2009 3:13 pm
Re: Generate PDF without floats
Generate PDF without floats
Code: Select all
sed '/begin{figure}/,/end{figure}/ d' file.tex | sed '/begin{table}/,/end{table}/ d' > new_file.tex
-
- Posts: 3
- Joined: Thu Sep 03, 2009 3:13 pm
Re: Generate PDF without floats
But I would prefer a package to control it from within the tex-file.
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm