Thread View: news.software.readers
183 messages
183 total messages
Page 3 of 4
Started by Anton Shepelev
Thu, 26 Apr 2012 20:19
Page 3 of 4 ⢠183 total messages
Re: Need help in choosing a newsreader
Author: Anton Shepelev
Date: Wed, 02 May 2012 09:03
Date: Wed, 02 May 2012 09:03
12 lines
2031 bytes
2031 bytes
teabag: > No, he didn't. Hers's what broke it: > Content-Transfer-Encoding: base64 No, not this. It was my groff configuration that in Unicode mode was mapping ASCII minus to Unicode hy- phen, u2010. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: HTML (XHTML) in netnews
Author: Ted S.
Date: Wed, 02 May 2012 11:28
Date: Wed, 02 May 2012 11:28
18 lines
2512 bytes
2512 bytes
On Tue, 1 May 2012 22:32:30 -0400, tlvp quoted me: >> And yet you're needlessly using a Unicode hyphen in "plain-text". > > Good grief, Ted, you're right: " ... thatââŹâ˘s the plainââŹÂtext ... " > -- it even has a fancy Unicode apostrophe before that (!). Thank > goodness for "Raw message" view in Dialog, I'd never have noticed > otherwise :-) . I notice it because that part of Unicode triggers a different font from Dialog on my system. It's also the reason I hate hate hate Relf's posts and the responses: those trigger the Unicode font *in the headerlist pane*, and that really slows down Dialog. -- Ted S. fedya at hughes dot net Now blogging at http://justacineast.blogspot.com
Re: HTML (XHTML) in netnews
Author: Shmuel Metz
Date: Wed, 02 May 2012 12:41
Date: Wed, 02 May 2012 12:41
20 lines
3091 bytes
3091 bytes
In <20120502120631.67e961108e3948e99929d422@g{oogle}mail.com>, on
05/02/2012
at 12:06 PM, Anton Shepelev <anton.txt@g{oogle}mail.com> said:
>By default, groff's utf8 device maps ASCII hyphen
>and apostrophe to their specific Unicode representations,
No; the specific Unicode representation of ASCII '2D'x is '002D'x and
of '27'x is '0027'x. Translating them to. e.g., Left Single Quote,
Right Single Quote, Em Dash, En Dash, Soft Hyphen involves guesses
that will often be wrong.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org
Re: Need help in choosing a newsreader
Author: Shmuel Metz
Date: Wed, 02 May 2012 12:45
Date: Wed, 02 May 2012 12:45
16 lines
2510 bytes
2510 bytes
In <20120502125834.50b58577d7a2db0685f26196@g{oogle}mail.com>, on
05/02/2012
at 12:58 PM, Anton Shepelev <anton.txt@g{oogle}mail.com> said:
>My bad, sorry.
You're still missing the trailing space after the "--".
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org
Re: *roff, ASCII & netnews
Author: Anton Shepelev
Date: Wed, 02 May 2012 14:51
Date: Wed, 02 May 2012 14:51
42 lines
3006 bytes
3006 bytes
Ivan Shmakov: > BTW, there I had the proper APOSTROPHE (U+0027) > character, but it was changed somehow to RIGHT > SINGLE QUOTATION MARK (U+2019), which is a change > in the meaning. > > Do I understand it correctly that the formatter's > configuration you use doesn't distinguish between > these two? Looks like the real true apostrophe is the same glyph as the right single quotation mark: http://en.wikipedia.org/wiki/Apostrophe > Also, there HYPHEN-MINUS (U+002D) was replaced by > HYPHEN (U+2019), so I guess that the formatter > doesn't distinguish these two, either. (Note that > while in this particular case this change doesn't > affect the meaning, such a change done for, e. g., > a code fragment, would be destructive.) The HYPHEN-MINUS character is used to denote, well, the minus and number intervals, because its width is equal to that of a digit glyph, while the shorter HYPHEN is used in running text, as in "self-evi- dent", but I am writing in ASCII right now, so you'll see no difference in my post. In groff, when preparing output for the utf8 device, the minus is accessed as either \(mi in ASCII sources or by using this symbol direcly in Unicode sources; and I didn't take it into account when switching from ASCII to Unicode. Anton -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: Need help in choosing a newsreader
Author: Kathy Morgan
Date: Wed, 02 May 2012 15:30
Date: Wed, 02 May 2012 15:30
16 lines
1859 bytes
1859 bytes
Anton Shepelev <anton.txt@gmail.com> wrote: > Beauregard T. Shagnasty: > > > ..and your sig?sep is broken. > > You broke it. > > ?? No, something else has broken it. It should be "-- " (hyphen-hyphen-space on a line by itself), and what I'm seeing is "??" (two question marks with no space). -- Kathy
Re: GUI-based newsreaders
Author: XS11E
Date: Wed, 02 May 2012 16:41
Date: Wed, 02 May 2012 16:41
29 lines
2589 bytes
2589 bytes
kmorgan@spamcop.net (Kathy Morgan) wrote: > XS11E <xs11eNO@SPAMyahoo.com> wrote: > >> Straight and wrong. Here's the problem, there are two totally >> different Eudoras. [...] >> >> So... the correct answer is: Which Eudora? > > That occurred to me after I'd already posted. Thank you and > thanks, Mike, for giving much more complete and accurate answers > than mine was. FWIW, I've used the old Eudora available here: http://www.eudora.com/archive.html And it does it's job well although I prefer another email client. The Mozilla version is basically T'Burp which I don't like much. As always, YMMV but I wouldn't hesitate to recommend the Qualcomm version if anyone cares.... -- XS11E, Killing all posts from Google Groups The Usenet Improvement Project: http://twovoyagers.com/improve-usenet.org/
Re: *roff, ASCII & netnews
Author: Ivan Shmakov
Date: Wed, 02 May 2012 16:47
Date: Wed, 02 May 2012 16:47
80 lines
4337 bytes
4337 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>>>>> Ivan Shmakov:
>> BTW, there I had the proper APOSTROPHE (U+0027) character, but it
>> was changed somehow to RIGHT SINGLE QUOTATION MARK (U+2019), which
>> is a change in the meaning.
>> Do I understand it correctly that the formatter's configuration you
>> use doesn't distinguish between these two?
> Looks like the real true apostrophe is the same glyph as the right
> single quotation mark:
> http://en.wikipedia.org/wiki/Apostrophe
Indeed, thanks.
Still, such a change is /not/ safe when done automatically,
especially when quoting code fragments, etc.
--cut: http://unicode.org/Public/UNIDATA/NamesList.txt --
0027 APOSTROPHE
= apostrophe-quote (1.0)
= APL quote
* neutral (vertical) glyph with mixed usage
* 2019 is preferred for apostrophe
* preferred characters in English for paired quotation marks are 2018 & 2019
--cut: http://unicode.org/Public/UNIDATA/NamesList.txt --
>> Also, there HYPHEN-MINUS (U+002D) was replaced by HYPHEN (U+2019),
>> so I guess that the formatter doesn't distinguish these two, either.
>> (Note that while in this particular case this change doesn't affect
>> the meaning, such a change done for, e. g., a code fragment, would
>> be destructive.)
> The HYPHEN-MINUS character is used to denote, well, the minus and
> number intervals, because its width is equal to that of a digit
> glyph, while the shorter HYPHEN
I wonder, how these consideration may apply to the text intended
to be rendered in a monospace font?
> is used in running text, as in "self-evident", but I am writing in
> ASCII right now, so you'll see no difference in my post.
I understand it differently. Namely, HYPHEN-MINUS is used as a
substitute for either HYPHEN or a MINUS SIGN (in math), but
/not/ for an EN DASH, which is typically used for numeric
intervals.
Also, HYPHEN-MINUS is commonly used in programming languages to
mean subtraction, negation, comment (SQL), or otherwise, so it
is /not/ safe to automatically replace it with a HYPHEN (or
MINUS SIGN), either.
--cut: http://unicode.org/Public/UNIDATA/NamesList.txt --
002D HYPHEN-MINUS
= hyphen or minus sign
* used for either hyphen or minus sign
x (hyphen - 2010)
x (non-breaking hyphen - 2011)
x (figure dash - 2012)
x (en dash - 2013)
x (minus sign - 2212)
x (roman uncia sign - 10191)
--cut: http://unicode.org/Public/UNIDATA/NamesList.txt --
> In groff, when preparing output for the utf8 device, the minus is
> accessed as either \(mi in ASCII sources or by using this symbol
> direcly in Unicode sources; and I didn't take it into account when
> switching from ASCII to Unicode.
> --
AIUI, the convention is to use â-- â (i. e., with a trailing
blank), /not/ â--â (though Gnus seem to accept it either way.)
--
FSF associate member #7257
Re: *roff, ASCII & netnews
Author: Anton Shepelev
Date: Wed, 02 May 2012 21:08
Date: Wed, 02 May 2012 21:08
59 lines
6119 bytes
6119 bytes
Ivan Shmakov: > > Looks like the real true apostrophe is the same > > glyph as the right single quotation mark: > > > > http://en.wikipedia.org/wiki/Apostrophe > > Indeed, thanks. > > Still, such a change is /not/ safe when done auto- > matically, especially when quoting code fragments, > etc. > > --cut: http://unicode.org/Public/UNIDATA/NamesList.txt -- > 0027 APOSTROPHE > = apostrophe-quote (1.0) > = APL quote > * neutral (vertical) glyph with mixed usage > * 2019 is preferred for apostrophe > * preferred characters in English for paired quotation marks are 2018 & 2019 > --cut: http://unicode.org/Public/UNIDATA/NamesList.txt -- Yes, that's why you can have a verbatim ASCII-based environment for code and a normal one for text. > > > Also, there HYPHEN-MINUS (U+002D) was replaced > > > by HYPHEN (U+2019), so I guess that the for- > > > matter doesn't distinguish these two, either. > > > (Note that while in this particular case this > > > change doesn't affect the meaning, such a > > > change done for, e.g., a code fragment, would > > > be destructive.) > > > > The HYPHEN-MINUS character is used to denote, > > well, the minus and number intervals, because > > its width is equal to that of a digit glyph, > > while the shorter HYPHEN > > I wonder, how these consideration may apply to the > text intended to be rendered in a monospace font? No matter what the font is, the glyphs can be dif- ferent. Furhtermore, groff is a universal typeset- ting engine and it has a general mechanism to manage characters and their representations, which is inde- pendent of the output device. > > is used in running text, as in "self-evident", > > but I am writing in ASCII right now, so you'll > > see no difference in my post. > > I understand it differently. Namely, HYPHEN-MINUS > is used as a substitute for either HYPHEN or a > MINUS SIGN (in math), but /not/ for an EN DASH, > which is typically used for numeric intervals. > > Also, HYPHEN-MINUS is commonly used in programming > languages to mean subtraction, negation, comment > (SQL), or otherwise, so it is /not/ safe to auto- > matically replace it with a HYPHEN (or > MINUS SIGN), either. > > --cut: http://unicode.org/Public/UNIDATA/NamesList.txt -- > 002D HYPHEN-MINUS > = hyphen or minus sign > * used for either hyphen or minus sign > x (hyphen - 2010) > x (non-breaking hyphen - 2011) > x (figure dash - 2012) > x (en dash - 2013) > x (minus sign - 2212) > x (roman uncia sign - 10191) > --cut: http://unicode.org/Public/UNIDATA/NamesList.txt -- In typography, real symbols are preferred to substi- tutes. When it comes to programming languages, you are correct. For the sake of convenience they tend to use as much ASCII and as little non-ASCII as pos- sible. Same applies to good e-mail and Usenet mes- sages. > > -- > > AIUI, the convention is to use â-- â (i. e., with > a trailing blank), /not/ â--â (though Gnus seem to > accept it either way.) Thanks for the correction. Applied. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: GUI-based newsreaders
Author: tlvp
Date: Thu, 03 May 2012 02:15
Date: Thu, 03 May 2012 02:15
36 lines
3029 bytes
3029 bytes
On Tue, 01 May 2012 20:33:16 -0700, XS11E wrote: > tlvp <mPiOsUcB.EtLlLvEp@att.net> wrote: > >> On Tue, 1 May 2012 12:40:12 -0800, Kathy Morgan wrote: >> >>> tlvp <mPiOsUcB.EtLlLvEp@att.net> wrote: >>> >>>> TW, does Eudora do Newsgroups? or only Mail? >>> >>> Nope, it only does mail. >> >> Thanks, Kathy. A straight answer here, for a welcome change :-) . > > Straight and wrong. Here's the problem, there are two totally > different Eudoras. > > One is a product of Qualcomm and is still available although it's > getting a little long in the tooth it still works pretty well AFAIK. > It does not do newsgroups. > > Qualcomm decided to dump Eudora and gave it to the Mozilla group who > tacked some Eudora icons on top of Thunderburp and that version does do > newsgroups. > > So... the correct answer is: Which Eudora? Thanks, there, xs11etc., the only Eudora I knew before your educational supplement was the one you correctly characterize as "long in the tooth". I guess I'm glad to know there's also a Eudora-branded T-bird, but doesn't T-bird, even by another name, still just quack "as sweet" as T-bird proper? Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: GUI-based newsreaders
Author: tlvp
Date: Thu, 03 May 2012 03:08
Date: Thu, 03 May 2012 03:08
18 lines
2479 bytes
2479 bytes
On Wed, 02 May 2012 09:41:47 -0700, XS11E wrote: > FWIW, I've used the old Eudora available here: > > http://www.eudora.com/archive.html > > And it does it's job well although I prefer another email client. FWIW, back in the last century, while using an antique Palm IIIe with modem to access dialup internet while travelling, I had a PalmOS3-adapted version of Eudora installed on the IIIe for reading mail on-the-road. Surprisingly nimble design working *with* the tiny IIIe screen rather than *despite* it. No idea, though, just where to find the .pdb or .prc for that these days. Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: HTML (XHTML) in netnews
Author: tlvp
Date: Thu, 03 May 2012 03:23
Date: Thu, 03 May 2012 03:23
8 lines
1917 bytes
1917 bytes
On Wed, 02 May 2012 12:21:17 +0700, Ivan Shmakov wrote: > I guess one may think of Google Drive and Google+. (Though I've > never used either of them myself.) Don't ask me why, but I'd prefer not to :-) . Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: HTML (XHTML) in netnews
Author: tlvp
Date: Thu, 03 May 2012 03:27
Date: Thu, 03 May 2012 03:27
23 lines
2671 bytes
2671 bytes
On Wed, 2 May 2012 07:28:33 -0400, Ted S. wrote: > On Tue, 1 May 2012 22:32:30 -0400, tlvp quoted me: > >>> And yet you're needlessly using a Unicode hyphen in "plain-text". >> >> Good grief, Ted, you're right: " ... thatââŹâ˘s the plainââŹÂtext ... " >> -- it even has a fancy Unicode apostrophe before that (!). Thank >> goodness for "Raw message" view in Dialog, I'd never have noticed >> otherwise :-) . > > I notice it because that part of Unicode triggers a different font from > Dialog on my system. It's also the reason I hate hate hate Relf's posts > and the responses: those trigger the Unicode font *in the headerlist > pane*, and that really slows down Dialog. Is it *that* that makes Dialog act at times as if it's dragging a sled through molasses? I'll have to ... yup, seems to be! Good grief! Nice thing then that Dialog lets one just scratch unwanted posts out :-) . Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
OT Eudora (was: GUI-based newsreaders)
Author: Kathy Morgan
Date: Thu, 03 May 2012 07:00
Date: Thu, 03 May 2012 07:00
13 lines
1918 bytes
1918 bytes
XS11E <xs11eNO@SPAMyahoo.com> wrote: > FWIW, I've used the old Eudora available here: > > http://www.eudora.com/archive.html > > And it does it's job well although I prefer another email client. Heh. And on the Mac, I like it so well that I've postponed upgrading my OS, because the old Eudora won't work with Lion. -- Kathy
Re: HTML (XHTML) in netnews
Author: Ivan Shmakov
Date: Thu, 03 May 2012 07:19
Date: Thu, 03 May 2012 07:19
282 lines
12614 bytes
12614 bytes
>>>>> Anton Shepelev <anton.txt@gmail.com> writes:
>>>>> Ivan Shmakov:
[This one got too long, so I'm splitting it into two parts. In
this, second, part, I'm focusing on why what benefits XHTML has
when formatting more complex Usenet and e-mail messages,
including those with images, tables, formulae, and the like.]
[âŚ]
>>> As you have shown, it is possible to highlight words in plain text.
>> Yes, but then my Gnus shows /foo/ as highlighted foo, because it
>> thinks that slashes mean slanted text here, not the Unix directory
>> separators they in fact are.
> I didnât mean that the those symbols should be interpreted on the
> readerâs side. They are OK as they are.
Why, would the people ask, they have to learn that slashes mean
italics? Why can't the computer just display the italics?
Being a long time fan of VGA text modes (indeed, I'm using an
80Ă30 one right now), I'd accept the argument of âcomplexityâ of
displaying the italics. But I wonder if the âcommon peopleâ
will find such an argument plausible.
>>> Formulas can expressed like they are in programming languages or
>>> LaTeX source,
>> I disagree.
>> Would LaTeX code be a preferable form of presentation, I guess weâd
>> see a lot of scientific journals switching to it from the
>> nowâubiquitous mathematic notation.
> But the mediums of eâmail and Usenet are quite different from that of
> printed publications.
Indeed, I agree with that, but not with the specific points
presented below, which I deem rather superficial. My comments
on them are therefore /not/ to be taken too seriosly.
> The latter has the following great drawbacks:
> a. The need to use heavy and nonâeditable formats, like PDF and
It was my understanding that the /printed/ publications use
/paper/ as the media and the format. Its heaviness depends
primarily on the density of the paper, the number of pages, and
the particular format (i. e., paper size) chosen.
Indeed, these formats are mostly non-editable.
> PostScript.
Unlike PDF, PostScript is not quite a file format. Rather, it's
a programming language, much like ECMAScript and Java, which is
the reason to recommend /against/ any of these three on the Web.
One of my favorite hacks in PostScript is the one drawing the
Mandelbrot set, BTW.
Unfortunately, a forgot the URI, but then I've found this one:
http://www.physics.uq.edu.au/people/foster/postscript.html
> b. Great effort and special software required to produce a
> wellâtypeset document, which on the reader side necessiates heavy and
> more complicated software and results in higher latency and lesser
> efficiency of communication.
Agreed.
> HTML, as a compromise solution, has the drawbacks of both
> typographical and plainâtext mediums. For example, it is looses the
> simplicity and transparency,
⌠for certain definitions thereof.
> yet its presentation is platoformâdependent, meaning that that the
> author does not have control over how his work will look in different
> programs, while plain text viewed in a monospace font _always_ looks
> the same.
No, it doesn't. In particular, there're different monospace
fonts, and different meanings associated with the ASCII HT (AKA
âTABâ, \t, \x9) code. (I'd mention also the different
conventions to represent line breaks, or boldface and underline
conventions, but by this time these are mostly irrelevant.)
Anyway, being such a âcompromiseâ, HTML gives the reader (and
not the platform, BTW) /more/ freedom in choosing the
presentation than PDF and, arguably, plain text.
For instance, it isn't that trivial to change the base font size
(so to solve accessibility issues, for instance) or paper size
(say, A4 to A5 or vice versa) of a PDF document, irrespective of
how âwellâ it's typeset. This way, PDF gives the author way too
much control over the presentation, while HTML provides a useful
âcompromise.â
>> Using * to mean â
or Ă, or introducing ânewâ functions, such as abs,
>> expt, pow, sqrt, etc., doesnât seem sane, either.
>> That being said, Unicodeâbased plainâtext allows âxâ, xš²³, and even
>> âxĚ
. However, I donât know of any easy way to author such formulae,
>> while thereâre a few translators from a subset of LaTeX to MathML.
> Such functions and conventions were introduced a long time ago,
It's not an argument. The question is: how widely they're
known, especially among the audience without strong âcomputing
backgroundâ?
> and everybody with basic math and computer knowledge will understand
> them.
So, the basic computer knowledge includes the Fortran notation
these days? (Or is it basic math?)
> They are few and easy to learn and remember. Unicode math symbols
> allow to write only very, very sort formulas.
s/short/simple/, perhaps?
> Even e^(sin x) is impossible.
And that'd be one more reason to use MathML. (Note, however,
that since âexpâ is widely used in mathematical texts, this
specific example could be written as exp (sin x) just as well.)
>>> and graphics should be converted to ASCIIâart,
>> What for?
> In order to make it transmittable in plainâtext, of course.
SVG is plain text, as well as are certain varieties of the PNM
raster graphics format.
The question is, are we solving a technical issue here, or?
Representing graphics with glyphs of a monospace font was
justified when this was pretty much the least common denominator
of the computing systems in use. (And it may still be justified
for those preferring VGA text modes.) Nowadays, it doesn't
worth the effort.
> Bear in mind that with simple diagrams and schematics this conversion
> is very easy and the result is quite pleasant.
So simple that it could be performed automatically with
software? Which one you'd recommend, then? (I'd use it to
complement Lynx.)
>>> linked, or attached, depending on the circumstances.
>> The graphics, both linked and provided as separate MIME parts, could
>> be presented in a specific place of an HTMLâbased message
>> referencing it. Not so for a message based on plainâtext.
> I was pointing out ways to cope with images in plainâtext. Of
> course, in HTML it is more straightforward.
That's the point.
> One could also create a page on the web and link it, or typeset a
> nice PDF and attach it,
PDF is not an alternative to HTML precisely because it puts way
too much control over the final presentation in the hands of the
author.
> but 99% percent of Usenet or eâmail messages are so far from being
> bookâlong that the inclusion of a couple of links or binary
> attachments is not a problem, and the advantages offered by HTML are
> not worth its overhead.
What overhead is in question here?
Well-authored HTML gives little overhead when it comes to the
bandwidth, and neither does it require any âadditionalâ
software, beyond those already available on most of the
âdesktopâ (âlaptopâ, âpalmtopâ, etc.) systems nowadays.
And, authoring HTML isn't much overhead, either, at least not a
tiny bit more than *roff, precisely because the latter could be
automatically converted into the former. (Although I'd prefer
Markdown here, with <http://example.org/> for the links.)
For precisely the same reason, MathML implies no more overhead
than the LaTeX notation, as there're existing tools to convert
(a subset of) the LaTeX math language into MathML.
[âŚ]
>>> One doesnât have to use a parser to comfortably read and operate
>>> plainâtext files.
>> I disagree. Think of parsing a formatted table, like:
>> Column 1 Columns 2, 3
>> Column 2 Column 3
Did you note that the table was quoted the wrong way, BTW?
That's one of the issues that HTML would've helped to avoid.
>> Whatever there is 1 Foo bar
>> And hereâs the other 2 Baz
> You are right again, but it is only 1â2% of messages that must have
> tables, and even more rare are the cases when one needs to parse
> them.
Copying a plain-text table from a message to a non-plain text
document would imply some non-trivial parsing; HTML makes this
task easier.
> If a table is intended for parsing, it is meet to post it as tabâ or
> commaâseparated, either in the body of the message or as an
> attachement.
This would put extra burden on the reader (copying CSV into a
file to open with a spreadsheet software, scrolling or switching
between the windows showing the text and the table.)
> Such complicated tables are rare, even rarer does one need to
> automatically parse them. Most of the time it is a set of keyâvalue
> paris or nâtuples ââ
Two HYPHENs (U+2010) don't add up to a proper EM DASH (U+2014),
BTW.
> a regular linear structure, which is easier parsed from plainâtext
> (CSV) than from HTML.
Actually, CSV isn't much easier to parse than XHTML, so it
warrants using a library for that. Then, there isn't much
difference in using an XML library vs. a CSV one.
Consider, e. g., the following single-row, three-column CSV
dataset:
1,"a","well, ""hello, world"", as an example"
This issue was recently discussed in news:fido7.ru.unix.bsd [1].
[1] news:1187446717@ddt.demos.su
http://groups.google.com/group/fido7.ru.unix.bsd/browse_thread/thread/ee7bdde4f5241891/0378d3455ffa4046
[âŚ]
> As for the XML tools you mentioned, I am afraid every HTML message
> will require a special script to process it, becuase HTML is not
> strucured in the sense that instead of defining the funciton of an
> element (like, it is a list, it is a header, and so on), it defines
> its appearance, and the former is not easily inferred from the
> latter! On the other hand, *roff and LaTeX use structured approach.
I've provided some counterexamples in the other part, but here's
two more arguments.
First of all, the HTML "table" elements have well-defined
structured meaning, and while the location (in the DOM tree) of
a particular table may vary between documents, it'd likely be
only a matter of changing an XPath expression to âadaptâ the
code from one document to the other.
For the second argument, I'd refer to Eric Raymond's âDocBook
Demystification HOWTOâ:
--cut: http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/intro.html --
[âŚ] The advocates of XML-based âstructural markupâ (as opposed to
the older style of âpresentation markupâ exemplified by troff, Tex,
and Texinfo) seem to have won the theoretical battle. [âŚ]
--cut: http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/intro.html --
[âŚ]
--
FSF associate member #7257
Re: HTML (XHTML) in netnews
Author: Ivan Shmakov
Date: Thu, 03 May 2012 08:00
Date: Thu, 03 May 2012 08:00
65 lines
3934 bytes
3934 bytes
>>>>> tlvp <mPiOsUcB.EtLlLvEp@att.net> writes: >>>>> On Wed, 02 May 2012 12:21:17 +0700, Ivan Shmakov wrote: >>>> I guess if you want NG participants to *see* it the way it might >>>> look in a book, you just have to make a .png or an .svg or a .gif >>>> or a .pdf out of it and *attach* it to your post (and hope that >>>> the NG accepts attachments). >>> That'd be NTA, not the group, BTW. >> I guess one may think of Google Drive and Google+. (Though I've >> never used either of them myself.) > Don't ask me why, but I'd prefer not to :-) Neither would I. However, that wasn't quite the point. The current state of affairs is that I prefer the text formatted like: --cut-- In computing, plain text is the contents of an ordinary sequential file readable as textual material without much processing, usually opposed to formatted text and to "binary files" in which some portions must be interpreted as binary objects (encoded integers, real numbers, images, etc.). --cut-- Naturally, I format my messages just like that. Then, he prefers the text formatted like: --cut-- The encoding has traditionally been either ASCII, one of its many derivatives such as ISO/IEC 646 etc., or sometimes EBCDIC. Unicode-based encodings such as UTF-8 and UTF-16 are gradually replacing the older ASCII derivatives limited to 7 or 8 bit codes. --cut-- Naturally, he formats his messages just like that. Each of us, acting in good faith, produce a result that the other one finds mildly unpleasant to read. Certain newsreaders allow one to reformat the article being displayed (Gnus has M-x gnus-article-fill-cited-article, AKA W w, for instance.) However, doing that would likely to destroy any "pre-formatted" parts of the message (such as: code fragments, tables, ASCII art, etc.) How nice would it be if it was possible for a newsreader to somehow discern formatted text from pre-formatted one! And HTML allows just that. With HTML (which, I may note, require more changes to /my/ newsreader setup than to his), we'd be able to see the messages formatted just as we like: he'd see a message of mine formatted as he prefers, while I'd see his one formatted as do I. Without HTML, we're forced to use the preferences of one another. -- FSF associate member #7257
Re: OT Eudora
Author: Mike Easter
Date: Thu, 03 May 2012 11:18
Date: Thu, 03 May 2012 11:18
34 lines
2963 bytes
2963 bytes
Kathy Morgan wrote: > XS11E wrote: > >> FWIW, I've used the old Eudora available here: >> >> http://www.eudora.com/archive.html >> >> And it does it's job well although I prefer another email client. > > Heh. And on the Mac, I like it so well that I've postponed upgrading > my OS, because the old Eudora won't work with Lion. I just did a little look around at the problem and saw -- the announcement that Lion wasn't doing Rosetta, so those apps which required it weren't going to work in the newest OS -- the moans of those whose favorite app such as Eudora (and some others) was more important to them than upgrading to Lion -- the suggestions or queries about what to do (now or next), such as Mac Mail or Eudora OSE or Tb or MailForge, none of which are exactly Eudora of course. You see much the same reaction from the OE die-hards who can't use it in their Win7 version. I was an OE fan who also defended it in this group because OE was more acceptable by tacking on 3rd party add-ons and OE crutches, until I gravitated to linux and therefore needed to make a bigger break. You know that sooner or later you will be using an OS which can't do Eudora, so you will need to begin to make some preparation for that day that your old mail stores will be harder to access. -- Mike Easter
Re: GUI-based newsreaders
Author: Ted S.
Date: Thu, 03 May 2012 11:56
Date: Thu, 03 May 2012 11:56
11 lines
2277 bytes
2277 bytes
On Wed, 2 May 2012 23:08:05 -0400, tlvp wrote: > No idea, though, just where to find the .pdb or .prc for that these > days. I'm sure you've got it on a floppy disk somewhere in your house. ;-) -- Ted S. fedya at hughes dot net Now blogging at http://justacineast.blogspot.com
Re: HTML (XHTML) in netnews
Author: Ted S.
Date: Thu, 03 May 2012 11:59
Date: Thu, 03 May 2012 11:59
16 lines
2469 bytes
2469 bytes
On Wed, 2 May 2012 23:27:52 -0400, tlvp wrote: > Is it *that* that makes Dialog act at times as if it's dragging a sled > through molasses? I'll have to ... yup, seems to be! Good grief! Nice > thing then that Dialog lets one just scratch unwanted posts out :-) . Well, as you can tell by my headers, I'm using Hamster to get rid of that stuff. On the other hand, it's always nice to know it's not just my out-of-date computer with not enough memory that has the problem. -- Ted S. fedya at hughes dot net Now blogging at http://justacineast.blogspot.com
Re: HTML (XHTML) in netnews
Author: Anton Shepelev
Date: Thu, 03 May 2012 14:28
Date: Thu, 03 May 2012 14:28
116 lines
5939 bytes
5939 bytes
Ivan Shmakov,
I have too little time to give a fuller answer, so for now I
have commented on what's most interesting to me:
> For the second argument, I'd refer to Eric Raymond's
> "DocBook Demystification HOWTO":
>
> --cut: http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/intro.html --
> [Đ] The advocates of XML-based "structural markup" (as opposed to
> the older style of "presentation markup" exemplified by troff, Tex,
> and Texinfo) seem to have won the theoretical battle. [Đ]
> --cut: http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/intro.html --
I have looked into what that FAQ calls structural and
presentational markup, and I must say its author is plain
wrong about groff and (La)TeX, although he seems to be
correct about DocBook, probably because he knows it better:
As an example: In a presentation-markup language, if
you want to emphasize a word, you might instruct the
formatter to set it in boldface. In troff(1) this
would look like so:
All your base
.B are
belong to us!
In a structural-markup language, you would tell the
formatter to emphasize the word:
All your base <emphasis>are</emphasis> belong to us!
The "<emphasis>" and </emphasis>in the line above are
called markup tags, or just tags for short. They are
the instructions to your formatter.
In a structural-markup language, the physical
appearance of the final document would be controlled
by a stylesheet . It is the stylesheet that would tell
the formatter "render emphasis as a font change to
boldface". One advantage of structural-markup
languages is that by changing a stylesheet you can
globally change the presentation of the document (to
use different fonts, for example) without having to
hack all the the individual instances of (say) .B in
the document itself.
Both LaTeX, a macro package for TeX, and a majority of groff
macro packages are structured markup languages, in which a
document is defined in terms of its structure (title, TOC,
abstract, headers and subheaders, lists, references and
indexes...), while the "presentation" (i.e. the formatting)
of these structural elements depends upon the underlying
macro package, so one can reformat the same document just by
switching changing the implementation of a macro or swithing
to another macro package with a compatible interface.
Many packages for both *roff and TeX provide provide means
for deep customization of the "presentation", which can be
effected without changing the "structure" (i.e the
document's source). This is called separation of concerns.
Both TeX and roff are low-level typesetting languages that
are presentation-oriented, but they are used as basis for
high-level structured mark-up languages implemented in what
is called macro packages. Just open up any LaTeX tutorial
and you'll see structured mark-up at work:
http://tinyurl.com/7obyloe
(a PDF document)
(see section 2.1)
As for groff, see, for example, the documentation to the mom
macro package:
http://www.schaffter.ca/mom/mom-01.html
and especially this little section describing just what Eric
Raymond says groff and TeX can't do:
http://www.schaffter.ca/mom/mom-02.html#global
It is actually a feature that both LaTeX and groff are proud
of. I don't know whether it is due to ignorance or bad
intent that Eric Raynolds has published such disinformation.
The groff example I will explain in more detail.
All your base
.B are
belong to us!
The roff language has no .B request, but many of its macro
packages do have such a macro. The package implementor or
user may (re)define this macro however he wants, and even
may have several alternative definitions at the same time,
so that the active one will depend on the environment,
context, e.t.c. or explicitly specified in a macro call.
Similarly, you could define an .EMPH macro and use it just
as the author describes.
In other words, roughly:
-- roff and TeX correspond to the rendering engine and
interpreter
-- the interface of a macro package corresponds to a
structured markup language
-- the settings of a macro package correspond to a style
sheet.
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Re: HTML (XHTML) in netnews
Author: Anton Shepelev
Date: Thu, 03 May 2012 15:04
Date: Thu, 03 May 2012 15:04
25 lines
2820 bytes
2820 bytes
Shmuel (Seymour J.) Metz: > > By default, groff's utf8 device maps ASCII hyphen and > > apostrophe to their specific Unicode representations, > > No; the specific Unicode representation of ASCII '2D'x is > '002D'x and of '27'x is '0027'x. Translating them to. > e.g., Left Single Quote, Right Single Quote, Em Dash, En > Dash, Soft Hyphen involves guesses that will often be > wrong. It is true in the sense that Unicode is backwards compatible with ASCII, but in typography a hyphen and a minus are different symbols, just as ASCII 27 (hex) is not a real apostrophe. In order to make the usage of ASCII source files more convenient, groff defaults to mapping ASCII 27 to the apostrophe and ASCII 2D to hyphen, because the latter is generally more frequently accessed than the minus. The minus is accessed as \(mi. It is just a matter of optimization: make frequently used elements shorter in order to decrease the average word length. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: HTML (XHTML) in netnews
Author: Shmuel Metz
Date: Thu, 03 May 2012 16:57
Date: Thu, 03 May 2012 16:57
35 lines
3341 bytes
3341 bytes
In <20120503182848.b522c931809e08a984cc1962@g{oogle}mail.com>, on
05/03/2012
at 06:28 PM, Anton Shepelev <anton.txt@g{oogle}mail.com> said:
> In a structural-markup language, you would tell the
> formatter to emphasize the word:
> All your base <emphasis>are</emphasis> belong to us!
No; that's still marking up the text for presentation. With structural
markup you tag the text to indicate its semantics, e.g.,
":title.Return of the foo". That might cause emphasis, quoting or
something else. It might cause automatic indexing. It might do
something else. And it might do different things depending on the
context.
> In a structural-markup language, the physical
> appearance of the final document would be controlled
> by a stylesheet .
That's one posibility; there are others.
> -- the interface of a macro package corresponds to a
> structured markup language
Some macro packages are strictly presentational.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org
Re: HTML (XHTML) in netnews
Author: Shmuel Metz
Date: Thu, 03 May 2012 17:03
Date: Thu, 03 May 2012 17:03
27 lines
3235 bytes
3235 bytes
In <20120503190432.be6bc270f1de3a090a49a93c@g{oogle}mail.com>, on
05/03/2012
at 07:04 PM, Anton Shepelev <anton.txt@g{oogle}mail.com> said:
>It is true in the sense that Unicode is backwards compatible with
>ASCII, but in typography a hyphen and a minus are different
>symbols,
That's understood, but the issue is correct rendering of ASCII text.
>In order to make the usage of ASCII source files more convenient,
It stops being convenient the first time it guesses wrong. It may be
convenient for text written to be processed using that convention, but
it's definitely not convenient for text that uses the ASCII - as minus
signs or that uses the ASCII ' as both left and right apostrophes.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org
Fun with ambiguous ASCII characters (was: HTML (XHTML) in netnews)
Author: Adam H. Kerman
Date: Thu, 03 May 2012 19:50
Date: Thu, 03 May 2012 19:50
25 lines
2718 bytes
2718 bytes
Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:
>on 05/03/2012 at 07:04 PM, Anton Shepelev <anton.txt@g{oogle}mail.com> said:
>>It is true in the sense that Unicode is backwards compatible with
>>ASCII, but in typography a hyphen and a minus are different
>>symbols,
>That's understood, but the issue is correct rendering of ASCII text.
>>In order to make the usage of ASCII source files more convenient,
>It stops being convenient the first time it guesses wrong. It may be
>convenient for text written to be processed using that convention, but
>it's definitely not convenient for text that uses the ASCII - as minus
>signs or that uses the ASCII ' as both left and right apostrophes.
Uh, left and right apostrophe? The ASCII character also represents the
acute accent, as the teletypewriter would use it to overstrike the vowel.
It's open single quote and close single quote. Some fonts even use different
glyphs for apostrophe and close single quote.
btw, in typesetting, double quote isn't a single character as it is on
a typewriter. On ye olde Compugraphic phototypesetter terminal, I had to
type open and close quote twice for a double quote.
Re: GUI-based newsreaders
Author: tlvp
Date: Fri, 04 May 2012 02:11
Date: Fri, 04 May 2012 02:11
12 lines
2253 bytes
2253 bytes
On Thu, 3 May 2012 07:56:58 -0400, Ted S. wrote: > On Wed, 2 May 2012 23:08:05 -0400, tlvp wrote: > >> No idea, though, just where to find the .pdb or .prc for that these >> days. > > I'm sure you've got it on a floppy disk somewhere in your house. ;-) You've seen (been to) my house :-) ? -- Avant de repondre, jeter la poubelle, SVP. -- tlvp
Re: HTML (XHTML) in netnews
Author: Anton Shepelev
Date: Fri, 04 May 2012 09:10
Date: Fri, 04 May 2012 09:10
42 lines
3324 bytes
3324 bytes
Shmuel (Seymour J.) Metz:
> > It is true in the sense that Unicode is backwards
> > compatible with ASCII, but in typography a hyphen and a
> > minus are different symbols,
>
> That's understood, but the issue is correct rendering of
> ASCII text.
That has never been a problem, but conveniently accessing
more than 127 symbols from an ASCII source file has...
If you want correct ASCII, either use the ascii output
device, as opposed to utf8, or don't map ['] to singe right
quote and [-] to hyphen. Unicode source is another option.
> > In order to make the usage of ASCII source files more
> > convenient,
>
> It stops being convenient the first time it guesses wrong.
> It may be convenient for text written to be processed
> using that convention, but it's definitely not convenient
> for text that uses the ASCII - as minus signs or that uses
> the ASCII ' as both left and right apostrophes.
There's no guessing -- it's up to the author to choose how
he will access non-ASCII symbols. When quoting code in
paper-oriented documents, I use an environment without these
mappings, like:
Normal text with correct apostrophes, hyphends and minuses
.(VERBATIM
My code...
.)VERBATIM
Back to normal text.
You can map ASCII [-] to minus if you want, and even make it
for only specific environments.
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
*roff in netnews
Author: Ivan Shmakov
Date: Fri, 04 May 2012 09:31
Date: Fri, 04 May 2012 09:31
34 lines
2951 bytes
2951 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>>>>> Shmuel (Seymour J.) Metz:
[...]
>>> In order to make the usage of ASCII source files more convenient,
>> It stops being convenient the first time it guesses wrong. It may
>> be convenient for text written to be processed using that
>> convention, but it's definitely not convenient for text that uses
>> the ASCII - as minus signs or that uses the ASCII ' as both left and
>> right apostrophes.
> There's no guessing -- it's up to the author to choose how he will
> access non-ASCII symbols. When quoting code in paper-oriented
> documents, I use an environment without these mappings, like:
> Normal text with correct apostrophes, hyphends and minuses
> .(VERBATIM
> My code...
> .)VERBATIM
> Back to normal text.
Then, a similar environment should be used for quoting non-code
just as well, as it's unlikely that the author of the quote was
expecting such a substitution performed on his or her text.
> You can map ASCII [-] to minus if you want, and even make it for only
> specific environments.
On a second though, there're reasons /not/ to use this feature.
--
FSF associate member #7257
Re: Fun with ambiguous ASCII characters (was: HTML (XHTML) in netnews)
Author: Shmuel Metz
Date: Fri, 04 May 2012 10:23
Date: Fri, 04 May 2012 10:23
30 lines
3228 bytes
3228 bytes
In <jnuni7$brm$2@news.albasani.net>, on 05/03/2012 at 07:50 PM, "Adam H. Kerman" <ahk@chinet.com> said: >Uh, left and right apostrophe? Yes. Composing non-ASCII characters from multiple ASCII characters is a separate issue. >The ASCII character also represents the acute accent, Both ' and ` are used that way, along with ~ and ^, nut I haven't seen that done for decades. They are also used as dead keys or in conjunction with a compose keys to enter non-ASCII text, and that is very much still done. Then there's 0 BS / for Ă. >btw, in typesetting, double quote isn't a single character as it is >on a typewriter. "Give me ligatures or give me death!" (Patrick Henry) Of course, kerning works almost as well. -- Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel> Unsolicited bulk E-mail subject to legal action. I reserve the right to publicly post or ridicule any abusive E-mail. Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply to spamtrap@library.lspace.org
Re: HTML (XHTML) in netnews
Author: Shmuel Metz
Date: Fri, 04 May 2012 10:27
Date: Fri, 04 May 2012 10:27
17 lines
2752 bytes
2752 bytes
In <20120504131053.95d007f3881e461d72ea7540@g{oogle}mail.com>, on
05/04/2012
at 01:10 PM, Anton Shepelev <anton.txt@g{oogle}mail.com> said:
>There's no guessing
What happens when you quote ASCII text? Remember that the context is
using groff to compose news articles/
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org
Re: *roff in netnews
Author: Anton Shepelev
Date: Fri, 04 May 2012 11:23
Date: Fri, 04 May 2012 11:23
26 lines
2739 bytes
2739 bytes
Ivan Shmakov: > > Normal text with correct apostrophes, hyphends and minuses > > .(VERBATIM > > My code... > > .)VERBATIM > > Back to normal text. > > Then, a similar environment should be used for quoting > non-code just as well, as it's unlikely that the author of > the quote was expecting such a substitution performed on > his or her text. In e-mail and Usenet -- yes. In typography -- no. > > You can map ASCII [-] to minus if you want, and even > > make it for only specific environments. > > On a second though, there're reasons /not/ to use this > feature. OK, so in groff you'll say "5\(mi10-year-old". -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: *roff in netnews
Author: Ivan Shmakov
Date: Fri, 04 May 2012 11:59
Date: Fri, 04 May 2012 11:59
37 lines
3011 bytes
3011 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>>>>> Ivan Shmakov:
[Cross-posting to news:comp.text, for there's too much *roff.]
>>> Normal text with correct apostrophes, hyphends and minuses
>>> .(VERBATIM
>>> My code...
>>> .)VERBATIM
>>> Back to normal text.
>> Then, a similar environment should be used for quoting non-code just
>> as well, as it's unlikely that the author of the quote was expecting
>> such a substitution performed on his or her text.
> In e-mail and Usenet -- yes. In typography -- no.
The distinction should be /not/ typography vs. e-mail, but âI do
care to proofread all the quoted text for possible wrong
substitutionsâ vs. âI don't.â
(Occasionally, I'd replace typewriter-like "double quotes" with
âproper onesâ even in e-mail, for instance.)
>>> You can map ASCII [-] to minus if you want, and even make it for
>>> only specific environments.
>> On a second though, there're reasons /not/ to use this feature.
> OK, so in groff you'll say "5\(mi10-year-old".
I'd rather say 5\(en10-year-old for a proper EN DASH (U+2013),
which is /not/ the same as the MINUS SIGN (U+2212.)
--
FSF associate member #7257
Re: *roff in netnews
Author: Anton Shepelev
Date: Fri, 04 May 2012 13:26
Date: Fri, 04 May 2012 13:26
27 lines
2821 bytes
2821 bytes
Ivan Shmakov: > > In e-mail and Usenet -- yes. In typography -- no. > > The distinction should be /not/ typography vs. e-mail, but > "I do care to proofread all the quoted text for possible > wrong substitutions" vs. "I don't." > > (Occasionally, I'd replace typewriter-like "double quotes" > with "proper ones" even in e-mail, for instance.) Not so with me, because in electronic communication I _do_ prefer to use ASCII for everything except the characters of a foreign language. > > OK, so in groff you'll say "5\(mi10-year-old". > > I'd rather say 5\(en10-year-old for a proper EN DASH > (U+2013), which is /not/ the same as the MINUS SIGN > (U+2212.) Yes! -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: HTML (XHTML) in netnews
Author: Anton Shepelev
Date: Fri, 04 May 2012 13:29
Date: Fri, 04 May 2012 13:29
13 lines
2392 bytes
2392 bytes
Shmuel (Seymour J.) Metz: > > There's no guessing > > What happens when you quote ASCII text? Remember that the > context is using groff to compose news articles/ It depends on one's groff setup. With my current one, no character translations occur, but the text is reflowed. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: Fun with ambiguous ASCII characters (was: HTML (XHTML) in netnews)
Author: Anton Shepelev
Date: Fri, 04 May 2012 13:31
Date: Fri, 04 May 2012 13:31
12 lines
1933 bytes
1933 bytes
Shmuel (Seymour J.) Metz > "Give me ligatures or give me death!" (Patrick Henry) > > Of course, kerning works almost as well. Indeed, and we have Gargoyle -- a text adventure engine which supports both. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: HTML (XHTML) in netnews
Author: Anton Shepelev
Date: Fri, 04 May 2012 13:44
Date: Fri, 04 May 2012 13:44
43 lines
3085 bytes
3085 bytes
Shmuel (Seymour J.) Metz: > Eric Raymond's DocBook into: > > > In a structural-markup language, you would tell the > > formatter to emphasize the word: > > All your base <emphasis>are</emphasis> belong to us! > > No; that's still marking up the text for presentation. > With structural markup you tag the text to indicate its > semantics, e.g., ":title.Return of the foo". That might > cause emphasis, quoting or something else. It might cause > automatic indexing. It might do something else. And it > might do different things depending on the context. I think you are nitpicking here, because the tag <emphasis> may be endowed with any meaning by means of a style sheet. Similarly you could have a <title> tag. > Eric Raymond's DocBook into: > > > In a structural-markup language, the physical appearance > > of the final document would be controlled by a > > stylesheet . > > That's one posibility; there are others. Agree. > Anton Shepelev: > > > the interface of a macro package corresponds to a > > structured markup language > > Some macro packages are strictly presentational. Yes. Structural mark-up is an abstraction from the lower- level presentational mark-up. For example, TeX is presentational and LaTeX is strutural. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: *roff in netnews
Author: Ivan Shmakov
Date: Fri, 04 May 2012 13:59
Date: Fri, 04 May 2012 13:59
44 lines
3524 bytes
3524 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>>>>> Ivan Shmakov:
>>> In e-mail and Usenet -- yes. In typography -- no.
>> The distinction should be /not/ typography vs. e-mail, but "I do
>> care to proofread all the quoted text for possible wrong
>> substitutions" vs. "I don't."
>> (Occasionally, I'd replace typewriter-like "double quotes" with
>> "proper ones" even in e-mail, for instance.)
> Not so with me,
I see. You do it the other way around.
> because in electronic communication I _do_ prefer to use ASCII for
> everything except the characters of a foreign language.
The only problem I see with using full Unicode these days is
that it has a plenty of characters which aren't that easy to
discern from one another, /especially/ when using a fixed-width
font. That's why I'd prefer to spell EN DASH as – (or
\[en], etc.), and it's also why I think that "ASCII to Unicode"
substitutions are flawed (be it *roff's - to HYPHEN, LaTeX's ---
to EM DASH, or the "smart quotes" feature, as implemented in the
contemporary office productivity suites.)
I make an exception for national language characters that look
similar to the ASCII ones, mainly because they tend to occur in
sequences, but also because one of my preferred fixed-width
fonts, koi8b-8x16, actually has /distinct/ shapes for the
similar looking Latin and Cyrillic glyphs.
However, this whole issue of Unicode characters'
indistinguishability would be solved with the adoption of HTML
for e-mail and netnews. And for me, it's one more reason to
support it.
[...]
--
FSF associate member #7257
presentational vs. structural markup
Author: Ivan Shmakov
Date: Fri, 04 May 2012 14:21
Date: Fri, 04 May 2012 14:21
64 lines
3942 bytes
3942 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>>>>> Shmuel (Seymour J.) Metz:
[Cross-posting to news:comp.text, and dropping news:news.misc
from Followup-To:.]
>> Eric Raymond's DocBook into:
>>> In a structural-markup language, you would tell the formatter to
>>> emphasize the word:
>>> All your base <emphasis>are</emphasis> belong to us!
>> No; that's still marking up the text for presentation. With
>> structural markup you tag the text to indicate its semantics, e. g.,
>> ":title.Return of the foo". That might cause emphasis, quoting or
>> something else. It might cause automatic indexing. It might do
>> something else. And it might do different things depending on the
>> context.
> I think you are nitpicking here, because the tag <emphasis> may be
> endowed with any meaning by means of a style sheet. Similarly you
> could have a <title> tag.
There's one more issue with the TeX approach, which is not as
much of structural vs. presentational kind, as it's of code
vs. data one.
Namely, while it's possible to parse DocBook, documents in
TeX-based markup are essentially /unparsable/. For instance,
while it's possible to extract all the section headings from a
DocBook document, it's impossible to do so, in general, for a
LaTeX one, as the LaTeX document in question can introduce its
own commands all along the way. Consider, e. g.:
\let \sec=\section
The same applies to *roff, and it's precisely the reason that
various *roff "viewers" have to either rely on an implementation
of the language (such as GNU Troff), or support only a
particular macro package (as in the case of Emacs' M-x woman.)
On the contrary, the software working with DocBook documents
doesn't have to rely upon, say, the DocBook XSL stylesheets.
[...]
>>> the interface of a macro package corresponds to a structured markup
>>> language
>> Some macro packages are strictly presentational.
> Yes. Structural mark-up is an abstraction from the lower-level
> presentational mark-up. For example, TeX is presentational and LaTeX
> is strutural.
Actually, LaTeX is structural, plain TeX is presentational, and
TeX is the macro processing language in which both of them are
implemented (as are, e. g., ConTeXt and certain GNU Texinfo
"conversions.")
--
FSF associate member #7257
Re: presentational vs. structural markup
Author: Anton Shepelev
Date: Fri, 04 May 2012 14:52
Date: Fri, 04 May 2012 14:52
54 lines
3730 bytes
3730 bytes
Ivan Shmakov: > [Cross-posting to news:comp.text, and dropping > news:news.misc from Followup-To:.] What's the reason to have different Newsgroups and Followup-To headers? Isn't it logical to reply to the same groups to which the article was posted? > There's one more issue with the TeX approach, which is not > as much of structural vs. presentational kind, as it's of > code vs. data one. > > Namely, while it's possible to parse DocBook, documents in > TeX-based markup are essentially /unparsable/. For > instance, while it's possible to extract all the section > headings from a DocBook document, it's impossible to do > so, in general, for a LaTeX one, as the LaTeX document in > question can introduce its own commands all along the way. > Consider, e. g.: > > \let \sec=\section > > The same applies to *roff, and it's precisely the reason > that various *roff "viewers" have to either rely on an > implementation of the language (such as GNU Troff), or > support only a particular macro package (as in the case of > Emacs' M-x woman.) > > On the contrary, the software working with DocBook > documents doesn't have to rely upon, say, the DocBook XSL > stylesheets. Yes, because DocBook has a fixed convention for each structural element, while macro packages invent their own ones. In this sense, a document written using a macro package, which is well-designed and properly used, is no less parseable than DocBook. > > Yes. Structural mark-up is an abstraction from the > > lower-level presentational mark-up. For example, TeX is > > presentational and LaTeX is strutural. > > Actually, LaTeX is structural, plain TeX is > presentational, and TeX is the macro processing language > in which both of them are implemented (as are, e. g., > ConTeXt and certain GNU Texinfo "conversions.") That's what I said... -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: Fun with ambiguous ASCII characters
Author: Adam H. Kerman
Date: Fri, 04 May 2012 20:11
Date: Fri, 04 May 2012 20:11
33 lines
2716 bytes
2716 bytes
Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote: >on 05/03/2012 at 07:50 PM, "Adam H. Kerman" <ahk@chinet.com> said: >>Uh, left and right apostrophe? >Yes. No, there's no such thing as left and right apostrophes. There's just apostrophe. You are confusing it with open and close quote. I corrected you already, but you snipped the quote. Yes, if the font doesn't include a separate glyph (which it might), the same glyph is used for apostrophe and close quote. >Composing non-ASCII characters from multiple ASCII characters is >a separate issue. Analysis of the document is required to know which character to substitute for an ambiguous ASCII character. The ASCII character's use must be examined in context. Huh, the irony. Context isn't a concept you appreciate in practice given how often you deliberately excise context when quoting in followup. >>btw, in typesetting, double quote isn't a single character as it is >>on a typewriter. >"Give me ligatures or give me death!" (Patrick Henry) Right. Double quote can be thought of as a ligature. >Of course, kerning works almost as well. It's been a long time, but I don't recall that the phototypesetter kerned open and close quote. The two characters simply used minimal horizontal space.
Re: Fun with ambiguous ASCII characters
Author: tlvp
Date: Fri, 04 May 2012 23:42
Date: Fri, 04 May 2012 23:42
21 lines
2302 bytes
2302 bytes
On Fri, 04 May 2012 06:23:47 -0400, Shmuel Metz wrote: > In <jnuni7$brm$2@news.albasani.net>, on 05/03/2012 > at 07:50 PM, "Adam H. Kerman" <ahk@chinet.com> said: > >>Uh, left and right apostrophe? > > Yes. Composing non-ASCII characters from multiple ASCII characters is > a separate issue. > >>The ASCII character ' also represents the acute accent, > > Both ' and ` are used that way, along with ~ and ^, Among my colleagues only ' (of those four) is ever used for acute accent. The ` is for grave accent, the ~ for tilde, and the ^ for circumflex -- none of the last three had *ever* better be used for the acute accent. Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Fun with ambiguous ASCII characters
Author: Gene E. Bloch
Date: Fri, 04 May 2012 23:49
Date: Fri, 04 May 2012 23:49
28 lines
2206 bytes
2206 bytes
On Fri, 4 May 2012 19:42:50 -0400, tlvp wrote: > On Fri, 04 May 2012 06:23:47 -0400, Shmuel Metz wrote: > >> In <jnuni7$brm$2@news.albasani.net>, on 05/03/2012 >> at 07:50 PM, "Adam H. Kerman" <ahk@chinet.com> said: >> >>>Uh, left and right apostrophe? >> >> Yes. Composing non-ASCII characters from multiple ASCII characters is >> a separate issue. >> >>>The ASCII character ' also represents the acute accent, >> >> Both ' and ` are used that way, along with ~ and ^, > > Among my colleagues only ' (of those four) is ever used for acute accent. > The ` is for grave accent, the ~ for tilde, and the ^ for circumflex -- > none of the last three had *ever* better be used for the acute accent. > > Cheers, -- tlvp Misparsed... He was talking about making accented characters. -- Gene E. Bloch (Stumbling Bloch)
Re: presentational vs. structural markup
Author: tlvp
Date: Fri, 04 May 2012 23:54
Date: Fri, 04 May 2012 23:54
18 lines
2282 bytes
2282 bytes
On Fri, 4 May 2012 18:52:26 +0400, Anton Shepelev wrote: > Ivan Shmakov: > >> [Cross-posting to news:comp.text, and dropping >> news:news.misc from Followup-To:.] > > What's the reason to have different Newsgroups and > Followup-To headers? Isn't it logical to reply to the same > groups to which the article was posted? Not necessarily. If replying to the Relf, for example, I might well prefer to set Followup-To: dev/null :-) . Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Followup-To: not equal to Newsgroups:
Author: Ivan Shmakov
Date: Sat, 05 May 2012 03:17
Date: Sat, 05 May 2012 03:17
32 lines
2844 bytes
2844 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>>>>> Ivan Shmakov:
>> [Cross-posting to news:comp.text, and dropping
>> news:news.misc from Followup-To:.]
> What's the reason to have different Newsgroups and Followup-To
> headers? Isn't it logical to reply to the same groups to which the
> article was posted?
When the discussion has drift away sufficiently from the
original topic, it may be necessary to direct it into a
different newsgroup, or a set of them. Then, it's customary to
post the followup preserving Newsgroups:, while also setting
Followup-To: (and announcing so), so that the next followup will
be directed to the now-appropriate newsgroups.
For instance, this very question doesn't belong to
news:comp.text, so I've dropped it from Followup-To: (and hereby
announcing so.) Thus, the next followup to this thread is
likely to be posted to news:news.software.readers only.
The reason for preserving Newsgroups: is that NNTP doesn't allow
one to follow a /thread/ (or a /person/, BTW), so it's necessary
to warn the readers of the thread of the pending Newsgroups:
change, to give them chance to adjust their subscriptions.
[...]
--
FSF associate member #7257
Re: Fun with ambiguous ASCII characters
Author: tlvp
Date: Sat, 05 May 2012 06:17
Date: Sat, 05 May 2012 06:17
35 lines
2665 bytes
2665 bytes
On Fri, 4 May 2012 16:49:46 -0700, Gene E. Bloch wrote: > On Fri, 4 May 2012 19:42:50 -0400, tlvp wrote: > >> On Fri, 04 May 2012 06:23:47 -0400, Shmuel Metz wrote: >> >>> In <jnuni7$brm$2@news.albasani.net>, on 05/03/2012 >>> at 07:50 PM, "Adam H. Kerman" <ahk@chinet.com> said: >>> >>>>Uh, left and right apostrophe? >>> >>> Yes. Composing non-ASCII characters from multiple ASCII characters is >>> a separate issue. >>> >>>>The ASCII character ' also represents the acute accent, >>> >>> Both ' and ` are used that way, along with ~ and ^, >> >> Among my colleagues only ' (of those four) is ever used for acute accent. >> The ` is for grave accent, the ~ for tilde, and the ^ for circumflex -- >> none of the last three had *ever* better be used for the acute accent. >> >> Cheers, -- tlvp > > Misparsed... > > He was talking about making accented characters. Ah-hah! Shmuel's over-enthusiastic trimming claims yet another victim :-) . Thanks for clarifying what he *really* meant. Rather harder for me than grokking his unintentional 'nut', though :-) . Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: HTML (XHTML) in netnews
Author: Anton Shepelev
Date: Sat, 05 May 2012 08:41
Date: Sat, 05 May 2012 08:41
39 lines
3411 bytes
3411 bytes
[cross-posting to news.misc] Ivan Shmakov: > > What's the reason to have different Newsgroups and > > Followup-To headers? Isn't it logical to reply to the > > same groups to which the article was posted? > > When the discussion has drift away sufficiently from the > original topic, it may be necessary to direct it into a > different newsgroup, or a set of them. Then, it's > customary to post the followup preserving Newsgroups:, > while also setting Followup-To: (and announcing so), so > that the next followup will be directed to the now- > appropriate newsgroups. > > [...] > > The reason for preserving Newsgroups: is that NNTP doesn't > allow one to follow a /thread/ (or a /person/, BTW), so > it's necessary to warn the readers of the thread of the > pending Newsgroups: change, to give them chance to adjust > their subscriptions. Thank you for the explanation, Ivan. You mentioned the lack of support for following threads/authors, and I think it can be done on the client side, and Pegasus and Dialog seem to have a "thread watch" function working at least within a newsgroup. Coupled with the lack of HTML, doesn't it make Usenet a medium obsolette beyond amendment in your opinion? And will the apporpriate updates not turn it into yet another heavy and bloated web forum, sans the distributed architecture? That's my another point against such innovations. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
on Internet fora
Author: Ivan Shmakov
Date: Sat, 05 May 2012 15:02
Date: Sat, 05 May 2012 15:02
63 lines
4313 bytes
4313 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
>>>>> Ivan Shmakov:
>>> What's the reason to have different Newsgroups and Followup-To
>>> headers? Isn't it logical to reply to the same groups to which the
>>> article was posted?
>> When the discussion has drift away sufficiently from the original
>> topic, it may be necessary to direct it into a different newsgroup,
>> or a set of them. Then, it's customary to post the followup
>> preserving Newsgroups:, while also setting Followup-To: (and
>> announcing so), so that the next followup will be directed to the
>> now-appropriate newsgroups.
>> The reason for preserving Newsgroups: is that NNTP doesn't allow one
>> to follow a /thread/ (or a /person/, BTW), so it's necessary to warn
>> the readers of the thread of the pending Newsgroups: change, to give
>> them chance to adjust their subscriptions.
> Thank you for the explanation, Ivan.
> You mentioned the lack of support for following threads/authors, and
> I think it can be done on the client side, and Pegasus and Dialog
> seem to have a "thread watch" function working at least within a
> newsgroup.
And that's precisely why the aforementioned "Followup-To: is a
subset of Newsgroups:" hack is necessary.
Trying to apply such a feature across all the newsgroups within
a news server that has a decent feed is likely to induce a
considerable load on the latter, which, in turn, may result on a
permanent ban for an unlucky offender, at least should he or she
try it on a free-of-charge news service.
> Coupled with the lack of HTML, doesn't it make Usenet a medium
> obsolette beyond amendment in your opinion?
Who am I to talk about obsolescence? (May I remind you that I
still use VGA text modes for the most of my time at a terminal?)
But, yes, it makes Usenet less convenient that it might be.
That being said, it's not the technology that's of the utmost to
me. It's the community that is.
(And, BTW, I'm not concerned with the choice of the markup
language, either, as long as it allows me to reflow the
formatted text while leaving the "pre-formatted" one alone, has
a registered MIME type, and a sheer variety of processing tools.
But I seem to contradict myself.)
> And will the apporpriate updates not turn it into yet another heavy
> and bloated web forum, sans the distributed architecture?
I'm sure they won't. Why should them?
> That's my another point against such innovations.
Care to share on which innovations you'd likely welcome?
--
FSF associate member #7257
including text verbatim in GNU Troff?
Author: Ivan Shmakov
Date: Sat, 05 May 2012 15:18
Date: Sat, 05 May 2012 15:18
37 lines
2755 bytes
2755 bytes
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> writes:
[Cross-posting to news:comp.text and dropping news:news.misc and
news:news.software.readers from Followup-To:, for the question
has little or no relation to the netnews technology whatsover.]
[...]
> When quoting code in paper-oriented documents, I use an environment
> without these mappings, like:
> Normal text with correct apostrophes, hyphends and minuses
> .(VERBATIM
> My code...
> .)VERBATIM
> Back to normal text.
What macro package defines this one, BTW? All that I've found
so far are the -mm's (as bundled with GNU Troff 1.20.1) .VERBON
and .VERBOFF macros.
PS. Is there a macro similar to LaTeX's \today for GNU Troff? Or,
actually, I'd be more interested in an ISO 8601-based version,
akin to the following \todayiso one for LaTeX.
\newcommand \twodigits [1] {%
\ifnum #1<10 0\fi
\number #1}
\newcommand \todayiso {%
\number \year-\twodigits \month-\twodigits \day}
[...]
--
FSF associate member #7257
Re: including text verbatim in GNU Troff?
Author: Adam H. Kerman
Date: Sat, 05 May 2012 16:09
Date: Sat, 05 May 2012 16:09
18 lines
2338 bytes
2338 bytes
Ivan Shmakov <oneingray@gmail.com> wrote: > [Cross-posting to news:comp.text and dropping news:news.misc and > news:news.software.readers from Followup-To:, for the question > has little or no relation to the netnews technology whatsover.] No, I'm not crossposting to comp.text. Allow me to spell out the criticism of this little stunt. Followup-To is an instruction to a different author posting a followup, not you. Adding this header doesn't make your article on topic in every newsgroup you crossposed it to. If you actually believe that your article is off topic in some of the groups you're crossposting it in, then cut those groups from the crosspost. It's actually kind of shitty to drop all of the original groups from the crosspost to direct a conversation into a group that hadn't participated in it at all. I'd even call this trollish behavior.
presentational vs. structural markup
Author: Ivan Shmakov
Date: Sat, 05 May 2012 16:18
Date: Sat, 05 May 2012 16:18
47 lines
2887 bytes
2887 bytes
>>>>> Shmuel (Seymour J ) Metz <spamtrap@library.lspace.org.invalid> writes:
>>>>> Anton Shepelev <anton.txt@g{oogle}mail.com> said:
[Cross-posting to news:comp.text and dropping news:news.misc
from Followup-To:.]
>> Eric Raymond's DocBook Demystification HOWTO:
>>> In a structural-markup language, you would tell the formatter to
>>> emphasize the word:
>>> All your base <emphasis>are</emphasis> belong to us!
> No; that's still marking up the text for presentation.
Yes, somewhat.
--cut: http://docbook.org/tdg5/en/html/emphasis.html --
An emphasis is often used wherever its typographic presentation is
desired, even when other markup might theoretically be more
appropriate.
--cut: http://docbook.org/tdg5/en/html/emphasis.html --
I tend to think of <emphasis /> also as of a "I know that this
fragment of text stands out semantically, but I can't find a
suitable element for it right now" element.
[...]
>> In a structural-markup language, the physical appearance of the
>> final document would be controlled by a stylesheet.
> That's one posibility; there are others.
For instance?
>> -- the interface of a macro package corresponds to a structured
>> markup language
> Some macro packages are strictly presentational.
E. g., most of the LaTeX packages that provide additional
glyphs.
--
FSF associate member #7257
Followup-To:
Author: Ivan Shmakov
Date: Sat, 05 May 2012 16:24
Date: Sat, 05 May 2012 16:24
31 lines
2440 bytes
2440 bytes
>>>>> Adam H Kerman <ahk@chinet.com> writes: >>>>> Ivan Shmakov <oneingray@gmail.com> wrote: >> [Cross-posting to news:comp.text and dropping news:news.misc and >> news:news.software.readers from Followup-To:, for the question has >> little or no relation to the netnews technology whatsover.] > No, I'm not crossposting to comp.text. > Allow me to spell out the criticism of this little stunt. > Followup-To is an instruction to a different author posting a > followup, not you. May I note that it's a suggestion, and not an order? > Adding this header doesn't make your article on topic in every > newsgroup you crossposed it to. If you actually believe that your > article is off topic in some of the groups you're crossposting it in, > then cut those groups from the crosspost. > It's actually kind of shitty to drop all of the original groups from > the crosspost to direct a conversation into a group that hadn't > participated in it at all. I'd even call this trollish behavior. I'm pretty sure that such a vile behavior should've been mentioned in a netiquette guide of some sort. Care to share a link? -- FSF associate member #7257
Page 3 of 4 ⢠183 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads