discuss: Thread: SPICE (analog simulation) HOWTO proposal and some Docbook issues


[<<] [<] Page 1 of 1 [>] [>>]
Subject: SPICE (analog simulation) HOWTO proposal and some Docbook issues
From: ####@####.#### (Stuart Brorson)
Date: 16 May 2004 16:37:31 -0000
Message-Id: <20040516163730.D65842AA07@earl-grey.cloud9.net>

Hello --

I just subscribed to this list because I am trying to create a docbook
version of my HOWTO about doing analog circuit simulation on Linux,
and I wanted to follow the "accepted procedure" so that it could be
eventually hosted on tldp.org.  I originally wrote a HOWTO on this
subject about one year ago, and have been hosting it on my website
since then. You can find it here:   

http://www.brorson.com/gEDA/SPICE/intro.html

The whole area of Linux as an engineering workstation is currently
taking off, and I think it valuable to have HOWTOs in place for
the arriving hordes . . . .

Here are some things I'd like to discuss here:

1.  Is the LDP interested in hosting such a HOWTO?  It seems to me
that there is lots of interest in SPICE on Linux:  I field lots of
questions from folks who have used my HOWTO and are trying to do
simulations.  However, I don't want to be presumptous & just mail in
my HOWTO without hearing that the LDP is interested in it.

2.  I am using LyX 1.2.3 to create the docbook sgml.  Unfortunately,
the sgml output of this version of LyX is broken (not well-formed).
Specifically, it seems to often output </SECT3> without an opening
<SECT3>.  Other closing tags are also emitted without an opening tag.
Is this a known problem?  Do other versions of LyX fix this problem?
What (if any) is the known way to fix this?

3.  As far as I can tell, ####@####.#### sends out e-mails
without a [TLDP-Discuss] identification in the subject line.  As
somebody else pointed out earlier, it is unfortunately now common to
receive hundreds of spams/day.  One way I sort out desired e-mail from
spam is to look for an identifying tag in the subject line.  Is it
possible the the LDP could configure the e-mail majordomo to include
an ID tag in the subject line?  

Please forgive my presumption for just barging in here and making a
bunch of requests!  Hopefully I can help out here with some HOWTOs of
interest to electrical engineers and circuit designers!  Thanks for
your time,

Stuart Brorson
Subject: Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues
From: "Rodolfo J. Paiz" ####@####.####
Date: 16 May 2004 17:26:50 -0000
Message-Id: <6.1.0.6.0.20040516111849.025f34a0@mail.simpaticus.com>

At 10:37 5/16/2004, Stuart Brorson wrote:
>3.  As far as I can tell, ####@####.#### sends out e-mails
>without a [TLDP-Discuss] identification in the subject line.  As
>somebody else pointed out earlier, it is unfortunately now common to
>receive hundreds of spams/day.  One way I sort out desired e-mail from
>spam is to look for an identifying tag in the subject line.  Is it
>possible the the LDP could configure the e-mail majordomo to include
>an ID tag in the subject line?

Possible, yes. But this is an argument that has come up many, many times in 
the past on most mailing lists, and the answer is that *yes*, it can be 
done. However, it is not the best or most desirable way to do it since it 
makes list subjects longer, real subjects harder to read, and provides no 
real benefit. "But wait," you say, "how do I separate it from all the spam 
I get?" And the answer is filters.

Every decent mailing list adds several headers which are not immediately 
visible, but which you can see if you want and which you can use. In this 
case, I've posted some of the headers from your message:

Mailing-List: contact ####@####.#### run by ezmlm
List-Post: ####@####.####
List-Help: ####@####.####
List-Unsubscribe: ####@####.####
List-Subscribe: ####@####.####
Delivered-To: mailing list ####@####.####
Subject: SPICE (analog simulation) HOWTO proposal and some Docbook issues
To: ####@####.####

