Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 11

17 Mai '14, 01:23

cis's gravatar image

cis
9.6k104461491

.... **€dit:** Die Umsetzung im Edit von @Clemens dürfte dann besser sein. Vollständiges Beispiel: %ghostscript.yaml %### ghostscript.yaml ### % arara: pdflatex % arara: ghostscript: { resolution: 100 , device: pngalpha } %####################################### %# Parameters by default: %# { program: gs / gswin32c , resolution: 300 , device: png16m , %# alphabits: 4 , allpages: false , %# options: -q -dNOPAUSE -dBATCH -dEPSCrop } %# %# resolution: <number> (300 [dpi] by default) %# %# allpages: false (1st page as PNG)/ true (all pages as seperatly PNGs) %# %# alphabits: <number> (4 by default) %# %# device (examples): %# pngalpha (transparency) %# png16m (white background, default) %# pnggray (8-bit-gray) %# pngmono (monocolor) %# %# program: %# Insert path of your current ghostscript-executive, if necessary: %# program: \texlive\2013\tlpkg\tlgs\bin\gswin32.exe %# gs / gswin32c by default %####################################### \documentclass[varwidth, margin=5pt]{standalone} %\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{tikz} \usepackage{amsmath} \usetikzlibrary{arrows} \usepackage{graphicx} \usepackage{xcolor} \pagecolor{green} %\usepackage[active,tightpage]{preview} %Für spezielle Ansichten %============== \begin{document} %============== %\begin{preview} Das möchte ich als PNG! \\ \LaTeX ~~~n e u~~~ \LaTeX \\ \begin{tikzpicture}[] \filldraw [red] (0,0) circle [radius=2pt] (1,1) circle [radius=2pt] (2,1) circle [radius=2pt] (2,0) circle [radius=2pt]; \draw (0,0) .. controls (1,1) and (2,1) .. (2,0); \end{tikzpicture} \\ %\begin{tikzpicture}[] %%\draw[-*] (3,0) -- (4,1); %\draw[-o] (5,0) -- (6,1); %\draw[-|] (7,0) -- (8,1); %\end{tikzpicture} %\verb+\includegraphics{FILE.png}+ %\includegraphics[]{FILE.png} %\end{preview} %============== \end{document} %============== ![alt text][1] ![alt text][2] % arara: ghostscript: { resolution: 300 , device: pngalpha } ![alt text][3] % arara: ghostscript: { resolution: 100 , device: pnggray } ![alt text][4] [1]: http://texwelt.de/wissen/upfiles/FILEnew_3.png [2]: http://texwelt.de/wissen/upfiles/FILEnew.png [3]: http://texwelt.de/wissen/upfiles/FILEnew_1.png [4]: http://texwelt.de/wissen/upfiles/FILEnew_2.pnghttp://texwelt.de/wissen/upfiles/FILEnew_2.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 10

16 Mai '14, 15:11

cis's gravatar image

cis
9.6k104461491

.... **€dit:** Die Umsetzung im Edit von @Clemens dürfte dann besser sein. Vollständiges Beispiel: %ghostscript.yaml % arara: pdflatex % arara: ghostscript: { resolution: 100 , device: pngalpha } %####################################### %# Parameters by default: %# { program: gs , resolution: 300 , device: png16m , alphabits: 4 , options: -q -dNOPAUSE -dBATCH -dEPSCrop } %# %# device (examples): %# pngalpha (transparency) %# png16m (white background, default) %# pnggray (8-bit-gray) %# pngmono (monocolor) %# %# program: %# Insert path of your current ghostscript-executive, if necessary: %# program: \texlive\2013\tlpkg\tlgs\bin\gswin32.exe %# gs by default %####################################### \documentclass[varwidth, margin=5pt]{standalone} %\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{tikz} \usepackage{amsmath} \usetikzlibrary{arrows} \usepackage{graphicx} \usepackage{xcolor} \pagecolor{green} %\usepackage[active,tightpage]{preview} %Für spezielle Ansichten %============== \begin{document} %============== %\begin{preview} Das möchte ich als PNG! \\ \LaTeX ~~~n e u~~~ \LaTeX \\ \begin{tikzpicture}[] \filldraw [red] (0,0) circle [radius=2pt] (1,1) circle [radius=2pt] (2,1) circle [radius=2pt] (2,0) circle [radius=2pt]; \draw (0,0) .. controls (1,1) and (2,1) .. (2,0); \end{tikzpicture} \\ %\begin{tikzpicture}[] %%\draw[-*] (3,0) -- (4,1); %\draw[-o] (5,0) -- (6,1); %\draw[-|] (7,0) -- (8,1); %\end{tikzpicture} %\verb+\includegraphics{FILE.png}+ %\includegraphics[]{FILE.png} %\end{preview} %============== \end{document} %============== ![alt text][1] ![alt text][2] % arara: ghostscript: { resolution: 100 300 , device: pngalpha } ![alt text][3] ----- % arara: ghostscript: { resolution: 100 , device: pnggray } ![alt text][4] [1]: http://texwelt.de/wissen/upfiles/FILEnew_3.png [2]: http://texwelt.de/wissen/upfiles/FILEnew.png [3]: http://texwelt.de/wissen/upfiles/FILEnew_1.png [4]: http://texwelt.de/wissen/upfiles/FILEnew_2.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 9

16 Mai '14, 15:10

cis's gravatar image

cis
9.6k104461491

Klicke auf Einblenden/Ausblenden von Überarbeitungen 8

15 Mai '14, 20:29

cis's gravatar image

cis
9.6k104461491

Klicke auf Einblenden/Ausblenden von Überarbeitungen 7

15 Mai '14, 17:04

cis's gravatar image

cis
9.6k104461491

Klicke auf Einblenden/Ausblenden von Überarbeitungen 6

15 Mai '14, 16:18

cis's gravatar image

cis
9.6k104461491

Klicke auf Einblenden/Ausblenden von Überarbeitungen 5

15 Mai '14, 03:59

cis's gravatar image

cis
9.6k104461491

Klicke auf Einblenden/Ausblenden von Überarbeitungen 4

15 Mai '14, 01:47

cis's gravatar image

cis
9.6k104461491

Klicke auf Einblenden/Ausblenden von Überarbeitungen 3

15 Mai '14, 01:43

cis's gravatar image

cis
9.6k104461491

Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

15 Mai '14, 01:42

cis's gravatar image

cis
9.6k104461491

Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

15 Mai '14, 01:40

cis's gravatar image

cis
9.6k104461491