gaf export can export schematic and symbol files in a variety of
image formats for printing or further processing. It currently
supports single-page PNG, SVG and EPS output, and multi-page PS
and PDF output. It accepts a variety of options for controlling
how the output is formatted.
-o, --output=FILE Output generated image data to FILE.
-f, --format=(png | pdf | svg | ps | eps) Specify an output format. Usually, this option is not
required, because gaf export will infer the correct for? ?? mat from the file extension of the output file.
-p, --paper=NAME Size the output for a particular paper size. The NAME
should be a PWG 5101.1-2002 paper name. For example,
valid values include `iso_a4', `na_letter', or `na_d'.
-l, --layout=(auto | landscape | portrait) When using a paper size, set the orientation of the out? ?? put. If `auto' layout is used, the orientation that
best fits the drawing will be used.
-s, --size=(auto | WIDTH:HEIGHT) Size the output with specific dimensions. If the size
is `auto', select the size that best fits the drawing.
-k, --scale=FACTOR Set the output scale FACTOR. This is a distance identi? ?? cal with 100 points (1 default grid spacing) in
gschem(1) coordinate space. It is used to size the out? ?? put when neither --paper nor --size are given, and
defaults to 100 mil.
-m, --margins=(auto | TOP[:LEFT[:BOTTOM[:RIGHT]]]) Set the widths of the margins to be used. If `auto'
margins are specified, a sensible default value will be
chosen. Up to four margin widths can be provided. If
one is provided, it will be used on all four sides. If
two are provided, the first will be used for the
top/bottom and the second for the left/right. If three
are provided, the first will be used for the top, the
second for left/right, and the third for the bottom.
-a, --align=(auto | HALIGN:VALIGN) Set how the drawing is aligned within the page. HALIGN
controls the horizontal alignment, and VALIGN the verti? ?? cal. Each alignment value should be in the range 0.0 to
1.0. The `auto' alignment is equivalent to a value of
`0.5:0.5', i.e. centered.
-d, --dpi=DPI Set the number of pixels per inch used when generating
PNG output.
-c, --color Enable colour output.
--no-color Disable color output.
-F, --font=FONT-FAMILY Set the font to be used for drawing text.
-- Treat all remaining arguments as schematic or symbol
filenames. Use this if you have a schematic or symbol
filename which begins with `-'.
The --size, --margins, or --scale options described above accept
values using units of `mm', `cm', `in', `pc', `px', or `pt'. If
you do not provide a unit, points are assumed. N.b. that `px'
are evaluated relative to the current --dpi setting.
When using the --size, --margins, or --align options with multi? ?? ple values, you may use `;', or ` ' as a separator between them
instead of `:'. In such a case, remember to properly quote your
arguments to avoid them to be interpreted by your shell. \-------------------------------
los ist:
Mir sagt Scheme auch immer so viel, wie ein chinesisches Buch.
schem 1.8.2
Mir ist nicht ganz klar, bei welcher Version gaf dazugekommen ist. Ist
wohl etwa zwei Jahre her. Probier mal aus, ob Du den Befehl gaf hast. W enn
e- Scripten.
formatting link
.sh
entlang, sammelt alle Ausdrucke ein und erstellt ein Gesamt-PDF.
Oh, das sieht aber in der Tat besser aus. Ich will eh als SVG exportieren, print.scm konnte das nicht.
Nein, ist nicht dabei. Klar, dann muss ich mir das selbst ziehen.
Wundert mich schon sehr, dass die Paketierer bei Ubuntu so lahm sind, dass sie ein zwei Jahre altes Update nicht reinnehmen? Oder ist der
stable markiert und wandert deswegen nicht rein? Du bist doch auch gEDA Dev, oder? Musst es dann ja wissen :-)
Ah, das sieht echt cool aus. Wobei ich nicht drucken/PDFs erzeugen will, sondern SVGs, die dann letztendlich in ein LaTeX-Dokument eingebettet werden.
Naja, mal basteln...
Johannes
>> Wo hattest Du das Beben nochmal GENAU vorhergesagt?
Kosmologen: Die Geheim-Vorhersage.
K
Kai-Martin
Ein paar Tipps, damit es weniger nervig wird:
1) Die notwendigen dev-Pakete von libraries und sonstigen Komponenten
apt-get build-dep geda-gschem geda-gnetlist ;
2) Die Source saugen: git clone git://git.geda-project.org/geda-gaf cd geda-gaf
3) Makefiles erzeugen und konfigurieren ./autogen.sh ./configure
4) auf mehreren Cores compilieren make -j4
5) nach /usr/local/ installieren sudo make install
6) Die frisch installierte libgeda einbinden sudo ldconfig
Release. Letzter Stand ist 1.8.2 vom September 2013. Siehe
formatting link
klein und es gibt mit gibt es wesentlich weniger Artefakte als mit den anderen Web-tauglichen Formaten.
Hmm, das habe ich bisher immer mit PDF gemacht. Was ist der Vorteil von SVG in Latex-Docs?
------
J
Johannes Bauer
Hi Kai-Martin,
hab erst gerade gesehen dass du hier geantwortet hast. Ich probier's
Dankesehr, ja, ich hab's mir gleich gebaut. War auch gar nicht so nervig wie gedacht, er braucht nur die libgtk und groff als Dependency, alles andere war bei mir eh schon mit Dev-Paketen installiert. Lief ganz gut durch.
Ach das ist Mist. So kriegt man ein OSS Projekt tot :-(
Hmmmmmm echt jetzt? Aber du schickst ab und zu Patches rein, oder? Ich war mir da so sicher, dass ich dich immer wieder auf der geda ML gesehen habe.
Die werden auch letztendlich zu PDFs die ich dann ins TeX einbinde.
ins Bett zu gehen. Da werden beispielsweise Nodes nicht als Pfad verbunden, sondern alles als einzelne Liniensegmente gezeichnet. Und die
Liniensegmente und nicht als echte Pfade abgelegt wird?
Das sieht sooooo schlimm aus. Leider das einzige Opensource Programm das Vektorgrafiken exportieren kann. Die anderen sind da noch schrottiger
Johannes
>> Wo hattest Du das Beben nochmal GENAU vorhergesagt?
Kosmologen: Die Geheim-Vorhersage.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.