Re: X Resources for emacs

2019-07-10 Thread Bob Bernstein
On Thu, Jul 11, 2019 at 05:30:58AM +0200, Joost van Baal-Ilić wrote:
 
> Indeed I overstepped.  I am sorry.

Thank you. 

I too regret the intemperance of one of my closing remarks. 


-- 
What can be asserted without evidence can be 
dismissed without evidence.
 Hitchens' Razor



Re: X Resources for emacs

2019-07-10 Thread Bob Bernstein
On Wed, Jul 10, 2019 at 11:14:19AM +0200, Joost van Baal-Ilić wrote:

> The discussion ideally takes place on the
> debian-user list.  

Your email, and action, are most unpleasant. "Ideally" you might 
think about leaving people alone to follow their fate as best 
they can. Normally, in a case such as yours, that is exactly 
what I would be trying to do, but since you appear to be quite 
impulsive and therefore potentially dangerous to others, 
something must be said.

> Cc-ed.

Totally unacceptable. Did it dawn on you to ask me about such a 
step as cc'ing my note to debian-users? Did you suppose that 
perhaps I realized that is where "ideally" I should have placed 
my inquiry, but that I was prevented from doing so by the 
intercession of magical forces aligned against me? Is that what 
you think?

On the other hand, did you pause even for moment to consider, 
"Perhaps Mr. Bernstein would rather not post to debian-user?" 
Somehow I doubt that. (Whether or not that consideration is true 
is none of your business.)

I am working very hard to stay away from any ad hominem 
discourse. I'll keep it "about me." In well over twenty years (I 
believe) posting to various debian lists, including debian-doc, 
debian-user, and others, I cannot recall someone with 
'.debian.org' email domain taking it on himself to move my mail 
to another list without so much as a "Hi How do you do?"

You typify why the European Union is approaching its death 
throes. (Okay, I failed to steer clear of ad hominem. Firing 
squad at dawn?)

-- 
What can be asserted without evidence can be 
dismissed without evidence.
 Hitchens' Razor



X Resources for emacs

2019-07-09 Thread Bob Bernstein
I very glad to have debiandoc-sgml (which I have loved for 
years) playing quite nicely with psgml in emacs 24.5.1. 
This is in a recent upgrade to stretch:

Linux 4.9.0-9-amd64 #1 SMP Debian 
4.9.168-1+deb9u3 (2019-06-16) x86_64 GNU/Linux

I have no troule enlarging the text (or "page") font used 
by emacs -- using my .emacs file -- but the menu titles 
and drop-downs require me to use a magnifying glass due to 
my poor (and a bit old) vision.

I believe the size of these screen artefacts (menu titles 
etc.) could be tweaked using X Resources. This instance of 
emacs is linked to GTK. I have not yet been able to find 
the names of the needed resources for my problem.

Thank you

-- 
"In our age there is no such thing as ‘keeping out of 
politics’. All issues are political issues, and politics 
itself is a mass of lies, evasions, folly, hatred, and 
schizophrenia."

 George Orwell "Politics and the English Language" (1946) 



Re: manpages.debian.org has been modernized!

2017-01-18 Thread Bob Bernstein

Huzzahs! Congrats!

What an enormous piece of work you have brought to wonderful 
fruition!


Cigars all 'round!

--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



Re: Documentation update request

2016-10-16 Thread Bob Bernstein

On Sun, 16 Oct 2016, Michał Dziczkowski wrote:

The manual entries are leaking a expanded explanation of the 
commands and used parameters.


You may be better served by initially posting questions 
regarding specific applications, and their man pages, on the 
'debian-user' email list. It is a large group of informed Debian 
users, who have subscribed to that list out of a desire to help 
others.


Unless I am mistaken, this list, 'debian-doc,' aims to foster 
understanding and development of the documentation tool-chains 
used to generate (and, yes, maintain) the huge volume of 
documentation generated by a project of Debian's scope.


Best regards,

--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.

Re: 'debiandoc2dbk -1' fails

2016-10-15 Thread Bob Bernstein

On Sat, 15 Oct 2016, Osamu Aoki wrote:

