On 5/19/12 5:47 PM, Beauregard T. Shagnasty wrote: > David E. Ross wrote: > >> I do not see this problem when I go to the SeaMonkey menu bar and select >> [View > Page Source]. Then it seems that all entity references remain >> untranslated. > > Then that should be the way you get your copy. > > What are you using for an editor (which could also affect what is > happening)? Why don't you get the copy from the editor instead of a > viewed page? Seems backwards to me to do it your way. :-/ >
I hand-code my HTML and CSS using Wordpad. Part of my Web site is a diary of my gardening activities. Even if no one else is really interested, I find it handy. When I mention a plant, I include its botanical name because the same common name can apply to quite different plants. A lime tree can be Citrus aurantifolia (or other Citrus species) or it can be Tilia cordata (or other Tilia species), Citrus and Tilia being two completely unrelated genera. Also different common names can apply to the same plant. Thrift and sea pink are both Ameria maritima. Botanical names are generally written in Italics. So when I make an entry in the diary for May about a plant previously cited in January, I bring up the January page, mark the name -- common and botanical -- and select View Selection Source on the pull-down context menu. The source -- with markup to put the botanical name in Italics -- is thus already marked for copying. A problem arises when I want to copy the botanical name of a hybrid. 'Goodwin Creek Grey' lavender is a cross between wooly and French lavender, between Lavandula lanata and Lavandula dentata. This is written as Lavandula lanata × dentata, with the × coded in HTML as ×. However, View Selection Source on the pull-down context menu shows × while Page Source from the View menu shows the entity reference. On the other hand, both displays show the entity references for and &. If I were merely to copy from the Web page, I would not get the markup for the botanical name in italics or any entity references. I would not display the entire source from the Web page because I already have the source readily available; but if I were to display the HTML file from my hard drive, I would have to do a search for the term and mark it before copying. The issues are (1) that View Selection Source from the pull-down context menu is inconsistent with Page Source from the View menu and (2) View Selection Source from the pull-down context menu is internally inconsistent by translating some entity references but not translating others. -- David E. Ross <http://www.rossde.com/>. Anyone who thinks government owns a monopoly on inefficient, obstructive bureaucracy has obviously never worked for a large corporation. © 1997 by David E. Ross _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