You could, for example, simply select all mail sent to 
####@####.#### and filter that into a separate folder. 99.9% 
accurate right there. Or, you can use any of the other headers to filter. 
The generally accepted "Best Demonstrated Practice" is to put all messages 
of a given type (discuss-list, docbook-list, redhat-list, debian-list, 
wifi-list, personal, etc.) into their own folder using filters. That way 
you can read whatever type of mail you choose at that moment in time. Spam 
will be either left in your inbox, or caught by anti-spam software.

Adding [subj] tags to the subject is a logical idea, and not in itself 
wrong. There is a better way, though, which is why most lists with 
knowledgeable subscribers don't use those tags.

>Please forgive my presumption for just barging in here and making a
>bunch of requests!  Hopefully I can help out here with some HOWTOs of
>interest to electrical engineers and circuit designers!

But how nice of you to barge in! <smile> I wish more people did some 
barging... then Linux would grow and mature and be accepted more quickly. 
Anyway, make yourself at home. I have yet to formally finish and submit 
even my first HOWTO, yet I've been handing out opinions left and right on 
this list for a good six months now. Sorry I can't help you with your other 
questions, but don't worry about the barging; this is a volunteer-operated 
group and they/we welcome anyone who wants to help.

Cheers,


-- 
Rodolfo J. Paiz
####@####.####
http://www.simpaticus.com

Subject: Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues
From: "s. keeling" ####@####.####
Date: 16 May 2004 17:53:34 -0000
Message-Id: <20040516175241.GA11473@infidel.spots.ab.ca>

Incoming from Stuart Brorson:
> 
> 3.  As far as I can tell, ####@####.#### sends out e-mails
> without a [TLDP-Discuss] identification in the subject line.  As

You're using elm, so I can assume you could use procmail:

# ------------------------------------
# LDP
#
:0
* 1^0 ^TO_.*en\.tldp\.org
* 1^0 ^Delivered-To:.*en\.tldp\.org
{
  LOG="TLDP - "
  :0:
  IN.tldp
}


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -
Subject: RE: SPICE (analog simulation) HOWTO proposal and some Docbook issues
From: "Guru -" ####@####.####
Date: 17 May 2004 05:35:18 -0000
Message-Id: <SEA2-F62aAEWueiWPPW0003daee@hotmail.com>

Hi,

">2.  I am using LyX 1.2.3 to create the docbook sgml.  Unfortunately,
>the sgml output of this version of LyX is broken (not well-formed).
>Specifically, it seems to often output </SECT3> without an opening
><SECT3>.  Other closing tags are also emitted without an opening tag.
>Is this a known problem?  Do other versions of LyX fix this problem?
>What (if any) is the known way to fix this?"

Yes their is a way (sort-of).

Check out the lyx-to-x scripts, they were designed by Chris Karakas to fix 
exactly this problem, go to:
http://www.karakas-online.de/myWork/index.html

Installing them is not easy, but they are very well documented and Chris 
will assist you if you post in his forum.

If your looking for some examples that use these scripts, see Chris's 
howto's or my gnu-linux-tools-summary howto (kindly hosted by Chris).

Note: this is now a valid way of submitting to the TLDP.

Regards,
Gareth


