C.a.R. > Documentation > File Format
This is an attempt to give the advanced user some more information about the technical aspects of C.a.R.
As stated already in the introduction, C.a.R. uses an XML format for files. Here is a not up-to-date description of this format.
To save graphics, C.a.R. uses one of the following formats.
Portable Network Graphics (PNG). This is the most advanced format of C.a.R. for export. The export can be sized using the resolution ad the exact graphical size. Line thickness and size of texts can be chosen exactly.
Encapsulated Postscript (EPS). This is the favorite format of TeX, but I recommend PNG instead, using an exact scaling to the destination size. EPS in C.a.R. does not allow transparent objects.
Encapsulated Adobe Portable Document Format (PDF). The same comments as for EPS apply.
Scalable Vector Graphics (SVG). See below.
Figure Format (FIG). An outdated format.
This is a format for scalable vector graphics, fixed by the www consortium. Currently, there are some restrictions in C.a.R. E.g., transparency is not exported to SVG. if you need an exact look alike, I recommend using PNG instead.
To embed SVG into a pate, use the following code.
<p align="center"> <object data="ohd.svg" width="383" height="284" name="svg1" type="image/svg+xml"></object> </p>
C.a.R. > Documentation > File Format