Do you already have directory named simple-epa-howto.dbk by 
running debiandoc2dbk without -1, then you can not create file 
with the same name unless you remove or rename the directory.


That was the problem. Thanks much.

--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



'debiandoc2dbk -1' fails

2016-10-04 Thread Bob Bernstein
I have a simple debdoc file "simple-epa-howto.sgml" that 
responds correctly (viz produces the desired output) to 
debdoc2html and debdoc2pdf.


The .sgml file also seems to produce ok output with 
debiandoc2dbk; at least, the appropriate .dbk files are created 
in the expected subdirectory. (I haven't yet taken things 
farther than that.)


However, here's the problem:

$ debiandoc2dbk -1 simple-epa-howto.sgml
Cannot create file ./simple-epa-howto.dbk.
 at /usr/share/perl5/DebianDoc_SGML/Format/XML.pm line 149.

Thoughts, anyone?

Best regards,
Bob Bernstein
--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



Re: LONG LIVE DEBIANDOC (was: How to edit debiandoc in emacs with nxml)

2016-10-03 Thread Bob Bernstein

On Sat, 1 Oct 2016, Osamu Aoki wrote:


You do not need to use all the tags in Docbook XML.


Understood. The smaller tag set is one of DebianDoc's virtues 
imho.


You can see several Debian document sources to know how we 
build document from there.


Sorry to so dense, but can you please clarify this observation 
for me? Where might these document sources be available?


Thanks,

--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



Re: LONG LIVE DEBIANDOC (was: How to edit debiandoc in emacs with nxml)

2016-09-30 Thread Bob Bernstein

On Sat, 1 Oct 2016, Osamu Aoki wrote:


debiandoc-sgml now comes with debiandoc2dbk.


That is wonderful news to my ears. I _have to_ to look at that 
package.


I am actually wanting to use DocBook less and DebianDoc more (I 
know, sounds regressive -- that's me.), but at least now that 
there is some interest in it perhaps it won't fall so quickly by 
the wayside.


Thank you also for all the XSLT examples. I once had quite an 
interest in XSLT stylesheets, due mostly to Bob Stayton's book, 
which is around here on a drive somewhere. 


I just knew DebianDoc had to have an advocate somewhere, and I 
think I've found him!


All best,

--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



LONG LIVE DEBIANDOC (was: How to edit debiandoc in emacs with nxml)

2016-09-30 Thread Bob Bernstein

Please forgive me this cross-post from debian-user.

-- snip --

I appended this to my sources.list:

deb http://debian.csail.mit.edu/debian/ wheezy main contrib non-free

and then ran:

# apt-get update

I kept rerunning:

# apt-get install --dry-run emacs23

until all the warnings subsided, meaning all the dependency 
problems were going to be resolved. It looked like this:


# apt-get install --dry-run emacs23-el emacs23-common 
emacs23-bin-common libjpeg8 libtiff4


Then I removed the '--dry-run' option and ran the apt-get 
install for real. It went smooth as silk, but -- more 
importantly for my purposes -- the resultant emacs23 ran 
perfectly with psgmlx and a debiandoc sgml document I had been 
using as test doc!


NB. I had installed viz. byte-compiled the psgmlx package with 
the emacs23 I yesterday built from source grabbed on 
http://ftp.gnu.org/gnu/ .


I am psyched. Now to post this over on the debian-doc list so 
the "answer" is there too.


As one who in an earlier incarnation made a fairly good, if 
occasional, buck tech-writing and -editing on linux topics 
(which income came to an abrupt halt when the "internet bubble" 
collapsed),


I am here to say that debiandoc is an excellent 
publishing tool-chain. It is blessedly simple but complete for 
my needs, which means it is actually FUN to use!


Thanks all, and please let's not allow debiandoc to wither on 
the vine.


--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



Has anyone fixed psgmlx? WAS: How to edit debiandoc in emacs with nxml

2016-09-29 Thread Bob Bernstein

On Wed, 28 Sep 2016, W. Martin Borgert wrote:


Please ignore me, if my answer is not helpful:


I would never ignore you sir; I am grateful that you responded 
so promptly. But back to documentation matters...


To your knowledge, or that of any of the assembled faithful, has 
anyone gone through the elisp code of psgmlx and fixed the 
syntax that generates "old-style backquotes detected" error 
messages in emacs24?


Fwiw, Stackexchange offers some suggestions:

http://stackoverflow.com/questions/8109665/how-fix-emacs-error-old-style-backquotes-detected

All best,

--
"A person of great honour in Ireland (who was pleased to stoop 
so low as to look into my mind) used to tell me that my mind was 
like a conjured spirit, that would do mischief if I did not give 
it employment."

