[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make a drawing with Emacs

From: Emanuel Berg
Subject: Re: make a drawing with Emacs
Date: Tue, 01 Sep 2020 10:32:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Yuri Khan wrote:

>> I want to write code (data) and then have it
>> translate into a drawing. See the original post.
>> So no GUI, no actual "drawing". CAD doesn't sound
>> like that, but maybe I'm wrong?
> Hm, why not just write SVG?

I think SVG seems like a really good alternative.
I can't find a complete syntax reference tho. This is
the best page I found so far:

The .svg extension in Emacs gives me the major mode

  nXML mode defined in ‘nxml-mode.el’:
  Major mode for editing XML.

So a file test.svg:

  <svg width="10" height="10">

works well! Only not in feh(1), my image viewer [1] -
but with

  $ convert test.svg test.png

I get a PNG!

Great :D


underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]