>From: ####@####.#### (Stuart Brorson)
>To: ####@####.####
>Subject: SPICE (analog simulation) HOWTO proposal and some Docbook issues
>Date: Sun, 16 May 2004 12:37:30 -0400 (EDT)
>
>Hello --
>
>I just subscribed to this list because I am trying to create a docbook
>version of my HOWTO about doing analog circuit simulation on Linux,
>and I wanted to follow the "accepted procedure" so that it could be
>eventually hosted on tldp.org.  I originally wrote a HOWTO on this
>subject about one year ago, and have been hosting it on my website
>since then. You can find it here:
>
>http://www.brorson.com/gEDA/SPICE/intro.html
>
>The whole area of Linux as an engineering workstation is currently
>taking off, and I think it valuable to have HOWTOs in place for
>the arriving hordes . . . .
>
>Here are some things I'd like to discuss here:
>
>1.  Is the LDP interested in hosting such a HOWTO?  It seems to me
>that there is lots of interest in SPICE on Linux:  I field lots of
>questions from folks who have used my HOWTO and are trying to do
>simulations.  However, I don't want to be presumptous & just mail in
>my HOWTO without hearing that the LDP is interested in it.
>
>2.  I am using LyX 1.2.3 to create the docbook sgml.  Unfortunately,
>the sgml output of this version of LyX is broken (not well-formed).
>Specifically, it seems to often output </SECT3> without an opening
><SECT3>.  Other closing tags are also emitted without an opening tag.
>Is this a known problem?  Do other versions of LyX fix this problem?
>What (if any) is the known way to fix this?
>
>3.  As far as I can tell, ####@####.#### sends out e-mails
>without a [TLDP-Discuss] identification in the subject line.  As
>somebody else pointed out earlier, it is unfortunately now common to
>receive hundreds of spams/day.  One way I sort out desired e-mail from
>spam is to look for an identifying tag in the subject line.  Is it
>possible the the LDP could configure the e-mail majordomo to include
>an ID tag in the subject line?
>
>Please forgive my presumption for just barging in here and making a
>bunch of requests!  Hopefully I can help out here with some HOWTOs of
>interest to electrical engineers and circuit designers!  Thanks for
>your time,
>
>Stuart Brorson
>
>______________________
>http://lists.tldp.org/
>

_________________________________________________________________
Personalise your phone with chart ringtones and polyphonics. Go to  
http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp

Subject: Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues
From: "Chris Karakas" ####@####.####
Date: 17 May 2004 12:07:32 -0000
Message-Id: <200405171207.i4HC74407535@mailgate5.web.de>

####@####.#### (Stuart Brorson) schrieb am 16.05.04 18:37:41:
> 
> 2.  I am using LyX 1.2.3 to create the docbook sgml.  Unfortunately,
> the sgml output of this version of LyX is broken (not well-formed).
> Specifically, it seems to often output </SECT3> without an opening
> <SECT3>.  Other closing tags are also emitted without an opening tag.
> Is this a known problem?  Do other versions of LyX fix this problem?
> What (if any) is the known way to fix this?
> 

As Guru already said, I have created some scripts that correct LyX' SGML and do a lot of other nice things too. They are described in:

http://www.karakas-online.de/mySGML/

Currently, only 1.2.0 is working (maybe also 1.2.1, but I don't know about 1.2.3). Versions 1.3.2 and 1.3.4 do NOT work for DocBook, due to bugs in LyX. I am in contact with the LyX development team to iron these issues out.

Feel free to post such questions in my Linux Forum in:

http://www.karakas-online.de/forum/

and we will fix it, just as we did with Guru's HOWTO. :-)

-- 
Regards

Chris Karakas
http://www.karakas-online.de

Subject: Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues
From: Charles Curley ####@####.####
Date: 17 May 2004 18:26:42 -0000
Message-Id: <20040517182637.GL29394@charlescurley.com>

On Sun, May 16, 2004 at 12:37:30PM -0400, Stuart Brorson wrote:
> Hello --
> 
> I just subscribed to this list because I am trying to create a docbook
> version of my HOWTO about doing analog circuit simulation on Linux,
> and I wanted to follow the "accepted procedure" so that it could be
> eventually hosted on tldp.org.  I originally wrote a HOWTO on this
> subject about one year ago, and have been hosting it on my website
> since then. You can find it here:   
> 
> http://www.brorson.com/gEDA/SPICE/intro.html

I know zip about SPICE, so my only suggestions are:

* A "resources" section. I would aim it toward the intermediate SPICE
  user migrating to Linux. Also maybe a few general SPICE resources.

* A paragraph or two of "What is SPICE?" for the reader who wants to
  do circuit design but doesn't know what SPICE is or does.

> 
> The whole area of Linux as an engineering workstation is currently
> taking off, and I think it valuable to have HOWTOs in place for
> the arriving hordes . . . .
> 
> Here are some things I'd like to discuss here:
> 
> 1.  Is the LDP interested in hosting such a HOWTO?  It seems to me
> that there is lots of interest in SPICE on Linux:  I field lots of
> questions from folks who have used my HOWTO and are trying to do
> simulations.  However, I don't want to be presumptous & just mail in
> my HOWTO without hearing that the LDP is interested in it.

I think it's a good idea.

> 
> Please forgive my presumption for just barging in here and making a
> bunch of requests!  

Forgive, heck. Why should you be different from the rest of us. :-)

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.5.2: /usr/bin/python
Sat Jul 6 04:44:24 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /opt/ezmlm-browse-0.20/<string> in ()
 /opt/ezmlm-browse-0.20/main.py in main()
  424 
  425         if path is not None:
  426                 main_path(path)
  427         else:
  428                 main_form()