Jonathan Swift



How to edit debiandoc in emacs with nxml

2016-09-28 Thread Bob Bernstein
I have a tool chain working in Jessie (i686) using emacs 24.4.1 
and nXML that nicely creates DocBook 4.5 xml documents.


Now I would like to return to my first love, debiandoc, and do 
likewise. Has anyone hints on how to achieve this? I don't seem 
to be able to get the schema set correctly, if that's even 
possible with debiandoc, which I know is SGML.


NB. Are debs of older emacs available? Unfortunately emacs 24 
broke one of my favorite tools, which served me enormously well 
for years: the psgmlx package (not a Debian package ever afaik).


All best,

--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



Re: rewording to avoid sexist language on debian page (fwd)

2004-08-08 Thread Bob Bernstein
On Sun, 2004-08-08 at 19:11, Martin Wheeler wrote:

 So let's drop the delightfully absorbing discussion, and see what we can 
 do to arrive at a compromise between the two points of view, shall we?

There are no two points of view on the question of sexist language.
The civilized world long ago acknowledged this fact; consult any
professional style guide you choose, and you will find the words: Avoid
sexist language.

This thread is an embarassment to the Debian project.  Ms. Faulkner
deserves a simple Thanks! for taking the time and trouble to stick her
neck out and make a valuable observation. 

And that would be the end of it.



-- 
Bob Bernstein




Gnome Documentation Style Guide

2004-08-08 Thread Bob Bernstein
The Gnome Documentation Style Guide includes this statement:

Avoid sexist language

Pronoun constructions such as his/her or s/he do not exist. There is no
need to identify gender in your instructions.

http://developer.gnome.org/documents/style-guide/fundamentals-4.html#fundamentals-9

Interestingly enough, this document acknowledges that:

Many of these guidelines are only applicable to English-language usage,
see the American Heritage Dictionary  and the Chicago Manual of Style.

The Gnome document appears to be the sort of thing that might provide a
useful baseline for evolving a Debian Style Guide.


-- 
Bob Bernstein




Re: blank pages output by debian2...

2004-01-22 Thread Bob Bernstein
On Wed, Jan 21, 2004 at 09:42:57PM -0600, Ardo van Rangelrooij wrote:

 There are options for the document class book to handle this empty
 page stuff I think.  Once the wishlist is filed I'll look into it.

The option is 'oneside'.

In Format/LaTeX.pm, line 67:

