[OS X TeX] Re: svg to pdf

Ross Moore ross at ics.mq.edu.au
Sat Jul 15 22:23:19 EDT 2006

Hi Peter,

On 15/07/2006, at 9:27 PM, Peter Dyballa wrote:

> Am 15.07.2006 um 06:00 schrieb Ross Moore:
>> I couldn't get it to launch as an X11 application, but that
>> is no hindrance to command-line use.

The GUI is working now, a day later.

> Was X11 already running? Did you allow to fc-cache the fonts in  
> your system? The first time this can take many minutes, half an  
> hour ... the following times inkscape wastes again many minutes and  
> it seems that it launches fc-cache every time you choose a font,  
> maybe creating a file ~/.inkscape/.fccache prevents this behaviour.  
> The fontconfig file can be found in /etc/fonts (on Tiger). Every  
> user can have a private ~/.fonts.conf file.

Yes. Definitely it was  fc-cache  taking ages to complete.
Since I really just wanted to test the command-line capabilities,
I mustn't have let fc-cache run to completion. I tried several
times, with and w/out X11 already up, and even tried fc-cache
separately on the command-line. Presumably one instance eventually

> X11R6 provides man pages for
> 	fc-cache.1
> 	fc-list.1
> 	fontconfig.3
> Making ~/.fonts.conf and/or /etc/fonts/fonts.conf look right might  
> allow to use Windows/Linux xdvipdfmx for XeTeX in Mac OS X.
> Have you looked into the script /Applications/Inkscape.app/Contents/ 
> Resources/bin/inkscape?

Yep; looked briefly at this.
Didn't see anything there that would silence those messages.
I did try setting the locale explicitly; viz.

export "INKSCAPE_LOCALEDIR=$TOP/usr/share/locale"
export "LOCALE=C"

but that gave no change.

> Or which libraries /Applications/Inkscape.app/Contents/Resources/ 
> bin/inkscape-bin uses? There is also the  /Applications/Inkscape/ 
> Inkscape.app/Contents/Resources/extensions folder.
> There is a problem with the preferences: the window is partially  
> behind the Mac OS X tool-bar. It might not work to set any, because  
> to close this window you'll need to (x)kill the application!  
> (Fink's elder inkscape behaves more sane. And it has inkview, an  
> SVG viewer.)

Now that the GUI is working, I don't get this behaviour.
The document window is placed OK, and is moveable
just like any other. When a document is front-most, it has the X11
menu-bar, rather than the one for Inkscape itself. That is minimal,
with just a single drop-down for hiding and quitting the App.

Inkview  might be useful, but GraphicConverter displays .svg files,
albeit only as a bitmap. Also, there's an Adobe plug-in that allows
SVG files to be viewed in a web-browser. This allows saving as
SVG or SVGZ (a compressed format), but not as PDF.

> --
> Greetings
>   Pete
> "Email is a wonderful thing for people whose role in life is to be  
> on top of things. But not for me; my role is to be on the bottom of  
> things. What I do takes long hours of studying and uninterruptible  
> concentration."
>                                              -Donald Knuth



Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list