global main_form = <function main_form at 0xa022c6c>
 /opt/ezmlm-browse-0.20/main.py in main_form()
  378         except ImportError:
  379                 die(ctxt, "Invalid command")
  380         module.do(ctxt)
  381 
  382 def main():
module = <module 'commands.showthread' from '/opt/ezmlm-browse-0.20/commands/showthread.pyc'>, module.do = <function do at 0xa02c6bc>, global ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}
 /opt/ezmlm-browse-0.20/commands/showthread.py in do(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'})
    9         ctxt.update(ezmlm.thread(ctxt[THREADID]))
   10         header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
   11         do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
   12                         lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
   13         footer(ctxt)
global sub_showmsg = <function sub_showmsg at 0xa0221ec>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum'
 /opt/ezmlm-browse-0.20/globalfns.py in do_list(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, name='msgs', perpage=10, values=[{'author': u'Stuart Brorson', 'authorid': 'nimbipkhmohlagpgaiga', 'date': '16 May 2004 16:37:31 -0000', 'month': 200405, 'msgnum': 7290, 'subject': u'SPICE (analog simulation) HOWTO proposal and some Docbook issues', 'threadid': 'ibnidkaabndbggccicne', 'timestamp': 1084725451.0}, {'author': u'Rodolfo J. Paiz', 'authorid': 'ehngfbpnepphojhokgdn', 'date': '16 May 2004 17:26:50 -0000', 'month': 200405, 'msgnum': 7291, 'subject': u'Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues', 'threadid': 'ibnidkaabndbggccicne', 'timestamp': 1084728410.0}, {'author': u's. keeling', 'authorid': 'paiooheipemhlplelnkb', 'date': '16 May 2004 17:53:34 -0000', 'month': 200405, 'msgnum': 7292, 'subject': u'Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues', 'threadid': 'ibnidkaabndbggccicne', 'timestamp': 1084730014.0}, {'author': u'Guru -', 'authorid': 'pfjibnlmiigbnabpbdno', 'date': '17 May 2004 05:35:18 -0000', 'month': 200405, 'msgnum': 7293, 'subject': u'Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues', 'threadid': 'ibnidkaabndbggccicne', 'timestamp': 1084772118.0}, {'author': u'Chris Karakas', 'authorid': 'elfkhmdcfpcflhjkhpgf', 'date': '17 May 2004 12:07:32 -0000', 'month': 200405, 'msgnum': 7294, 'subject': u'Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues', 'threadid': 'ibnidkaabndbggccicne', 'timestamp': 1084795652.0}, {'author': u'Charles Curley', 'authorid': 'fbacfjfdkmpbdhgmbbhp', 'date': '17 May 2004 18:26:42 -0000', 'month': 200405, 'msgnum': 7298, 'subject': u'Re: SPICE (analog simulation) HOWTO proposal and some Docbook issues', 'threadid': 'ibnidkaabndbggccicne', 'timestamp': 1084818402.0}], peritem=<function <lambda> at 0xa02c844>)
  128                 write(template % ctxt)
  129                 if peritem:
  130                         peritem()
  131                 ctxt[ROW] += 1
  132 
peritem = <function <lambda> at 0xa02c844>
 /opt/ezmlm-browse-0.20/commands/showthread.py in ()
    9         ctxt.update(ezmlm.thread(ctxt[THREADID]))
   10         header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
   11         do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
   12                         lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
   13         footer(ctxt)
global sub_showmsg = <function sub_showmsg at 0xa0221ec>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum'
 /opt/ezmlm-browse-0.20/globalfns.py in sub_showmsg(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msgnum=7298)
  229         format_timestamp(ctxt, ctxt)
  230         write(html('msg-header') % ctxt)
  231         rec_showpart(ctxt, msg, 0)
  232         write(html('msg-footer') % ctxt)
  233         ctxt.pop()
global rec_showpart = <function rec_showpart at 0xa0221b4>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msg = <email.message.Message instance at 0xa081ccc>
 /opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0xa081ccc>, partnum=1)
  205                 else:
  206                         for p in part.get_payload():
  207                                 partnum = rec_showpart(ctxt, p, partnum+1)
  208         else:
  209                 write(html('msg-sep') % ctxt)
partnum = 1, global rec_showpart = <function rec_showpart at 0xa0221b4>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, p = <email.message.Message instance at 0xa0884cc>
 /opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0xa0884cc>, partnum=2)
  208         else:
  209                 write(html('msg-sep') % ctxt)
  210                 sub_showpart(ctxt, part)
  211         return partnum
  212 
global sub_showpart = <function sub_showpart at 0xa022144>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part = <email.message.Message instance at 0xa0884cc>
 /opt/ezmlm-browse-0.20/globalfns.py in sub_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0xa0884cc>)
  164         type = ctxt[TYPE] = part.get_content_type()
  165         ctxt[FILENAME] = part.get_filename()
  166         template = html('msg-' + type.replace('/', '-'))
  167         if not template:
  168                 template = html('msg-' + type[:type.find('/')])
global template = <function template at 0xa01ae9c>, global html = <function html at 0xa01aed4>, type = 'application/pgp-signature', type.replace = <built-in method replace of str object at 0xa085b80>
 /opt/ezmlm-browse-0.20/globalfns.py in html(name='msg-application-pgp-signature')
   40 
   41 def html(name):
   42         return template(name + '.html')
   43 
   44 def xml(name):
global template = <function template at 0xa01ae9c>, name = 'msg-application-pgp-signature'
 /opt/ezmlm-browse-0.20/globalfns.py in template(filename='msg-application-pgp-signature.html')
   31         except IOError:
   32                 if not _template_zipfile:
   33                         _template_zipfile = zipfile.ZipFile(sys.argv[0])
   34                 try:
   35                         f = _template_zipfile.open(n).read()
global _template_zipfile = None, global zipfile = <module 'zipfile' from '/usr/lib/python2.5/zipfile.pyc'>, zipfile.ZipFile = <class zipfile.ZipFile at 0x9fb3a7c>, global sys = <module 'sys' (built-in)>, sys.argv = ['-c', '/opt/ezmlm-browse-0.20']
 /usr/lib/python2.5/zipfile.py in __init__(self=<zipfile.ZipFile instance at 0xa081e0c>, file='-c', mode='r', compression=0, allowZip64=False)
  337             self.filename = file
  338             modeDict = {'r' : 'rb', 'w': 'wb', 'a' : 'r+b'}
  339             self.fp = open(file, modeDict[mode])
  340         else:
  341             self._filePassed = 1
self = <zipfile.ZipFile instance at 0xa081e0c>, self.fp = None, builtin open = <built-in function open>, file = '-c', modeDict = {'a': 'r+b', 'r': 'rb', 'w': 'wb'}, mode = 'r'

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: '-c'
      args = (2, 'No such file or directory')
      errno = 2
      filename = '-c'
      message = ''
      strerror = 'No such file or directory'