## book output subroutines
## -
-
sub _output_start_book
{
output( \\documentclass[11pt,$locale{ 'babel' },oneside]{book}\n );



Best regards,

-- 
Bob Bernstein




blank pages output by debian2...

2004-01-21 Thread Bob Bernstein
I have a sneaking suspicion I raised this question here some time ago
(or on debian-sgml), but the senile dementia is really getting the
better of me lately.

Look, I _love_ debiandoc. But the blank pages output by apparently
anything other than debiandoc2html are driving me nuts. (No pirate
jokes, please.)

Is there any way to coax debiandoc2pdf (or 2dvi or 2ps or 2latex) to
not insert blank pages, say after the toc, or after a chapter ends?

I'm running unstable and just updated debiandoc-sgml to 1.1.81.


-- 
Bob Bernstein   




Re: blank pages output by debian2...

2004-01-21 Thread Bob Bernstein
On Wed, Jan 21, 2004 at 05:33:53AM -0600, Ardo van Rangelrooij wrote:


 Is there any way to coax debiandoc2pdf (or 2dvi or 2ps or 2latex) to
 not insert blank pages, say after the toc, or after a chapter ends?

 Why? What's the problem with that?

Cuz it looks dumb and screws up the page numbering?

Have I stumbled upon an undocumented feature?

 And why haven't you filed a wishlist?

Heavy drinking?

BUT SERIOUSLY FOLKS, sure, I'll file a wishlist! Point me in the right
direction and I'll git-'er-done.



-- 
Bob Bernstein




Re: blank pages output by debian2...

2004-01-21 Thread Bob Bernstein
On Thu, Jan 22, 2004 at 04:29:05AM +0100, Jens Seidel wrote:

 A relatively easy solution is to modify the .tex file created by
 debiandoc2latex and to call latex (or pdflatex) on this file. I
 suggest you choose a different document class, I think the default is
 book, so choose for example article.

Thank you! That sounds rather promising. 

-- 
Bob Bernstein




Debian and SGML: The Basics

2001-07-07 Thread Bob Bernstein
It seems like this is a good time to post this URL:

http://people.debian.org/%7Ebortz//SGML-HOWTO/potato/howto.html

Stephane's HOWTO remains the single best introduction to the Debian
way of doing SGML and XML. 

The clearinghouse for Debian documentation (including documentation
about documentation) is:

http://www.debian.org/doc/ddp

nb. the link to the Debiandoc-SGML Markup Manual.

General questions regarding implementing DocBook will find the best
audience on the 'docbook-apps' mailing list:

http://www.oasis-open.org/docbook/mailinglist/index.shtml

The indispensable psgml has its own list:

http://sourceforge.net/mail/?group_id=9156

And, finally, since many first come to Emacs only after deciding to do
SGML/XML (and, dare I say, kicking and screaming? g), let me
recommend the newsgroup:

gnu.emacs.help

I have found the Emacs Usenet community very helpful and friendly.

HTH!

-- 
Bob Bernstein |http://www.ruptured-duck.com
at|   1024D/4A93E562
Esmond, R.I.  |  115B 8AA0 D418 F33B F0B1  
USA   |  6230 8014 B8D5 4A93 E562



pgpKh4uuoiX2t.pgp
Description: PGP signature


Re: Debian and SGML: The Basics

2001-07-07 Thread Bob Bernstein
On Sun, Jul 08, 2001 at 02:38:58AM +0200, Wichert Akkerman wrote:

 I have no clue why you would need emacs for editing sgml files.

I haven't found anything better than psgml. I suppose it's a matter of
taste.


-- 
Bob Bernstein |http://www.ruptured-duck.com
at|   1024D/4A93E562
Esmond, R.I.  |  115B 8AA0 D418 F33B F0B1  
USA   |  6230 8014 B8D5 4A93 E562



pgp9pMoS8QKeH.pgp
Description: PGP signature


Re: xfree86 4.02 ?

2001-01-26 Thread Bob Bernstein
On Fri, Jan 26, 2001 at 12:01:15PM +, Paul Black wrote:

 Can you tell me if the current release
 of debian gnu linux contains the 4.02
 xfree86 servers.

If you go to 

http://www.debian.org/distrib/packages

type 'xfree86' in the 'Search Package Directories' box, and set
'Distribution' to 'Any'; you will see that 'unstable' contains what
you're looking for.

nb. This list is intended for discussion of Debian documentation
issues.

-- 
Bob Bernstein

...the open source movement has, at its roots, the point of _getting
away from_ impractical things like defending principles on
principle...  Chris Browne in gnu.misc.discuss




OT: how to strip out SGML tags?

2000-09-02 Thread Bob Bernstein
I have found a perl script to do this but it doesn't seem to work. 

Does anyone know of something that does? 

Just for conversation's sake, here's the pl that does _not_ seem to handle my
DocBook SGML:

#!/usr/bin/perl
##
##  sgmlstripper - Strip SGML markup from input.
##
##  by Robert J Seymour [EMAIL PROTECTED]
## Copyright 1995, 1996, Robert Seymour and Springer-Verlag.
## All rights reserved.  This program may be distributed and/or
## modified in electronic form under the same terms as Perl
## itself.
##
##  CPAN menu:
#
# File Name: sgmlstripper
# File Size in BYTES: 1469
# Sender/Author/Poster: Robert J. Seymour [EMAIL PROTECTED]
# Subject: sgmlstripper - Strip SGML markup from input.
#
# sgmlstripper removes SGML markup tags from input (taken through
# specified files or STDIN).  sgmlstripper uses a 
# character-by-character read mode which, though not as fast as a
# regexp, is guaranteed to strip tags which fall across line or
# paragraph boundaries and preserves whitespace so that line numbers
# will be the same (the latter is useful for search engines which
# don't want to index markup, but want line numbers to be preserved).


##  Use STDIN if no files are given
$ARGV[0] = - unless @ARGV;

##  Strip out anything contained in an SGML markup tag.  This is not
##  very pretty and rather inefficient, but it does take care of tags
##  which cross line or paragraph boundaries.
foreach $file (@ARGV) {
  open(INPUT,$file);
  while($char = getc(INPUT)) {
if($char eq ) {
  IGNORE: for(;;) {
last IGNORE if (getc(INPUT) eq );
  }
} else {
  print $char;
}
  }
  close(INPUT);

TIA, and sorry to be spamming the list with this OT post. 
}


--
Bob Bernstein  http://www.ruptured-duck.com





Re[2]: OT: how to strip out SGML tags?

2000-09-02 Thread Bob Bernstein
erik [EMAIL PROTECTED] wrote:

  ##  Use STDIN if no files are given
  $ARGV[0] = - unless @ARGV;
  
  ##  Strip out anything contained in an SGML markup tag.  This is not
  ##  very pretty and rather inefficient, but it does take care of tags
  ##  which cross line or paragraph boundaries.
  foreach $file (@ARGV) {
open(INPUT,$file);
while($char = getc(INPUT)) {
  if($char eq ) {
IGNORE: for(;;) {
  last IGNORE if (getc(INPUT) eq );
  
  ... not sure why the IGNORE thing is in here; it seems like this should
 work but I would have simply done :
   if($char eq ) {
  while(getc(INPUT) ne ) {
   ;
   }
   }
 

I had trouble with your idea, but I went back to the original script I posted
and discovered that the problem is it dies whenever a numerical '0' is
encountered! Apart from that it works fine. It just so happened I had a '0' in
the first few lines of my SGML, but I didn't get the implication.

So zero makes the condition '$char = getc(INPUT)' evaluate to false, dumping
the flow down to closing the file. What's the perl equivalent of WHILE NOT
EOF? g

 Look reasonable? 


--
Bob Bernstein  http://www.ruptured-duck.com





Re[2]: OT: how to strip out SGML tags?

2000-09-02 Thread Bob Bernstein
Ok. My last post in this thread! Here is what does work: (thanks list)

#!/usr/bin/perl -w
##
##  sgmlstripper - Strip SGML markup from input.
##
##  by Robert J Seymour [EMAIL PROTECTED]
## Copyright 1995, 1996, Robert Seymour and Springer-Verlag.

## Fixed by Bob Bernstein to handle zeros., 9/2/2000

## All rights reserved.  This program may be distributed and/or
## modified in electronic form under the same terms as Perl
## itself.
##
##  CPAN menu:
#
# File Name: sgmlstripper
# File Size in BYTES: 1469
# Sender/Author/Poster: Robert J. Seymour [EMAIL PROTECTED]
# Subject: sgmlstripper - Strip SGML markup from input.
#
# sgmlstripper removes SGML markup tags from input (taken through
# specified files or STDIN).  sgmlstripper uses a 
# character-by-character read mode which, though not as fast as a
# regexp, is guaranteed to strip tags which fall across line or
# paragraph boundaries and preserves whitespace so that line numbers
# will be the same (the latter is useful for search engines which
# don't want to index markup, but want line numbers to be preserved).


##  Use STDIN if no files are given
$ARGV[0] = - unless @ARGV;

##  Strip out anything contained in an SGML markup tag.  This is not
##  very pretty and rather inefficient, but it does take care of tags
##  which cross line or paragraph boundaries.
foreach $file (@ARGV) {
  open(INPUT,$file);
  while(!eof(INPUT)) {
 $char = getc(INPUT);
if($char eq ) {
  IGNORE: for(;;) {
last IGNORE if (getc(INPUT) eq );
  }
} else {
  print $char;
}
  }
  close(INPUT);
}


--
Bob Bernstein  http://www.ruptured-duck.com