X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Authority-Analysis: v=2.0 cv=A5HuztqG c=1 sm=0 a=6jktZp3dcHAl1vye2O6wCg==:17 a=O7eMSDLu23oA:10 a=ri6PVS9YGhsA:10 a=6WB07kdHjWAA:10 a=8nJEP1OIZ-IA:10 a=jAfPOIUMAAAA:8 a=rao_7Ph-uW1fFpKPtbQA:9 a=wPNLvfGTeEIA:10 a=GED_LIiEBe0A:10 a=6jktZp3dcHAl1vye2O6wCg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 70.113.67.117 Message-ID: <4EEE6884.20408@ecosensory.com> Date: Sun, 18 Dec 2011 16:26:12 -0600 From: John Griessen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] Make multiple pins auto-numbered in gschem References: <20111217222833 DOT 1F99881FD929 AT turkos DOT aspodata DOT se> <20111218194622 DOT 5FFDB81FD937 AT turkos DOT aspodata DOT se> In-Reply-To: <20111218194622.5FFDB81FD937@turkos.aspodata.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com On 12/18/2011 01:46 PM, Karl Hammar wrote: > It could be really useful if you could just hand it the datasheet... > Something like: > > $ pdftotext -f 2 -l 2www.atmel.com/dyn/resources/prod_documents/doc8271.pdf - | fgrep '(' > PD2 (INT0/PCINT18) PD1 (TXD/PCINT17) PD0 (RXD/PCINT16) PC6 (RESET/PCINT14) PC5 (ADC5/SCL/PCINT13) PC4 (ADC4/SDA/PCINT12) PC3 (ADC3/PCINT11) PC2 (ADC2/PCINT10) > ... Thanks Karl, I did not know this program pdftotext. It put out lines for each label when I ran it from a file, like this: PD2 (INT0/PCINT18) PD1 (TXD/PCINT17) . . . So, it's already in a pin to name mapping -- very useful after one has chosen a page to extract from. The GUI way might be good also. Think of picking the one diagram from a datasheet page of four and selecting just that one, and selecting banks of names might copy and paste well. I tried that some and the pin numbers were not grabbed on the same line as the other labels though. John -- Ecosensory