X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=uZiu9TuNp30buPuZ3Vw2HY2fOPgjqh35/4yeHP49VTs=; b=Lf6EROndIBhZpAYzhkTNayr+HJHeXZU8GJqgEao++vCkO8SnzUPC5oTpqsdChQOkla LLk7Yj84GY3l14vWTjiKN62I5L7oG8ztac0BPg2Or5abc4wCCJGFprJi3u7n2WEd54KQ 1AOL0MmIba/H3fHwGlrz1itmTn8RINeLPE5PrssCklZQwuiEUyfvPn+Vf/lDaHbic2jC 3U8XQ/tvlk/l4SkNvPDfrUqJZptCw8v0il/Fh8LclLRzOV4ekR4NkHBfpVGaRLeBg3yK 0+yHGZ6bXgnVz5zVc98UKwQJInmaJ00Q2LXNUdj5NrBIhdUgf4WblDJ8bN3hKZOEoDlw R8PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=uZiu9TuNp30buPuZ3Vw2HY2fOPgjqh35/4yeHP49VTs=; b=nL4wtAbmt2mjlqTNkLutxbiGLQeSmB30bbqKwOc+GV4/pF7yeRodI2dPLklJbLY/sd mXSWTGBKr+0S516kefWt4p/coAe69m2f1nKUhUKUxY0eeLJTHXUhd5Dkhy2fz7IfI23n CZ519QdzLYNs8woCqYs/VZ8pfKIbjVSI32w54Gr+Hgd68A6FGmsLy1xr8RTMm+a54mL8 TgZHR/cdBoT+VsoAaepmsAXPEvfU21ah6Xx8k4+h4RwkrIyoYaY60OWrBlZplxgf+oG2 Jx5no6Jb8ms9KwjfOTvj0+1978fa11sdGQXoRnIj9scNljSgNs1gg4Npk5YZoNnva9Mb PDDA== X-Gm-Message-State: AOAM533z6lA227g77a2fhsZNJG8b+xVvZTuGwLid+WCR+RRgwMkc9UET CT/lkry0SJzaFDf4/6F+5h0BwZKe13k= X-Google-Smtp-Source: ABdhPJzaqlVipvZLfpkyb0P21EyOp+snTGmCOt72EbAMI/Lcw6mYCKfze0E08ZTVrnEI9CeRN40FPA== X-Received: by 2002:ac2:53a3:: with SMTP id j3mr14433810lfh.479.1627946289591; Mon, 02 Aug 2021 16:18:09 -0700 (PDT) From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" X-Google-Original-From: Vladimir Zhbanov Date: Tue, 3 Aug 2021 02:18:08 +0300 To: geda-user AT delorie DOT com Subject: Re: [geda-user] schematics and curves in text Message-ID: Mail-Followup-To: geda-user AT delorie DOT com References: <20210802152417 DOT 4BD8E83DE4BE AT turkos DOT aspodata DOT se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, Aug 03, 2021 at 01:49:19AM +0300, Vladimir Zhbanov wrote: > Hi Karl, > > On Mon, Aug 02, 2021 at 05:24:17PM +0200, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote: > > I have experimented with including schematics and curves with > > latex. > > > > Current result (yes, it is in swedish): > > http://aspodata.se/tmp/voltage_inverter.pdf > > > > Its source is at: > > http://aspodata.se/git/openhw/text/switched_power/ > > > > In overall I think it works good. > > Looks nice, yeah :-) > > > > Now that I have done that, what can I do better (anything except > > language related) ? > > > > /// > > > > On page 2, in "Figur 3" (inv3.sch in source dir), ends of pins > > and nets is rendered as small squares. > > > > Is there a way to make thoose small squares disappear ? > > The trick I used a few years ago was disabling 'net-endpoint' > color in 'print-color-map' by setting it to #f, defining other > colors as black or white, and exporting my images with the --color > option. The print color map may be defined in gafrc as follows: > > (print-color-map > '((background #f) > (pin "#000000") > (net-endpoint #f) ; <= this one > (graphic "#000000") > (net "#000000") > (attribute "#000000") > (logic-bubble "#000000") > (grid #f) > (detached-attribute "#000000") > (text "#000000") > (bus "#000000") > (select #f) > (bounding-box #f) > (zoom-box #f) > (stroke #f) > (lock "#000000") > (output-background "#ffffff") > (junction "#000000") > (freestyle1 #f) > (freestyle2 #f) > (freestyle3 #f) > (freestyle4 #f) > )) > > AFAIR, this worked with 'gaf', and should definitely work with > 'lepton-cli'. Another trick is to connect pins with hidden or deleted attributes to the dangling nets or unconnected pins. In some of my schematics I used symbols consisting of one pin to make images prettier. For unconnected nc-pins of components I used symbols looking like 'x' with zero-length pin in the center of the 'x'. This required editing the pins in the text editor, though, as creating zero-length pins is not yet supported in lepton-schematic. -- Vladimir