From MAILER-DAEMON Tue May 01 11:44:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPFFS-0005Zb-DC
	for mharc-groff@gnu.org; Tue, 01 May 2012 11:44:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37087)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SPFFQ-0005YR-06
	for groff@gnu.org; Tue, 01 May 2012 11:44:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SPFFO-00058L-AL
	for groff@gnu.org; Tue, 01 May 2012 11:44:15 -0400
Received: from avasout08.plus.net ([212.159.14.20]:57337)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SPFFN-00055P-Vx
	for groff@gnu.org; Tue, 01 May 2012 11:44:14 -0400
Received: from dell-desktop.example.com ([84.92.111.67]) by avasout08 with smtp
	id 4fkB1j0031THptQ01fkC1Q; Tue, 01 May 2012 16:44:12 +0100
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.0 cv=I8Dntacg c=1 sm=1 a=zahYBDPRSX6fECX55ANGMA==:17
	a=ihvODaAuJD4A:10 a=kj9zAlcOel0A:10 a=MrESbKllAAAA:8
	a=Bc_L9c29oosF1BS6d3YA:9
	a=CjuIK1q_8ugA:10 a=zahYBDPRSX6fECX55ANGMA==:117
Date: Tue, 1 May 2012 16:43:52 +0100
From: "Denis M. Wilson" <dmw@oxytropis.plus.com>
To: groff@gnu.org
Message-ID: <20120501164352.6921023b@dell-desktop.example.com>
X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 212.159.14.20
Subject: [Groff] Long standing bug in grog
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 01 May 2012 15:44:17 -0000

I regard the following behaviour of grog, which has been there
from the beginning, to be wrong:

On the input files
a.n:
.EQ
.so /dev/null
.EN

b.n:
.so a.n

the following commands give the indicated results:
grog a.n: groff a.n     [missing -se]
grog b.n: groff b.n     [missing -se]

With the shell version of grog the results are:
grog a.n: groff -e a.   [missing -s]
grog b.n: groff -se b.n [correct]

Do people agree?  I find it a nuisance as I frequently generate the
contents of tables and other things by an external means.

I've sent a simple patch of the shell version.

Denis





-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


From MAILER-DAEMON Tue May 01 15:13:05 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPIVV-00058H-QZ
	for mharc-groff@gnu.org; Tue, 01 May 2012 15:13:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34555)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=1V+Q0p=DF=schaffter.ca=peter@eigbox.net>)
	id 1SPIVR-00056S-Fv
	for groff@gnu.org; Tue, 01 May 2012 15:13:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=1V+Q0p=DF=schaffter.ca=peter@eigbox.net>)
	id 1SPIVO-0005EQ-Fh
	for groff@gnu.org; Tue, 01 May 2012 15:13:01 -0400
Received: from bosmailout02.eigbox.net ([66.96.185.2]:35623)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=1V+Q0p=DF=schaffter.ca=peter@eigbox.net>)
	id 1SPIVO-0005EA-BC
	for groff@gnu.org; Tue, 01 May 2012 15:12:58 -0400
Received: from bosmailscan02.eigbox.net ([10.20.15.2])
	by bosmailout02.eigbox.net with esmtp (Exim) id 1SPIVM-0007ot-1O
	for groff@gnu.org; Tue, 01 May 2012 15:12:56 -0400
Received: from bosimpout01.eigbox.net ([10.20.55.1])
	by bosmailscan02.eigbox.net with esmtp (Exim) id 1SPIVL-0003cw-FK
	for groff@gnu.org; Tue, 01 May 2012 15:12:55 -0400
Received: from bosauthsmtp12.eigbox.net ([10.20.18.12])
	by bosimpout01.eigbox.net with NO UCE
	id 4jCv1j00A0FdZ9W01jCvQn; Tue, 01 May 2012 15:12:55 -0400
X-Authority-Analysis: v=2.0 cv=eq1oOPVX c=1 sm=1
	a=dMHj/cTXczL8SHbFQyzcVA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=Lm35ZGovu94A:10 a=d-Ega9QjyLEA:10 a=g_SW5-S5AAAA:8
	a=HXh0z72NuGyKiTeprQwA:9
	a=CjuIK1q_8ugA:10 a=E4xZKe_ZHJY_znK_9wQA:9 a=E_wXncp6Rb6B62vo9YAA:7
	a=wx0GOVZTcu8EuaXTIXj3VQ==:117
X-EN-OrigOutIP: 10.20.18.12
X-EN-IMPSID: 4jCv1j00A0FdZ9W01jCvQn
Received: from bas1-ottawa09-2925287095.dsl.bell.ca ([174.92.86.183]
	helo=augustus)
	by bosauthsmtp12.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SPIVL-0001xI-AW
	for groff@gnu.org; Tue, 01 May 2012 15:12:55 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SPIVJ-0000xK-Dw
	for groff@gnu.org; Tue, 01 May 2012 15:12:53 -0400
Date: Tue, 1 May 2012 15:12:53 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120501191253.GA3633@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <20120425154121.040037e9@dell-desktop.example.com>
	<20120425173037.GA3742@augustus>
	<20120430180243.35d6a182@dell-desktop.example.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="huq684BweRXVnRxX"
Content-Disposition: inline
In-Reply-To: <20120430180243.35d6a182@dell-desktop.example.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.86.183
X-EN-OrigHost: bas1-ottawa09-2925287095.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.185.2
Subject: Re: [Groff] [GROFF] OpenType fonts
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 01 May 2012 19:13:03 -0000


--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Apr 30, 2012, Denis M. Wilson wrote:
> 
> On Wed, 25 Apr 2012 13:30:38 -0400
> Peter Schaffter <peter@schaffter.ca> wrote:
> 
> > This works for me:
> > 
> > - use fontforge to convert the .otf to .t42 and .pfa (which
> >   generates an .afm)
> > - use the .afm, with afmtodit, to generate a groff font
> > - move the .t42 and groff font to your groff font dir (I use
> >   site-font/devps so my fonts survive across groff installations)
> > - add the font to your 'download' file
> > 
> 
> Peter, thanks for that. It works fine, although laborious.

Attached is a bash script, install-font, that automates the process.
I'll eventually be making it available on the mom website, so please
test.

> There are still problems, such as the smallcaps names are a.sc etc,
> and ligatures are given unicode names so afmtodit does not recognise
> them.

Of the various freely-available font conversion utilities, fontforge
seems the least error prone; however, it does occasionally entail
the problems you mention.  Does anyone know of a utility that
circumvents them?
 
> By doing the translation I may be violating the license.

Not much one can do about that, except rely on the honour system.

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=install-font

#!/bin/bash

set -e

ROOT_UID=0
OPTERR=1

loc_or_sysdir=/usr/local/share/groff  # make this default
version=`groff -v | tail -1 | sed -e 's/[[:print:]]* \([0-9.]*\)$/\1/'`

trap interrupt SIGINT

shopt -s expand_aliases 

alias cp='cp -f'                      # -p flag for interactive
alias ln='ln -f'
alias mv='mv -f'

show_usage()
{
printf \
"Usage: install-font [-lscpdD] \
[-C \033[4mdir\033[0m] \
[-F \033[4mfamily\033[0m] \
[-f \033[4mgroff fontname\033[0m] | +\033[4mSTYLE\033[0m] file ...\n\
Longer help: install-font -H (pipe through 'less' or 'more')\n"
}

long_help()
{
  printf <<EOF \
"USAGE:

    install-font [-hHlscp] [-C \033[4mdir\033[0m] [-F \033[4mfamily\033[0m]] \
[-f \033[4mgroff fontname\033[0m]] file1 file2 ...

DESCRIPTION:

    A utility to make TrueType (.ttf), OpenType (.otf), and
    PostScript Type1 (.pfa, .pfb) fonts available for use with
    groff.

    With no options, for every file named on the command line,
    \033[4minstall-font\033[0m prompts for

      - a family name
      - a groff fontname
      - whether to make the font available to gropdf
      - whether to copy the input file(s) to a system-wide location

    \033[4minstall-font\033[0m calls fontforge to convert TrueType and OpenType
    fonts to PostScript Type42 (.t42) and Type1 (.pfa), from which
    a groff font is generated.  The .t42 and groff fonts are moved
    to site-font/devps/ and registered in the 'download' file.  If
    the font is to be available to gropdf, the .pfa is moved to
    font/devpdf/ and registered in the 'download' file.  A symlink
    is made to the groff font in site-font/devps.

    PostScript fonts are converted to .pfa, even those with a .pfa
    extension.  The generated .pfa has a filename derived from the
    font's PostScript name.  This is helpful in the case of fonts with
    cryptic names like 'bchri8a.pfa', which becomes 'CharterBT-Italic.pfa'.
    In all cases, the original file is preserved with its original
    name in the directory from which the font is being installed.
    
    The .pfa and groff fonts are moved to site-font/devps/ and
    registered in the 'download' file.  If the font is to be
    available to gropdf, symlinks are made in font/devpdf/ to both
    the .pfa and the groff font.  The .pfa is registered in the
    'download' file.

OPTIONS

    Options not requiring an argument may be grouped.

    -h  Short help.

    -H  Long help.

    -l  Assume prefix /usr/local/ for all directories. (default)

    -s  Assume prefix /usr/ for all directories.

    -c  Copy file(s) named on the command line to a system-accessible
        location.  If neither -s nor -C is given, copy to the family
        directory (see -F) under /usr/local/share/fonts/<fonttype>/,
        where <fonttype> is one of 'truetype', 'type1', or 'opentype'.
        If -s is given, copy to the family directory located under
        /usr/share/fonts/<fonttype>/.

        If neither -c nor -C is given, a prompt asks whether to copy
        the file(s) named on the command line.

    -d  Make font available to gropdf.

    -D  Do not make font available to gropdf.

    -p  Ask before overwriting or linking files.  Default is to
        overwrite without asking.

    -C  \033[4mdir\033[0m
        Copy file(s) named on the command line to the family directory
        (see -F) in \033[4mdir\033[0m.

    -F  \033[4mfamily\033[0m
        Family to which the font belongs.  Creates a family for the
        groff font, which can then be accessed by calls to .fam or
        .FAMILY (mom macros).  Also creates a family directory for
        fonts being made available system-wide (see -c and -C).

        -F is useful for batch processing fonts that belong to the
        same family.  Use with care, since all files named on the
        command line will be assigned to \033[4mfamily\033[0m.

        If -F is not given, a prompt asks for the family name.

    -f  \033[4mname\033[0m or +\033[4mSTYLE\033[0m 
        Name by which to access the font with calls to .ft or
        .FT (mom macros).  \033[4mname\033[0m may be arbitrary, or a '+' sign
        prefixed to an uppercase fontstyle recognized by groff,
        e.g. +R, +I, +B, +BDI, which respectively stand for regular,
        italic, bold, and bold italic.  The mom macros provide
        additional styles, which may also be used.
        
        +\033[4mSTYLE\033[0m is affixed to the family name to arrive at the
        groff fontname.

            install-font -F Garamond -f +R <file>

        creates font GaramondR, which can be accessed by

            .fam Garamond
            .ft  R

        or

            .ft GaramondR
        
        -f is not compatible with batch processing.  \033[4minstall-font\033[0m
        will abort if the -f option is given and multiple files are
        named on the command line.

        If -f is not given, a prompt asks for the font name.
"
EOF
}

case $1 in
  -h | "")
    show_usage
    exit 0
  ;;
  -H)
    long_help
    exit 0
  ;;
esac

# need write access to /usr/ and /usr/local/

if [ "$UID" -ne "$ROOT_UID" ] ; then
  scriptname=`basename $0`
  printf \
"Superuser priviledges required.\nRerun as \
'\033[33msudo ${scriptname} \033[4margs\033[0m' \
or \
'\033[33msu root -c \"${scriptname} \033[4margs\033[0m\033[33m\"\033[0m'\n"
  exit 126
fi

# if fontforge not installed, no point going any further

type fontforge > /dev/null 2>&1 || { 
  printf "fontforge not installed. Aborting.\n" >&2
  exit 1
}

tmp_dir=/tmp/install-font

[ -d ${tmp_dir} ] || mkdir ${tmp_dir}

clean_tmp()
{
  for i in ${tmp_dir}/*[!pe] ; do rm -f "$i" ; done
}

interrupt()
{
  clean_tmp
  printf "\nAborting.\n"
  exit 130
}

error()
{
  case "$1" in
    no_filename)
      printf \
"[install-font]: Missing filename.  \
Aborting.\n" >&2
      exit 1
    ;;
    no_file)
      printf \
"[install-font]: File \"${file}\" not found.  \
Aborting.\n" >&2
      exit 1
    ;;
    no_arg)
      printf \
"[install-font]: Option \"-${option}\" requires an argument.  \
Aborting.\n" >&2 
      show_usage
      exit 1
    ;;
    filename_arg)
      printf \
"[install-font]: Option \"-${option}\" requires a non-filename argument.  \
Aborting.\n" >&2 
      show_usage
      exit 1
    ;;
    no_dir)
      printf \
"[install-font]: Directory \"${copy_dir}\" not found.  \
Aborting.\n" >&2
      exit 1
    ;;
    incompatible)
      printf \
"[install-font]: Incompatible file type. Must have extension ttf|pfa|pfb.  \
Aborting.\n" >&2
      exit 1
    ;;
    arg_to_f)
      printf \
"[install-font]: Option -${option} incompatible with multiple filenames.  \
Aborting.\n" >&2
      exit 1
  esac
}

generate_t42()
{
cat <<EOF  > ${tmp_dir}/generate-t42.pe
# generate-t42.pe
                                                                                             
Open(\$1);
Generate(\$fontname + ".pfa");
Generate(\$fontname + ".t42");
EOF
}

generate_pfa()
{
cat <<EOF  > ${tmp_dir}/generate-pfa.pe
# generate-pfa.pe
                                                                                             
Open(\$1);
Generate(\$fontname + ".pfa");
EOF
}

convert_font()
{
  printf "Running fontforge...\n"

  fontforge -script ${script} ${file}

  printf "Done.\n"
}

make_font()
{
  printf "Creating \033[33m${groff_font}\033[0m...\n"

  afmtodit ${font}.afm textmap ${groff_font}
  rm ${font}.afm

  printf "Done.\n"
}

install_to_devps()
{
  printf "Installing \033[33m${groff_font}\033[0m in ${site_font}/... "

  mv ${font}.${ext} ${site_font}/
  mv ${groff_font} ${site_font}/

  # update the download file in site-font/devps
  [ -e ${site_font}/download ] || {
    touch ${site_font}/download
  }

  [ $argc -eq 1 ] && {
    cp ${site_font}/download ${site_font}/download.bak
  }

  printf "${font}\t${font}.${ext}\n" >> ${site_font}/download

  printf "Done.\n"
}

install_to_devpdf()
{
  if [ ${install_in_devpdf} ] ; then
    gropdf=yes
  else
    printf \
"Make \033[33m${groff_font}\033[0m available to gropdf? (y/n; default = y) "
    read gropdf
  fi

  case $gropdf in
    Y | y | YES | Yes | yes | "")
      printf "Checking for gropdf executable and devpdf directory... "
      have_gropdf=`type gropdf`

      if [ "$have_gropdf" ] ; then
        printf \
"gropdf found.\nInstalling \033[33m${groff_font}\033[0m in ${devpdf}/... "

        if [ -d ${devpdf} ] ; then
          case ${ext} in
            t42)
              mv ${font}.pfa ${devpdf}/
            ;;
            pfa)
              ln -s ${site_font}/${font}.pfa ${devpdf}/${font}.pfa
            ;;
          esac

          ln -s ${site_font}/${groff_font} ${devpdf}/${groff_font}

          [ -e ${devpdf}/download.orig ] || {
            cp ${devpdf}/download ${devpdf}/download.orig
          }

          [ $argc -eq 1 ] && {
            cp -f ${devpdf}/download ${devpdf}/download.bak
          }

          printf "\t${font}\t${font}.pfa\n" >> ${devpdf}/download
          
          printf "Done.\n"
        else
          printf \
"You do not have a ${devpdf} directory.\nNo fonts will be install in devpdf.\n"
        fi
      else
        printf \
"gropdf is not present on the system. No fonts will be installed in devpdf.\n"
      fi ;;
  esac
}

get_fontname()
{
  printf \
"Enter +STYLE (eg +R, +I, +BD, +BDI), or a unique groff name for \
\033[36m${font}\033[0m.\n"
  printf \
"Leave blank to set name to '\033[36m${font}\033[0m': "
}

convert_install()
{
  cd ${tmp_dir}
  convert_font                    # generate t42/pfa and afm files

  # get postscript family and font name from afm
  family_name=`grep "^FamilyName" *afm | \
    sed -e 's/^FamilyName *\([[:graph:]]\{1,\}\) *[[:print:]]*$/\1/'`
  font=`grep "^FontName" ${font}*afm | \
    sed -e 's/^FontName *\([[:graph:]]\{1,\}\) *[[:print:]]*$/\1/'`

  if [ ! ${family} ] ; then       # get user's name for family
    printf "Family name (default = ${family_name}): "
    read family
    [ ${family} ] || family=${family_name}
  fi

  printf \
"  =>\033[36m${font}\033[0m (${file}) assigned to family \
'\033[33m${family}\033[0m'.\n"

  if [ ! ${groff_font} ] ; then   # get groff fontname
    if [ ! ${append_style} ] ; then
      get_fontname
      read groff_font
      [ ${groff_font} ] || groff_font=${font}
      append_style=${groff_font:0:1}
      [ "$append_style" = "+" ] && {
        append_style=${groff_font##*+}
        groff_font=${family}${append_style}
      }
    else
      groff_font=${family}${append_style}
    fi
  fi

  printf \
"  =>\033[36m${font}\033[0m assigned groff fontname \
'\033[33m${groff_font}\033[0m'.\n"

  if [ ! -e textmap ] ; then
    [ -e ${devps}/generate/textmap ] && ln -s ${devps}/generate/textmap . || {
      printf "'textmap' not found.  Aborting.\n" >&2 ; exit 1
    }
  fi

  make_font
  install_to_devps

  [ ${skip_devpdf} ] || install_to_devpdf

  rm -f ${font}*
  cd - &>/dev/null
}

copy_file()
{
  [ -d ${copy_dir} ] || { 
    echo "${copy_dir} not found; creating." 
    mkdir ${copy_dir} ; 
  }
  [ -d ${copy_dir}/${family} ] || {
    mkdir ${copy_dir}/${family}
  }
  printf "Installing ${file} in ${copy_dir}/${family}/... "
  cp ${file} ${copy_dir}/${family}/
  printf "Done.\n"
}

print_sep()
{
  printf \
"======================================================================\n"
}

# getopts doesn't check if OPTARG is a flag, or a filename when some
# other value is expected

check_optarg()
{
  [ "${OPTARG:0:1}" = "-" ] && error no_arg

  eval "has_ext=`echo ${OPTARG} | sed -e 's/^[[:graph:]]*\.[[:graph:]]*$/./'`"

  [ "${has_ext}" = "." ] && error filename_arg
  :
}

while getopts ":C:cdDF:f:hHlps" opt
do
  case "$opt" in
    c)
      copy_orig=yes
    ;;
    C)
      option=C
      check_optarg
      copy_orig=yes
      copy_dir=${OPTARG}
      [ -d ${copy_dir} ] || error no_dir
    ;;
    d)
      install_in_devpdf=yes 
    ;;
    D)
      skip_devpdf=yes
    ;;
    F)
      option=F
      check_optarg
      family=${OPTARG}
    ;;
    f)
      option=f
      opt_f=true
      check_optarg
      append_style=${OPTARG:0:1}
      case ${append_style} in
        "+")
          append_style=${OPTARG##*+}
        ;;
        *)
          groff_font=${OPTARG}
        ;;
      esac
    ;;
    h)
      show_usage
      exit 0
    ;;
    H)
      long_help
      exit 0
    ;;
    l)
      loc_or_sysdir=/usr/local/share/groff
    ;;
    p)
      alias mv='mv -i'
      alias ln='ln -i'
      alias cp='cp -i'
    ;;
    s)
      loc_or_sysdir=/usr/share/groff
    ;;
    \?)
      printf "Option \"-${OPTARG}\" not valid. Aborting.\n" >&2 
      show_usage
      exit 1
    ;;
    :)
      printf "Option \"-${OPTARG}\" requires an argument. Aborting.\n" >&2
      show_usage
      exit 1
    ;;
  esac
done

shift $((OPTIND-1))

[ "$#" -eq 0 ] && error no_filename

[ $# -gt 1 -a "${opt_f}" ] && {
  error arg_to_f
  exit 1
}

devps=${loc_or_sysdir}/${version}/font/devps
devpdf=${loc_or_sysdir}/${version}/font/devpdf
site_font=${loc_or_sysdir}/site-font/devps

# create site-font and site-font/devps if not present

[ -d ${loc_or_sysdir}/site-font ] || { 
  printf "${loc_or_sysdir}/site-font not found; creating.\n" 
  mkdir ${loc_or_sysdir}/site-font 
}

[ -d ${site_font} ] || { 
  printf "${site_font} not found; creating.\n" 
  mkdir ${site_font} 
}

# process files

for i in "$@" ; do

  file="$i"
  argc=$((argc+1))

  [ -f ${file} ] || error no_file

  case ${file##*.} in
    TTF | ttf | PFB | pfb | PFA | pfa | OTF | otf)
      font_type=${file##*.}
    ;;
    *)
      error incompatible
    ;;
  esac

  ln -s $PWD/${file} ${tmp_dir}/${file}      # make a link in tmp dir to file

  [ $argc -gt 1 ] && print_sep

  printf "Processing \033[36m$file\033[0m...\n"

  case ${font_type} in
    TTF | ttf | OTF | otf)
      script=generate-t42.pe
      ext=t42

      [ -e /tmp/$script ] || generate_t42   # create if it doesn't exist

      convert_install

      if [ "${font_type}" = "TTF" -o "${font_type}" = "ttf" ] ; then
        [ ${copy_dir} ] || copy_dir=/usr/local/share/fonts/truetype
      else
        [ ${copy_dir} ] || copy_dir=/usr/local/share/fonts/opentype
      fi
    ;;
    PFB | pfb | PFA | pfa)
      script=generate-pfa.pe
      ext=pfa

      [ -e /tmp/$script ] || generate_pfa   # create if it doesn't exist

      convert_install

      [ ${copy_dir} ] || copy_dir=/usr/local/share/fonts/type1
    ;;
  esac

# copy input file to a system or named directory

  if [ ! "$copy_orig" ] ; then
    printf \
"Copy \033[36m${file}\033[0m to ${copy_dir}/${family}/?\n  (y/n; default = n) "
    read copy_file

    case "$copy_file" in
      Y | y | YES | Yes | yes)
        copy_file
      ;;
      * )
        printf \
"Install \033[36m${file}\033[0m manually to make it available system-wide.\n"
      ;;
    esac
  else
    copy_file
  fi

  unset append_style
  unset ext
  unset font
  unset groff_font

done

clean_tmp

exit 0

--huq684BweRXVnRxX--


From MAILER-DAEMON Wed May 02 02:03:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPSey-0007C4-WB
	for mharc-groff@gnu.org; Wed, 02 May 2012 02:03:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48359)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SPSew-0007Bw-GY
	for groff@gnu.org; Wed, 02 May 2012 02:03:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SPSeu-0003gX-MX
	for groff@gnu.org; Wed, 02 May 2012 02:03:30 -0400
Received: from mail-qa0-f41.google.com ([209.85.216.41]:57747)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SPSeu-0003g2-GG
	for groff@gnu.org; Wed, 02 May 2012 02:03:28 -0400
Received: by qabg27 with SMTP id g27so2812281qab.0
	for <groff@gnu.org>; Tue, 01 May 2012 23:03:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=Z+ASMqC+foRT94kvu0jC+Rvey0PY5YJ28YmJ1AOFRBQ=;
	b=nmBfwKLPwZnVe2GGyzebKtXa4fvx/VRRH0T2x51pOeLYtzCpEAI4hpe+wW0siQEj+/
	JNDdn8VGCgDVaUlVpZ6tMQU018LE7FwhzwyV8+LRMiDf4Q752/tMyMnc5fNsaeVHnhvZ
	RWPgMbt9LeIcq8YI1jNyxQquV/xyr2kISYyNlbl25dLBz+KVchZ7QxGlTkPPnJNn1Im0
	AubU089wZcOJovpEctHATGl8ralZiZOTA5MzSFzAHIeSFAM6MNhzGi4NJjLBxEL58mIh
	2go8ez67QWbrtI5iNK818oMHFCgO4/+x2y2uzBF2yh5sU6q1+512lumFmCf4phMR0YNh
	o8PQ==
MIME-Version: 1.0
Received: by 10.224.197.129 with SMTP id ek1mr5869886qab.21.1335938606021;
	Tue, 01 May 2012 23:03:26 -0700 (PDT)
Received: by 10.229.227.194 with HTTP; Tue, 1 May 2012 23:03:25 -0700 (PDT)
In-Reply-To: <20120501191253.GA3633@augustus>
References: <20120425154121.040037e9@dell-desktop.example.com>
	<20120425173037.GA3742@augustus>
	<20120430180243.35d6a182@dell-desktop.example.com>
	<20120501191253.GA3633@augustus>
Date: Wed, 2 May 2012 08:03:25 +0200
Message-ID: <CACBYe=7zzACYNXP7jsB-ODBKzT8zA10-9urBHQb3+XbOwBey2A@mail.gmail.com>
From: mikkel meinike <mimeini@gmail.com>
To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.41
Subject: Re: [Groff] [GROFF] OpenType fonts
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 06:03:31 -0000

Sorry that I more or less hitchhiker your thread but reasons why I
never got started with groff is that I never really found a way "into
it". Which makroset should I choose? how do I start? I would like to
have many fonts to choose from will i get that with groff? etc. The
threads here led me on the trail of this page I've never discovered
before: http://www.schaffter.ca/mom/mom-04.html
So.... exciting... I think it could be my way to get started with
groff. Thank you for it.

/Mikkel


From MAILER-DAEMON Wed May 02 05:58:10 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPWK2-0001GB-6n
	for mharc-groff@gnu.org; Wed, 02 May 2012 05:58:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57687)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bertrand.garrigues@laposte.net>) id 1SPWJz-0001G5-H2
	for groff@gnu.org; Wed, 02 May 2012 05:58:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bertrand.garrigues@laposte.net>) id 1SPWJu-0007IW-9Z
	for groff@gnu.org; Wed, 02 May 2012 05:58:07 -0400
Received: from smtpout5.laposte.net ([193.253.67.230]:34901
	helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bertrand.garrigues@laposte.net>) id 1SPWJu-0007I7-2s
	for groff@gnu.org; Wed, 02 May 2012 05:58:02 -0400
Received: from wwinf8309 ([10.99.54.221]) by mwinf8510-out with ME
	id 4xxz1j0014mN4ju03xxzPp; Wed, 02 May 2012 11:57:59 +0200
Date: Wed, 02 May 2012 11:57:59 +0200
From: Bertrand Garrigues <bertrand.garrigues@laposte.net>
To: groff@gnu.org
Message-ID: <995136326.304551.1335952679160.JavaMail.www@wwinf8309>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [217.108.83.254]
X-Wum-Nature: EMAIL-NATURE
X-WUM-FROM: |~|
X-WUM-TO: |~|
X-WUM-REPLYTO: |~|
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 193.253.67.230
Subject: Re: [Groff] [groff] table of contents and hyperlinks
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Bertrand Garrigues <bertrand.garrigues@laposte.net>
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 09:58:09 -0000

Keith,

Thanks for your detailed explanations. I have 1 more question on alternativ=
es to generate TOC.

> Message du 29/04/12 13:52
> De : "Keith Marshall"=20

> There are much better techniques for generating tables of content,
> particularly when used in conjunction with multiple pass processing,
> (such as is performed by pdfroff); I've often thought that, one day, I
> might develop an add-on toc.tmac implementation, which would integrate
> with pdfroff, but I've never been able to find the time to progress it,
> beyond a conceptual idea.
>=20

Are you thinking of to the technique described in this old post http://list=
s.gnu.org/archive/html/groff/2009-06/msg00027.html where you use a macro to=
 write pdfref info in a separate toc file ? I tried your examples, they wor=
k well. Is this the preferred technique to create TOC ?

Best Regards,=20

Bertrand Garrigues


Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
=A7a vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net


From MAILER-DAEMON Wed May 02 06:10:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPWWP-0002iE-2z
	for mharc-groff@gnu.org; Wed, 02 May 2012 06:10:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35652)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bertrand.garrigues@laposte.net>) id 1SPWWI-0002hi-RO
	for groff@gnu.org; Wed, 02 May 2012 06:10:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bertrand.garrigues@laposte.net>) id 1SPWWC-0004Nf-Hv
	for groff@gnu.org; Wed, 02 May 2012 06:10:50 -0400
Received: from smtpout4.laposte.net ([193.253.67.229]:24627
	helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bertrand.garrigues@laposte.net>) id 1SPWWB-0004NL-Ut
	for groff@gnu.org; Wed, 02 May 2012 06:10:44 -0400
Received: from wwinf8309 ([10.99.54.221]) by mwinf8507-out with ME
	id 4yAi1j0034mN4ju03yAil1; Wed, 02 May 2012 12:10:42 +0200
Date: Wed, 02 May 2012 12:10:42 +0200
From: Bertrand Garrigues <bertrand.garrigues@laposte.net>
To: Deri James <deri@chuzzlewit.demon.co.uk>, groff@gnu.org
Message-ID: <1676326552.305388.1335953442255.JavaMail.www@wwinf8309>
In-Reply-To: <201204291339.44725.deri@chuzzlewit.demon.co.uk>
References: <20120427131925.7e65359d@houeimi.jia>
	<201204291339.44725.deri@chuzzlewit.demon.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [217.108.83.254]
X-Wum-Nature: EMAIL-NATURE
X-WUM-FROM: |~|
X-WUM-TO: |~||~|
X-WUM-REPLYTO: |~|
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 193.253.67.229
Subject: Re: [Groff] [groff] table of contents and hyperlinks
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Bertrand Garrigues <bertrand.garrigues@laposte.net>
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 10:10:55 -0000

Hi Deri and thanks for you explanations.=20

> Message du 29/04/12 14:40
> De : "Deri James"=20

> If you are using a recent version (from CVS), and want to walk on the wil=
d=20
> side! You could try using the native PDF driver with:-
>=20
> groff -pt -Tpdf -ms -m spdf -dPDF.EXPORT=3D1 -z mydoc.ms 2>&1 | grep '^.d=
s' |=20
> groff -pt -Tpdf -ms -m spdf mydoc.ms > mydoc.pdf
>=20

This didn't work for me (no hyperlink in the TOC, although the list of refe=
rences is well generated by the 1st groff command), also I had problems wit=
h picture insertion (the picture would not be present in the pdf document, =
only a black rectangle with the name of the file), but I'm not that up-to-d=
ate (I checkout groff from CVS a couple of months ago) so I guess I should =
update a try again.

Best Regards,=20

Bertrand Garrigues


Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3=
=A7a vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net


From MAILER-DAEMON Wed May 02 07:38:35 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPXtD-0001JX-4N
	for mharc-groff@gnu.org; Wed, 02 May 2012 07:38:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57057)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPXt7-0001JJ-D1
	for groff@gnu.org; Wed, 02 May 2012 07:38:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPXt1-00027s-AS
	for groff@gnu.org; Wed, 02 May 2012 07:38:28 -0400
Received: from mail-lb0-f169.google.com ([209.85.217.169]:35389)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPXt1-000278-07
	for groff@gnu.org; Wed, 02 May 2012 07:38:23 -0400
Received: by lbjn8 with SMTP id n8so441471lbj.0
	for <groff@gnu.org>; Wed, 02 May 2012 04:38:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:subject:message-id:x-mailer:mime-version:content-type
	:content-transfer-encoding;
	bh=ly34ohKx7rgiYP54lyxsEbacGBak9GCP3VBH65rNiP0=;
	b=jgGte1IxlqvW+T6ODLBj9lJkzJ4NUiisx5H1WAMwPrFgfOO0wdrRGCpTNaihsuldK4
	ZBYvrOWQOHJbBArM0Y6RpfnaxKt4IK/HMJ2Q4OcUfkxH6ef2PNK72TNEKF0U0r54dz1q
	ictyvf0gHWXvvUoB+xH4bZHFFYkXvegTU6A0nmwpfY/c6jB5/0zJENkQj54nMX0+of8S
	JFVY7xJ7tMUvijOofqQTpqdgq5vJUlCLpXaZzohd6kJz7wRvejRUlVWGtoaUwQMLTehR
	JM3qpKdHsMR7x9bnqj+aTSbn///RKAnAZ4wAJA3NMZoKSkg5E/rmzuFNHKg4wjzwHqwJ
	g5fA==
Received: by 10.112.85.199 with SMTP id j7mr5071478lbz.26.1335958699750;
	Wed, 02 May 2012 04:38:19 -0700 (PDT)
Received: from erp07.git.ru ([94.79.3.82])
	by mx.google.com with ESMTPS id nv7sm1731871lab.9.2012.05.02.04.38.17
	(version=SSLv3 cipher=OTHER); Wed, 02 May 2012 04:38:18 -0700 (PDT)
Date: Wed, 2 May 2012 15:38:11 +0400
From: Anton Shepelev <anton.txt@gmail.com>
To: groff@gnu.org
Message-Id: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.217.169
Subject: [Groff] Apostrophe mapped onto single closing quotation mark on
	utf8 device
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 11:38:33 -0000

Hello, all

Could you please tell me the purpose of this mapping
in unicode.tmac:

   .char ' \[cq]

This causes all apostrophes to be typeset as closing
single quotes.  Is it correct?

Anton


From MAILER-DAEMON Wed May 02 07:44:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPXzB-0003dp-VK
	for mharc-groff@gnu.org; Wed, 02 May 2012 07:44:45 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53705)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPXz9-0003dZ-Ay
	for groff@gnu.org; Wed, 02 May 2012 07:44:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPXz4-00055K-OI
	for groff@gnu.org; Wed, 02 May 2012 07:44:42 -0400
Received: from helix.usm.uni-muenchen.de ([129.187.204.86]:38611)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPXz4-000559-Hb
	for groff@gnu.org; Wed, 02 May 2012 07:44:38 -0400
Received: by helix.usm.uni-muenchen.de (Postfix, from userid 2097)
	id 0F03016130C8; Wed,  2 May 2012 13:44:35 +0200 (CEST)
Date: Wed, 2 May 2012 13:44:35 +0200
From: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
To: groff@gnu.org
Message-ID: <20120502114435.GB15094@usm.uni-muenchen.de>
References: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 129.187.204.86
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark on
 utf8 device
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 11:44:44 -0000


> Could you please tell me the purpose of this mapping
> in unicode.tmac:
> 
>    .char ' \[cq]
> 
> This causes all apostrophes to be typeset as closing
> single quotes.  Is it correct?

Yes.  Apostrophes and (english) single right quotes are
identical glyphs.  What you're probably thinking of as
"apostrophe" is a crude hack invented for typewriters
and is not used in "real" typography.




From MAILER-DAEMON Wed May 02 07:56:16 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPYAK-0005kq-Pu
	for mharc-groff@gnu.org; Wed, 02 May 2012 07:56:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52205)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPYAE-0005jx-ER
	for groff@gnu.org; Wed, 02 May 2012 07:56:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPY9Z-0000SF-6O
	for groff@gnu.org; Wed, 02 May 2012 07:56:10 -0400
Received: from helix.usm.uni-muenchen.de ([129.187.204.86]:43238)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPY9Y-0000S4-Vq
	for groff@gnu.org; Wed, 02 May 2012 07:55:29 -0400
Received: by helix.usm.uni-muenchen.de (Postfix, from userid 2097)
	id 506BC16130C8; Wed,  2 May 2012 13:55:27 +0200 (CEST)
Date: Wed, 2 May 2012 13:55:27 +0200
From: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
To: groff@gnu.org
Message-ID: <20120502115527.GC15094@usm.uni-muenchen.de>
References: <995136326.304551.1335952679160.JavaMail.www@wwinf8309>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <995136326.304551.1335952679160.JavaMail.www@wwinf8309>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 129.187.204.86
Subject: Re: [Groff] [groff] table of contents and hyperlinks
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 11:56:15 -0000


> Is this the preferred technique to create TOC ?

Since you're using ms, you might also want to try this:

  http://lists.gnu.org/archive/html/groff/2005-10/msg00002.html

This example creates a TOC at any user-chosen position in the
document.  It doesn't use PDF links, but I guess it should be
fairly straightforward to integrate them.




From MAILER-DAEMON Wed May 02 09:00:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPZAP-0007kV-Du
	for mharc-groff@gnu.org; Wed, 02 May 2012 09:00:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37263)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1SPZAI-0007hw-P6
	for groff@gnu.org; Wed, 02 May 2012 09:00:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1SPZAC-0004e5-7w
	for groff@gnu.org; Wed, 02 May 2012 09:00:18 -0400
Received: from relay00.pair.com ([209.68.5.9]:3785)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1SPZAC-0004dr-2Z
	for groff@gnu.org; Wed, 02 May 2012 09:00:12 -0400
Received: (qmail 29115 invoked from network); 2 May 2012 12:56:24 -0000
Received: from 96.242.179.133 (HELO foveal4.foveal.com) (96.242.179.133)
	by relay00.pair.com with SMTP; 2 May 2012 12:56:24 -0000
X-pair-Authenticated: 96.242.179.133
Received: by foveal4.foveal.com (Postfix, from userid 617)
	id 8FA3617CB8B; Wed,  2 May 2012 09:00:09 -0400 (EDT)
Date: Wed, 2 May 2012 09:00:09 -0400
From: Mike Bianchi <MBianchi@Foveal.com>
To: mikkel meinike <mimeini@gmail.com>
Message-ID: <20120502130009.GC13569@foveal4.foveal.com>
References: <20120425154121.040037e9@dell-desktop.example.com>
	<20120425173037.GA3742@augustus>
	<20120430180243.35d6a182@dell-desktop.example.com>
	<20120501191253.GA3633@augustus>
	<CACBYe=7zzACYNXP7jsB-ODBKzT8zA10-9urBHQb3+XbOwBey2A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACBYe=7zzACYNXP7jsB-ODBKzT8zA10-9urBHQb3+XbOwBey2A@mail.gmail.com>
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.68.5.9
Cc: groff@gnu.org
Subject: Re: [Groff] <OK> Re:  [GROFF] OpenType fonts
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 13:00:24 -0000

On Wed, May 02, 2012 at 08:03:25AM +0200, mikkel meinike wrote:
>	:
> Which makroset should I choose? how do I start?  ....
> The threads here led me on the trail of this page I've never discovered
> before: http://www.schaffter.ca/mom/mom-04.html
> So.... exciting... I think it could be my way to get started with
> groff. Thank you for it.
> 
> /Mikkel

I have been an mm macros user since the mid-1970's.
I have thought about learning Mom several times in the past but ...
Thanks for the reminder and pointer.  This time I intend to carry through.

And thanks to you, Peter, for http://www.schaffter.ca/mom/mom-01.html, et. al.

-- 
 Mike Bianchi
 Foveal Systems

 973 822-2085

 MBianchi@Foveal.com
 http://www.AutoAuditorium.com
 http://www.FovealMounts.com


From MAILER-DAEMON Wed May 02 13:50:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPdha-0003JN-5w
	for mharc-groff@gnu.org; Wed, 02 May 2012 13:50:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57093)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=6276hD=DG=schaffter.ca=peter@eigbox.net>)
	id 1SPdhX-0003Is-Pb
	for groff@gnu.org; Wed, 02 May 2012 13:50:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=6276hD=DG=schaffter.ca=peter@eigbox.net>)
	id 1SPdhV-0002i3-4R
	for groff@gnu.org; Wed, 02 May 2012 13:50:55 -0400
Received: from bosmailout12.eigbox.net ([66.96.184.12]:48313)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=6276hD=DG=schaffter.ca=peter@eigbox.net>)
	id 1SPdhV-0002hp-15
	for groff@gnu.org; Wed, 02 May 2012 13:50:53 -0400
Received: from bosmailscan22.eigbox.net ([10.20.15.22])
	by bosmailout12.eigbox.net with esmtp (Exim) id 1SPdhT-000799-AF
	for groff@gnu.org; Wed, 02 May 2012 13:50:51 -0400
Received: from bosimpout01.eigbox.net ([10.20.55.1])
	by bosmailscan22.eigbox.net with esmtp (Exim) id 1SPdfc-0001Lp-92
	for groff@gnu.org; Wed, 02 May 2012 13:48:57 -0400
Received: from bosauthsmtp07.eigbox.net ([10.20.18.7])
	by bosimpout01.eigbox.net with NO UCE
	id 55ow1j005099BUA015owmt; Wed, 02 May 2012 13:48:56 -0400
X-Authority-Analysis: v=2.0 cv=eq1oOPVX c=1 sm=1
	a=dMHj/cTXczL8SHbFQyzcVA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=h70P6tM8bHEA:10 a=d-Ega9QjyLEA:10 a=kj9zAlcOel0A:10 a=g_SW5-S5AAAA:8
	a=l8oc_APILE0fTaOkr-sA:9 a=puTdWfI_RsUqD6NYk5MA:7 a=CjuIK1q_8ugA:10
	a=x8qw8EAkfcRkIpZA8Q87Bg==:117
X-EN-OrigOutIP: 10.20.18.7
X-EN-IMPSID: 55ow1j005099BUA015owmt
Received: from bas1-ottawa09-2925287095.dsl.bell.ca ([174.92.86.183]
	helo=augustus)
	by bosauthsmtp07.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SPdfb-0006Xh-UV
	for groff@gnu.org; Wed, 02 May 2012 13:48:56 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SPdfZ-0000px-VO
	for groff@gnu.org; Wed, 02 May 2012 13:48:54 -0400
Date: Wed, 2 May 2012 13:48:48 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120502174848.GA2713@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <995136326.304551.1335952679160.JavaMail.www@wwinf8309>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <995136326.304551.1335952679160.JavaMail.www@wwinf8309>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.86.183
X-EN-OrigHost: bas1-ottawa09-2925287095.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.184.12
Subject: Re: [Groff] [groff] table of contents and hyperlinks
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 17:50:57 -0000

On Wed, May 02, 2012, Bertrand Garrigues wrote:
> > Message du 29/04/12 13:52
> > De : "Keith Marshall" 
> 
> > There are much better techniques for generating tables of content,
> > particularly when used in conjunction with multiple pass processing,
> > (such as is performed by pdfroff); I've often thought that, one day, I
> > might develop an add-on toc.tmac implementation, which would integrate
> > with pdfroff, but I've never been able to find the time to progress it,
> > beyond a conceptual idea.

Deri James has been working on integrating his native gropdf driver
with the mom macros, which, in addition to making possible internal
and external pdf links, implements a pdflinked TOC that can be
positioned anywhere in the document.  In testing, it works like a
charm.  This, in turn, has got me rethinking mom's heads-and-toc
implementation, on which I am presently working.

Best of all, Deri's written a script, pdfmom, that takes care of
multiple passes, and respects the page dimensions set in mom files,
thereby circumventing the need for passing papersizes to the
postprocessor from the command line.

In addition, pdfmom accepts a -Tps flag, which passes everything
over to Keith's pdfroff and produces output almost identical to that
of the gropdf device--a major plus for documents that include images
embedded with PSPIC, at least until someone comes up with PDFPIC, or
something similar.

Not much help right now, but this seems like a good thread on which
to announce what's coming up with mom, TOCs, and pdf.

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Wed May 02 15:03:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPepJ-0006Zu-GV
	for mharc-groff@gnu.org; Wed, 02 May 2012 15:03:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58777)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SPepG-0006Yo-FO
	for groff@gnu.org; Wed, 02 May 2012 15:02:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SPepE-0004tk-Qw
	for groff@gnu.org; Wed, 02 May 2012 15:02:58 -0400
Received: from mo-p00-ob.rzone.de ([81.169.146.160]:19529)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SPepE-0004tW-KW
	for groff@gnu.org; Wed, 02 May 2012 15:02:56 -0400
X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbvY44zMkpA==
X-RZG-CLASS-ID: mo00
Received: from linuix.haible.de
	(dslb-088-068-070-142.pools.arcor-ip.net [88.68.70.142])
	by smtp.strato.de (joses mo59) (RZmta 28.16 DYNA|AUTH)
	with ESMTPA id g02d8ao42H1iKR ; Wed, 2 May 2012 21:02:53 +0200 (CEST)
From: Bruno Haible <bruno@clisp.org>
To: groff@gnu.org
Bcc: bruno@haible.de
Date: Wed, 02 May 2012 21:03:18 +0200
Message-ID: <2695005.ACkXNH1m4J@linuix>
User-Agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )
In-Reply-To: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
References: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 81.169.146.160
Cc: Anton Shepelev <anton.txt@gmail.com>
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark on
	utf8 device
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 19:02:59 -0000

Anton Shepelev wrote:
> in unicode.tmac:
>=20
>    .char ' \[cq]
>=20
> This causes all apostrophes to be typeset as closing
> single quotes.  Is it correct?

This is documented in "man groff_char":

       Most of the remaining characters not in the just described range=
s print
       as themselves; the only exceptions are the following characters:=


       `      the  ISO  latin1  =E2=80=98Grave  Accent=E2=80=99  (code =
96) prints as =E2=80=98, a left
              single quotation mark; the original character  can  be  o=
btained
              with =E2=80=98\'=E2=80=99.

       '      the  ISO  latin1  =E2=80=98Apostrophe=E2=80=99  (code 39)=
  prints  as =E2=80=99, a right
              single quotation mark; the original character  can  be  o=
btained
              with =E2=80=98\(aq=E2=80=99.

       ...

Bruno



From MAILER-DAEMON Wed May 02 16:20:05 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPg1t-0003QG-LG
	for mharc-groff@gnu.org; Wed, 02 May 2012 16:20:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38162)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPg1r-0003Nm-8j
	for groff@gnu.org; Wed, 02 May 2012 16:20:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPg1o-0001jx-PJ
	for groff@gnu.org; Wed, 02 May 2012 16:20:02 -0400
Received: from mail-lb0-f169.google.com ([209.85.217.169]:51568)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPg1o-0001jM-Fs
	for groff@gnu.org; Wed, 02 May 2012 16:20:00 -0400
Received: by lbjn8 with SMTP id n8so947110lbj.0
	for <groff@gnu.org>; Wed, 02 May 2012 13:19:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date
	:content-transfer-encoding:message-id:references:to:x-mailer;
	bh=XCXjjulYWf14WsuQtGRFRAdzfUjPW76j+HX6EeLF3mU=;
	b=0mVf/7L19vLP8/7zOYchGhd0RmTPPmO0a+riditb45ipYcg0CHIj/SrYIBlglic+Tf
	kDAdg3q+DWGCBg/kU/aZTzdsWrNjLWmTJ3jxlrk5Vl8aY6AR839UemxD1Glnrya7hUhR
	AyLjFlX95U+M1ZqY/HAcLjG9FmNYUc6/JA3N8DQfsC0XLsUEnNGl1vk/Yd/EuKnHsBz7
	0aVi0L3yQpxCTzSVBi4uGycwgdkJQT6MLZktOKS53yXXVFsJuIuTVRCv8g5kNvqbRMwW
	dUEMUZoeGny1+vxxRuL9boUjQFJmwpmjPFJ/ekBq1/ZFh5GzNiB/7xymOCjezMJaIOzc
	gqwg==
Received: by 10.152.128.137 with SMTP id no9mr28363198lab.2.1335989998284;
	Wed, 02 May 2012 13:19:58 -0700 (PDT)
Received: from [10.0.1.2] ([95.72.249.217])
	by mx.google.com with ESMTPS id gw17sm3018342lab.11.2012.05.02.13.19.56
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 02 May 2012 13:19:57 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1084)
From: Anton Shepelev <anton.txt@gmail.com>
In-Reply-To: <20120502114435.GB15094@usm.uni-muenchen.de>
Date: Thu, 3 May 2012 00:19:55 +0400
Content-Transfer-Encoding: 7bit
Message-Id: <161BBE02-0C7F-4C2A-9C4D-45C5F1E53119@gmail.com>
References: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
	<20120502114435.GB15094@usm.uni-muenchen.de>
To: groff@gnu.org
X-Mailer: Apple Mail (2.1084)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.217.169
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark on
	utf8 device
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 20:20:04 -0000

Tadziu Hoffmann:

>> Could  you  please  tell  me the purpose of this
>> mapping in unicode.tmac:
>> 
>>      .char ' \[cq]
>> 
>> This causes all apostrophes  to  be  typeset  as
>> closing single quotes.  Is it correct?
> 
> Yes.    Apostrophes  and  (english)  single  right
> quotes are identical glyphs.  What you're probably
> thinking  of  as  "apostrophe" is a crude hack in-
> vented for typewriters and is not used  in  "real"
> typography.

Thanks.   I needed to make the output of Tutf8 a su-
perset of Tascii and was wondering about these  dif-
ferences.

Another   question   is   about   the   hyphen  sym-
bol -- \[hy].  Is it possible to tell groff  to  use
the  standard  hyphen-minus  sign of the ASCII table
instead of  \[u2012]  for  hyphenation?   I  couln't
achieve  it  by commeting out the corresponding line
in unicode.tmac, and in the fonts for the  utf8  de-
vice I couldn't find this character...

Anton


From MAILER-DAEMON Wed May 02 16:27:29 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPg93-0004hP-CM
	for mharc-groff@gnu.org; Wed, 02 May 2012 16:27:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50968)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPg90-0004gg-Fi
	for groff@gnu.org; Wed, 02 May 2012 16:27:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPg8y-0004Ef-Tx
	for groff@gnu.org; Wed, 02 May 2012 16:27:26 -0400
Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:39232)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPg8y-0004EG-KT
	for groff@gnu.org; Wed, 02 May 2012 16:27:24 -0400
Received: by lagz14 with SMTP id z14so948709lag.0
	for <groff@gnu.org>; Wed, 02 May 2012 13:27:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=subject:mime-version:content-type:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to:x-mailer;
	bh=pmOcvaMzshZq2vEyN7SKtVrzo9sTJWRl5l09gA54DKE=;
	b=y81jBVb38EXC0Q1g+4zdzGRF6GyxhjkEQnsJfrzIive5pfnIv5Wjf+kmnOEv+lDBlL
	gv9GbTVL0h8kBn1AOc1/2JUL3HVfGyNl/btYtSA+WvLbiinAtT0MG5k62qtdMQzQNFJr
	HlhkZg4EfFwlRjn750U3oGjk+/l45lN4x+xTNEg8rWDcDKVhNTUsb/4TUNznBMoOHDkD
	uEU4Suo+tGlJ1cL9yKh6UN2VNS3f7czeAyyVWDWdF/QIZD+aydbBYcEKQnmbxlPu5mWd
	5E+2TES6I8IEcp1oOEpHAnFteXthaF3b6jmECOjXb+zpC22iRuhOa4dXELYYH2uabEdt
	NM3Q==
Received: by 10.152.110.170 with SMTP id ib10mr30916426lab.7.1335990442364;
	Wed, 02 May 2012 13:27:22 -0700 (PDT)
Received: from [10.0.1.2] ([95.72.249.217])
	by mx.google.com with ESMTPS id u4sm3047225lad.5.2012.05.02.13.27.19
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 02 May 2012 13:27:20 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=iso-8859-1
From: Anton Shepelev <anton.txt@gmail.com>
In-Reply-To: <161BBE02-0C7F-4C2A-9C4D-45C5F1E53119@gmail.com>
Date: Thu, 3 May 2012 00:27:17 +0400
Content-Transfer-Encoding: 7bit
Message-Id: <EC9FFE22-F40F-4B2F-ABEE-52B5CCD2C6F6@gmail.com>
References: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
	<20120502114435.GB15094@usm.uni-muenchen.de>
	<161BBE02-0C7F-4C2A-9C4D-45C5F1E53119@gmail.com>
To: groff@gnu.org
X-Mailer: Apple Mail (2.1084)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.215.41
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark on
	utf8 device
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 20:27:27 -0000

I wrote:

> Another   question   is   about  the  hyphen  sym-
> bol -- \[hy].  Is it possible to tell groff to use
> the  standard hyphen-minus sign of the ASCII table
> instead of \[u2012] for  hyphenation?   I  couln't
> achieve it by commeting out the corresponding line
> in unicode.tmac, and in the fonts for the utf8 de-
> vice I couldn't find this character...

Got it -- it can be done using the .shc request.

Anton


From MAILER-DAEMON Wed May 02 17:12:36 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPgqi-0006C6-Gu
	for mharc-groff@gnu.org; Wed, 02 May 2012 17:12:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43433)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SPgqg-0006BX-Jf
	for groff@gnu.org; Wed, 02 May 2012 17:12:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SPgqe-0005Ao-U6
	for groff@gnu.org; Wed, 02 May 2012 17:12:34 -0400
Received: from mo-p00-ob.rzone.de ([81.169.146.161]:34198)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SPgqe-0005Ae-Ns
	for groff@gnu.org; Wed, 02 May 2012 17:12:32 -0400
X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbvY44zMkpA==
X-RZG-CLASS-ID: mo00
Received: from linuix.haible.de
	(dslb-088-068-070-142.pools.arcor-ip.net [88.68.70.142])
	by smtp.strato.de (jored mo15) (RZmta 29.1 DYNA|AUTH)
	with ESMTPA id U00bf0o42GR9vB ; Wed, 2 May 2012 23:12:30 +0200 (CEST)
From: Bruno Haible <bruno@clisp.org>
To: groff@gnu.org
Bcc: bruno@haible.de
Date: Wed, 02 May 2012 23:12:55 +0200
Message-ID: <2546816.GMNkFrdIUz@linuix>
User-Agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )
In-Reply-To: <161BBE02-0C7F-4C2A-9C4D-45C5F1E53119@gmail.com>
References: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
	<20120502114435.GB15094@usm.uni-muenchen.de>
	<161BBE02-0C7F-4C2A-9C4D-45C5F1E53119@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 81.169.146.161
Cc: Anton Shepelev <anton.txt@gmail.com>
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark on
	utf8 device
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 21:12:35 -0000

Anton Shepelev wrote:
> Is it possible to tell groff  to  use
> the  standard  hyphen-minus  sign of the ASCII table
> instead of  \[u2012]  for  hyphenation?

People who ask this usually have a groff input that uses '-' both
to designate a hyphen (between English words) and a minus sign (such
as in formulas or in command-line options). But a hyphens looks nicer
when it is thin; \[u2012] achieves this. What you really want to do
is to change your groff input so that it uses
  * - for hyphens,
  * \- for minus signs.

Example:
  \fBiconv \-f ISO\-8859\-1 \-t UTF\-8\fP
  converts input from the old West-European encoding ISO\-8859\-1 to Unicode.

> it can be done using the .shc request.

AFAIU, this will have the effect that hyphens at the end of a line will
look like a minus sign, that is, ugly.

Bruno



From MAILER-DAEMON Wed May 02 19:12:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPiiw-0006Ht-Js
	for mharc-groff@gnu.org; Wed, 02 May 2012 19:12:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44166)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <doug@cs.dartmouth.edu>) id 1SPiiu-0006Hl-JL
	for groff@gnu.org; Wed, 02 May 2012 19:12:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <doug@cs.dartmouth.edu>) id 1SPiit-0007jY-33
	for groff@gnu.org; Wed, 02 May 2012 19:12:40 -0400
Received: from mail.cs.dartmouth.edu ([129.170.212.100]:51651)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <doug@cs.dartmouth.edu>) id 1SPiis-0007jF-VJ
	for groff@gnu.org; Wed, 02 May 2012 19:12:39 -0400
Received: from stowe.cs.dartmouth.edu (stowe.cs.dartmouth.edu [129.170.213.62])
	by mail.cs.dartmouth.edu (8.14.5/8.14.5) with ESMTP id q42NCJ8a028085
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Wed, 2 May 2012 19:12:19 -0400
X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mail.cs.dartmouth.edu
	q42NCJ8a028085
Received: from stowe.cs.dartmouth.edu (localhost.localdomain [127.0.0.1])
	by stowe.cs.dartmouth.edu (8.14.5/8.14.1) with ESMTP id q42NCIYV008033; 
	Wed, 2 May 2012 19:12:18 -0400
Received: (from doug@localhost)
	by stowe.cs.dartmouth.edu (8.14.5/8.14.5/Submit) id q42NCHZR008032;
	Wed, 2 May 2012 19:12:17 -0400
From: Doug McIlroy <doug@cs.dartmouth.edu>
Message-Id: <201205022312.q42NCHZR008032@stowe.cs.dartmouth.edu>
Date: Wed, 02 May 2012 19:12:17 -0400
To: hoffmann@usm.uni-muenchen.de, groff@gnu.org
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 129.170.212.100
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 23:12:41 -0000

The "crude hack" cited below effectively turns apostrophe into prime,
known in groff as foot mark, \[fm], which may be what you were hoping for.

> Could you please tell me the purpose of this mapping
> in unicode.tmac:
>
>    .char ' \[cq]
>
> This causes all apostrophes to be typeset as closing
> single quotes.  Is it correct?


Yes.  Apostrophes and (english) single right quotes are
identical glyphs.  What you're probably thinking of as
"apostrophe" is a crude hack invented for typewriters
and is not used in "real" typography.


From MAILER-DAEMON Wed May 02 21:56:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPlHt-0002XF-Fe
	for mharc-groff@gnu.org; Wed, 02 May 2012 21:56:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38732)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SPlHq-0002WQ-Cl
	for groff@gnu.org; Wed, 02 May 2012 21:56:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SPlHo-0004bF-AD
	for groff@gnu.org; Wed, 02 May 2012 21:56:53 -0400
Received: from mail21.sea5.speakeasy.net ([69.17.117.23]:57740)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SPlHo-0004b2-17
	for groff@gnu.org; Wed, 02 May 2012 21:56:52 -0400
Received: (qmail 1477 invoked from network); 3 May 2012 01:56:47 -0000
Received: by simscan 1.4.0 ppid: 3618, pid: 4142, t: 0.0132s
	scanners: clamav: 0.88.2/m:52/d:10739
Received: from mxperim2.sea5.speakeasy.net ([69.17.117.67])
	(envelope-sender <jklowden@schemamania.org>)
	by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP
	for <groff@gnu.org>; 3 May 2012 01:56:47 -0000
Received: from localhost (localhost [127.0.0.1])
	by mxperim2.sea5.speakeasy.net (Postfix) with ESMTP id 88960B3530
	for <groff@gnu.org>; Wed,  2 May 2012 18:56:47 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at mxperim2.sea5.speakeasy.net
Received: from mxperim2.sea5.speakeasy.net ([127.0.0.1])
	by localhost (mxperim2.sea5.speakeasy.net [127.0.0.1]) (amavisd-new,
	port 10024) with ESMTP id KDYhYvrZzWk7 for <groff@gnu.org>;
	Wed,  2 May 2012 18:56:47 -0700 (PDT)
Received: from oak.schemamania.org (dsl254-083-208.nyc1.dsl.speakeasy.net
	[216.254.83.208]) by mxperim2.sea5.speakeasy.net (Postfix) with ESMTP
	for <groff@gnu.org>; Wed,  2 May 2012 18:56:47 -0700 (PDT)
Received: from oak.schemamania.org (localhost [IPv6:::1])
	by oak.schemamania.org (Postfix) with SMTP id 2262C30E20B4
	for <groff@gnu.org>; Wed,  2 May 2012 21:56:46 -0400 (EDT)
Date: Wed, 2 May 2012 21:56:45 -0400
From: "James K. Lowden" <jklowden@schemamania.org>
To: groff@gnu.org
Message-Id: <20120502215645.b8fdafbf.jklowden@schemamania.org>
In-Reply-To: <CACBYe=7zzACYNXP7jsB-ODBKzT8zA10-9urBHQb3+XbOwBey2A@mail.gmail.com>
References: <20120425154121.040037e9@dell-desktop.example.com>
	<20120425173037.GA3742@augustus>
	<20120430180243.35d6a182@dell-desktop.example.com>
	<20120501191253.GA3633@augustus>
	<CACBYe=7zzACYNXP7jsB-ODBKzT8zA10-9urBHQb3+XbOwBey2A@mail.gmail.com>
X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64--netbsd)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 69.17.117.23
Subject: Re: [Groff] [GROFF] OpenType fonts
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: groff@gnu.org
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 01:56:55 -0000

On Wed, 2 May 2012 08:03:25 +0200
mikkel meinike <mimeini@gmail.com> wrote:

> I
> never got started with groff is that I never really found a way "into
> it". Which makroset should I choose? how do I start? I would like to
> have many fonts to choose from will i get that with groff? 

I had the same questions for a long time.  See 

	http://troff.org/ 

and especially "Unix Text Processing"

	http://oreilly.com/openbook/utp/

The book was very helpful, as Jimmy Durante says (sort of)

	http://www.youtube.com/watch?v=wlsQIEIEeKA

	;-)

--jkl


From MAILER-DAEMON Thu May 03 01:26:29 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPoYf-00011R-1T
	for mharc-groff@gnu.org; Thu, 03 May 2012 01:26:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57005)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SPoYc-000116-Ay
	for groff@gnu.org; Thu, 03 May 2012 01:26:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SPoYa-00053v-Gk
	for groff@gnu.org; Thu, 03 May 2012 01:26:25 -0400
Received: from mail-qc0-f169.google.com ([209.85.216.169]:35342)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SPoYa-00053p-AS
	for groff@gnu.org; Thu, 03 May 2012 01:26:24 -0400
Received: by qcsd16 with SMTP id d16so1062985qcs.0
	for <groff@gnu.org>; Wed, 02 May 2012 22:26:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type:content-transfer-encoding;
	bh=zMuNCEF686FUqcgs8v5V8Dacyx7crdKGrpwJ7G3k6B4=;
	b=XJyGBsNQ1jB3VIY3ttB0esEdDcqYMV/mck/nVJ4diEjcZo1Exw//HbmIQJ6uG4nmUH
	Rf6WIPL1r/v2vZTE/FmPQYk+gzT5FGf72O//Kr5fE9tnJP+GnGnWnC0wL1pf7U6OrkET
	h5+KAP3Yp5PexutRDzVhUcBn8+fKGv7+MoXkZZebpxayJH50laVRigSCqlg/aYMJpCz0
	r8Bnuxu83O4oIMNOeGAUze+BF/b92wjiHiT6E8EmFHG+frtJ+p+RC9R1kzabCs+fHnWL
	BJSrjkNBJP7Pgjzo9JQDIREp0vP4bMF6Q2IBSCIJKikZVNIOOq2iEhGCqcqh+7+Hfy/U
	IhQQ==
MIME-Version: 1.0
Received: by 10.229.137.83 with SMTP id v19mr306903qct.95.1336022782715; Wed,
	02 May 2012 22:26:22 -0700 (PDT)
Received: by 10.229.227.194 with HTTP; Wed, 2 May 2012 22:26:22 -0700 (PDT)
In-Reply-To: <20120502215645.b8fdafbf.jklowden@schemamania.org>
References: <20120425154121.040037e9@dell-desktop.example.com>
	<20120425173037.GA3742@augustus>
	<20120430180243.35d6a182@dell-desktop.example.com>
	<20120501191253.GA3633@augustus>
	<CACBYe=7zzACYNXP7jsB-ODBKzT8zA10-9urBHQb3+XbOwBey2A@mail.gmail.com>
	<20120502215645.b8fdafbf.jklowden@schemamania.org>
Date: Thu, 3 May 2012 07:26:22 +0200
Message-ID: <CACBYe=63Vc0DCPFtdrvP34HXk-KYihE4DoWQOe2B0ouFppJOVw@mail.gmail.com>
From: mikkel meinike <mimeini@gmail.com>
To: groff@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.169
Subject: Re: [Groff] [GROFF] OpenType fonts
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 05:26:27 -0000

ha ha yes

I also read that one
=A0http://troff.org/
Was fine but didn't get me going. I think i still have it around in a
pile of paper somewhere :-).

I am much of an "image-man"
(I did this once http://home.no/mlinux/postscri.htm)
so I need to hav good image processing procedures.

Peter did you do any tutorials or demos on the work with text and images in=
 mom?

/Mikkel


From MAILER-DAEMON Thu May 03 04:16:22 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPrD4-0007vG-PO
	for mharc-groff@gnu.org; Thu, 03 May 2012 04:16:22 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38086)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPrCx-0007ty-Oi
	for groff@gnu.org; Thu, 03 May 2012 04:16:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPrCs-00085i-FG
	for groff@gnu.org; Thu, 03 May 2012 04:16:15 -0400
Received: from mail-lb0-f169.google.com ([209.85.217.169]:53746)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPrCs-000859-54
	for groff@gnu.org; Thu, 03 May 2012 04:16:10 -0400
Received: by lbjn8 with SMTP id n8so1321557lbj.0
	for <groff@gnu.org>; Thu, 03 May 2012 01:16:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer
	:mime-version:content-type:content-transfer-encoding;
	bh=EUmD4UkASVE3ieZ7g4MrYvRRBLM71ExnpHv46Zvxzvc=;
	b=aPWWRXtp81R1ykF3WUxkjqetz+WWrzicFHj33dOZlHaQE7Z+GhOdzJyD6EKHHhCZTq
	XiUegCGmJiu57q+DgLt6vCBhxc2VjeQxMSR4ZGAriGEIlqMUZS6p6Dm9Hik6rcWXJsuu
	XDY9ETKOaSZ1toNrWWswZ8AfhqpdAoKX2Zyu7duN6IyP9eF1tCQWxuDEY3IvOy6XwIrx
	7KBw4FrlDo3g7ZIp73IPgV20KCTEn+gNMOI5zPHxTJd+La2izXTFTwmrX1UZdPyWkzdm
	79cXBrxeZj2RMRZKn05AgHfqOg4DguVBx5VG2HkBkG6os66dotLOndlOr2RcIEpzZ63k
	6vRg==
Received: by 10.152.105.19 with SMTP id gi19mr1202445lab.11.1336032967943;
	Thu, 03 May 2012 01:16:07 -0700 (PDT)
Received: from erp07.git.ru ([94.79.3.82])
	by mx.google.com with ESMTPS id j6sm5753984lbl.0.2012.05.03.01.16.05
	(version=SSLv3 cipher=OTHER); Thu, 03 May 2012 01:16:06 -0700 (PDT)
Date: Thu, 3 May 2012 12:15:59 +0400
From: Anton Shepelev <anton.txt@gmail.com>
To: Bruno Haible <bruno@clisp.org>
Message-Id: <20120503121559.1b9a0470d951e17c6a8a2214@gmail.com>
In-Reply-To: <2546816.GMNkFrdIUz@linuix>
References: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
	<20120502114435.GB15094@usm.uni-muenchen.de>
	<161BBE02-0C7F-4C2A-9C4D-45C5F1E53119@gmail.com>
	<2546816.GMNkFrdIUz@linuix>
X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.217.169
Cc: groff@gnu.org
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark on
 utf8 device
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 08:16:21 -0000

Bruno Haible:

> Anton Shepelev:
>
> > Is it possible to tell groff to use the standard
> > hyphen-minus sign of the ASCII table instead  of
> > \[u2012] for hyphenation?
>
> People  who  ask  this  usually have a groff input
> that uses '-' both to designate a hyphen  (between
> English words) and a minus sign (such as in formu-
> las or in command-line  options).  But  a  hyphens
> looks  nicer  when  it  is thin; \[u2012] achieves
> this. What you really want to do is to change your
> groff input so that it uses
>
>  * - for hyphens,
>  * \- for minus signs.
>
> Example:
>
>  \fBiconv \-f ISO\-8859\-1 \-t UTF\-8\fP
>  converts input from the old West-European encoding ISO\-8859\-1 to Unicode.

I now understand why it was done.  But in my case, I
am using Tutf8 (not Tps) and want  it  to  be  fully
backwards  compatible  with  Tascii, except for non-
Latin letters.  So  I  do  want  to  use  the  ASCII
HYPHEN-MINUS symbol, which is shorter than MINUS and
longer than HYPHEN, for all three.

> > it can be done using the .shc request.
>
> AFAIU, this will have the effect that  hyphens  at
> the  end  of  a  line will look like a minus sign,
> that is, ugly.

They will all be HYPHEN-MINUSes, just  like  in  our
e-mails.

Anton


From MAILER-DAEMON Thu May 03 06:06:53 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPsw0-000563-Vk
	for mharc-groff@gnu.org; Thu, 03 May 2012 06:06:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55313)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPsvt-00052L-TH
	for groff@gnu.org; Thu, 03 May 2012 06:06:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPsvp-00084s-9b
	for groff@gnu.org; Thu, 03 May 2012 06:06:45 -0400
Received: from helix.usm.uni-muenchen.de ([129.187.204.86]:33986)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPsvp-00084c-2p
	for groff@gnu.org; Thu, 03 May 2012 06:06:41 -0400
Received: by helix.usm.uni-muenchen.de (Postfix, from userid 2097)
	id A5D36161310B; Thu,  3 May 2012 12:06:38 +0200 (CEST)
Date: Thu, 3 May 2012 12:06:38 +0200
From: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
To: groff@gnu.org
Message-ID: <20120503100638.GA3763@usm.uni-muenchen.de>
References: <201205022312.q42NCHZR008032@stowe.cs.dartmouth.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201205022312.q42NCHZR008032@stowe.cs.dartmouth.edu>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 129.187.204.86
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 10:06:51 -0000


> The "crude hack" [...] effectively turns apostrophe into prime,
> known in groff as foot mark, \[fm], which may be what you were
> hoping for.

I disagree.  The prime (or foot mark, or minute mark) is
actually slightly slanted, whereas the typewriter quote is
(usually) exactly vertical.  The typewriter quote should not
be used in place of a prime.  It is only acceptable where you
want to emulate a typewriter (or maybe to typeset computer
code)[*], and nowhere else.
Eqn translates "ASCII single quote" to a real prime.


[*] But I really prefer computer code typeset with "balanced"
right and left single quotes.  The character at ASCII position
60h was often called "backquote" for the simple reason that
it really was a symmetrical version of the "quote".  This was
very common on UNIX systems before Unicode became the rage,
as many fonts were encoded with Adobe's ISOLatin1Encoding,
which had a real right quote at position 27h, and a real
left quote at position 60h.




From MAILER-DAEMON Thu May 03 11:21:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPxqP-0006IG-Se
	for mharc-groff@gnu.org; Thu, 03 May 2012 11:21:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50108)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPxqK-0006HN-Mn
	for groff@gnu.org; Thu, 03 May 2012 11:21:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPxqI-0006W9-ME
	for groff@gnu.org; Thu, 03 May 2012 11:21:20 -0400
Received: from mail-lb0-f169.google.com ([209.85.217.169]:34398)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1SPxqI-0006Vj-7b
	for groff@gnu.org; Thu, 03 May 2012 11:21:18 -0400
Received: by lbjn8 with SMTP id n8so1655510lbj.0
	for <groff@gnu.org>; Thu, 03 May 2012 08:21:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:subject:message-id:x-mailer:mime-version:content-type
	:content-transfer-encoding;
	bh=9ai49OWurfn7+mQ3VhHW5fdhr/hAcU0KrolTMSP36eY=;
	b=TrGeZqhDaouFhce5D4x1bn2zKAVDz8rEK771sCURhQL2zdwNWStuMZyrXr3za84lxC
	NEwg6FMO4z4ajElNttNfcRKEIWhTx4Fo/cBpjJJ6cnq8yVjIQHYlmdFDGFch9VkOQsuL
	Up2OMydPKGI+Nk3mGIvAyASavE1LMbCcTgYWezPgUJrje8eBbnFrYw2QQEDutoQpFprm
	AO//0msjGxnVMns9Ow6TMWxBLU5IVygwf9HlXQIUADZi2bK6NRwb6is81firvmtSl/ZZ
	qTqCctKxGFYZgiFau9+DQnGHIPaEFIlDPiPtXiTK//aSQryaUuusxz2AsSP5dh0/jc7P
	D77w==
Received: by 10.152.129.74 with SMTP id nu10mr2358593lab.50.1336058475178;
	Thu, 03 May 2012 08:21:15 -0700 (PDT)
Received: from erp07.git.ru ([94.79.3.82])
	by mx.google.com with ESMTPS id pv14sm5870954lab.2.2012.05.03.08.21.13
	(version=SSLv3 cipher=OTHER); Thu, 03 May 2012 08:21:13 -0700 (PDT)
Date: Thu, 3 May 2012 19:21:06 +0400
From: Anton Shepelev <anton.txt@gmail.com>
To: groff@gnu.org
Message-Id: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.217.169
Subject: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 15:21:25 -0000

I  accidently  came  upon what seems to me an unfair
judgement about groff and TeX:

    As an example: In a presentation-markup lan-
    guage,  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  physi-
    cal  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  bold-
    face".  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 doc-
    ument itself.

Source:

    http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/x69.html

Should  we, maybe, ask the author to correct it, for
I think, groff and TeX macro packages do  provide  a
means  for  structural mark-up, and, considering the
example above, it is of course possible to  redefine
the  macro  .B  to  achieve the desired result?  For
clarity, it could also be renamed as "EMPH".

In my understanding, a package  provides  both  con-
structs  for  structural mark-up and means to modify
their underlying "presentation", and the one is very
loosely  coupled  with the other, allowing to change
"presentation" without affecting the "structure" and
vice versa...

Anton


From MAILER-DAEMON Thu May 03 11:42:10 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPyAU-0003MT-RO
	for mharc-groff@gnu.org; Thu, 03 May 2012 11:42:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39601)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SPyAO-0003MA-St
	for groff@gnu.org; Thu, 03 May 2012 11:42:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SPyAM-0006NJ-FA
	for groff@gnu.org; Thu, 03 May 2012 11:42:04 -0400
Received: from smtp01.frii.com ([216.17.135.167]:55690)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SPyAM-0006Mq-8C
	for groff@gnu.org; Thu, 03 May 2012 11:42:02 -0400
Received: from [192.168.0.100] (dsl-175-205.dynamic-dsl.frii.net
	[216.17.175.205])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp01.frii.com (FRII) with ESMTP id 7CF25E83F4;
	Thu,  3 May 2012 09:41:54 -0600 (MDT)
Message-ID: <4FA2A756.9060008@verinet.net>
Date: Thu, 03 May 2012 09:42:14 -0600
From: Clarke Echols <clarke@verinet.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:11.0) Gecko/20120412 Thunderbird/11.0.1
MIME-Version: 1.0
To: Anton Shepelev <anton.txt@gmail.com>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
In-Reply-To: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 216.17.135.167
Cc: groff@gnu.org
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 15:42:09 -0000

I'm not competent at TeX -- haven't even seen TeX source
files for years.  I refer to troff source coded without
macros as "in-line" coding (normal text \f3bold text\f1 normal
text) where fonts are defined in a macro file or at the start
of the document.

For HTML and other SGML-like markups, the markup reveals the
structure of the text being modified, hence <h1>text</h1> is a
heading, <emphasis>text</emphasis> changes to the emphasis font
(italic in this case), or <strong>text</strong> for bold, but
what actually happens is defined by the Document Type Definition
(DTD).  HTML is a DTD operating under SGML (Standard Generalized
Markup Language), which is an industry/government standard.

I tend to avoid the term "structural markup language" because it
can be confusing due to variations in how different people use it
when writing about typesetting and text formatting.

Macros come closer to "structural", but really aren't.  They're
more a shorthand method to save typing, and give control over the
end result by allowing programming a macro file -- thus allowing
different processing for different output devices, for example, or
being able to instantly change an entire document with a few changes
in the file instead of throughout a document.

I always use macros to some degree, even in a one-page document for
simplification of typing.  I don't use the usual MS, ME, and other
macro files because they don't fit my needs.

I also hand-program XHTML and CSS for website work instead of using
content-management systems like Joomla, Drupal, or WordPress.

Clarke

On 05/03/2012 09:21 AM, Anton Shepelev wrote:
> I  accidently  came  upon what seems to me an unfair
> judgement about groff and TeX:
>
>      As an example: In a presentation-markup lan-
>      guage,  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  physi-
>      cal  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  bold-
>      face".  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 doc-
>      ument itself.
>
> Source:
>
>      http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/x69.html
>
> Should  we, maybe, ask the author to correct it, for
> I think, groff and TeX macro packages do  provide  a
> means  for  structural mark-up, and, considering the
> example above, it is of course possible to  redefine
> the  macro  .B  to  achieve the desired result?  For
> clarity, it could also be renamed as "EMPH".
>
> In my understanding, a package  provides  both  con-
> structs  for  structural mark-up and means to modify
> their underlying "presentation", and the one is very
> loosely  coupled  with the other, allowing to change
> "presentation" without affecting the "structure" and
> vice versa...
>
> Anton
>
>



From MAILER-DAEMON Thu May 03 11:51:43 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPyJi-0004Ed-W2
	for mharc-groff@gnu.org; Thu, 03 May 2012 11:51:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43733)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ds26gte@yahoo.com>) id 1SPyJd-0004E3-Am
	for groff@gnu.org; Thu, 03 May 2012 11:51:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ds26gte@yahoo.com>) id 1SPyJa-0001yg-Fo
	for groff@gnu.org; Thu, 03 May 2012 11:51:36 -0400
Received: from nm5-vm2.bullet.mail.ne1.yahoo.com ([98.138.90.153]:33823)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <ds26gte@yahoo.com>) id 1SPyJa-0001xk-3z
	for groff@gnu.org; Thu, 03 May 2012 11:51:34 -0400
Received: from [98.138.90.48] by nm5.bullet.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 15:51:30 -0000
Received: from [98.138.226.165] by tm1.bullet.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 15:51:30 -0000
Received: from [127.0.0.1] by omp1066.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 15:51:30 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 483722.77320.bm@omp1066.mail.ne1.yahoo.com
Received: (qmail 74775 invoked by uid 60001); 3 May 2012 15:51:30 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024;
	t=1336060290; bh=eBnIqgfpte0oTOZMaGdDG5BGCVNJChavubaqq2aIg+E=;
	h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type;
	b=HnM9220Bduljr23+8oIN5oa2615LFjURu36dTMWPIJ9BmH/y27rn3dXntNGyNddevuu0PbzEfdUVciwVzScYk+yJKgEtDqZRyx9vBjGrZzD1DPRcaDFbt7ID5LTRVIMS8aNfSTYIuDrlKs92lZUwwFSd27sAtKW0pdTtO6WyQxI=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type;
	b=DFx/YjZ2QUNz96UpnrmE/PTmJ+LkRM1cV1tMkesu8bFD2njOg+VoZ6QuITwugHOqIuvYQWP062Vy4WB//27Eyn21JCmpwMBFbZ3NMK2B18qhmWvzPx9Z2EfYXWVEYaLWKyZdFRyXkwZkHGfF9aTbgrifsYu8yLHarubFDjf+vHw=;
X-YMail-OSG: vgn02fgVM1luzAIir0vmIvakV4MkY4PWQ7mDj2k7UZZ49sQ
	ppFYzeCAeSiuJao_1_N43cAtlZhXiC4imYdbMo8Nwwm.xBQksyFjqhtlhexY
	yNbfLzSeRKR7jXWy0YyUzXprBpE92NLuti7XrmZYzmDLl1EpXb3_OqmngIhL
	t4w7ZZ7O8oULCg9ang3BaqqPPa3eFWpAHDTSzFUP6iZxIIGWfE8OU5K7rjg1
	PTVVUfLjBh07R61Xf7AkObzrLaJtydJ2.QRF03lEi2s2hGpVaKilsv9eaKpi
	O4KhCEwEW0fqg0Z4vDrIDJ_IT4ri86z6..KYQ1VWmfFzcv_oPpiGfb2O_luc
	kKZOC6BMgKOqpJewyNckAw7uSwny7cAEjc.7Ie4YK5rBf970ntwyJLpfoYH3
	qjkcvqM8DXP0UesVXwM8F9fHP9gIxaqJg0B2.87H.R7GbVm91ak1GIxB2maA
	dLjjJ.Ig6yw4Hp93qgfv_7MBas.Hn8Czo.gIxmEHBZ73khiccJMr2dRKuxQK
	lYgM7vlcZy8oCq3T3APJdP7WckQapr.EIDLmhVIrRRfq4QvzfJe60WtO3glC jf0M-
Received: from [198.23.5.11] by web130204.mail.mud.yahoo.com via HTTP;
	Thu, 03 May 2012 08:51:29 PDT
X-Mailer: YahooMailWebService/0.8.118.349524
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
Message-ID: <1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
Date: Thu, 3 May 2012 08:51:29 -0700 (PDT)
From: Dorai Sitaram <ds26gte@yahoo.com>
To: "groff@gnu.org" <groff@gnu.org>
In-Reply-To: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 98.138.90.153
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Dorai Sitaram <ds26gte@yahoo.com>
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 15:51:42 -0000

I think esr is emphasizing (!) that in a structural-markup language the tag=
s=A0can have=A0no typographic meaning whatsoever.=A0 =0A=A0=0AWhile it may =
be possible to mimic the tags of structural markup in a presentation-markup=
 language, there is power in completely and firmly separating the two aspec=
ts: you can then independently develop the two aspects; indeed the typograp=
hic aspect can come to embrace completely new and=A0even unexpected media w=
hereas the structural=A0aspect remains the same.=A0 =0A=A0=0AIf you tie you=
rself to a presentation-markup language, there is no guarantee that a user =
has not made use of the presentation-markup language in such a way that it =
is impossible to migrate cleanly to a different structural markup=A0or pres=
entation.=A0=A0Indeed,=A0it has been=A0the norm for=A0users to=A0reach for=
=A0low-level commands while using high-level packages in groff or (La)TeX.=
=A0 Neither system prevents the user in any way from being "non-structural"=
.=0A=A0=0A--d=0A=A0=0A=0A=0A>________________________________=0A>From: Anto=
n Shepelev <anton.txt@gmail.com>=0A>To: groff@gnu.org =0A>Sent: Thursday, M=
ay 3, 2012 11:21 AM=0A>Subject: [Groff] Eric Raymond on groff and TeX=0A>=
=0A>I=A0 accidently=A0 came=A0 upon what seems to me an unfair=0A>judgement=
 about groff and TeX:=0A>=0A>=A0 =A0 As an example: In a presentation-marku=
p lan-=0A>=A0 =A0 guage,=A0 if you want to emphasize a word, you=0A>=A0 =A0=
 might instruct the formatter to=A0 set=A0 it=A0 in=0A>=A0 =A0 boldface.=A0=
 In=A0 troff(1) this would look like=0A>=A0 =A0 so:=0A>=0A>=A0 =A0 =A0 =A0 =
All your base=0A>=A0 =A0 =A0 =A0 .B are=0A>=A0 =A0 =A0 =A0 belong to us!=0A=
>=0A>=A0 =A0 In a structural-markup language,=A0 you=A0 would=0A>=A0 =A0 te=
ll the formatter to emphasize the word:=0A>=0A>=A0 =A0 =A0 =A0 All your bas=
e <emphasis>are</emphasis> belong to us!=0A>=0A>=A0 =A0 The=A0 "<emphasis>"=
 and </emphasis>in the line=0A>=A0 =A0 above are called markup tags, or=A0 =
just=A0 tags=0A>=A0 =A0 for short. They are the instructions to your=0A>=A0=
 =A0 formatter.=0A>=0A>=A0 =A0 In a structural-markup language, the=A0 phys=
i-=0A>=A0 =A0 cal=A0 appearance=A0 of the final document would=0A>=A0 =A0 b=
e controlled by a stylesheet .=A0 It=A0 is=A0 the=0A>=A0 =A0 stylesheet=A0 =
that=A0 would=A0 tell=A0 the formatter=0A>=A0 =A0 "render emphasis as a fon=
t change=A0 to=A0 bold-=0A>=A0 =A0 face".=A0 One=A0 advantage=A0 of structu=
ral-markup=0A>=A0 =A0 languages is that by changing=A0 a=A0 stylesheet=0A>=
=A0 =A0 you=A0 can globally change the presentation of=0A>=A0 =A0 the docum=
ent (to use=A0 different=A0 fonts,=A0 for=0A>=A0 =A0 example)=A0 without ha=
ving to hack all the the=0A>=A0 =A0 individual instances of (say) .B in the=
 doc-=0A>=A0 =A0 ument itself.=0A>=0A>Source:=0A>=0A>=A0 =A0 http://tldp.or=
g/HOWTO/DocBook-Demystification-HOWTO/x69.html=0A>=0A>Should=A0 we, maybe, =
ask the author to correct it, for=0A>I think, groff and TeX macro packages =
do=A0 provide=A0 a=0A>means=A0 for=A0 structural mark-up, and, considering =
the=0A>example above, it is of course possible to=A0 redefine=0A>the=A0 mac=
ro=A0 .B=A0 to=A0 achieve the desired result?=A0 For=0A>clarity, it could a=
lso be renamed as "EMPH".=0A>=0A>In my understanding, a package=A0 provides=
=A0 both=A0 con-=0A>structs=A0 for=A0 structural mark-up and means to modif=
y=0A>their underlying "presentation", and the one is very=0A>loosely=A0 cou=
pled=A0 with the other, allowing to change=0A>"presentation" without affect=
ing the "structure" and=0A>vice versa...=0A>=0A>Anton=0A>=0A>=0A>=0A>

From MAILER-DAEMON Thu May 03 12:08:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPyZV-00005q-1V
	for mharc-groff@gnu.org; Thu, 03 May 2012 12:08:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44387)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPyZK-00005d-5B
	for groff@gnu.org; Thu, 03 May 2012 12:07:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPyZE-0008Ay-1W
	for groff@gnu.org; Thu, 03 May 2012 12:07:49 -0400
Received: from helix.usm.uni-muenchen.de ([129.187.204.86]:45453)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPyZD-0008Aq-RA
	for groff@gnu.org; Thu, 03 May 2012 12:07:43 -0400
Received: by helix.usm.uni-muenchen.de (Postfix, from userid 2097)
	id 33CAF161310B; Thu,  3 May 2012 18:07:41 +0200 (CEST)
Date: Thu, 3 May 2012 18:07:41 +0200
From: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
To: groff@gnu.org
Message-ID: <20120503160741.GB3763@usm.uni-muenchen.de>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<4FA2A756.9060008@verinet.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4FA2A756.9060008@verinet.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 129.187.204.86
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 16:07:59 -0000


> Macros come closer to "structural", but really aren't.

I disagree.  There is no principal difference between

  All your base
  .EMPH are
  belong to us!

and

  All your base <emphasis>are</emphasis> belong to us!

It's a purely a matter of syntax, not intent.


> They're more a shorthand method to save typing, and give
> control over the end result by allowing programming a macro
> file [...]

This is then the equivalent of the style file, only much more
versatile.




From MAILER-DAEMON Thu May 03 12:34:55 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPyzX-0004V6-JK
	for mharc-groff@gnu.org; Thu, 03 May 2012 12:34:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48488)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPyzQ-0004U2-Cs
	for groff@gnu.org; Thu, 03 May 2012 12:34:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPyzO-0002OE-6U
	for groff@gnu.org; Thu, 03 May 2012 12:34:47 -0400
Received: from helix.usm.uni-muenchen.de ([129.187.204.86]:59149)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SPyzN-0002NZ-Vv
	for groff@gnu.org; Thu, 03 May 2012 12:34:46 -0400
Received: by helix.usm.uni-muenchen.de (Postfix, from userid 2097)
	id 986C8161310B; Thu,  3 May 2012 18:34:43 +0200 (CEST)
Date: Thu, 3 May 2012 18:34:43 +0200
From: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
To: groff@gnu.org
Message-ID: <20120503163443.GC3763@usm.uni-muenchen.de>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 129.187.204.86
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 16:34:54 -0000


> I think esr is emphasizing (!) that in a structural-markup
> language the tags can have no typographic meaning whatsoever.  

Correct.  What Anton was considering unfair is the implication
that troff only does presentational markup, while it is entirely
possible to use structural markup (with an appropriate macro
set) as well.  A better comparison would have been

  All your base <b>are</b> belong to us!

vs.

  All your base <emphasis>are</emphasis> belong to us!

or

  All your base
  .B are
  belong to us!

vs.

  All your base
  .EMPH are
  belong to us!


> If you tie yourself to a presentation-markup language,

I think the idea is to stop thinking of troff and TeX as
presentation-markup languages.  They're more universal.

> there is no guarantee that a user has not made use of
> the presentation-markup language in such a way that it is
> impossible to migrate cleanly to a different structural markup
> or presentation.  Indeed, it has been the norm for users to
> reach for low-level commands while using high-level packages
> in groff or (La)TeX.  Neither system prevents the user in
> any way from being "non-structural".

It actually all depends on the user entering the text.
What about things like <emphasis style="font-weight: bold;">,
if such a thing were allowed by the markup language?
Users have always tended to turn to presentational markup
if it appeared to be the quicker way to achieve a desired
result (not only troff or TeX, but also HTML, which I believe
was intended as structural markup, but gained a lot of
presentational markup along the way).




From MAILER-DAEMON Thu May 03 13:20:17 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPzhR-0000Fj-1x
	for mharc-groff@gnu.org; Thu, 03 May 2012 13:20:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54870)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1SPzhP-0000EO-5D
	for groff@gnu.org; Thu, 03 May 2012 13:20:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1SPzhM-0004UC-5P
	for groff@gnu.org; Thu, 03 May 2012 13:20:14 -0400
Received: from mail-qc0-f169.google.com ([209.85.216.169]:58091)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1SPzhL-0004T0-UR
	for groff@gnu.org; Thu, 03 May 2012 13:20:12 -0400
Received: by qcsd16 with SMTP id d16so1599268qcs.0
	for <groff@gnu.org>; Thu, 03 May 2012 10:20:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type:content-transfer-encoding;
	bh=ZA3w9Qo7VXrCLTZRZWvMfn5Cr0vXkLWkOBVZNobolfI=;
	b=L+jJ5RD3hg0jTIj7WxDVZ1c1BlGYirGyFKCsp1OWP89mJJSP5ukYGBNJHcnJiAOQOu
	yP9rT+eQf0hE3bwervF9W3oGWo3oMgN0FSte0y0qhThfU98iXB/5CicCgwWWJ2vKM2tN
	spwnLYeQQZ3rZb6db3/grlgq2Q3jubIt26UJ5lmoYo3gfrFj/HsLzCCtCDpUL+S1OTnh
	dYOpRaHO0csFAaCyoXD1A/gBF/xyRIj53c3vfMhbkazhr9D1iuh1l8bC+lJQUKw27FqY
	+qwpXsW0UvsRU0u+NJbg8Ek7aGI+poGR8Ol+kRQnjoXmCjMIDFs+zwAHT1gMnI/TaCLP
	vOgQ==
Received: by 10.224.1.135 with SMTP id 7mr5281019qaf.16.1336065609523; Thu, 03
	May 2012 10:20:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.122.13 with HTTP; Thu, 3 May 2012 10:19:39 -0700 (PDT)
In-Reply-To: <20120503160741.GB3763@usm.uni-muenchen.de>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<4FA2A756.9060008@verinet.net>
	<20120503160741.GB3763@usm.uni-muenchen.de>
From: Michael Witten <mfwitten@gmail.com>
Date: Thu, 3 May 2012 17:19:39 +0000
Message-ID: <CAMOZ1BtXgETHDgruTK_SMWaDYDo-NTh5RR9dbzqJFrEFC5_-gQ@mail.gmail.com>
To: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.169
Cc: groff@gnu.org
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 17:20:16 -0000

On Thu, May 3, 2012 at 4:07 PM, Tadziu Hoffmann
<hoffmann@usm.uni-muenchen.de> wrote:
>
>> Macros come closer to "structural", but really aren't.
>
> I disagree. =C2=A0There is no principal difference between
>
> =C2=A0All your base
> =C2=A0.EMPH are
> =C2=A0belong to us!
>
> and
>
> =C2=A0All your base <emphasis>are</emphasis> belong to us!
>
> It's a purely a matter of syntax, not intent.

That's because your example is cherry-picked and disingenuous (or naive).

Structure implies abstraction, which implies a directed acyclic graph
of concepts.


From MAILER-DAEMON Thu May 03 13:28:20 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPzpE-0001mv-K2
	for mharc-groff@gnu.org; Thu, 03 May 2012 13:28:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40793)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=f4aPss=DH=schaffter.ca=peter@eigbox.net>)
	id 1SPzpC-0001mp-3L
	for groff@gnu.org; Thu, 03 May 2012 13:28:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=f4aPss=DH=schaffter.ca=peter@eigbox.net>)
	id 1SPzpA-00074a-96
	for groff@gnu.org; Thu, 03 May 2012 13:28:17 -0400
Received: from bosmailout09.eigbox.net ([66.96.189.9]:33460)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=f4aPss=DH=schaffter.ca=peter@eigbox.net>)
	id 1SPzpA-00074O-5h
	for groff@gnu.org; Thu, 03 May 2012 13:28:16 -0400
Received: from bosmailscan07.eigbox.net ([10.20.15.7])
	by bosmailout09.eigbox.net with esmtp (Exim) id 1SPzp6-00064C-Gb
	for groff@gnu.org; Thu, 03 May 2012 13:28:12 -0400
Received: from bosimpout02.eigbox.net ([10.20.55.2])
	by bosmailscan07.eigbox.net with esmtp (Exim) id 1SPzp5-0004PI-HB
	for groff@gnu.org; Thu, 03 May 2012 13:28:11 -0400
Received: from bosauthsmtp07.eigbox.net ([10.20.18.7])
	by bosimpout02.eigbox.net with NO UCE
	id 5VUC1j004099BUA01VUCXb; Thu, 03 May 2012 13:28:12 -0400
X-Authority-Analysis: v=2.0 cv=Z+Bb6gtA c=1 sm=1
	a=dMHj/cTXczL8SHbFQyzcVA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=Lm35ZGovu94A:10 a=d-Ega9QjyLEA:10 a=kj9zAlcOel0A:10 a=2C9gkkydAAAA:8
	a=g_SW5-S5AAAA:8 a=XAl25mIKzpvSrCAxz1oA:9 a=gOphonviwhGKaXNN8DwA:7
	a=CjuIK1q_8ugA:10 a=6aRKFIF0IiMA:10 a=_iVi8lqBSVAA:10
	a=x8qw8EAkfcRkIpZA8Q87Bg==:117
X-EN-OrigOutIP: 10.20.18.7
X-EN-IMPSID: 5VUC1j004099BUA01VUCXb
Received: from bas1-ottawa09-2925287095.dsl.bell.ca ([174.92.86.183]
	helo=augustus)
	by bosauthsmtp07.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SPzp4-0000Ur-N4
	for groff@gnu.org; Thu, 03 May 2012 13:28:12 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SPzp2-0000lU-Lg
	for groff@gnu.org; Thu, 03 May 2012 13:28:08 -0400
Date: Thu, 3 May 2012 13:28:03 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120503172803.GA2883@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <20120425154121.040037e9@dell-desktop.example.com>
	<20120425173037.GA3742@augustus>
	<20120430180243.35d6a182@dell-desktop.example.com>
	<20120501191253.GA3633@augustus>
	<CACBYe=7zzACYNXP7jsB-ODBKzT8zA10-9urBHQb3+XbOwBey2A@mail.gmail.com>
	<20120502215645.b8fdafbf.jklowden@schemamania.org>
	<CACBYe=63Vc0DCPFtdrvP34HXk-KYihE4DoWQOe2B0ouFppJOVw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACBYe=63Vc0DCPFtdrvP34HXk-KYihE4DoWQOe2B0ouFppJOVw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.86.183
X-EN-OrigHost: bas1-ottawa09-2925287095.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.189.9
Subject: Re: [Groff] [GROFF] OpenType fonts
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 17:28:19 -0000

On Thu, May 03, 2012, mikkel meinike wrote:
> I am much of an "image-man"
> (I did this once http://home.no/mlinux/postscri.htm)
> so I need to hav good image processing procedures.
> 
> Peter did you do any tutorials or demos on the work with text and images in mom?

Owing to the nature of my own work ("Words, words, words!", if I may
quote Hamlet), which has guided mom development, mom provides no
special features for working with text and images.  So, sorry...no
tutorials on that subject.

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Thu May 03 13:57:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ0Hk-00076M-QW
	for mharc-groff@gnu.org; Thu, 03 May 2012 13:57:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40181)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=f4aPss=DH=schaffter.ca=peter@eigbox.net>)
	id 1SQ0Hg-0006sa-L8
	for groff@gnu.org; Thu, 03 May 2012 13:57:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=f4aPss=DH=schaffter.ca=peter@eigbox.net>)
	id 1SQ0He-0003AB-Hv
	for groff@gnu.org; Thu, 03 May 2012 13:57:43 -0400
Received: from bosmailout03.eigbox.net ([66.96.185.3]:35707)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=f4aPss=DH=schaffter.ca=peter@eigbox.net>)
	id 1SQ0He-00039q-Bc
	for groff@gnu.org; Thu, 03 May 2012 13:57:42 -0400
Received: from bosmailscan16.eigbox.net ([10.20.15.16])
	by bosmailout03.eigbox.net with esmtp (Exim) id 1SQ0Hc-0000HN-N0
	for groff@gnu.org; Thu, 03 May 2012 13:57:40 -0400
Received: from bosimpout01.eigbox.net ([10.20.55.1])
	by bosmailscan16.eigbox.net with esmtp (Exim) id 1SQ0Hc-0000bz-AN
	for groff@gnu.org; Thu, 03 May 2012 13:57:40 -0400
Received: from bosauthsmtp09.eigbox.net ([10.20.18.9])
	by bosimpout01.eigbox.net with NO UCE
	id 5Vxa1j0080BkY8i01Vxa3b; Thu, 03 May 2012 13:57:34 -0400
X-Authority-Analysis: v=2.0 cv=eq1oOPVX c=1 sm=1
	a=dMHj/cTXczL8SHbFQyzcVA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=u16n9I4dUgcA:10 a=d-Ega9QjyLEA:10 a=kj9zAlcOel0A:10 a=g_SW5-S5AAAA:8
	a=Rldik9UyqmmF8WNg-w8A:9 a=CjuIK1q_8ugA:10
	a=+tcVrJynzLVJ9yqDAOBWjQ==:117
X-EN-OrigOutIP: 10.20.18.9
X-EN-IMPSID: 5Vxa1j0080BkY8i01Vxa3b
Received: from bas1-ottawa09-2925287095.dsl.bell.ca ([174.92.86.183]
	helo=augustus)
	by bosauthsmtp09.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SQ0HW-00065W-61
	for groff@gnu.org; Thu, 03 May 2012 13:57:34 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SQ0HU-0000mk-9s
	for groff@gnu.org; Thu, 03 May 2012 13:57:32 -0400
Date: Thu, 3 May 2012 13:57:27 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120503175727.GB2883@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120503163443.GC3763@usm.uni-muenchen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.86.183
X-EN-OrigHost: bas1-ottawa09-2925287095.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.185.3
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 17:57:46 -0000

On Thu, May 03, 2012, Tadziu Hoffmann wrote:
> 
> > I think esr is emphasizing (!) that in a structural-markup
> > language the tags can have no typographic meaning whatsoever.  
> 
> Correct.  What Anton was considering unfair is the implication
> that troff only does presentational markup

Which is patently untrue.  Using mom macros and HTML as an example:

.HEAD "Foo        <h1>Foo</h1>
.PP               <p>
Lorem ipsum...    Lorem ipsum...
.SUBHEAD "Bar     <h2>Bar</h2>
.PP               <p>
Lorem ipsum...    Lorem ipsum...
.LIST             <ul>
.ITEM             <li>
Item one          Item one</li>
.ITEM             <li>
Item two          Item two</li>
.LIST off         </ul>
.SUBSUBHEAD "Baz" <h3>Baz</h3>
.PP               <p>
Lorem ipsum...    Lorem ipsum...

> I think the idea is to stop thinking of troff and TeX as
> presentation-markup languages.  They're more universal.

Indeed, and therein lies their usefulness: superb typographic
control when you need it, and clear structural markup when that's
what's called for.
 
-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Thu May 03 14:15:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ0Z0-00018E-Lp
	for mharc-groff@gnu.org; Thu, 03 May 2012 14:15:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50597)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SQ0Yw-000182-Vd
	for groff@gnu.org; Thu, 03 May 2012 14:15:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SQ0Yv-00022b-2f
	for groff@gnu.org; Thu, 03 May 2012 14:15:34 -0400
Received: from mail9.sea5.speakeasy.net ([69.17.117.11]:57952)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SQ0Yu-00022F-QT
	for groff@gnu.org; Thu, 03 May 2012 14:15:33 -0400
Received: (qmail 11058 invoked from network); 3 May 2012 18:15:29 -0000
Received: by simscan 1.4.0 ppid: 3040, pid: 10785, t: 0.0369s
	scanners: clamav: 0.88.2/m:52/d:10739
Received: from mxperim8.sea5.speakeasy.net ([69.17.117.73])
	(envelope-sender <jklowden@schemamania.org>)
	by mail9.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP
	for <groff@gnu.org>; 3 May 2012 18:15:29 -0000
Received: from localhost (localhost [127.0.0.1])
	by mxperim8.sea5.speakeasy.net (Postfix) with ESMTP id 2BC168387C;
	Thu,  3 May 2012 11:15:29 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at mxperim8.sea5.speakeasy.net
Received: from mxperim8.sea5.speakeasy.net ([127.0.0.1])
	by localhost (mxperim8.sea5.speakeasy.net [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id XzB+Pk7DCqdz; Thu,  3 May 2012 11:15:28 -0700 (PDT)
Received: from oak.schemamania.org (dsl254-083-208.nyc1.dsl.speakeasy.net
	[216.254.83.208])
	by mxperim8.sea5.speakeasy.net (Postfix) with ESMTP;
	Thu,  3 May 2012 11:15:28 -0700 (PDT)
Received: from oak.schemamania.org (localhost [IPv6:::1])
	by oak.schemamania.org (Postfix) with SMTP id 7004630E0E9C;
	Thu,  3 May 2012 14:15:27 -0400 (EDT)
Date: Thu, 3 May 2012 14:15:27 -0400
From: "James K. Lowden" <jklowden@schemamania.org>
To: groff@gnu.org
Message-Id: <20120503141527.4ebb67af.jklowden@schemamania.org>
In-Reply-To: <1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64--netbsd)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 69.17.117.11
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: groff@gnu.org
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 18:15:37 -0000

On Thu, 3 May 2012 08:51:29 -0700 (PDT)
Dorai Sitaram <ds26gte@yahoo.com> wrote:

> While it may be possible to mimic the tags of structural markup in a
> presentation-markup language, there is power in completely and firmly
> separating the two aspects: you can then independently develop the
> two aspects; indeed the typographic aspect can come to embrace
> completely new and=A0even unexpected media whereas the
> structural=A0aspect remains the same.=A0=20

That's the promise, surely, but it's not borne out in practice.
Especially that bit about "unexpected media".  Markup languages come
and go much more often than media types do.  (Although I've met a few
media types I could do without.)  ;-)=20

Consider two pipelines:=20

	macro -> troff -> ditroff -> device
and
	markup -> style -> device

Both allow user input to be semantic rather than presentation, cf.
-mdoc and Docbook.  And both, of necessity, provide device-specific
escapes.  Therefore the claim that they're intrinsically different is
bogus. =20

Conversion complexity is similar, too.  Writing troff macros and SGML
stylesheets are both significant undertakings.  XML sought to simplify
styling by using a unified grammar -- it's all XML! -- but the problem
was never syntactical. =20

It's interesting to note that SGML, TeX, and troff were all invented to
deal with *print*, the goal being to isolate the user not from "all
media" but from particular printers.  They succeeded because printers
are interchangeable. =20

I have never seen a single-source document that looks equally good
as Postscript and as HTML.  If the author had paper in mind, the HTML
suffers from a lack of hyperlinks and from assumptions about
the display.  If the author intended HTML, the printed version lacks
finesse, if indeed there *is* a printed version (because, promise
notwithstanding, it's not that easy to do). =20

I suspect the reason is that the document is art, and author artist.
Every author has in mind an intended audience, and that audience has a
media preference that derives from how the document will be "consumed",
as the media types would have it. Those preferences inevitably are
manifested in the document because different media have different
characteristics that are intrinsic to the work the author creates. =20

--jkl


From MAILER-DAEMON Thu May 03 14:19:05 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ0cL-0001Kp-2N
	for mharc-groff@gnu.org; Thu, 03 May 2012 14:19:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51335)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SQ0cI-0001Jh-1L
	for groff@gnu.org; Thu, 03 May 2012 14:19:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SQ0cF-0002wi-Pu
	for groff@gnu.org; Thu, 03 May 2012 14:19:01 -0400
Received: from static-71-162-243-5.phlapa.fios.verizon.net
	([71.162.243.5]:33916 helo=snark.thyrsus.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SQ0cF-0002sp-Jk
	for groff@gnu.org; Thu, 03 May 2012 14:18:59 -0400
Received: by snark.thyrsus.com (Postfix, from userid 1000)
	id 4EBAE4043E; Thu,  3 May 2012 13:41:57 -0400 (EDT)
Date: Thu, 3 May 2012 13:41:57 -0400
From: "Eric S. Raymond" <esr@thyrsus.com>
To: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
Message-ID: <20120503174157.GA11460@thyrsus.com>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120503163443.GC3763@usm.uni-muenchen.de>
Organization: Eric Conspiracy Secret Labs
X-Eric-Conspiracy: There is no conspiracy
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 71.162.243.5
Cc: groff@gnu.org
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: esr@thyrsus.com
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 18:19:03 -0000

Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>:
> > I think esr is emphasizing (!) that in a structural-markup
> > language the tags can have no typographic meaning whatsoever.  
> 
> Correct.  What Anton was considering unfair is the implication
> that troff only does presentational markup, while it is entirely
> possible to use structural markup (with an appropriate macro
> set) as well.

Surprise, I'm on the groff list.  I've actually done a fair amount
of work on this suite, including for example adding support for eqn
to generate MathML and writing the pic documentation.

The rift between troff and DocBook-XML is that in troff, structural
markup is a rather strained and unnatural style that can never really
cover over the fact that the interpretation engine underneath is a
*typesetter*.  This is particularly clear near, for example, font
changes.

Because I wrote doclifter, which translates troff macros to DocBook
structural XML, I understand the width of this rift probably better
than *anyone* else. It is not a minor crack that can be papered
over with clever macro definitions, it's a huge gaping chasm that has
swallowed hackers whole in the past.

It took a couple of layers of compiler technology and about 200
cliche-recognition rules for doclifter to bridge that chasm; the
result is over 8000 lines of very dense Python.  So trust me when I
tell you that defining .EMPHASIS would only solve the least difficult
part of the problem!
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


From MAILER-DAEMON Thu May 03 14:21:17 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ0eT-0001ec-GL
	for mharc-groff@gnu.org; Thu, 03 May 2012 14:21:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46310)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1SQ0eQ-0001dS-Kb
	for groff@gnu.org; Thu, 03 May 2012 14:21:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1SQ0eO-0003nr-Gg
	for groff@gnu.org; Thu, 03 May 2012 14:21:14 -0400
Received: from relay02.pair.com ([209.68.5.16]:1221)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1SQ0eO-0003nf-BC
	for groff@gnu.org; Thu, 03 May 2012 14:21:12 -0400
Received: (qmail 53256 invoked from network); 3 May 2012 18:18:51 -0000
Received: from 96.242.179.133 (HELO foveal4.foveal.com) (96.242.179.133)
	by relay02.pair.com with SMTP; 3 May 2012 18:18:51 -0000
X-pair-Authenticated: 96.242.179.133
Received: by foveal4.foveal.com (Postfix, from userid 617)
	id 48AAC17CB09; Thu,  3 May 2012 14:21:09 -0400 (EDT)
Date: Thu, 3 May 2012 14:21:09 -0400
From: Mike Bianchi <MBianchi@Foveal.com>
To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
Message-ID: <20120503182109.GA19588@foveal4.foveal.com>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503175727.GB2883@augustus>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120503175727.GB2883@augustus>
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.68.5.16
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 18:21:16 -0000

On Thu, May 03, 2012 at 01:57:27PM -0400, Peter Schaffter wrote:
> > > I think esr is emphasizing (!) that in a structural-markup
> > > language the tags can have no typographic meaning whatsoever.  
> > 
> > Correct.  What Anton was considering unfair is the implication
> > that troff only does presentational markup
> 
> Which is patently untrue.

A point that think Eric would readily acknowledge.

But the first place most people encounter troff is by looking at the manual
pages.  Many of those are truly ancient and one just has to look at ed(1)
to see what he is referring to.
	gunzip < /usr/share/man/man1/ed.1.gz

And cause it is the model that people saw, for decades (and I know because I
was one of them) they just copied the form and function of what they saw.
After all, it was what everyone else did.

And anyone who grew up with WHAT-YOU-SEE-IS-ALL-YOU-GET text editors thinks
in the BOLD, ITALIC, UNDERLINE ... model as opposed to the COMMAND, ARGUMENT,
REQUIRED ... model.

-- 
 Mike Bianchi
 Foveal Systems

 973 822-2085

 MBianchi@Foveal.com
 http://www.AutoAuditorium.com
 http://www.FovealMounts.com


From MAILER-DAEMON Thu May 03 18:13:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ4HW-0005zQ-Jo
	for mharc-groff@gnu.org; Thu, 03 May 2012 18:13:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41372)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ted.Harding@wlandres.net>) id 1SQ4HT-0005zE-S6
	for groff@gnu.org; Thu, 03 May 2012 18:13:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Ted.Harding@wlandres.net>) id 1SQ4HR-0002Ey-Tl
	for groff@gnu.org; Thu, 03 May 2012 18:13:47 -0400
Received: from queue01.mail.zen.net.uk ([212.23.3.234]:57312)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ted.Harding@wlandres.net>) id 1SQ4HR-0002AU-NH
	for groff@gnu.org; Thu, 03 May 2012 18:13:45 -0400
Received: from [212.23.1.1] (helo=smarthost01.mail.zen.net.uk)
	by queue01.mail.zen.net.uk with esmtp (Exim 4.72)
	(envelope-from <Ted.Harding@wlandres.net>) id 1SQ4HP-0000NL-Mb
	for groff@gnu.org; Thu, 03 May 2012 22:13:43 +0000
Received: from [88.96.44.206] (helo=deb)
	by smarthost01.mail.zen.net.uk with esmtp (Exim 4.72)
	(envelope-from <Ted.Harding@wlandres.net>)
	id 1SQ4HO-0004D2-8u; Thu, 03 May 2012 22:13:42 +0000
Content-Length: 2286
Message-ID: <XFMail.20120503231332.Ted.Harding@wlandres.net>
X-Mailer: XFMail 1.5.5 on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20120503182109.GA19588@foveal4.foveal.com>
Date: Thu, 03 May 2012 23:13:32 +0100 (BST)
Sender: ted@deb
From: (Ted Harding) <Ted.Harding@wlandres.net>
To: groff@gnu.org
Bcc: 
X-Originating-Smarthost01-IP: [88.96.44.206]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.23.3.234
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Ted.Harding@wlandres.net
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 22:13:49 -0000

To go back to Anton's original posting, where he quoted
Eric Raymond:

    As an example: In a presentation-markup lan-
    guage,  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  physi-
    cal  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  bold-
    face".  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 doc-
    ument itself.

On the lines that others have since pointed out, one can
emulate the "<emphasis>are</emphasis>" (with definitions
in a "stylesheet") straightforwardly in groff:

.\"Stylesheet definitions:
.ds emph \fB
.ds /emph \fP
.\"..........................

All your base \*[emph]are\*[/emph] belong to us!

You could define \*[emph] as \fI (plain italic), or as \f[BI]
(bold italic), etc.

On that basis, I think (though I may have misunderstood the
distinction Eric Raymond want to make between presentation-markup
and structural-markup) that it comes to much the same thing!

However, in certain contexts one may wish to underline instead,
which gets more complicated in groff (and would be defined in
macros rather than in strings). Then its implementation would
look different, though it stills seems to be to come to the
same thing.

Best wishes to all,
Ted.

-------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@wlandres.net>
Date: 03-May-2012  Time: 23:13:25
This message was sent by XFMail
-------------------------------------------------


From MAILER-DAEMON Thu May 03 18:58:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ4yH-0000MF-FB
	for mharc-groff@gnu.org; Thu, 03 May 2012 18:58:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45450)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dreidellhasa@yahoo.com>) id 1SQ4yF-0000M7-4X
	for groff@gnu.org; Thu, 03 May 2012 18:58:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dreidellhasa@yahoo.com>) id 1SQ4yC-00014e-JK
	for groff@gnu.org; Thu, 03 May 2012 18:57:58 -0400
Received: from nm15-vm3.bullet.mail.ne1.yahoo.com ([98.138.91.145]:41260)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <dreidellhasa@yahoo.com>) id 1SQ4yC-00014a-6u
	for groff@gnu.org; Thu, 03 May 2012 18:57:56 -0400
Received: from [98.138.90.55] by nm15.bullet.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 22:57:54 -0000
Received: from [98.138.87.7] by tm8.bullet.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 22:57:54 -0000
Received: from [127.0.0.1] by omp1007.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 22:57:54 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 176794.64323.bm@omp1007.mail.ne1.yahoo.com
Received: (qmail 69184 invoked by uid 60001); 3 May 2012 22:57:53 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024;
	t=1336085873; bh=WaUnoh5v1a7udHj7h+H5NdFSqcSnTZWDnkZYk6lH5ic=;
	h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
	b=5Ozl+w4cEuZO3cRIl1xXbKfY93qFkYspqMUnVUQraWtcApVGGaAhxgIkPMB3K9P4oZg+DGfCFYOWE+HSHGnMjz32iNWuqgBeHPPnYHHXTT7NZ1aT+fPbyYNxWqEHZeOX9LUovJU/2j5r3GHRA/ulWHZZPWTxtwDgOtEzur6r/5k=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
	b=ya8PwZRim6HsGSDsC0jag6BX24HqPJxoLLS9YNKAsjy8uJ6cZPyPuuSVnXxAZx+28f6wPRLocEYgvO3GqmTWnEtD+FZlcOqGQF+OXW4awuS2zqs9ZBbjNEYrB3Wwe6LoXOTkIRQRKtHfgeISp8XG8dfl9JKPH/4/p0SYpZJTEjw=;
X-YMail-OSG: Ye7SV2gVM1k1horVuP_VBua7AZ80NR0U2KwMFA8sn32vvAV
	26HFB3phn8Ws79J8IPqAfoweL3xD84FYYn9RvypdqvpRiUC2ttcwPA4rMSQe
	cgbWYijUzBH8X9yNJcn6mG7XpfSjRDDrsp5v4daLS5wRukugsvdRWpZz0j40
	jKvHx1PMbVN3CbcCOdsvrSVzXb4YEQz6164MHcbNy6Ad5ilWQOUDrfVYaJSD
	ii9T.q6N8f8LahJDPf6mtrwk3jYAfFKTUk2wGhrONmHxEenPJdJWZvlVBNyf
	KH7L2ICzh4wgPbKSnmLnpkg2AXzoDKKPb0wa_LVuSFg6pXazXaBIFxsz3Cdg
	sWkpojq609T5AvWuiPB1Y8QwNlvEmXMl75XnzjbXtB8gm6UYLmSMMLV1su_P
	silZVBup5qo2AJxZ_HKWe1jEyO4_T_tWGiay0O1npIlV7G.OpPI.GV2yjQdc
	5yhrLcb9eyJ7WXqld8eNNfgHc2VTVc8Lb9_zHtsoWvHD0Bak13mziQeiZk8S
	EWqpb7KHoAtvF5JuoxD3PM8t33oYGxRkUaRRVbosGckzvNmZnL0ST81JyZ2H cQy4-
Received: from [71.139.19.18] by web31813.mail.mud.yahoo.com via HTTP;
	Thu, 03 May 2012 15:57:53 PDT
X-Mailer: YahooMailWebService/0.8.118.349524
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
Message-ID: <1336085873.47240.YahooMailNeo@web31813.mail.mud.yahoo.com>
Date: Thu, 3 May 2012 15:57:53 -0700 (PDT)
From: Meg McRoberts <dreidellhasa@yahoo.com>
To: "esr@thyrsus.com" <esr@thyrsus.com>,
	Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
In-Reply-To: <20120503174157.GA11460@thyrsus.com>
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 98.138.91.145
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
Cc: "groff@gnu.org" <groff@gnu.org>
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Meg McRoberts <dreidellhasa@yahoo.com>
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 22:58:01 -0000

Hi, Eric,=0ANice to know that you're still monitoring this list...=0A=0AI w=
as involved in converting some documents from a home-grown=0Aversion of ero=
ff/mm to Docbook back before Eric's tools were available=0Aand I agree that=
 there is a LOT more to it than just .EMPH.=A0 For example,=0Astrings were =
identified as commands, files, structures, etc and then the=0Astyle sheet d=
efined whether they were bold, italics, monofont, etc.=A0 And=0Aafter livin=
g through a few episodes when the "style" people decided that=0Acommands sh=
ould be italicized rather than bold, then a few years later, back=0Ato bold=
, then monofont, I can certainly see the advantage of that!=0A=0AThe most c=
hallenging discipline when writing in Docbook was that each=0Aentity had a =
beginning AND AN END -- and you had to stick to the rules.=0ANo more nestin=
g an H5 directly under an H2 just because you like the way=0Ait looked!=A0 =
=0A=0A=0AI suppose it is theoretically possible to turn troff into a struct=
ured system but=0Ait would be a very different beast than the troff we know=
...=A0 =0A=0A=0Ameg=0A=0A=0A=0A=0A>________________________________=0A> Fro=
m: Eric S. Raymond <esr@thyrsus.com>=0A>To: Tadziu Hoffmann <hoffmann@usm.u=
ni-muenchen.de> =0A>Cc: groff@gnu.org =0A>Sent: Thursday, May 3, 2012 10:41=
 AM=0A>Subject: Re: [Groff] Eric Raymond on groff and TeX=0A> =0A>Tadziu Ho=
ffmann <hoffmann@usm.uni-muenchen.de>:=0A>> > I think esr is emphasizing (!=
) that in a structural-markup=0A>> > language the tags can have no typograp=
hic meaning whatsoever.=A0 =0A>> =0A>> Correct.=A0 What Anton was consideri=
ng unfair is the implication=0A>> that troff only does presentational marku=
p, while it is entirely=0A>> possible to use structural markup (with an app=
ropriate macro=0A>> set) as well.=0A>=0A>Surprise, I'm on the groff list.=
=A0 I've actually done a fair amount=0A>of work on this suite, including fo=
r example adding support for eqn=0A>to generate MathML and writing the pic =
documentation.=0A>=0A>The rift between troff and DocBook-XML is that in tro=
ff, structural=0A>markup is a rather strained and unnatural style that can =
never really=0A>cover over the fact that the interpretation engine undernea=
th is a=0A>*typesetter*.=A0 This is particularly clear near, for example, f=
ont=0A>changes.=0A>=0A>Because I wrote doclifter, which translates troff ma=
cros to DocBook=0A>structural XML, I understand the width of this rift prob=
ably better=0A>than *anyone* else. It is not a minor crack that can be pape=
red=0A>over with clever macro definitions, it's a huge gaping chasm that ha=
s=0A>swallowed hackers whole in the past.=0A>=0A>It took a couple of layers=
 of compiler technology and about 200=0A>cliche-recognition rules for docli=
fter to bridge that chasm; the=0A>result is over 8000 lines of very dense P=
ython.=A0 So trust me when I=0A>tell you that defining .EMPHASIS would only=
 solve the least difficult=0A>part of the problem!=0A>-- =0A>=A0=A0=A0 =A0=
=A0=A0 <a href=3D"http://www.catb.org/~esr/">Eric S. Raymond</a>=0A>=0A>=0A=
>=0A>

From MAILER-DAEMON Thu May 03 19:12:51 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ5Cd-0001iy-GC
	for mharc-groff@gnu.org; Thu, 03 May 2012 19:12:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33777)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SQ5Cb-0001im-8N
	for groff@gnu.org; Thu, 03 May 2012 19:12:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SQ5CZ-0006WO-9r
	for groff@gnu.org; Thu, 03 May 2012 19:12:48 -0400
Received: from smtp02.frii.com ([216.17.135.168]:51643)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SQ5CZ-0006Vy-3X
	for groff@gnu.org; Thu, 03 May 2012 19:12:47 -0400
Received: from [192.168.0.100] (dsl-175-205.dynamic-dsl.frii.net
	[216.17.175.205])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp02.frii.com (FRII) with ESMTP id 281DDD9279;
	Thu,  3 May 2012 17:12:44 -0600 (MDT)
Message-ID: <4FA31100.8090801@verinet.net>
Date: Thu, 03 May 2012 17:13:04 -0600
From: Clarke Echols <clarke@verinet.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:11.0) Gecko/20120412 Thunderbird/11.0.1
MIME-Version: 1.0
To: Meg McRoberts <dreidellhasa@yahoo.com>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
	<1336085873.47240.YahooMailNeo@web31813.mail.mud.yahoo.com>
In-Reply-To: <1336085873.47240.YahooMailNeo@web31813.mail.mud.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 216.17.135.168
Cc: "esr@thyrsus.com" <esr@thyrsus.com>, "groff@gnu.org" <groff@gnu.org>
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 23:12:50 -0000

On 05/03/2012 04:57 PM, Meg McRoberts wrote:
> Hi, Eric,
> Nice to know that you're still monitoring this list...
>
> I was involved in converting some documents from a home-grown
> version of eroff/mm to Docbook back before Eric's tools were available
> and I agree that there is a LOT more to it than just .EMPH.  For example,
> strings were identified as commands, files, structures, etc and then the
> style sheet defined whether they were bold, italics, monofont, etc.  And
> after living through a few episodes when the "style" people decided that
> commands should be italicized rather than bold, then a few years later, back
> to bold, then monofont, I can certainly see the advantage of that!
>
> The most challenging discipline when writing in Docbook was that each
> entity had a beginning AND AN END -- and you had to stick to the rules.
> No more nesting an H5 directly under an H2 just because you like the way
> it looked!
>
>
> I suppose it is theoretically possible to turn troff into a structured system but
> it would be a very different beast than the troff we know...
>
>
> meg
>
>

That brings back memories of 1989 when I battled HP's Unix labs.  The 
HP-UX reference was called "the brick" due to size and density, and I
became known as "the bricktator" thanks to my monarchical management
style.  But I forced it through, and commands were in COURIER, not bold,
and variable arguments were italic.  I eliminated all \f... strings and
converted the entire mess to man macros.  It took about 10 minutes to do
after I spent 4 hours writing a shell script that ran vi 
non-interctively from a commands file, then sent the buffer through sed
to do what vi couldn't do.

The result was beautiful!

And my detractors were silenced. :-)  Including the ones who insisted
if a command name started a sentence, it had to have an initial cap, as
in "Cp copies files..." instead of "cp copies files..."  Or worse, they
wanted "The cp utility copies files..."

The problem is formal policies shouldn't over-rule good sense, however
uncommon it may be.

I know of no really practical methods of getting copy that looks good in
print, on screen (via nroff), AND online in XHTML, HTML, or whatever 
else is wanted.  And I'm not convinced obtaining such makes a lot of
sense.  Identify the audience, then deliver it in a way that is easy
to use, easy to read, with writing and layout that is easy to read
and understand.

Clarke


From MAILER-DAEMON Thu May 03 19:41:53 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ5ej-0003Xp-1m
	for mharc-groff@gnu.org; Thu, 03 May 2012 19:41:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58160)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dreidellhasa@yahoo.com>) id 1SQ5ef-0003Xi-Qb
	for groff@gnu.org; Thu, 03 May 2012 19:41:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dreidellhasa@yahoo.com>) id 1SQ5ed-0000e6-Mj
	for groff@gnu.org; Thu, 03 May 2012 19:41:49 -0400
Received: from nm18-vm0.bullet.mail.ne1.yahoo.com ([98.138.91.37]:22761)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <dreidellhasa@yahoo.com>) id 1SQ5ed-0000e0-A8
	for groff@gnu.org; Thu, 03 May 2012 19:41:47 -0400
Received: from [98.138.90.48] by nm18.bullet.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 23:41:45 -0000
Received: from [98.138.88.235] by tm1.bullet.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 23:41:45 -0000
Received: from [127.0.0.1] by omp1035.mail.ne1.yahoo.com with NNFMP;
	03 May 2012 23:41:45 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 520865.60728.bm@omp1035.mail.ne1.yahoo.com
Received: (qmail 34617 invoked by uid 60001); 3 May 2012 23:41:44 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024;
	t=1336088504; bh=WWHsGGkMyMG3ODDcPCgq4YrW3I5VN4r++xRegsWkrus=;
	h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
	b=MNnCk68jz+8XKUlu8AFHjIRQ5wSsRG6lJi6LkquGG0hXpg7tKWU8jx62nArpZw+bSQaNgLtuz4Dm978miRRg/Hsa7JsMAyunJmIY0+bPBZsKbidWH3b4M3cOfpcZPsBI25QGrJ5RodTkuiNCTr78PAhInOebCm1+KatI9b+UuPs=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
	b=Ujx/kXBh7Mx2g1PoJet7xk9CplC6stqnO/Q2Kc6eD/FcAJQIbNiOGH7kOIb21tKxYXz5T+cuRxdFMmGt3PV3DsgBoVaqH1XYSw1aipZkuaI7aszUdTSmoRC/Q08W0Lyp8HMwFfCNUr/caXXjggCyMDPHNg0d4yqTa6rqoMfBGvA=;
X-YMail-OSG: 5CrSMUIVM1kQEsi5r8QcyteUQv05wYaqj_B4KfYRxub_BgH
	.aJK8EKdIsjyniGuBY2jivk009foQFMzIctN3TgBqBqrTPcSqgXc.R9bg1wu
	sYdFXjWhZJWf21gSeMWRD6Pmh9r1AecwbQRtjD9swjRdIVr6e53eREAWW6BT
	wXVd8UlGufyITPN9IZ7F9cDjGH6deQPOHMJzx.yYyk6HltkLKkrshUYJ2Woo
	yDzTsQWKuKftnwKB3ungXX6NYu6b5cQM4sls6f5675qjBwxXlT0_o9S1uQPi
	BlHluMQzV40NH5vDzI2ETQMJz1b0WwOIwFxKdvi3oDqYt9MwLm09s0nYIYQM
	7jlo7LYvuc0SWMLnflPBQeyM97n5kUWbplG3W_FNr_bCOW0MMT60E2Wa9_RP
	g95juYuCWS1EmS4S4pNuaOaMz2QFLrFThLFCAxiAXvyGJ90niZuecVn6fDiq
	FRu9_USlR.y8hr5e_aUVPFK6LIJcP.hPMKfKlIkBM7A--
Received: from [71.139.19.18] by web31805.mail.mud.yahoo.com via HTTP;
	Thu, 03 May 2012 16:41:44 PDT
X-Mailer: YahooMailWebService/0.8.118.349524
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
	<1336085873.47240.YahooMailNeo@web31813.mail.mud.yahoo.com>
	<4FA31100.8090801@verinet.net>
Message-ID: <1336088504.30829.YahooMailNeo@web31805.mail.mud.yahoo.com>
Date: Thu, 3 May 2012 16:41:44 -0700 (PDT)
From: Meg McRoberts <dreidellhasa@yahoo.com>
To: Clarke Echols <clarke@verinet.net>
In-Reply-To: <4FA31100.8090801@verinet.net>
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 98.138.91.37
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
Cc: "esr@thyrsus.com" <esr@thyrsus.com>, "groff@gnu.org" <groff@gnu.org>
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Meg McRoberts <dreidellhasa@yahoo.com>
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 23:41:51 -0000

=0A=0AThat brings back memories of 1989 when I battled HP's Unix labs.=A0 T=
he =0A>HP-UX reference was called "the brick" due to size and density, and =
I=0A>became known as "the bricktator" thanks to my monarchical management=
=0A>style.=A0 But I forced it through, and commands were in COURIER, not bo=
ld,=0A>and variable arguments were italic.=A0 I eliminated all \f... string=
s and=0A>converted the entire mess to man macros.=A0 It took about 10 minut=
es to do=0A>after I spent 4 hours writing a shell script that ran vi =0A>no=
n-interctively from a commands file, then sent the buffer through sed=0A>to=
 do what vi couldn't do.=0A>=0A>The result was beautiful!=0A>=0A>Ah yes, ma=
ny memories!=A0 And remember the hue and cry when we had to=0A>split the ma=
n pages into two books!=A0 =0A>=0A>And my detractors were silenced. :-)=A0 =
Including the ones who insisted=0A>if a command name started a sentence, it=
 had to have an initial cap, as=0A>in "Cp copies files..." instead of "cp c=
opies files..."=A0 Or worse, they=0A>wanted "The cp utility copies files...=
"=0A>=0A>Ah yes, and these battles rage on...=A0 Actually, I confess that, =
outside of the=0A>reference pages, I've warmed to the "The cp command copie=
s files..." syntax.=0A>If you're on a page titled "cp(1)" it's reasonable t=
o assume that you can=0A>figure out it's a command, but if you're in the mi=
ddle of a manual and the=0A>sentence is "xxx defines <blah>", it is nice to=
 give a little mind-jogger as=0A>to whether xxx is a command, a file, a str=
uct, a database table, etc...=0A>=0A>The problem is formal policies shouldn=
't over-rule good sense, however=0A>uncommon it may be.=0A>=0A>Except that =
"good sense" means different things to different people, and=0A>when doing =
a large documentation set, many different people may be contributing.=0A>Wh=
ich is not to say that I'm a stickler for style guides, especially in a tim=
e when=0A>the user's "complete" doc set includes all sorts of different boo=
ks and online files=0A>from all sorts of different sources.=0A>=0A>I know o=
f no really practical methods of getting copy that looks good in=0A>print, =
on screen (via nroff), AND online in XHTML, HTML, or whatever =0A>else is w=
anted.=A0 And I'm not convinced obtaining such makes a lot of=0A>sense.=A0 =
Identify the audience, then deliver it in a way that is easy=0A>to use, eas=
y to read, with writing and layout that is easy to read=0A>and understand.=
=0A>=0A>I've come to feel differently about this, at least for product docu=
mentation.=A0 I had=0A>to abandon the feeling that I had complete control o=
f the aesthetics of the output=0A>a while ago -- as soon as the text is rel=
eased in an online form, you lose control of=0A>it -- at the very least, us=
ers can resize at will -- so I now advocate that one needs to=0A>create doc=
uments that look good enough in a variety of formats.=A0 It's more than=0A>=
just print, screen, and online.=A0 For example, one might excerpt large chu=
nks of a=0A>document onto slides for a training session.=A0 How nice to be =
able to just create a=0A>new style sheet but use the same raw content file =
-- so when the material is updated,=0A>you only have to update it in one pl=
ace!=0A>=0A>It also frustrates me when the only way to get "printed documen=
tation" is to print off=0A>pages of HTML, which generally doesn't play out =
very well in print.=A0 I'm noticing more=0A>and more doc sets where one can=
 view the online HTML doc but click a button to=0A>get a PDF file that has =
the same information in a similar (albeit not identical) format=0A>for prin=
ting.=0A>=0A>If one is, for example, writing a novel or poetry, these pract=
ical concerns are much=0A>less compelling...=0A>=0A>meg=0A>=0A>=0A>

From MAILER-DAEMON Thu May 03 23:56:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQ9dR-0007Dp-Rm
	for mharc-groff@gnu.org; Thu, 03 May 2012 23:56:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45959)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SQ9dO-0007CN-IY
	for groff@gnu.org; Thu, 03 May 2012 23:56:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SQ9dM-0002eM-BW
	for groff@gnu.org; Thu, 03 May 2012 23:56:46 -0400
Received: from smtp02.frii.com ([216.17.135.168]:59550)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1SQ9dM-0002eB-4V
	for groff@gnu.org; Thu, 03 May 2012 23:56:44 -0400
Received: from [192.168.0.100] (dsl-175-205.dynamic-dsl.frii.net
	[216.17.175.205])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp02.frii.com (FRII) with ESMTP id C4586D923D;
	Thu,  3 May 2012 21:56:40 -0600 (MDT)
Message-ID: <4FA3538D.7030307@verinet.net>
Date: Thu, 03 May 2012 21:57:01 -0600
From: Clarke Echols <clarke@verinet.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:11.0) Gecko/20120412 Thunderbird/11.0.1
MIME-Version: 1.0
To: Meg McRoberts <dreidellhasa@yahoo.com>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
	<1336085873.47240.YahooMailNeo@web31813.mail.mud.yahoo.com>
	<4FA31100.8090801@verinet.net>
	<1336088504.30829.YahooMailNeo@web31805.mail.mud.yahoo.com>
In-Reply-To: <1336088504.30829.YahooMailNeo@web31805.mail.mud.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 216.17.135.168
Cc: "groff@gnu.org" <groff@gnu.org>
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2012 03:56:48 -0000

On 05/03/2012 05:41 PM, Meg McRoberts wrote:
>
>     That brings back memories of 1989 when I battled HP's Unix labs. The
>     HP-UX reference was called "the brick" due to size and density, and I
>     became known as "the bricktator" thanks to my monarchical management
>     style. But I forced it through, and commands were in COURIER, not bold,
>     and variable arguments were italic. I eliminated all \f... strings and
>     converted the entire mess to man macros. It took about 10 minutes to do
>     after I spent 4 hours writing a shell script that ran vi
>     non-interctively from a commands file, then sent the buffer through sed
>     to do what vi couldn't do.
>
>     The result was beautiful!
>
>     Ah yes, many memories! And remember the hue and cry when we had to
>     split the man pages into two books!
>
>     And my detractors were silenced. :-) Including the ones who insisted
>     if a command name started a sentence, it had to have an initial cap, as
>     in "Cp copies files..." instead of "cp copies files..." Or worse, they
>     wanted "The cp utility copies files..."
>
>     Ah yes, and these battles rage on... Actually, I confess that,
>     outside of the
>     reference pages, I've warmed to the "The cp command copies files..."
>     syntax.
>     If you're on a page titled "cp(1)" it's reasonable to assume that
>     you can
>     figure out it's a command, but if you're in the middle of a manual
>     and the
>     sentence is "xxx defines <blah>", it is nice to give a little
>     mind-jogger as
>     to whether xxx is a command, a file, a struct, a database table, etc...
>
>     The problem is formal policies shouldn't over-rule good sense, however
>     uncommon it may be.
>
>     Except that "good sense" means different things to different people, and
>     when doing a large documentation set, many different people may be
>     contributing.
>     Which is not to say that I'm a stickler for style guides, especially
>     in a time when
>     the user's "complete" doc set includes all sorts of different books
>     and online files
>     from all sorts of different sources.
>
>     I know of no really practical methods of getting copy that looks good in
>     print, on screen (via nroff), AND online in XHTML, HTML, or whatever
>     else is wanted. And I'm not convinced obtaining such makes a lot of
>     sense. Identify the audience, then deliver it in a way that is easy
>     to use, easy to read, with writing and layout that is easy to read
>     and understand.
>
>     I've come to feel differently about this, at least for product
>     documentation. I had
>     to abandon the feeling that I had complete control of the aesthetics
>     of the output
>     a while ago -- as soon as the text is released in an online form,
>     you lose control of
>     it -- at the very least, users can resize at will -- so I now
>     advocate that one needs to
>     create documents that look good enough in a variety of formats. It's
>     more than
>     just print, screen, and online. For example, one might excerpt large
>     chunks of a
>     document onto slides for a training session. How nice to be able to
>     just create a
>     new style sheet but use the same raw content file -- so when the
>     material is updated,
>     you only have to update it in one place!
>
>     It also frustrates me when the only way to get "printed
>     documentation" is to print off
>     pages of HTML, which generally doesn't play out very well in print.
>     I'm noticing more
>     and more doc sets where one can view the online HTML doc but click a
>     button to
>     get a PDF file that has the same information in a similar (albeit
>     not identical) format
>     for printing.
>
>     If one is, for example, writing a novel or poetry, these practical
>     concerns are much
>     less compelling...
>
>     meg
>
>

Alas, the realities of life.  But I have learned to accept the
inevitability of change.  In 1973, I designed a computer system and
all peripherals for each of 2 test stations, and wrote all of the
software.  Assembler.  60 instructions per page.  Program listing
156 pages.  Written using IBM punch cards after hand writing the
whole mess out on programming sheets.  The machine had 32 Kbytes of
magnetic core memory.

Now I have an Ubuntu 11.4 Linux box with 64-bit, 3.3 Ghz Intel
Core I5 2500K processor (I don't need the I7 for what I do) with
8 Gb of RAM and two RAID1 (mirrored) disks.  The processor has
1157 pins connecting it to the mother board!!!!  I have no clue
how many billion transistors on the chip.  The chips I tested
had up to 5000 transistors.

To buy that much disk storage and that much memory in the mid-1980s
would have cost between $600M and $800M!  I built the entire thing,
processor and all for $800, US about 10 months ago.  That bends
this old engineer's brain big-time.

I marvel at the skill and technology that makes this all possible.
Back in the 1980s, Bill Hewlett and Dave Packard were in an
annual Division Review here (Colorado) and were listening to some
engineers talk about a project they were working on.  Bill or
Dave said to the other, "I think it's time to retire.  I don't
even understand what these guys are talking about."  I'm beginning
to feel the same way at times.

I wonder what it'll be like in another 35 years.  I'm sure today's
engineers would have trouble imagining it.

Clarke


From MAILER-DAEMON Fri May 04 07:28:35 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQGgd-0004SF-Qc
	for mharc-groff@gnu.org; Fri, 04 May 2012 07:28:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48235)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SQGga-0004Rj-KZ
	for groff@gnu.org; Fri, 04 May 2012 07:28:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SQGgY-00087l-VG
	for groff@gnu.org; Fri, 04 May 2012 07:28:32 -0400
Received: from relay01.pair.com ([209.68.5.15]:3411)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SQGgY-00087V-Ps
	for groff@gnu.org; Fri, 04 May 2012 07:28:30 -0400
Received: (qmail 69587 invoked from network); 4 May 2012 11:25:57 -0000
Received: from 87.113.30.7 (HELO orac.inputplus.co.uk) (87.113.30.7)
	by relay01.pair.com with SMTP; 4 May 2012 11:25:57 -0000
X-pair-Authenticated: 87.113.30.7
Received: by orac.inputplus.co.uk (Postfix, from userid 1000)
	id 6721428D9B; Fri,  4 May 2012 12:28:27 +0100 (BST)
Received: from orac.inputplus.co.uk (localhost [127.0.0.1])
	by orac.inputplus.co.uk (Postfix) with ESMTP id 3E2DF205F7
	for <groff@gnu.org>; Fri,  4 May 2012 12:28:27 +0100 (BST)
to: groff@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
In-reply-to: <20120503100638.GA3763@usm.uni-muenchen.de>
References: <201205022312.q42NCHZR008032@stowe.cs.dartmouth.edu>
	<20120503100638.GA3763@usm.uni-muenchen.de>
Comments: In-reply-to Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de> message
	dated "Thu, 03 May 2012 12:06:38 +0200."
Date: Fri, 04 May 2012 12:28:27 +0100
From: Ralph Corderoy <ralph@inputplus.co.uk>
Message-Id: <20120504112827.6721428D9B@orac.inputplus.co.uk>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.68.5.15
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2012 11:28:34 -0000

Hi Tadziu,

> [*] But I really prefer computer code typeset with "balanced" right
> and left single quotes.  The character at ASCII position 60h was often
> called "backquote" for the simple reason that it really was a
> symmetrical version of the "quote".  This was very common on UNIX
> systems before Unicode became the rage, as many fonts were encoded
> with Adobe's ISOLatin1Encoding, which had a real right quote at
> position 27h, and a real left quote at position 60h.

Agreed.  The problem with switching U+27 for another glyph is it messes
up cut-and-paste.  Could a PDF specify a normal font with the
modification of a sexy right single quote copy to U+27?  And for the web
we have web fonts, so a page could specify a doctored one for those?

Cheers, Ralph.


From MAILER-DAEMON Fri May 04 07:33:40 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQGlY-00058Q-BN
	for mharc-groff@gnu.org; Fri, 04 May 2012 07:33:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37500)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SQGlU-00057G-PH
	for groff@gnu.org; Fri, 04 May 2012 07:33:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SQGlT-0001ia-1Y
	for groff@gnu.org; Fri, 04 May 2012 07:33:36 -0400
Received: from relay00.pair.com ([209.68.5.9]:3031)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SQGlS-0001iO-Sb
	for groff@gnu.org; Fri, 04 May 2012 07:33:34 -0400
Received: (qmail 12125 invoked from network); 4 May 2012 11:29:18 -0000
Received: from 87.113.30.7 (HELO orac.inputplus.co.uk) (87.113.30.7)
	by relay00.pair.com with SMTP; 4 May 2012 11:29:18 -0000
X-pair-Authenticated: 87.113.30.7
Received: by orac.inputplus.co.uk (Postfix, from userid 1000)
	id 83C0F28D9B; Fri,  4 May 2012 12:33:32 +0100 (BST)
Received: from orac.inputplus.co.uk (localhost [127.0.0.1])
	by orac.inputplus.co.uk (Postfix) with ESMTP id 5E3D8205F7
	for <groff@gnu.org>; Fri,  4 May 2012 12:33:32 +0100 (BST)
to: groff@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
In-reply-to: <XFMail.20120503231332.Ted.Harding@wlandres.net>
References: <XFMail.20120503231332.Ted.Harding@wlandres.net>
Comments: In-reply-to (Ted Harding) <Ted.Harding@wlandres.net> message dated
	"Thu, 03 May 2012 23:13:32 +0100."
Date: Fri, 04 May 2012 12:33:32 +0100
From: Ralph Corderoy <ralph@inputplus.co.uk>
Message-Id: <20120504113332.83C0F28D9B@orac.inputplus.co.uk>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.68.5.9
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2012 11:33:39 -0000

Hi Ted,

> On that basis, I think (though I may have misunderstood the
> distinction Eric Raymond want to make between presentation-markup and
> structural-markup) that it comes to much the same thing!

The valid distinction seems to be that DocBook gives a tree structure to
the mark-up which troff does not.  A tree structure could be inferred
from knowledge of the macros meaning for a particular macro set but the
mark-up itself doesn't create one.  (See vi's `:set paragraphs?'.)

Having a tree structure allows one to do wholesale modifications, e.g.
move a branch AKA paragraph.

That said, I much prefer troff's quiet mark-up than the unworkable noise
of DocBook.

Cheers, Ralph.


From MAILER-DAEMON Fri May 04 09:41:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQIkv-0003OK-Bv
	for mharc-groff@gnu.org; Fri, 04 May 2012 09:41:09 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49760)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SQIkp-0003Mv-Fl
	for groff@gnu.org; Fri, 04 May 2012 09:41:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SQIkk-0007xF-HQ
	for groff@gnu.org; Fri, 04 May 2012 09:41:03 -0400
Received: from mail-qc0-f169.google.com ([209.85.216.169]:55218)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mimeini@gmail.com>) id 1SQIkk-0007wH-BJ
	for groff@gnu.org; Fri, 04 May 2012 09:40:58 -0400
Received: by qcsd16 with SMTP id d16so2199977qcs.0
	for <groff@gnu.org>; Fri, 04 May 2012 06:40:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=k4Y+RInBYNNE0iUwUGDL7YZOsVZFXRVQurZNDLTyv4o=;
	b=h5IxKiDhvHhLuPVObZ46XNv6JjoUnmSM1KF4aVkT7vUHaxD4u9Ldn9W2dC360Y0q22
	lFxJoShDTGwTGQ0AgZyzpPQguALuYW3cnvOdhVd+0qFq33Znl9eAsHmidJifwjPA9Gmd
	257k0Y4Qlji5PAyZklhnqq/8uaXeqvSHZmWACz7+5VnyX7mNLt6i4R8tcpHAFpp03+3V
	u99xdL/2HsmTfxvYEDjCJ+Zm5id0cDSMWJbrP4B9wwrPp+BVkmU6KVzD9YRpSDpQs+sd
	sRM/Us7s2+k31unrm+uj8DAIPjzY86T3vf0tgKYxP0AxuxuzedNP2cDsrExXOIhispMG
	+7aw==
MIME-Version: 1.0
Received: by 10.224.168.77 with SMTP id t13mr2477106qay.69.1336138855276; Fri,
	04 May 2012 06:40:55 -0700 (PDT)
Received: by 10.229.89.75 with HTTP; Fri, 4 May 2012 06:40:54 -0700 (PDT)
In-Reply-To: <20120503172803.GA2883@augustus>
References: <20120425154121.040037e9@dell-desktop.example.com>
	<20120425173037.GA3742@augustus>
	<20120430180243.35d6a182@dell-desktop.example.com>
	<20120501191253.GA3633@augustus>
	<CACBYe=7zzACYNXP7jsB-ODBKzT8zA10-9urBHQb3+XbOwBey2A@mail.gmail.com>
	<20120502215645.b8fdafbf.jklowden@schemamania.org>
	<CACBYe=63Vc0DCPFtdrvP34HXk-KYihE4DoWQOe2B0ouFppJOVw@mail.gmail.com>
	<20120503172803.GA2883@augustus>
Date: Fri, 4 May 2012 15:40:54 +0200
Message-ID: <CACBYe=719wdpCxB3pSCeS5AndcJKne7ofXfKVA_0hFBYPN1BZQ@mail.gmail.com>
From: mikkel meinike <mimeini@gmail.com>
To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.169
Subject: Re: [Groff] [GROFF] OpenType fonts
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2012 13:41:07 -0000

but it can be done with mom? images? just like in "ordinary groff"?

/mikkel


From MAILER-DAEMON Fri May 04 13:35:27 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQMPf-0005Jf-09
	for mharc-groff@gnu.org; Fri, 04 May 2012 13:35:27 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46497)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SQMPc-0005JL-Dh
	for groff@gnu.org; Fri, 04 May 2012 13:35:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SQMPa-0006v0-CN
	for groff@gnu.org; Fri, 04 May 2012 13:35:23 -0400
Received: from helix.usm.uni-muenchen.de ([129.187.204.86]:56842)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SQMPZ-0006tb-Ui
	for groff@gnu.org; Fri, 04 May 2012 13:35:22 -0400
Received: by helix.usm.uni-muenchen.de (Postfix, from userid 2097)
	id 92EE516130D6; Fri,  4 May 2012 19:35:18 +0200 (CEST)
Date: Fri, 4 May 2012 19:35:18 +0200
From: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
To: groff@gnu.org
Message-ID: <20120504173518.GA22903@usm.uni-muenchen.de>
References: <201205022312.q42NCHZR008032@stowe.cs.dartmouth.edu>
	<20120503100638.GA3763@usm.uni-muenchen.de>
	<20120504112827.6721428D9B@orac.inputplus.co.uk>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="a8Wt8u1KmwUX3Y2C"
Content-Disposition: inline
In-Reply-To: <20120504112827.6721428D9B@orac.inputplus.co.uk>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 129.187.204.86
Subject: Re: [Groff] Apostrophe mapped onto single closing quotation mark
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2012 17:35:25 -0000


--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


> The problem with switching U+27 for another glyph is it messes
> up cut-and-paste.  Could a PDF specify a normal font with the
> modification of a sexy right single quote copy to U+27?

Since Postscript Type-1 fonts are customarily re-encoded for
convenience, when selecting text for copying acroread cannot
go by the character numbers but must instead look up the
names in the encoding vector.  But that unfortunately means
that simply changing the encoding in groff is not sufficient,
and we explicitly have to rename the glyphs within the font
file (e.g., we want the glyph that looks like "quoteright",
but it has to be called "quotesingle").  Additionally, we
have to map groff's quotes to 8 (quotesingle) and 146 (grave)
in the font description file (or we define a new encoding file
and use that).  But it's possible, as the attached PDF shows.

(Don't know about Truetype fonts.)

> And for the web we have web fonts, so a page could specify
> a doctored one for those?

Possibly, but I have no experience with those.



--a8Wt8u1KmwUX3Y2C
Content-Type: application/pdf
Content-Disposition: attachment; filename="encoding.pdf"
Content-Transfer-Encoding: base64

JVBERi0xLjIKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURl
Y29kZT4+CnN0cmVhbQp4nHWQwU7EIBCGrxueYm7VgyMDloJHE2M8angAkXZtTdnabM36HPvE
QkvrXgwhk8z/zfw/jMCRgKeTqw+Mw1O8H2xkNCuQiw/wYNnta5Uads+WAYJKQFVJJKPBBnb1
dm0/I2UyJVFKznUkbR3F96Gvi0QILMH6i3WixFJxkcHCJYgnhDgKZUwWDjVkB6I1SIlaclot
usn1nf/HpEJB265iStBNfPuMaVTESWWx+bnYYFBoo++yNJ3+wiVg6XZTC+P3MDVHcDGlg6ML
X30DfgghNfru0Nxv4eUaXhEauXr6doDdM7gAu/OpHVzozrgMbL8u1oDFrDxa9hLPLx3Nai1l
bmRzdHJlYW0KZW5kb2JqCjYgMCBvYmoKMjU1CmVuZG9iago0IDAgb2JqCjw8L1R5cGUvUGFn
ZS9NZWRpYUJveCBbMCAwIDU5NSA4NDJdCi9QYXJlbnQgMyAwIFIKL1Jlc291cmNlczw8L1By
b2NTZXRbL1BERiAvVGV4dF0KL0ZvbnQgMTUgMCBSCj4+Ci9Db250ZW50cyA1IDAgUgo+Pgpl
bmRvYmoKMyAwIG9iago8PCAvVHlwZSAvUGFnZXMgL0tpZHMgWwo0IDAgUgpdIC9Db3VudCAx
Cj4+CmVuZG9iagoxIDAgb2JqCjw8L1R5cGUgL0NhdGFsb2cgL1BhZ2VzIDMgMCBSCj4+CmVu
ZG9iag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Cg==

--a8Wt8u1KmwUX3Y2C--


From MAILER-DAEMON Sat May 05 21:26:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQqEb-0002mO-JU
	for mharc-groff@gnu.org; Sat, 05 May 2012 21:26:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35326)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1SQqEY-0002lr-Ot
	for groff@gnu.org; Sat, 05 May 2012 21:26:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1SQqEW-0003ji-4y
	for groff@gnu.org; Sat, 05 May 2012 21:25:58 -0400
Received: from smtp1.execulink.net ([69.63.44.82]:45949)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1SQqEV-0003jB-Uy
	for groff@gnu.org; Sat, 05 May 2012 21:25:56 -0400
Received: from 209-183-128-110.pppoe.execulink.com ([209.183.128.110]
	helo=locust.locust-net) by smtp1.execulink.net with esmtp (Exim 4.77)
	(envelope-from <sizma@golden.net>)
	id 1SQqER-000117-RK; Sat, 05 May 2012 21:25:52 -0400
Received: from steve by locust.locust-net with local (Exim 4.72)
	(envelope-from <sizma@golden.net>)
	id 1SQqEQ-00013D-B1; Sat, 05 May 2012 21:25:50 -0400
Date: Sat, 5 May 2012 21:25:50 -0400
From: Steve Izma <sizma@golden.net>
To: groff@gnu.org
Message-ID: <20120506012550.GB2874@locust.locust-net>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120503174157.GA11460@thyrsus.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 69.63.44.82
Cc: "Eric S. Raymond" <esr@thyrsus.com>
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: sizma@golden.net
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 01:26:00 -0000

On Thu, May 03, 2012 at 01:41:57PM -0400, Eric S. Raymond wrote:
> Subject: Re: [Groff] Eric Raymond on groff and TeX
> 
> The rift between troff and DocBook-XML is that in troff, structural
> markup is a rather strained and unnatural style that can never really
> cover over the fact that the interpretation engine underneath is a
> *typesetter*.  This is particularly clear near, for example, font
> changes.
> 
> Because I wrote doclifter, which translates troff macros to DocBook
> structural XML, I understand the width of this rift probably better
> than *anyone* else. It is not a minor crack that can be papered
> over with clever macro definitions, it's a huge gaping chasm that has
> swallowed hackers whole in the past.

I assume that the above was necessary in order to rescue legacy
documents: to preserve the content but to add structure so that
the content can be presented on various media, possibly with a
choice of typographical tools, including some not yet developed.
It's too bad that we need to worry about this (but we certainly
do), but I think the real issue is moving forward and improving
the way we prepare and store our source documents. There's
nothing about the groff suite of tools that stands in the way of
this.

Granted docbook is noisy, but a source text using groff requests
is no less noisy and certainly less flexibile.

But there are many other ways of adding structure to text that
are not only more readable but are simple enough that they don't
get in the way of the writing and thinking process, e.g.,
wikitext or wiki markup. You can write stuff using these
techniques then convert the files to XML after you finished with
the creative part.

The SoftQuad people in Toronto during the 1980s put a lot of
effort not only into rewriting ditroff (i.e., the code they
licensed from AT&T) but also in getting it to work with SGML.
They made most of their money by actually doing documentation
projects -- not only designing the SGML used for the source texts
but also the troff macros needed to format them. They didn't rely
on MS. ME, etc., but re-thought how macros could handle an SGML
structure.

Peter's examples from MOM show how that can be done (except for
one problem: you need to signal the close of a paragraph, and
none of the groff macros I've seen do that).

But also I think we need to forget about monolithic macro
packages. DTDs and schemas exist because of the huge variety of
documents that need to be typeset. Even half-a-dozen "monolithic"
tmac files won't cover that territory.

Inspired by what SoftQuad was doing (and using their software for
many years), I started using troff on structured documents around
1988. At first the tagging was a hybrid of SGML and troff
converted by awk scripts to correct troff source, then by the
late 90s I was using python to parse and feed XML files to groff.
Working for a scholarly press, I have processed scores of books
and journals in the meantime.

I use a set of tmac "library" files, each of which handles a
particular function -- titles, subheads, footnotes and endnotes,
block quotations, lists, pagination, tables (which processes
CALS-style input, since I've never been able to reconcile XML
with tbl, unfortunately), floats, indexes, tables of contents,
etc. The actual design of a book or journal or document is
contained in a parent tmac file that calls up (using .so)
whatever library files are needed. The parent tmac sets variables
for the parameters of all the elements needed (similar to a CSS
file) and modifies (subclasses, in a sense) any of the library
macros if needed for a particular document's design needs.
So the library files can be consistent from project to project
but the main tmac file is always customised for the project.

Unfortunately, my macros have built up too much cruft over the
years, os over the last few months I've tried to completely
overhaul them and bring them as close as possible to a simple and
clean method of taking an XML document and utilizing all the
typographic power of groff to produce readable output. Since
groff is a filter, it does this much more elegantly (and quickly)
than TeX.

One of the biggest hassles I've always had to deal with in
typesetting SGML docs is the difference between a block element
and an in-line element. They really bear little relationship to
each other structurally. A block, e.g., a paragraph or a subhead,
can be easily parsed and separated from the stream for
processing. Any white space at the beginning or end of such a
block can be discarded and the proper spacing decisions turned
over to the macro definition. An in-line element (emphasis, small
caps, superior numbers) not only needs surrounding white space
(or lack of it) detected and preserved, it also breaks up the
enclosing block, leaving a tail (depending on the kind of parser
you're using). So far I have always needed to detect and define
separately whatever in-line elements a document uses, which
means that writing a general-purpose formatter for XML seems
virtually impossible.

Anyway, I don't think we'll get anywhere arguing that using troff
codes in source documents is forward-looking. At the same time I
see nothing being developed that comes close to groff's
typographical abilities. The so-called justification routines
used in ePubs is horrendous (they don't bother with hyphenation,
unless the broken word from the original print version has been
inadvertently left in).

	-- Steve

-- 
Steve Izma
-
Home: 35 Locust St., Kitchener N2H 1W6    p:519-745-1313
Work: Wilfrid Laurier University Press    p:519-884-0710 ext. 6125
E-mail: sizma@golden.net or steve@press.wlu.ca

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
<http://en.wikipedia.org/wiki/Posting_style>


From MAILER-DAEMON Sun May 06 00:45:15 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQtLP-0007ae-8K
	for mharc-groff@gnu.org; Sun, 06 May 2012 00:45:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36502)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcpgg-help-groff@m.gmane.org>) id 1SQtLM-0007aQ-GU
	for groff@gnu.org; Sun, 06 May 2012 00:45:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcpgg-help-groff@m.gmane.org>) id 1SQtLK-0001VK-U3
	for groff@gnu.org; Sun, 06 May 2012 00:45:12 -0400
Received: from plane.gmane.org ([80.91.229.3]:51942)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcpgg-help-groff@m.gmane.org>) id 1SQtLK-0001V5-Mo
	for groff@gnu.org; Sun, 06 May 2012 00:45:10 -0400
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <gcpgg-help-groff@m.gmane.org>) id 1SQtLE-0003Wm-W8
	for groff@gnu.org; Sun, 06 May 2012 06:45:05 +0200
Received: from gray.am-1.org ([188.120.231.229])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <groff@gnu.org>; Sun, 06 May 2012 06:45:04 +0200
Received: from oneingray by gray.am-1.org with local (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <groff@gnu.org>; Sun, 06 May 2012 06:45:04 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: groff@gnu.org
From: Ivan Shmakov <oneingray@gmail.com>
Date: Sun, 06 May 2012 11:38:06 +0700
Lines: 33
Sender: ivan@gray.siamics.net
Message-ID: <86y5p5zzyp.fsf_-_@gray.siamics.net>
References: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
	<20120502114435.GB15094@usm.uni-muenchen.de>
	<161BBE02-0C7F-4C2A-9C4D-45C5F1E53119@gmail.com>
	<2546816.GMNkFrdIUz@linuix>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: gray.am-1.org
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Cancel-Lock: sha1:oAmueSzwUURpfvjjrFqPleyyST8=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 80.91.229.3
Subject: [Groff] U+0027, U+002D, and U+0060 in code examples?
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 04:45:13 -0000

>>>>> Bruno Haible <bruno@clisp.org> writes:

[…]

 > But a hyphens looks nicer when it is thin; \[u2012] achieves this.
 > What you really want to do is to change your groff input so that it
 > uses

 > * - for hyphens,
 > * \- for minus signs.

 > Example:

 > \fBiconv \-f ISO\-8859\-1 \-t UTF\-8\fP

 > converts input from the old West-European encoding ISO\-8859\-1 to
 > Unicode.

	Do I understand it correctly that this will produce U+2212
	(MINUS SIGN) in the example command line?  Wouldn't it prevent
	this example from working should one copy it (from either $ man,
	or a PDF) to the command-line interpreter?

	Arguably, all the /code/ fragments (including Shell code
	fragments) should produce ASCII APOSTROPHE's, HYPHEN-MINUS'es
	and GRAVE ACCEPT's on the output (unless, of course, the
	programming language in question demands the similar Unicode
	characters by itself.)

[…]

-- 
FSF associate member #7257



From MAILER-DAEMON Sun May 06 06:19:51 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQyZD-0001ag-4L
	for mharc-groff@gnu.org; Sun, 06 May 2012 06:19:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58780)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SQyZA-0001aZ-1m
	for groff@gnu.org; Sun, 06 May 2012 06:19:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SQyZ8-000359-A6
	for groff@gnu.org; Sun, 06 May 2012 06:19:47 -0400
Received: from mo-p00-ob.rzone.de ([81.169.146.161]:61266)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bruno@clisp.org>) id 1SQyZ8-00034p-3s
	for groff@gnu.org; Sun, 06 May 2012 06:19:46 -0400
X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbvY44zMkpA==
X-RZG-CLASS-ID: mo00
Received: from linuix.haible.de
	(dslb-088-068-070-142.pools.arcor-ip.net [88.68.70.142])
	by smtp.strato.de (jored mo13) (RZmta 29.4 DYNA|AUTH)
	with ESMTPA id y05fa4o466Fe0c ; Sun, 6 May 2012 12:19:43 +0200 (CEST)
From: Bruno Haible <bruno@clisp.org>
To: groff@gnu.org
Bcc: bruno@haible.de
Date: Sun, 06 May 2012 12:20:17 +0200
Message-ID: <1777382.Bcjep1tSmi@linuix>
User-Agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )
In-Reply-To: <86y5p5zzyp.fsf_-_@gray.siamics.net>
References: <20120502153811.66a8c7274478e9982a376efa@gmail.com>
	<2546816.GMNkFrdIUz@linuix> <86y5p5zzyp.fsf_-_@gray.siamics.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 81.169.146.161
Cc: Ivan Shmakov <oneingray@gmail.com>
Subject: Re: [Groff] U+0027, U+002D, and U+0060 in code examples?
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 10:19:49 -0000

Ivan Shmakov wrote:
>  > But a hyphens looks nicer when it is thin; \[u2012] achieves this.
>  > What you really want to do is to change your groff input so that it
>  > uses
> 
>  > * - for hyphens,
>  > * \- for minus signs.
> 
>  > \fBiconv \-f ISO\-8859\-1 \-t UTF\-8\fP
>  > converts input from the old West-European encoding ISO\-8859\-1 to
>  > Unicode.
> 
> 	Do I understand it correctly that this will produce U+2212
> 	(MINUS SIGN) in the example command line?  Wouldn't it prevent
> 	this example from working should one copy it (from either $ man,
> 	or a PDF) to the command-line interpreter?

It depends on the output format ("device"):

  * When using -Tps and converting to PDF, copy&paste will produce
    U+2212 for the minus sign ('\-' input) and
    U+002D for the hyphen ('-' input).
    (I tried it with KDE's konqueror-embedded PDF viewer.)
    But copy&paste from PDF always needs postprocessing: In particular,
    I find the problem of the 'fi' ligature more inconventient when
    copy&pasting from PDF. In other words, I think the copy behaviour
    from PDF files should be corrected in the PDF viewers, not in groff.
    The main purpose of PostScript and PDF output is to produce good-looking
    printable output.

  * When using -Tutf8, copy&paste will produce:
    In groff < 1.20:
      U+2212 for the minus sign ('\-' input) and
      U+2010 for the hyphen ('-' input).
    In groff >= 1.20, with the -man or -mandoc macro packages:
      U+002D for the minus sign ('\-' input) and
      U+002D for the hyphen ('-' input).

    The latter change was done by Werner:

    2009-01-03  Werner LEMBERG  <wl@gnu.org>

	* tmac/an-old.tmac, tmac/doc.tmac: For -Tutf8, map \-, -, ', and `
	conservatively to ASCII for the sake of easy cut and paste.

    While it produces suboptimal typography, the justification is that
    for a terminal output copy&paste is more important than fine points
    of typography, and many man pages still use '-' instead of '\-'
    for minus signs (because they have not been well tested with -Tdvi
    or -Tpdf).

Bruno



From MAILER-DAEMON Sun May 06 07:01:15 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQzDH-00062u-UO
	for mharc-groff@gnu.org; Sun, 06 May 2012 07:01:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55332)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SQzDE-0005yQ-VO
	for groff@gnu.org; Sun, 06 May 2012 07:01:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SQzDC-0003IB-SR
	for groff@gnu.org; Sun, 06 May 2012 07:01:12 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:34384)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SQzDC-0003HD-IM
	for groff@gnu.org; Sun, 06 May 2012 07:01:10 -0400
Received: (qmail invoked by alias); 06 May 2012 11:01:07 -0000
Received: from 77.116.246.53.wireless.dyn.drei.com (EHLO localhost)
	[77.116.246.53]
	by mail.gmx.net (mp019) with SMTP; 06 May 2012 13:01:07 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX19X5etirjRXjZhXur0MpUQdbbTDqJLrSE787hZnTA
	49nwqTPPbATtkG
Date: Sun, 06 May 2012 13:01:02 +0200 (CEST)
Message-Id: <20120506.130102.236947525.wl@gnu.org>
To: bruno@clisp.org
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <1777382.Bcjep1tSmi@linuix>
References: <2546816.GMNkFrdIUz@linuix> <86y5p5zzyp.fsf_-_@gray.siamics.net>
	<1777382.Bcjep1tSmi@linuix>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.23
Cc: oneingray@gmail.com, groff@gnu.org
Subject: Re: [Groff] U+0027, U+002D, and U+0060 in code examples?
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 11:01:14 -0000


>   * When using -Tps and converting to PDF, copy&paste will produce
>     U+2212 for the minus sign ('\-' input) and
>     U+002D for the hyphen ('-' input).
>     (I tried it with KDE's konqueror-embedded PDF viewer.)
>     But copy&paste from PDF always needs postprocessing: In particular,
>     I find the problem of the 'fi' ligature more inconventient when
>     copy&pasting from PDF.

Ideally, there should be a proper ToUnicode cmap in the PDF so that
copy and paste gives good results.  On the PostScript side, it should
be theoretically possible to use the `GlyphNames2Unicode' dictionary
(an undocumented Adobe Distiller extension) so that PS->PDF software
can provide non-standard mappings.  Right now, I haven't found a full
example code for that.

However, the gropdf driver could directly add support for that...
Deri?


    Werner


From MAILER-DAEMON Sun May 06 12:45:36 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SR4aW-0006wq-4v
	for mharc-groff@gnu.org; Sun, 06 May 2012 12:45:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34426)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <deri@chuzzlewit.demon.co.uk>) id 1SR4aS-0006vs-Uz
	for groff@gnu.org; Sun, 06 May 2012 12:45:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <deri@chuzzlewit.demon.co.uk>) id 1SR4aR-0000yr-6v
	for groff@gnu.org; Sun, 06 May 2012 12:45:32 -0400
Received: from chuzzlewit.demon.co.uk ([80.177.169.146]:55647
	helo=dombey.localdomain) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <deri@chuzzlewit.demon.co.uk>)
	id 1SR4aQ-0000v4-Or; Sun, 06 May 2012 12:45:31 -0400
Received: by dombey.localdomain (Postfix, from userid 500)
	id E8CD820F50; Sun,  6 May 2012 17:45:07 +0100 (BST)
From: Deri James <deri@chuzzlewit.demon.co.uk>
To: groff@gnu.org
Date: Sun, 6 May 2012 17:45:07 +0100
User-Agent: KMail/1.13.7 (Linux/2.6.38.8-desktop-10.mga; KDE/4.6.5; x86_64; ; )
References: <2546816.GMNkFrdIUz@linuix> <1777382.Bcjep1tSmi@linuix>
	<20120506.130102.236947525.wl@gnu.org>
In-Reply-To: <20120506.130102.236947525.wl@gnu.org>
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_TqqpP9s13A8lhlX"
Message-Id: <201205061745.07460.deri@chuzzlewit.demon.co.uk>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 80.177.169.146
Cc: oneingray@gmail.com
Subject: Re: [Groff] U+0027, U+002D, and U+0060 in code examples?
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 16:45:34 -0000

--Boundary-00=_TqqpP9s13A8lhlX
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

On Sunday 06 May 2012 12:01:02 Werner LEMBERG wrote:
> Ideally, there should be a proper ToUnicode cmap in the PDF so that
> copy and paste gives good results.  On the PostScript side, it should
> be theoretically possible to use the `GlyphNames2Unicode' dictionary
> (an undocumented Adobe Distiller extension) so that PS->PDF software
> can provide non-standard mappings.  Right now, I haven't found a full
> example code for that.
> 
> However, the gropdf driver could directly add support for that...
> Deri?
> 
> 
>     Werner

Werner,

I've just had a cursory look at the pdf reference (1.4 - the one with a proper index!) and it looks like the example 
given on page 371 is very close to what we would need. I think this cmap could be used with groff encoding as given in 
text.enc:-

/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo
<< /Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000> <FFFF>
endcodespacerange
2 beginbfrange
<0020> <007f> <0020>
<008b> <008f> [<00660066> <00660069> <0066006c> <006600660069> <00660066006C>] <- ligatures at 139-143
<00ad> <00ad> <002d>  <- change minus to hyphen
endbfrange
endcmap
CMapName currentdict /CMap defineresource pop
end
end

Perhaps not ideal since this is tied to 'text.enc', in fact this ToUnicode CMAP is only embedded if the Groff font 
specifies encoding as 'text.enc' in its font file. Is there a better way of doing this? Are there other codes which 
should also be mapped here? (Quotes?)

(NB I still intend to use code from 'dvipdfmx' to do the font subsdetting at some point, which I believe includes a 
ToUnicode CMap, so this is a temporary solution.)

Attached is a small pdf showing this cmap in use. Generated from:-

.sp 1i
Finally we finished ffirst playing the flute.
.br
Now we test \- minus.

It should copy and paste expanding the ligatures (NB TR font does not have ffi or ffl defined), and also search properly  
when viewing the pdf.

Cheers

Deri

--Boundary-00=_TqqpP9s13A8lhlX
Content-Type: application/pdf;
  name="fi.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="fi.pdf"

JVBERi0xLjQKJeLjz9MKMyAwIG9iaiA8PCAvQ29udGVudHMgWzQgMCBSICBdCi9Hcm91cCA8PCAv
Q1MgL0RldmljZVJHQgovUyAvVHJhbnNwYXJlbmN5Cj4+Ci9QYXJlbnQgMiAwIFIKL1R5cGUgL1Bh
Z2UKPj4KZW5kb2JqCjQgMCBvYmogPDwgL0ZpbHRlciBbL0ZsYXRlRGVjb2RlIF0KL0xlbmd0aCAx
ODMKPj4Kc3RyZWFtCnicZY7LCoMwEEX38xV3qZs0sfjaFmqhi4KQXelCNFaL2oeK+A/2U/qPTbAF
aQkzDMycc3OHANdv7mlNHDtdZ7pjI+m78x34PICsaRW5EBwy10cyJc4418OAoxWVTVJVIwaFqSnb
QmXI7RPkngKHOa4RyWwJTI+2w61KxrI5oysUnn2n2Iwsgr3QM8FznCGtw9WGvJAQLPT/tYP5Qae0
+4W6bPr2RynckK3XBvtItxIxxfQGS59A2WVuZHN0cmVhbQplbmRvYmoKMSAwIG9iaiA8PCAvUGFn
ZXMgMiAwIFIgCi9UeXBlIC9DYXRhbG9nCj4+CmVuZG9iago4IDAgb2JqIDw8IC9DcmVhdGlvbkRh
dGUgKEQ6MjAxMjA1MDYxNzI5MDArMScwMCcpCi9DcmVhdG9yIChncm9mZiB2ZXJzaW9uIDEuMjEp
Ci9Nb2REYXRlIChEOjIwMTIwNT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--


From MAILER-DAEMON Mon May 07 10:07:56 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRObU-0005G7-Jh
	for mharc-groff@gnu.org; Mon, 07 May 2012 10:07:56 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53558)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SRObR-0005Fb-Vz
	for groff@gnu.org; Mon, 07 May 2012 10:07:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SRObH-0000UN-KZ
	for groff@gnu.org; Mon, 07 May 2012 10:07:53 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:47486)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SRObH-0000U5-9b
	for groff@gnu.org; Mon, 07 May 2012 10:07:43 -0400
Received: (qmail invoked by alias); 07 May 2012 14:07:41 -0000
Received: from unknown (EHLO localhost) [62.116.81.206]
	by mail.gmx.net (mp041) with SMTP; 07 May 2012 16:07:41 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX1+te059sFaty09V0psTe+34iGR6N8lOyACPQz7rHo
	bBkTzPGgNpctOF
Date: Mon, 07 May 2012 09:54:21 +0200 (CEST)
Message-Id: <20120507.095421.31148164.wl@gnu.org>
To: deri@chuzzlewit.demon.co.uk
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <201205061745.07460.deri@chuzzlewit.demon.co.uk>
References: <1777382.Bcjep1tSmi@linuix> <20120506.130102.236947525.wl@gnu.org>
	<201205061745.07460.deri@chuzzlewit.demon.co.uk>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.23
Cc: oneingray@gmail.com, groff@gnu.org
Subject: Re: [Groff] U+0027, U+002D, and U+0060 in code examples?
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 07 May 2012 14:07:55 -0000


Hello Deri!


> I think this cmap could be used with groff encoding as given in
> text.enc:- [...]

Looks OK.  Thanks for the quick reaction!

> Perhaps not ideal since this is tied to 'text.enc', in fact this
> ToUnicode CMAP is only embedded if the Groff font specifies encoding
> as 'text.enc' in its font file.  Is there a better way of doing
> this?  Are there other codes which should also be mapped here?
> (Quotes?)

Whatever we do, it should be user-controllable.  However, I'm unsure
how this is done best.

> (NB I still intend to use code from 'dvipdfmx' to do the font
> subsdetting at some point, which I believe includes a ToUnicode
> CMap, so this is a temporary solution.)

Great!  For now, I think it's fully sufficient.


    Werner


From MAILER-DAEMON Mon May 07 15:06:28 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRTGO-0007y6-B6
	for mharc-groff@gnu.org; Mon, 07 May 2012 15:06:28 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60513)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SRTGL-0007sT-Cc
	for groff@gnu.org; Mon, 07 May 2012 15:06:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SRTGJ-00069a-He
	for groff@gnu.org; Mon, 07 May 2012 15:06:24 -0400
Received: from mail18.sea5.speakeasy.net ([69.17.117.20]:42534)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SRTGJ-00069G-8f
	for groff@gnu.org; Mon, 07 May 2012 15:06:23 -0400
Received: (qmail 28391 invoked from network); 7 May 2012 19:06:19 -0000
Received: by simscan 1.4.0 ppid: 12142, pid: 21428, t: 0.0192s
	scanners: clamav: 0.88.2/m:52/d:10739
Received: from mxperim7.sea5.speakeasy.net ([69.17.117.72])
	(envelope-sender <jklowden@schemamania.org>)
	by mail18.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP
	for <groff@gnu.org>; 7 May 2012 19:06:19 -0000
Received: from localhost (localhost [127.0.0.1])
	by mxperim7.sea5.speakeasy.net (Postfix) with ESMTP id 603C5AF58F;
	Mon,  7 May 2012 12:06:19 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at mxperim7.sea5.speakeasy.net
Received: from mxperim7.sea5.speakeasy.net ([127.0.0.1])
	by localhost (mxperim7.sea5.speakeasy.net [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id mDBk+g4XoI0S; Mon,  7 May 2012 12:06:18 -0700 (PDT)
Received: from oak.schemamania.org (dsl254-083-208.nyc1.dsl.speakeasy.net
	[216.254.83.208])
	by mxperim7.sea5.speakeasy.net (Postfix) with ESMTP;
	Mon,  7 May 2012 12:06:18 -0700 (PDT)
Received: from oak.schemamania.org (localhost [IPv6:::1])
	by oak.schemamania.org (Postfix) with SMTP id C69DC30E0E9C;
	Mon,  7 May 2012 15:06:17 -0400 (EDT)
Date: Mon, 7 May 2012 15:06:17 -0400
From: "James K. Lowden" <jklowden@schemamania.org>
To: groff@gnu.org
Message-Id: <20120507150617.ba378d62.jklowden@schemamania.org>
In-Reply-To: <20120506012550.GB2874@locust.locust-net>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
	<20120506012550.GB2874@locust.locust-net>
X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64--netbsd)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 69.17.117.20
Cc: sizma@golden.net
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: groff@gnu.org
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 07 May 2012 19:06:26 -0000

On Sat, 5 May 2012 21:25:50 -0400
Steve Izma <sizma@golden.net> wrote:

I found your story facinating, especially the observation that groff,
because it's a filter, is well suited to typesetting *any* input. One
might say groff provides an abstract printer in the same sense that Unix
provides an abstract machine.    

> Any white space at the beginning or end of such a
> block can be discarded and the proper spacing decisions turned
> over to the macro definition. An in-line element (emphasis, small
> caps, superior numbers) not only needs surrounding white space
> (or lack of it) detected and preserved, it also breaks up the
> enclosing block, leaving a tail (depending on the kind of parser
> you're using). 

What is "tail" here, please?  I thought I understood until then.  

> So far I have always needed to detect and define
> separately whatever in-line elements a document uses, which
> means that writing a general-purpose formatter for XML seems
> virtually impossible.

Why is it not possible to divide and conquer?  If we know the set of
tags and every tag is either block or inline (never both), why can't a
dictionary of tag properties permit uniform handling of all in-line
elements?  

--jkl


From MAILER-DAEMON Tue May 08 00:06:17 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRbgn-0008Ql-VA
	for mharc-groff@gnu.org; Tue, 08 May 2012 00:06:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60481)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1SRbgk-0008Q6-AY
	for groff@gnu.org; Tue, 08 May 2012 00:06:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1SRbgi-00069b-58
	for groff@gnu.org; Tue, 08 May 2012 00:06:13 -0400
Received: from smtp1.execulink.net ([69.63.44.82]:35777)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1SRbgi-00069V-0d
	for groff@gnu.org; Tue, 08 May 2012 00:06:12 -0400
Received: from node-14689.pppoe.execulink.com ([216.75.181.54]
	helo=locust.locust-net) by smtp1.execulink.net with esmtp (Exim 4.77)
	(envelope-from <sizma@golden.net>) id 1SRbgd-0000Hg-TW
	for groff@gnu.org; Tue, 08 May 2012 00:06:08 -0400
Received: from steve by locust.locust-net with local (Exim 4.72)
	(envelope-from <sizma@golden.net>) id 1SRbgd-0000sP-9F
	for groff@gnu.org; Tue, 08 May 2012 00:06:07 -0400
Date: Tue, 8 May 2012 00:06:07 -0400
From: Steve Izma <sizma@golden.net>
To: groff@gnu.org
Message-ID: <20120508040607.GE2879@locust.locust-net>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
	<20120506012550.GB2874@locust.locust-net>
	<20120507150617.ba378d62.jklowden@schemamania.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120507150617.ba378d62.jklowden@schemamania.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 69.63.44.82
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: sizma@golden.net
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 08 May 2012 04:06:16 -0000

On Mon, May 07, 2012 at 03:06:17PM -0400, James K. Lowden wrote:
> Subject: Re: [Groff] Eric Raymond on groff and TeX
> 
> > ... An in-line element (emphasis, small
> > caps, superior numbers) not only needs surrounding white space
> > (or lack of it) detected and preserved, it also breaks up the
> > enclosing block, leaving a tail (depending on the kind of parser
> > you're using). 
> 
> What is "tail" here, please?  I thought I understood until then.  

Sorry about this; it's actually hard to explain without a few
examples, which is probably too much for this space. To give a
simple answer, a tail is the part of a paragraph, for example,
that follows an interuption like a few words in emphasis. It's
relatively easy to process contiguous data within an element, but
you need to do more work to connect things together when they are
broken up by other elements. Typographically speaking, it's very
important to properly detect and handle the whitespace around the
interuption.

I've made a lot of notes about this, and I promise that soon I
will try to document this and other issues that make XML to groff
processing tricky.
 
> > So far I have always needed to detect and define
> > separately whatever in-line elements a document uses, which
> > means that writing a general-purpose formatter for XML seems
> > virtually impossible.
> 
> Why is it not possible to divide and conquer?  If we know the set of
> tags and every tag is either block or inline (never both), why can't a
> dictionary of tag properties permit uniform handling of all in-line
> elements?  

That's exactly what you need to do, but it's not general-purpose
because each project that has a different DTD would require
rewriting the dictionary to include the inline tags for that DTD.
As far as I know, there's no conventional way of flagging inline
tags in DTDs or schemas. E.g., typical ways of tagging emphasis:
<i>, <e1>, <italic>, <emphasis>, <emphasis type="bold">.

By the way, using groff as part of a pipeline that includes a
python script for XML parsing is blindingly fast. On my three- or
four-year-old computers I can process a 200 page book in a few
seconds. This means, using vi, for example, that you can make a
correction in a file, hit a memory key that runs the groff
pipeline, and have a postscript viewer (I use okular these days)
watch the file for almost instantaneous updates.

	-- Steve

-- 
Steve Izma
-
Home: 35 Locust St., Kitchener N2H 1W6    p:519-745-1313
Work: Wilfrid Laurier University Press    p:519-884-0710 ext. 6125
E-mail: sizma@golden.net or steve@press.wlu.ca

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
<http://en.wikipedia.org/wiki/Posting_style>


From MAILER-DAEMON Tue May 08 06:03:04 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRhG4-0006Hg-UO
	for mharc-groff@gnu.org; Tue, 08 May 2012 06:03:04 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51411)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sygne@ombres.eu>) id 1SRhFw-0006BL-S3
	for groff@gnu.org; Tue, 08 May 2012 06:03:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sygne@ombres.eu>) id 1SRhFp-00007l-Tb
	for groff@gnu.org; Tue, 08 May 2012 06:02:56 -0400
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60165)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sygne@ombres.eu>) id 1SRhFp-00006k-Mw
	for groff@gnu.org; Tue, 08 May 2012 06:02:49 -0400
X-Originating-IP: 217.70.178.136
Received: from mfilter7-d.gandi.net (mfilter7-d.gandi.net [217.70.178.136])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 3CA03A8076
	for <groff@gnu.org>; Tue,  8 May 2012 12:02:44 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter7-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter7-d.gandi.net (mfilter7-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id AAuu9PLFqd-9 for <groff@gnu.org>;
	Tue,  8 May 2012 12:02:43 +0200 (CEST)
X-Originating-IP: 84.101.11.5
Received: from localhost.localdomain (5.11.101.84.rev.sfr.net [84.101.11.5])
	(Authenticated sender: sygne@ombres.eu)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id C50C2A80AD
	for <groff@gnu.org>; Tue,  8 May 2012 12:02:42 +0200 (CEST)
Date: Tue, 08 May 2012 12:02:19 +0200
From: Pierre-Jean <sygne@ombres.eu>
To: groff@gnu.org
Message-ID: <4fa8ef2b.4qCTDiLAQaNZ2s00%sygne@ombres.eu>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
	<20120506012550.GB2874@locust.locust-net>
	<20120507150617.ba378d62.jklowden@schemamania.org>
	<20120508040607.GE2879@locust.locust-net>
In-Reply-To: <20120508040607.GE2879@locust.locust-net>
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 217.70.183.195
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 08 May 2012 10:03:02 -0000

Steve Izma <sizma@golden.net> wrote:

> I've made a lot of notes about this, and I promise that soon I
> will try to document this and other issues that make XML to groff
> processing tricky.

Most of us would like to read this, it's a very intersting
issue about troff. Please, inform the list when you've got a
draft of this document.

> That's exactly what you need to do, but it's not general-purpose
> because each project that has a different DTD would require
> rewriting the dictionary to include the inline tags for that DTD.
> As far as I know, there's no conventional way of flagging inline
> tags in DTDs or schemas. E.g., typical ways of tagging emphasis:
> <i>, <e1>, <italic>, <emphasis>, <emphasis type="bold">.

This problem is, in my opinion, true for all xml-to-print
software: you'll have to make typographical and layout
choices, you'll have to choose how to render each specific
tag, and this can't be done a priori for all the existing
xml schemas. Making a distinction between inline and block
elements is a little part of this work.

Furthermore, the fact that the distinction between inline
and block elements doesn't exist in xml is not only a
problem for troff, but for most of the printers. The CSS
style sheet *must* define if a tag is an inline or a block
element to render properly an xhtml page - we usually forget
this because most of the tags have a default definition.

Cheers,
Pierre-Jean.


From MAILER-DAEMON Tue May 08 14:08:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRoq9-0003cF-V3
	for mharc-groff@gnu.org; Tue, 08 May 2012 14:08:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34836)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SRoq7-0003b4-Fb
	for groff@gnu.org; Tue, 08 May 2012 14:08:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SRoq0-0002vk-Oe
	for groff@gnu.org; Tue, 08 May 2012 14:08:47 -0400
Received: from helix.usm.uni-muenchen.de ([129.187.204.86]:49603)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hoffmann@usm.uni-muenchen.de>) id 1SRoq0-0002rS-Ah
	for groff@gnu.org; Tue, 08 May 2012 14:08:40 -0400
Received: by helix.usm.uni-muenchen.de (Postfix, from userid 2097)
	id 5FAAA16130D6; Tue,  8 May 2012 20:08:37 +0200 (CEST)
Date: Tue, 8 May 2012 20:08:37 +0200
From: Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
To: groff@gnu.org
Message-ID: <20120508180836.GB9347@usm.uni-muenchen.de>
References: <2546816.GMNkFrdIUz@linuix> <86y5p5zzyp.fsf_-_@gray.siamics.net>
	<1777382.Bcjep1tSmi@linuix> <20120506.130102.236947525.wl@gnu.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="BXVAT5kNtrzKuDFl"
Content-Disposition: inline
In-Reply-To: <20120506.130102.236947525.wl@gnu.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 129.187.204.86
Subject: Re: [Groff] U+0027, U+002D, and U+0060 in code examples?
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 08 May 2012 18:08:48 -0000


--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


> On the PostScript side, it should be theoretically possible to
> use the `GlyphNames2Unicode' dictionary (an undocumented Adobe
> Distiller extension) so that PS->PDF software can provide
> non-standard mappings.  Right now, I haven't found a full
> example code for that.

An interesting point.  I've played around a bit with this and
the difficulty I've had is getting ghostscript to actually
emit a ToUnicode map.  I've managed it only by hacking the
ghostscript source (making pdf_simple_font_needs_ToUnicode()
always return true).  Additionally, I've added a
GlyphNames2Unicode dictionary to Courier's FontInfo, like this:

  /GlyphNames2Unicode
  <<
  /quoteright 16#0027
  /quoteleft  16#0060
  /minus      16#002d
  >>
  def

(FontInfo is in the "visible" part of the font file, so
no disassembly is required.  grops could insert this while
reencoding, but I'm against doing this unconditionally.)

With these changes selecting the Courier text in the resulting
PDF in acroread returns ASCII code points.


Another point: GlyphNames2Unicode appears to only support
single Unicode points, so we can't map one glyph to a sequence
of characters, as would be desirable for uncommon ligatures.
But for copy-and-pasting command lines it should be enough.



--BXVAT5kNtrzKuDFl
Content-Type: application/pdf
Content-Disposition: attachment; filename="encoding.pdf"
Content-Transfer-Encoding: base64

JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURl
Y29kZT4+CnN0cmVhbQp4nHWRz06EMBDG732KuQGJjC3lr0cTY/Sm6c2YUKEuGApLYLP6UPuO
tt2ie9A0TZv5ftP5ZjoDRQbULn82mlw/F7BbCIV7s3dkJswB4I9Gw60wUGkD4p2c8xgUCRQF
R1aVIDQJ60h8GIpRj3HknNLSoKI16ts0tPEpsFCCGYjm4kWeYlZWGxpIC1GLMIpJXlVeGFvY
iiSblwxLTtlWpF/l0Df/limQbzVWS8RmCI4pMWeU5V5UnxfpFSbGWuql9fjrzQIu+hL2awfz
YVrVcgVdlCGlBU/Cr32nRhORxrjux8OiFneXsEi9HxQ0k9Y2MPSjuolexSOJGWdoBhubDl1H
vt/0z6GqppsgeACpIaiP3SR1X0N8wnPSz3+lm/vAKXeCPJn1DRkufFZlbmRzdHJlYW0KZW5k
b2JqCjYgMCBvYmoKMjk3CmVuZG9iago0IDAgb2JqCjw8L1R5cGUvUGFnZS9NZWRpYUJveCBb
MCAwIDU5NSA4NDJdCi9QYXJlbnQgMyAwIFIKL1Jlc291cmNlczw8L1Byb2NTZXRbL1BERiAv
VGV4dF0KL0V4dEdTdGF0ZSAxNiAwIFIKL0ZvbnQgMTcgMCBSCj4+Ci9Db250ZW50cyA1IDAg
Ugo+PgplbmRvYmoKMyAwIG9iago8PCAvVHlwZSAvUGFnZXMgL0tpZHMgWwo0IDAgUgpdIC9D
b3VudCAxCj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4cmVmCjEz
MjIyCiUlRU9GCg==

--BXVAT5kNtrzKuDFl--


From MAILER-DAEMON Tue May 08 16:24:39 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRqxb-0002jt-Te
	for mharc-groff@gnu.org; Tue, 08 May 2012 16:24:39 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41608)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kollar@windstream.net>) id 1SRqxZ-0002jA-Dh
	for groff@gnu.org; Tue, 08 May 2012 16:24:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kollar@windstream.net>) id 1SRqxX-000445-Ib
	for groff@gnu.org; Tue, 08 May 2012 16:24:36 -0400
Received: from pacmmta52-web.windstream.net ([162.39.147.132]:51958)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kollar@windstream.net>) id 1SRqxX-00041c-EN
	for groff@gnu.org; Tue, 08 May 2012 16:24:35 -0400
X-WS-COS: WSOB806
X-Cloudmark-Category: Undefined:Undefined
X-Cloudmark-Analysis: v=1.1 cv=hr4h1/zkXYERSJ2EStLXlJ9v/X1e5ATtVUFVM9Abuxk=
	c=1 sm=0 a=4kXHOXTekpMA:10 a=u16n9I4dUgcA:10 a=UT_QgiwtmQIA:10
	a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=nOGPaqGolUSAjFVr7hkA:9
	a=rTDqt6Vudrb3SNahCikA:7 a=QEXdDO2ut3YA:10 a=MSl-tDqOz04A:10
	a=C7aUFdEi4XfpuHaP3ZQdMw==:117
X-Cloudmark-Score: 0
Received: from [10.135.134.170] ([10.135.134.170:49504] helo=pamxwww01-z01)
	by pacmmta52 (envelope-from <kollar@windstream.net>)
	(ecelerity 2.2.3.47 r(39824M)) with ESMTP
	id C9/B5-06055-EF089AF4; Tue, 08 May 2012 16:24:30 -0400
Message-ID: <20120508162430.SL6JC.295046.root@pamxwww01-z01>
Date: Tue, 8 May 2012 16:24:30 -0400
From: Larry Kollar <kollar@windstream.net>
To: groff@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
Sensitivity: Normal
X-Originating-IP: 75.143.232.73
X-Auth-IP: 75.143.232.73
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 162.39.147.132
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 08 May 2012 20:24:38 -0000


Anton Shepelev <anton.txt@gmail.com> wrote:=20

> I think, groff and TeX macro packages do  provide  a
> means  for  structural mark-up, and, considering the
> example above, it is of course possible to  redefine
> the  macro  .B  to  achieve the desired result?  For
> clarity, it could also be renamed as "EMPH".
>=20
> In my understanding, a package  provides  both  con-
> structs  for  structural mark-up and means to modify
> their underlying "presentation", and the one is very
> loosely  coupled  with the other, allowing to change
> "presentation" without affecting the "structure" and
> vice versa...

Personally, I don't think markup type is a binary function.
Yes, there is presentational markup, that can be
represented by (for example) low-level *roff commands.
And yes, there is structural markup, like DocBook or DITA.
Both have problems:

Presentation markup provides full control over the
appearance of a document, but do not leverage the
strengths of computerized typesetting =E2=80=94 consistency, and
the ability to easily transform the markup to another type.

Structural markup addresses consistency and transformation
issues, but take all control away from the humans using
the system. To my knowledge, it's pretty difficult to
implement a feature like keeps in DocBook, or to squeeze
spacing to eliminate ending a chapter with a page containing
only two lines.

But I think there's room for a third kind of markup. I
call it *humanist* markup. Humanist markup has structure =E2=80=94
headings, lists, paragraphs, are easy to denote and
separated from presentation. The markup is simple to
transform to other languages. But in the end, the human can
step in and override things when necessary, because in
the end the humans know what they want. Macro packages
can provide that kind of flexibility, where BDSM markup
languages won't.

-- Larry



From MAILER-DAEMON Wed May 09 00:50:15 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRyqt-0008Re-Fz
	for mharc-groff@gnu.org; Wed, 09 May 2012 00:50:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59447)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=dZpBtO=DN=schaffter.ca=peter@eigbox.net>)
	id 1SRyqq-0008RR-T3
	for groff@gnu.org; Wed, 09 May 2012 00:50:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=dZpBtO=DN=schaffter.ca=peter@eigbox.net>)
	id 1SRyqo-0001hU-Ry
	for groff@gnu.org; Wed, 09 May 2012 00:50:12 -0400
Received: from bosmailout02.eigbox.net ([66.96.185.2]:33437)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=dZpBtO=DN=schaffter.ca=peter@eigbox.net>)
	id 1SRyqo-0001gl-OS
	for groff@gnu.org; Wed, 09 May 2012 00:50:10 -0400
Received: from bosmailscan06.eigbox.net ([10.20.15.6])
	by bosmailout02.eigbox.net with esmtp (Exim) id 1SRyqk-0001vI-7f
	for groff@gnu.org; Wed, 09 May 2012 00:50:06 -0400
Received: from bosimpout02.eigbox.net ([10.20.55.2])
	by bosmailscan06.eigbox.net with esmtp (Exim) id 1SRyqj-00088K-U9
	for groff@gnu.org; Wed, 09 May 2012 00:50:05 -0400
Received: from bosauthsmtp15.eigbox.net ([10.20.18.15])
	by bosimpout02.eigbox.net with NO UCE
	id 7gq51j0080KWaAJ01gq5MG; Wed, 09 May 2012 00:50:05 -0400
X-Authority-Analysis: v=2.0 cv=XOuHv3dE c=1 sm=1
	a=dMHj/cTXczL8SHbFQyzcVA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=u16n9I4dUgcA:10 a=d-Ega9QjyLEA:10 a=IkcTkHD0fZMA:10 a=g_SW5-S5AAAA:8
	a=4LgjjWVcGW2bHCYzIRQA:9 a=Mi_OmYLosspqOuQfz2IA:7 a=QEXdDO2ut3YA:10
	a=6thTdk0GfRoQwv0zj4iWMg==:117
X-EN-OrigOutIP: 10.20.18.15
X-EN-IMPSID: 7gq51j0080KWaAJ01gq5MG
Received: from bas1-ottawa09-2925287095.dsl.bell.ca ([174.92.86.183]
	helo=augustus)
	by bosauthsmtp15.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SRyqj-00018n-Me
	for groff@gnu.org; Wed, 09 May 2012 00:50:05 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SRyqh-0000jK-Vy
	for groff@gnu.org; Wed, 09 May 2012 00:50:04 -0400
Date: Wed, 9 May 2012 00:50:03 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120509045003.GA2669@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <20120508162430.SL6JC.295046.root@pamxwww01-z01>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20120508162430.SL6JC.295046.root@pamxwww01-z01>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.86.183
X-EN-OrigHost: bas1-ottawa09-2925287095.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.185.2
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2012 04:50:14 -0000

On Tue, May 08, 2012, Larry Kollar wrote:

> But I think there's room for a third kind of markup. I
> call it *humanist* markup. Humanist markup has structure —
> headings, lists, paragraphs, are easy to denote and
> separated from presentation. The markup is simple to
> transform to other languages. But in the end, the human can
> step in and override things when necessary, because in
> the end the humans know what they want. Macro packages
> can provide that kind of flexibility, where BDSM markup
> languages won't.

I'm in Larry's camp on this.  I wouldn't want to typeset a book
of contemporary poetry using structural markup, but neither would
I want to prepare a technical report with only presentational
markup (perish the thought).  Perhaps my bias is showing, but
it seems to me that all the major groff macrosets provide an
acceptable--sometimes exemplary--middle ground.  Humanist is
entirely the right word for it.

Larry's correct, too, about transforming groff markup to other
languages.  As Steve can attest, I think, it's generally simpler to
convert groff markup into acceptable XML than to produce good pdfs
from XML filtered through groff.

Looking forward to more on that, Steve.

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Wed May 09 00:58:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRyzK-0000OU-AU
	for mharc-groff@gnu.org; Wed, 09 May 2012 00:58:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41953)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SRyzI-0000OO-35
	for groff@gnu.org; Wed, 09 May 2012 00:58:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SRyzG-0004qu-6u
	for groff@gnu.org; Wed, 09 May 2012 00:58:55 -0400
Received: from static-71-162-243-5.phlapa.fios.verizon.net
	([71.162.243.5]:56876 helo=snark.thyrsus.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SRyzG-0004pA-32
	for groff@gnu.org; Wed, 09 May 2012 00:58:54 -0400
Received: by snark.thyrsus.com (Postfix, from userid 1000)
	id 9548040478; Wed,  9 May 2012 00:58:45 -0400 (EDT)
Date: Wed, 9 May 2012 00:58:45 -0400
From: "Eric S. Raymond" <esr@thyrsus.com>
To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
Message-ID: <20120509045845.GB30583@thyrsus.com>
References: <20120508162430.SL6JC.295046.root@pamxwww01-z01>
	<20120509045003.GA2669@augustus>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120509045003.GA2669@augustus>
Organization: Eric Conspiracy Secret Labs
X-Eric-Conspiracy: There is no conspiracy
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 71.162.243.5
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: esr@thyrsus.com
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2012 04:58:57 -0000

Peter Schaffter <peter@schaffter.ca>:
> Larry's correct, too, about transforming groff markup to other
> languages.  As Steve can attest, I think, it's generally simpler to
> convert groff markup into acceptable XML than to produce good pdfs
> from XML filtered through groff.

Automated groff to XML is hard, but with enough work on the translation
logic you can actually get very high-quality structural conversion.  groff
to XML to HTML via doclifter produces better HTML than any of the direct
groff -> HTML tools.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


From MAILER-DAEMON Wed May 09 01:05:23 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRz5X-0000pT-AS
	for mharc-groff@gnu.org; Wed, 09 May 2012 01:05:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43122)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SRz5Q-0000pI-9x
	for groff@gnu.org; Wed, 09 May 2012 01:05:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SRz5K-0007Qx-4q
	for groff@gnu.org; Wed, 09 May 2012 01:05:15 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:47838)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SRz5J-0007QY-Q0
	for groff@gnu.org; Wed, 09 May 2012 01:05:10 -0400
Received: (qmail invoked by alias); 09 May 2012 05:05:07 -0000
Received: from 93-82-85-40.adsl.highway.telekom.at (EHLO localhost)
	[93.82.85.40]
	by mail.gmx.net (mp002) with SMTP; 09 May 2012 07:05:07 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX1//5s1S/tT/3s/psYtaiaFpm3t8QumykSyVXdR6Lm
	5Y+Xt2mEsocbrk
Date: Wed, 09 May 2012 07:05:05 +0200 (CEST)
Message-Id: <20120509.070505.113864213.wl@gnu.org>
To: esr@thyrsus.com
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <20120509045845.GB30583@thyrsus.com>
References: <20120508162430.SL6JC.295046.root@pamxwww01-z01>
	<20120509045003.GA2669@augustus>
	<20120509045845.GB30583@thyrsus.com>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.22
Cc: groff@gnu.org
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2012 05:05:22 -0000


> groff to XML to HTML via doclifter produces better HTML than any of
> the direct groff -> HTML tools.

Sadly, this is true.  grohtml would need a big hug with much love to
grow up, but currently nobody really takes care of it.


    Werner


From MAILER-DAEMON Wed May 09 01:25:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRzPJ-0002SR-DN
	for mharc-groff@gnu.org; Wed, 09 May 2012 01:25:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60238)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SRzPF-0002HF-Uz
	for groff@gnu.org; Wed, 09 May 2012 01:25:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SRzPD-0006HT-PP
	for groff@gnu.org; Wed, 09 May 2012 01:25:45 -0400
Received: from static-71-162-243-5.phlapa.fios.verizon.net
	([71.162.243.5]:57363 helo=snark.thyrsus.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1SRzPD-0006HI-F2
	for groff@gnu.org; Wed, 09 May 2012 01:25:43 -0400
Received: by snark.thyrsus.com (Postfix, from userid 1000)
	id AAE3140478; Wed,  9 May 2012 01:25:36 -0400 (EDT)
Date: Wed, 9 May 2012 01:25:36 -0400
From: "Eric S. Raymond" <esr@thyrsus.com>
To: Werner LEMBERG <wl@gnu.org>
Message-ID: <20120509052536.GA30893@thyrsus.com>
References: <20120508162430.SL6JC.295046.root@pamxwww01-z01>
	<20120509045003.GA2669@augustus>
	<20120509045845.GB30583@thyrsus.com>
	<20120509.070505.113864213.wl@gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120509.070505.113864213.wl@gnu.org>
Organization: Eric Conspiracy Secret Labs
X-Eric-Conspiracy: There is no conspiracy
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 71.162.243.5
Cc: groff@gnu.org
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: esr@thyrsus.com
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2012 05:25:47 -0000

Werner LEMBERG <wl@gnu.org>:
> 
> > groff to XML to HTML via doclifter produces better HTML than any of
> > the direct groff -> HTML tools.
> 
> Sadly, this is true.  grohtml would need a big hug with much love to
> grow up, but currently nobody really takes care of it.

The problem is fundamental - a good conversion needs structural
analysis as good as doclifter's, which is *hard*.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


From MAILER-DAEMON Wed May 09 02:54:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SS0nQ-00038X-32
	for mharc-groff@gnu.org; Wed, 09 May 2012 02:54:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36052)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SS0nM-000380-Pd
	for groff@gnu.org; Wed, 09 May 2012 02:54:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SS0nK-00083A-HY
	for groff@gnu.org; Wed, 09 May 2012 02:54:44 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:40457)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SS0nK-00081x-6p
	for groff@gnu.org; Wed, 09 May 2012 02:54:42 -0400
Received: (qmail invoked by alias); 09 May 2012 06:54:39 -0000
Received: from 93-82-85-40.adsl.highway.telekom.at (EHLO localhost)
	[93.82.85.40]
	by mail.gmx.net (mp030) with SMTP; 09 May 2012 08:54:39 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX1/oNidBmkvoekr0zQ4SmgsGbk2BmU+Afw4LavkmWx
	QFicJfP1gYWsWe
Date: Wed, 09 May 2012 08:54:30 +0200 (CEST)
Message-Id: <20120509.085430.305237001.wl@gnu.org>
To: esr@thyrsus.com
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <20120509052536.GA30893@thyrsus.com>
References: <20120509045845.GB30583@thyrsus.com>
	<20120509.070505.113864213.wl@gnu.org>
	<20120509052536.GA30893@thyrsus.com>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.22
Cc: groff@gnu.org
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2012 06:54:46 -0000

>> > groff to XML to HTML via doclifter produces better HTML than any of
>> > the direct groff -> HTML tools.
>> 
>> Sadly, this is true.  grohtml would need a big hug with much love to
>> grow up, but currently nobody really takes care of it.
> 
> The problem is fundamental - a good conversion needs structural
> analysis as good as doclifter's, which is *hard*.

Yes.  However, grohtml would be able to do different things, in a
different way, and with proper markup the results could be excellent
also.  Sigh.


    Werner


From MAILER-DAEMON Wed May 09 13:07:02 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SSALu-0004C8-AS
	for mharc-groff@gnu.org; Wed, 09 May 2012 13:07:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60310)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SSALo-0003tn-18
	for groff@gnu.org; Wed, 09 May 2012 13:07:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SSALh-0005i9-J8
	for groff@gnu.org; Wed, 09 May 2012 13:06:55 -0400
Received: from mail24.sea5.speakeasy.net ([69.17.117.26]:35432)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SSALh-0005hb-AF
	for groff@gnu.org; Wed, 09 May 2012 13:06:49 -0400
Received: (qmail 7849 invoked from network); 9 May 2012 17:06:45 -0000
Received: by simscan 1.4.0 ppid: 10827, pid: 21093, t: 0.3934s
	scanners: clamav: 0.88.2/m:52/d:10739
Received: from mxperim5.sea5.speakeasy.net ([69.17.117.70])
	(envelope-sender <jklowden@schemamania.org>)
	by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP
	for <groff@gnu.org>; 9 May 2012 17:06:45 -0000
Received: from localhost (localhost [127.0.0.1])
	by mxperim5.sea5.speakeasy.net (Postfix) with ESMTP id 12DDF9B6D6;
	Wed,  9 May 2012 10:06:45 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at mxperim5.sea5.speakeasy.net
Received: from mxperim5.sea5.speakeasy.net ([127.0.0.1])
	by localhost (mxperim5.sea5.speakeasy.net [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id Fm+eVE9vOgzM; Wed,  9 May 2012 10:06:44 -0700 (PDT)
Received: from oak.schemamania.org (dsl254-083-208.nyc1.dsl.speakeasy.net
	[216.254.83.208])
	by mxperim5.sea5.speakeasy.net (Postfix) with ESMTP;
	Wed,  9 May 2012 10:06:44 -0700 (PDT)
Received: from oak.schemamania.org (localhost [IPv6:::1])
	by oak.schemamania.org (Postfix) with SMTP id 78BBB30E1333;
	Wed,  9 May 2012 13:06:43 -0400 (EDT)
Date: Wed, 9 May 2012 13:06:43 -0400
From: "James K. Lowden" <jklowden@schemamania.org>
To: groff@gnu.org
Message-Id: <20120509130643.a9690564.jklowden@schemamania.org>
In-Reply-To: <20120508040607.GE2879@locust.locust-net>
References: <20120503192106.03b04830cd693c2b334a6667@gmail.com>
	<1336060289.59931.YahooMailNeo@web130204.mail.mud.yahoo.com>
	<20120503163443.GC3763@usm.uni-muenchen.de>
	<20120503174157.GA11460@thyrsus.com>
	<20120506012550.GB2874@locust.locust-net>
	<20120507150617.ba378d62.jklowden@schemamania.org>
	<20120508040607.GE2879@locust.locust-net>
X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64--netbsd)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 69.17.117.26
Cc: sizma@golden.net
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: groff@gnu.org
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2012 17:07:00 -0000

On Tue, 8 May 2012 00:06:07 -0400
Steve Izma <sizma@golden.net> wrote:

> By the way, using groff as part of a pipeline that includes a
> python script for XML parsing is blindingly fast. On my three- or
> four-year-old computers I can process a 200 page book in a few
> seconds. This means, using vi, for example, that you can make a
> correction in a file, hit a memory key that runs the groff
> pipeline, and have a postscript viewer (I use okular these days)
> watch the file for almost instantaneous updates.

My friend, an electrical engineer, says "what used to be noise is now
signal", meaning that changes that used to be just interference are
now, with increased processing speed, useful.  

In the same way, what used to be batch is online, and what used to be
online is now mobile.  

I idly ponder what it would take to embed troff in, say, Firebird.  At
today's speeds, there's really no reason a .pic file couldn't be
rendered directly in the browser.  Or, at tomorrow's, in the phone.  

--jkl


From MAILER-DAEMON Wed May 09 13:52:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SSB3Q-00030Y-BP
	for mharc-groff@gnu.org; Wed, 09 May 2012 13:52:00 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59837)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SSB3K-000305-HH
	for groff@gnu.org; Wed, 09 May 2012 13:51:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SSB3B-0001DB-GK
	for groff@gnu.org; Wed, 09 May 2012 13:51:54 -0400
Received: from mail19.sea5.speakeasy.net ([69.17.117.21]:51671)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jklowden@schemamania.org>) id 1SSB3B-0001Cr-89
	for groff@gnu.org; Wed, 09 May 2012 13:51:45 -0400
Received: (qmail 5393 invoked from network); 9 May 2012 17:51:42 -0000
Received: by simscan 1.4.0 ppid: 7266, pid: 28026, t: 0.0446s
	scanners: clamav: 0.88.2/m:52/d:10739
Received: from mxperim8.sea5.speakeasy.net ([69.17.117.73])
	(envelope-sender <jklowden@schemamania.org>)
	by mail19.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP
	for <groff@gnu.org>; 9 May 2012 17:51:42 -0000
Received: from localhost (localhost [127.0.0.1])
	by mxperim8.sea5.speakeasy.net (Postfix) with ESMTP id 5093D8387F
	for <groff@gnu.org>; Wed,  9 May 2012 10:51:42 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at mxperim8.sea5.speakeasy.net
Received: from mxperim8.sea5.speakeasy.net ([127.0.0.1])
	by localhost (mxperim8.sea5.speakeasy.net [127.0.0.1]) (amavisd-new,
	port 10024) with ESMTP id rNmmlEUgdJCn for <groff@gnu.org>;
	Wed,  9 May 2012 10:51:42 -0700 (PDT)
Received: from oak.schemamania.org (dsl254-083-208.nyc1.dsl.speakeasy.net
	[216.254.83.208]) by mxperim8.sea5.speakeasy.net (Postfix) with ESMTP
	for <groff@gnu.org>; Wed,  9 May 2012 10:51:42 -0700 (PDT)
Received: from oak.schemamania.org (localhost [IPv6:::1])
	by oak.schemamania.org (Postfix) with SMTP id 82FD730E2086
	for <groff@gnu.org>; Wed,  9 May 2012 13:51:41 -0400 (EDT)
Date: Wed, 9 May 2012 13:51:41 -0400
From: "James K. Lowden" <jklowden@schemamania.org>
To: groff@gnu.org
Message-Id: <20120509135141.fa7072e0.jklowden@schemamania.org>
In-Reply-To: <20120509.085430.305237001.wl@gnu.org>
References: <20120509045845.GB30583@thyrsus.com>
	<20120509.070505.113864213.wl@gnu.org>
	<20120509052536.GA30893@thyrsus.com>
	<20120509.085430.305237001.wl@gnu.org>
X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64--netbsd)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 69.17.117.21
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: groff@gnu.org
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2012 17:51:59 -0000

On Wed, 09 May 2012 08:54:30 +0200 (CEST)
Werner LEMBERG <wl@gnu.org> wrote:

> > The problem is fundamental - a good conversion needs structural
> > analysis as good as doclifter's, which is *hard*.
> 
> Yes.  However, grohtml would be able to do different things, in a
> different way, and with proper markup the results could be excellent
> also.  Sigh.

It's interesting you say that, Werner, because I think grohtml is
broken by design, for the simple reason that HTML in no way resembles a
printer.  Because troff affords the user finer control --
dot-addressable control -- over the (intended) output, any conversion
to HTML is subject to gross loss of fidelity.  Aren't the advantages of
ditroff completely lost?  

If the browser offered something more printer-like, then we'd have
something more useful to troff.  AFAIK that doesn't exist.  

(Convert xdvi into a Firefox plugin.  Just a small matter of
programming.)  

--jkl



From MAILER-DAEMON Thu May 10 06:24:08 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SSQXY-0003Ti-He
	for mharc-groff@gnu.org; Thu, 10 May 2012 06:24:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42768)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SSQXV-0003TC-41
	for groff@gnu.org; Thu, 10 May 2012 06:24:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SSQXL-0003Zu-NR
	for groff@gnu.org; Thu, 10 May 2012 06:24:04 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:59911)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SSQXL-0003Zf-Cn
	for groff@gnu.org; Thu, 10 May 2012 06:23:55 -0400
Received: (qmail invoked by alias); 10 May 2012 10:23:53 -0000
Received: from 188-23-95-165.adsl.highway.telekom.at (EHLO localhost)
	[188.23.95.165]
	by mail.gmx.net (mp032) with SMTP; 10 May 2012 12:23:53 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX184HYkzLO84VeAHAv6wjU59qdobW9aM98kuDqFHYW
	Wj8y9cA42mHVaT
Date: Thu, 10 May 2012 09:15:33 +0200 (CEST)
Message-Id: <20120510.091533.199792384.wl@gnu.org>
To: groff@gnu.org, jklowden@schemamania.org
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <20120509135141.fa7072e0.jklowden@schemamania.org>
References: <20120509052536.GA30893@thyrsus.com>
	<20120509.085430.305237001.wl@gnu.org>
	<20120509135141.fa7072e0.jklowden@schemamania.org>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.22
Subject: Re: [Groff] Eric Raymond on groff and TeX
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 10 May 2012 10:24:06 -0000

>> Yes.  However, grohtml would be able to do different things, in a
>> different way, and with proper markup the results could be
>> excellent also.  Sigh.
> 
> It's interesting you say that, Werner, because I think grohtml is
> broken by design, for the simple reason that HTML in no way
> resembles a printer.

Today, the tty output device isn't a printer either...

> Because troff affords the user finer control -- dot-addressable
> control -- over the (intended) output, any conversion to HTML is
> subject to gross loss of fidelity.  Aren't the advantages of ditroff
> completely lost?

The idea is that macro packages like ms contain some helper macros to
guide grohtml so that (most of) the high-level structure remains
intact.  On the other hand, grohtml sees the output of all groff
macros, including the preprocessors.  Where necessary, images are
created.


    Werner


From MAILER-DAEMON Thu May 10 06:39:20 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SSQmG-0005jI-45
	for mharc-groff@gnu.org; Thu, 10 May 2012 06:39:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57372)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SSQm8-0005j6-Ba
	for groff@gnu.org; Thu, 10 May 2012 06:39:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SSQm3-0006qo-OB
	for groff@gnu.org; Thu, 10 May 2012 06:39:11 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:33749)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SSQm3-0006qa-DX
	for groff@gnu.org; Thu, 10 May 2012 06:39:07 -0400
Received: (qmail invoked by alias); 10 May 2012 10:39:05 -0000
Received: from 188-23-95-165.adsl.highway.telekom.at (EHLO localhost)
	[188.23.95.165]
	by mail.gmx.net (mp020) with SMTP; 10 May 2012 12:39:05 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX18pNQZb/DMpFd/65R5l+sS6GAqL5wn3F89i+qxykn
	9TLS15ITVvZym2
Date: Thu, 10 May 2012 12:39:03 +0200 (CEST)
Message-Id: <20120510.123903.105723529.wl@gnu.org>
To: hoffmann@usm.uni-muenchen.de
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <20120508180836.GB9347@usm.uni-muenchen.de>
References: <1777382.Bcjep1tSmi@linuix> <20120506.130102.236947525.wl@gnu.org>
	<20120508180836.GB9347@usm.uni-muenchen.de>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.22
Cc: groff@gnu.org
Subject: Re: [Groff] U+0027, U+002D, and U+0060 in code examples?
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 10 May 2012 10:39:18 -0000


> I've played around a bit with this

Thanks for that!

> and the difficulty I've had is getting ghostscript to actually emit
> a ToUnicode map.  I've managed it only by hacking the ghostscript
> source (making pdf_simple_font_needs_ToUnicode() always return
> true).

Hmm.  Please report this to the gs people.  Either this is a bug in
the documentation, or it's really a problem with the implementation.

> Another point: GlyphNames2Unicode appears to only support single
> Unicode points, so we can't map one glyph to a sequence of
> characters, as would be desirable for uncommon ligatures.  But for
> copy-and-pasting command lines it should be enough.

This is not a problem per se, given that a PDF interpreter should be
able to decompose glyph names, provided the names followsthe Adobe
Glyph List (AGL) rules.  For example, a glyph called `i_j' should be
automatically split into `i' and `j'.


    Werner


From MAILER-DAEMON Sat May 12 13:11:12 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STFqa-0004CJ-9n
	for mharc-groff@gnu.org; Sat, 12 May 2012 13:11:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38597)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1STFqU-0004Bh-J8
	for groff@gnu.org; Sat, 12 May 2012 13:11:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1STFqS-0006bF-OB
	for groff@gnu.org; Sat, 12 May 2012 13:11:06 -0400
Received: from smtp2.execulink.net ([69.63.44.83]:52326)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sizma@golden.net>) id 1STFqS-0006ao-Jb
	for groff@gnu.org; Sat, 12 May 2012 13:11:04 -0400
Received: from 209-183-128-252.pppoe.execulink.com ([209.183.128.252]
	helo=locust.locust-net) by smtp2.execulink.net with esmtp (Exim 4.77)
	(envelope-from <sizma@golden.net>) id 1STFqO-0000s0-La
	for groff@gnu.org; Sat, 12 May 2012 13:11:01 -0400
Received: from steve by locust.locust-net with local (Exim 4.72)
	(envelope-from <sizma@golden.net>) id 1STFqO-0000rc-De
	for groff@gnu.org; Sat, 12 May 2012 13:11:00 -0400
Date: Sat, 12 May 2012 13:11:00 -0400
From: Steve Izma <sizma@golden.net>
To: groff@gnu.org
Message-ID: <20120512171100.GA2904@locust.locust-net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 69.63.44.83
Subject: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: sizma@golden.net
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 12 May 2012 17:11:11 -0000

James Lowden sent me, off list, this link to an article he wrote
about the relevance of groff to fundamental concepts of
programming and computer use. I assume he's too modest to
broadcast it, but I think it's excellent:

<http://www.schemamania.org/troff/student-troff.pdf>

Apart from all the typographical issues he raises, I think it
shows how groff is a superior utility because it's a programming
language, entirely unlike WYSIWYG systems.

	-- Steve

-- 
Steve Izma
-
Home: 35 Locust St., Kitchener N2H 1W6    p:519-745-1313
Work: Wilfrid Laurier University Press    p:519-884-0710 ext. 6125
E-mail: sizma@golden.net or steve@press.wlu.ca

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
<http://en.wikipedia.org/wiki/Posting_style>


From MAILER-DAEMON Sat May 12 13:52:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STGUr-0002xa-9Z
	for mharc-groff@gnu.org; Sat, 12 May 2012 13:52:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:32803)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1STGUo-0002v9-6X
	for groff@gnu.org; Sat, 12 May 2012 13:52:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1STGUm-0006QK-8X
	for groff@gnu.org; Sat, 12 May 2012 13:52:45 -0400
Received: from smtp01.frii.com ([216.17.135.167]:47319)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clarke@verinet.net>) id 1STGUm-0006QB-3Z
	for groff@gnu.org; Sat, 12 May 2012 13:52:44 -0400
Received: from [192.168.0.100] (dsl-175-205.dynamic-dsl.frii.net
	[216.17.175.205])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp01.frii.com (FRII) with ESMTP id 8DADEE82CD;
	Sat, 12 May 2012 11:52:40 -0600 (MDT)
Message-ID: <4FAEA389.4070607@verinet.net>
Date: Sat, 12 May 2012 11:53:13 -0600
From: Clarke Echols <clarke@verinet.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
CC: groff@gnu.org
References: <20120512171100.GA2904@locust.locust-net>
In-Reply-To: <20120512171100.GA2904@locust.locust-net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 216.17.135.167
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 12 May 2012 17:52:47 -0000

On 05/12/2012 11:11 AM, Steve Izma wrote:
> James Lowden sent me, off list, this link to an article he wrote
> about the relevance of groff to fundamental concepts of
> programming and computer use. I assume he's too modest to
> broadcast it, but I think it's excellent:
>
> <http://www.schemamania.org/troff/student-troff.pdf>
>
> Apart from all the typographical issues he raises, I think it
> shows how groff is a superior utility because it's a programming
> language, entirely unlike WYSIWYG systems.
>
> 	-- Steve
>

Bravo!

What a masterpiece and an indictment of our "modern" education
system that serves better as a factory for churning out mindless
robots who can't think, can't write, and have no marketable
skills, as so clearly demonstrated by "demonstrators" in the
streets of major US cities.

I suggested my oldest daughter take physics her senior year in
high school.  She didn't like it.  Why?  Because the idiot
teacher *started* them with electrical and magnetic theory,
instead of teaching the practical, useful principles of
kinematics (force and motion), then build that into electricity
and magnetism.

Is there a possibility I could get permission to put this
masterpiece on my website where my prospects and clients can
see how Microsoft-centric "education" is harming their
businesses and why I don't use WYSIWYG software unless forced
to?

Of course I'd do it with full attribution and a link to his
site if James is willing.

Thanks for putting this up for us to discover.

Clarke


From MAILER-DAEMON Sun May 13 10:10:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STZUn-0006A0-Cn
	for mharc-groff@gnu.org; Sun, 13 May 2012 10:10:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51178)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1STZUk-00069s-Nf
	for groff@gnu.org; Sun, 13 May 2012 10:10:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1STZUi-0002hO-Oq
	for groff@gnu.org; Sun, 13 May 2012 10:09:58 -0400
Received: from relay03.pair.com ([209.68.5.17]:1875)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <mbianchi@foveal4.foveal.com>) id 1STZUi-0002hD-JR
	for groff@gnu.org; Sun, 13 May 2012 10:09:56 -0400
Received: (qmail 7610 invoked from network); 13 May 2012 14:05:37 -0000
Received: from 96.242.179.133 (HELO foveal4.foveal.com) (96.242.179.133)
	by relay03.pair.com with SMTP; 13 May 2012 14:05:37 -0000
X-pair-Authenticated: 96.242.179.133
Received: by foveal4.foveal.com (Postfix, from userid 617)
	id DEEC617CBE5; Sun, 13 May 2012 10:09:53 -0400 (EDT)
Date: Sun, 13 May 2012 10:09:53 -0400
From: Mike Bianchi <MBianchi@Foveal.com>
To: Steve Izma <sizma@golden.net>
Message-ID: <20120513140953.GA28811@foveal4.foveal.com>
References: <20120512171100.GA2904@locust.locust-net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120512171100.GA2904@locust.locust-net>
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.68.5.17
Cc: groff@gnu.org
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 13 May 2012 14:10:00 -0000

On Sat, May 12, 2012 at 01:11:00PM -0400, Steve Izma wrote:
> James Lowden sent me, off list, this link to an article he wrote
> about the relevance of groff to fundamental concepts of
> programming and computer use. I assume he's too modest to
> broadcast it, but I think it's excellent:
> 
> <http://www.schemamania.org/troff/student-troff.pdf>
> 
> Apart from all the typographical issues he raises, I think it
> shows how groff is a superior utility because it's a programming
> language, entirely unlike WYSIWYG systems.

Which reminds me ...
>From  http://en.wikipedia.org/wiki/Brian_Kernighan

	Kernighan is also known as a coiner of the expression "What You See Is
	All You Get (WYSIAYG)", which is a sarcastic variant of the original
	"What You See Is What You Get" (WYSIWYG).  Kernighan's term is used to
	indicate that WYSIWYG systems might throw away information in a
	document that could be useful in other contexts.

-- 
 Mike Bianchi
 Foveal Systems

 973 822-2085

 MBianchi@Foveal.com
 http://www.AutoAuditorium.com
 http://www.FovealMounts.com


From MAILER-DAEMON Sun May 13 15:56:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STeuX-0007st-8h
	for mharc-groff@gnu.org; Sun, 13 May 2012 15:56:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42825)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1STeuT-0007sH-Ah
	for groff@gnu.org; Sun, 13 May 2012 15:56:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1STeuR-0006KL-L0
	for groff@gnu.org; Sun, 13 May 2012 15:56:52 -0400
Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:51257)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <anton.txt@gmail.com>) id 1STeuR-0006Js-AL
	for groff@gnu.org; Sun, 13 May 2012 15:56:51 -0400
Received: by lahi5 with SMTP id i5so3508997lah.0
	for <groff@gnu.org>; Sun, 13 May 2012 12:56:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date
	:content-transfer-encoding:message-id:references:to:x-mailer;
	bh=9TaOg2S0wR/yHx1irGN9Q58d8F8SpPX4NEf4+4Thfl0=;
	b=U8ikszYmeh8u7kAF1SrI7+SDamSvrM9EafgZVjSPgQ7w+Ol5Kur2soTFP1Jgre8j1b
	5vgYn+NpL1LL84kuavXMLuH56A61mvIBUoXlzEge6lSBgO968Q+4TVvLw0XIX6nMveMP
	zgIn3jJdxQTKg0ZjCx5V4qlO/G/2qMFz6UtFWX19HwXJecBiPFdkcRugBbS+OZBome1B
	WBGawgTFguZyyte6EjFBuTXzg1ovf2EAtZeXBBHwyCOqZkfkrIuAWPZPwks/XCXLQ/Yq
	KYbyC4zP0U7GURj1tyN33dMgwZEg0oJ+6vZMzbTrN7YiOU5W6QpzAW655XSD8L9PAoDh
	4+AQ==
Received: by 10.112.49.230 with SMTP id x6mr2088893lbn.86.1336939006897;
	Sun, 13 May 2012 12:56:46 -0700 (PDT)
Received: from [10.0.1.4] ([95.72.153.69])
	by mx.google.com with ESMTPS id j3sm4549052lbh.0.2012.05.13.12.56.44
	(version=TLSv1/SSLv3 cipher=OTHER);
	Sun, 13 May 2012 12:56:45 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1084)
From: Anton Shepelev <anton.txt@gmail.com>
In-Reply-To: <20120512171100.GA2904@locust.locust-net>
Date: Sun, 13 May 2012 23:56:42 +0400
Content-Transfer-Encoding: 7bit
Message-Id: <58503960-1990-403C-8B23-372C16A569BA@gmail.com>
References: <20120512171100.GA2904@locust.locust-net>
To: groff@gnu.org
X-Mailer: Apple Mail (2.1084)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.215.41
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 13 May 2012 19:56:56 -0000

Steve Izma

> James  Lowden  sent  me, off list, this link to an
> article he wrote about the relevance of  groff  to
> fundamental  concepts  of programming and computer
> use.  I assume he's too modest  to  broadcast  it,
> but I think it's excellent:
> [...]

My thanks to James and to you, Steve.

Back in the University, everybody I knew used exclu-
sively MS Word, and doing a couple of term papers in
it  got me tired and annoyed to a headache, although
I think I used its basic functionality  like  styles
appropriately.   So  when  the  time for the diploma
came, I said to myself I would do it LaTeX, which at
that time I didn't know at all.

I encountered the same problems as James's daughter,
because the default LaTeX output was very  far  from
the  handicapped  version of the Russian standard we
had to adhere to, so I registered  with  FIDO7  (the
Russian FIDO branch) and subscribed to a Tex-related
group, whose members helped me  customize  LaTeX  as
was required.  It was very difficult for a beginner,
but I didn't give up.  Next was the problem of  text
exchange, but that only enhanced my discipline.

In  the  end, it all payed off.  While others had to
painfully go through the whole document  to  fix  it
after  incorporating even small changes, in LaTeX it
was easy.  The bigger the document, the more evident
was its superiority over Word.

Anton


From MAILER-DAEMON Mon May 14 01:53:17 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SToDd-0000ed-FV
	for mharc-groff@gnu.org; Mon, 14 May 2012 01:53:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40295)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=KGhX6i=DS=schaffter.ca=peter@eigbox.net>)
	id 1SToDa-0000d7-4h
	for groff@gnu.org; Mon, 14 May 2012 01:53:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=KGhX6i=DS=schaffter.ca=peter@eigbox.net>)
	id 1SToDX-0001JK-Ti
	for groff@gnu.org; Mon, 14 May 2012 01:53:13 -0400
Received: from bosmailout16.eigbox.net ([66.96.189.16]:33106)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=KGhX6i=DS=schaffter.ca=peter@eigbox.net>)
	id 1SToDX-0001JE-QE
	for groff@gnu.org; Mon, 14 May 2012 01:53:11 -0400
Received: from bosmailscan06.eigbox.net ([10.20.15.6])
	by bosmailout16.eigbox.net with esmtp (Exim) id 1SToDV-0004T0-VL
	for groff@gnu.org; Mon, 14 May 2012 01:53:09 -0400
Received: from bosimpout01.eigbox.net ([10.20.55.1])
	by bosmailscan06.eigbox.net with esmtp (Exim) id 1SToDV-00022S-O2
	for groff@gnu.org; Mon, 14 May 2012 01:53:09 -0400
Received: from bosauthsmtp07.eigbox.net ([10.20.18.7])
	by bosimpout01.eigbox.net with NO UCE
	id 9ht91j00B099BUA01ht9k2; Mon, 14 May 2012 01:53:09 -0400
X-Authority-Analysis: v=2.0 cv=eq1oOPVX c=1 sm=1
	a=dMHj/cTXczL8SHbFQyzcVA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=pUS6zqoqOlwA:10 a=d-Ega9QjyLEA:10 a=kj9zAlcOel0A:10 a=g_SW5-S5AAAA:8
	a=XMbHUW_TI4NaBkeDXXoA:9 a=hn-KwTu9-abZE4pYcG0A:7 a=CjuIK1q_8ugA:10
	a=x8qw8EAkfcRkIpZA8Q87Bg==:117
X-EN-OrigOutIP: 10.20.18.7
X-EN-IMPSID: 9ht91j00B099BUA01ht9k2
Received: from bas1-ottawa09-2925287095.dsl.bell.ca ([174.92.86.183]
	helo=augustus)
	by bosauthsmtp07.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SToDV-0000RF-Gs
	for groff@gnu.org; Mon, 14 May 2012 01:53:09 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SToDT-0002DT-E4
	for groff@gnu.org; Mon, 14 May 2012 01:53:07 -0400
Date: Mon, 14 May 2012 01:53:07 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120514055307.GA8347@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <20120512171100.GA2904@locust.locust-net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120512171100.GA2904@locust.locust-net>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.86.183
X-EN-OrigHost: bas1-ottawa09-2925287095.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.189.16
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 May 2012 05:53:15 -0000

On Sat, May 12, 2012, Steve Izma wrote:
> James Lowden sent me, off list, this link to an article he wrote
> about the relevance of groff to fundamental concepts of
> programming and computer use. I assume he's too modest to
> broadcast it, but I think it's excellent:

Great article, as others have said.  The substance reiterates points
I've made repeatedly in the documentation for the mom macros, and
at the mom website, for the past decade.  Alas, I fear James'
article will fall on the same deaf ears.  It's appalling how much
intellectual damage Microsoft has done; otherwise intelligent people
actively and knowingly reject the groff/TeX paradigm despite its
clear advantages.

I wrote the mom macros with the aim of making groff friendlier
out-of-the-box for precisely the kind of writing James' talks
about.  It would be heartening if my efforts had made a dent in the
MSWord-shackled world, but it hasn't.  The majority of mom users, to
judge from stuff I get off list, are already comfortable with Unix
text processing.  And in the meat-world, I have never once succeeded
in convincing an MSWord user--individual or organization--to
switch.

It does no good to emphasize the universal portability of groff
documents, for reasons I know too well: if the publisher I send
a work of fiction to is a Wordie--they all are--I have no choice
but to provide them with MSWord documents.  Many writers in
many different fields face the same problem, and conclude--one
can hardly blame them--that they'll stick with MSWord.  Let's
face it: filtering a groff document through sed or awk so it
becomes acceptable rtf, readable by MSWord, is not for the
inexperienced.  Lucky those who are in academic publishing, where
*nix is entrenched.

As for the wasted educational opportunity that might be afforded
by teaching students, via groff, to appreciate that "the computer,
properly conceived, is slave, not master" and not "an empty
repository to be filled with purchased applications", well, dream
on if you imagine that's going to change.  Here in North America,
schools have largely replaced education with job-training.  There
is little interest in teaching students more than what is minimally
required to function in the workplace.  If employers are using
MSWord, then all that's required of a graduate, in terms of
so-called computer literacy, is that s/he be familiar with MSWord.

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Mon May 14 05:29:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STrb3-0006Fk-35
	for mharc-groff@gnu.org; Mon, 14 May 2012 05:29:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50030)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1STrb0-0006Ep-K3
	for groff@gnu.org; Mon, 14 May 2012 05:29:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1STray-0007fb-7W
	for groff@gnu.org; Mon, 14 May 2012 05:29:38 -0400
Received: from mail-qc0-f169.google.com ([209.85.216.169]:43109)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1STray-0007db-0w
	for groff@gnu.org; Mon, 14 May 2012 05:29:36 -0400
Received: by qcsd16 with SMTP id d16so3761943qcs.0
	for <groff@gnu.org>; Mon, 14 May 2012 02:29:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:content-type; bh=SdAdnflRrI7BldDzCcoDojEtFT+rYhDK55FK52vXy14=;
	b=TkUOEZGDo1QPufKCwlJ4Da2lmSYFyOpuZuziM2fcrLcvN9UYsBF63KjT5Ue8LF3XGE
	QzRtdGLztbyW36mifERYuA3Mc419Z6hl7lJGqH40D8+HW3oSFlVR4e/nvPVEfkSUiPCH
	0u6vq0kGLrBTcb5UT84r4U1p52+NIT/LlogWjPefhAye7ODmX2e1Gke6Mvb75smuQmhw
	2+W1C55+fQXbOMoEaNaDF2V8xhxSrTRbSR2B2fJ1LAhsc1R+R85BpM5uxIHGNoKLHHS+
	MMbqfLWn1JxptR8E0u+Lmg1XNsqCBB1oYJ5BZxcuEA99YWzK6VJw3vA+6N0dkG7LbR70
	0OMA==
Received: by 10.224.182.75 with SMTP id cb11mr11491566qab.26.1336987773471;
	Mon, 14 May 2012 02:29:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.190.17 with HTTP; Mon, 14 May 2012 02:29:03 -0700 (PDT)
In-Reply-To: <20120514055307.GA8347@augustus>
References: <20120512171100.GA2904@locust.locust-net>
	<20120514055307.GA8347@augustus>
From: Michael Witten <mfwitten@gmail.com>
Date: Mon, 14 May 2012 09:29:03 +0000
Message-ID: <CAMOZ1BsdEHcUD2wj04s63Y60DHitCeX4NnjZ+CL3EK_9Mfrpvg@mail.gmail.com>
To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.169
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 May 2012 09:29:39 -0000

On Mon, May 14, 2012 at 5:53 AM, Peter Schaffter <peter@schaffter.ca> wrote:

> Let's face it: filtering a groff document through sed or
> awk so it becomes acceptable rtf, readable by MSWord, is
> not for the inexperienced.

This sounds like a fault of the groff [eco]system.


From MAILER-DAEMON Mon May 14 11:08:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STwsn-0003Xy-4z
	for mharc-groff@gnu.org; Mon, 14 May 2012 11:08:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50366)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <corky1951@comcast.net>) id 1STwsj-0003Va-UI
	for groff@gnu.org; Mon, 14 May 2012 11:08:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <corky1951@comcast.net>) id 1STwsd-0001DN-LS
	for groff@gnu.org; Mon, 14 May 2012 11:08:17 -0400
Received: from qmta09.emeryville.ca.mail.comcast.net ([76.96.30.96]:44252)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <corky1951@comcast.net>) id 1STwsd-0001Ch-Fd
	for groff@gnu.org; Mon, 14 May 2012 11:08:11 -0400
Received: from omta16.emeryville.ca.mail.comcast.net ([76.96.30.72])
	by qmta09.emeryville.ca.mail.comcast.net with comcast
	id 9pFi1j0051ZMdJ4A9r88W6; Mon, 14 May 2012 15:08:08 +0000
Received: from [192.168.1.201] ([98.203.142.76])
	by omta16.emeryville.ca.mail.comcast.net with comcast
	id 9r871j01W1f6R9u8cr889j; Mon, 14 May 2012 15:08:08 +0000
Message-ID: <4FB120C2.8010604@comcast.net>
Date: Mon, 14 May 2012 08:12:02 -0700
From: Charlie Kester <corky1951@comcast.net>
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:10.0.3) Gecko/20120329 Icedove/10.0.3
MIME-Version: 1.0
To: groff@gnu.org
References: <20120512171100.GA2904@locust.locust-net>
	<20120514055307.GA8347@augustus>
In-Reply-To: <20120514055307.GA8347@augustus>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 76.96.30.96
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 May 2012 15:08:19 -0000

On 05/13/2012 10:53 PM, Peter Schaffter wrote:

 > Let's face it: filtering a groff document through sed or awk so
 > it becomes acceptable rtf, readable by MSWord, is not for the
 > inexperienced.

I've never had occasion to put it to the test, but does Paul DuBois's
troff2rtf meet this requirement?  If so, it would seem easier for 
newbies to use.

I have it from the troffcvt package on Debian.


From MAILER-DAEMON Mon May 14 13:47:14 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STzMY-0001Sf-H0
	for mharc-groff@gnu.org; Mon, 14 May 2012 13:47:14 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38992)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=KGhX6i=DS=schaffter.ca=peter@eigbox.net>)
	id 1STzMU-0001RL-37
	for groff@gnu.org; Mon, 14 May 2012 13:47:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=KGhX6i=DS=schaffter.ca=peter@eigbox.net>)
	id 1STzMS-0005Sy-4F
	for groff@gnu.org; Mon, 14 May 2012 13:47:09 -0400
Received: from bosmailout01.eigbox.net ([66.96.188.1]:54020)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=KGhX6i=DS=schaffter.ca=peter@eigbox.net>)
	id 1STzMS-0005Sn-14
	for groff@gnu.org; Mon, 14 May 2012 13:47:08 -0400
Received: from bosmailscan02.eigbox.net ([10.20.15.2])
	by bosmailout01.eigbox.net with esmtp (Exim) id 1STzMQ-0001C7-7T
	for groff@gnu.org; Mon, 14 May 2012 13:47:06 -0400
Received: from bosimpout02.eigbox.net ([10.20.55.2])
	by bosmailscan02.eigbox.net with esmtp (Exim) id 1STzMQ-0001WC-7z
	for groff@gnu.org; Mon, 14 May 2012 13:47:06 -0400
Received: from bosauthsmtp01.eigbox.net ([10.20.18.1])
	by bosimpout02.eigbox.net with NO UCE
	id 9tn61j00501P9Sa01tn6MX; Mon, 14 May 2012 13:47:06 -0400
X-Authority-Analysis: v=2.0 cv=XOuHv3dE c=1 sm=1
	a=dMHj/cTXczL8SHbFQyzcVA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=pUS6zqoqOlwA:10 a=d-Ega9QjyLEA:10 a=kj9zAlcOel0A:10 a=g_SW5-S5AAAA:8
	a=HP3lAKV3n0LOPI4zGSkA:9 a=CjuIK1q_8ugA:10
	a=FLmnjis/JmE4jomwi6pJ+A==:117
X-EN-OrigOutIP: 10.20.18.1
X-EN-IMPSID: 9tn61j00501P9Sa01tn6MX
Received: from bas1-ottawa09-2925287095.dsl.bell.ca ([174.92.86.183]
	helo=augustus)
	by bosauthsmtp01.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1STzMP-0006ka-Vq
	for groff@gnu.org; Mon, 14 May 2012 13:47:06 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1STzMN-0000u7-Nh
	for groff@gnu.org; Mon, 14 May 2012 13:47:03 -0400
Date: Mon, 14 May 2012 13:47:03 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120514174703.GA2693@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <20120512171100.GA2904@locust.locust-net>
	<20120514055307.GA8347@augustus> <4FB120C2.8010604@comcast.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4FB120C2.8010604@comcast.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.86.183
X-EN-OrigHost: bas1-ottawa09-2925287095.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.188.1
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 May 2012 17:47:12 -0000

On Mon, May 14, 2012, Charlie Kester wrote:
> On 05/13/2012 10:53 PM, Peter Schaffter wrote:
> 
> > Let's face it: filtering a groff document through sed or awk so
> > it becomes acceptable rtf, readable by MSWord, is not for the
> > inexperienced.
> 
> I've never had occasion to put it to the test, but does Paul DuBois's
> troff2rtf meet this requirement?  If so, it would seem easier for
> newbies to use.

I haven't tested it for years, but IIRC, the reason I went the
filtering route was because I was unsatisfied with the results.  

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Thu May 17 15:43:26 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SV6be-0002Mn-NT
	for mharc-groff@gnu.org; Thu, 17 May 2012 15:43:26 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55323)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kollar@windstream.net>) id 1SV6bc-0002MM-8h
	for groff@gnu.org; Thu, 17 May 2012 15:43:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kollar@windstream.net>) id 1SV6ba-00035z-8k
	for groff@gnu.org; Thu, 17 May 2012 15:43:23 -0400
Received: from pacmmta52.windstream.net ([162.39.147.111]:38761)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kollar@windstream.net>) id 1SV6ba-00035j-3q
	for groff@gnu.org; Thu, 17 May 2012 15:43:22 -0400
X-WS-COS: WSOB804
X-Cloudmark-Category: Undefined:Undefined
X-Cloudmark-Analysis: v=1.1 cv=hr4h1/zkXYERSJ2EStLXlJ9v/X1e5ATtVUFVM9Abuxk=
	c=1 sm=0 a=pUS6zqoqOlwA:10 a=UT_QgiwtmQIA:10 a=N659UExz7-8A:10
	a=NMN2YVDdAAAA:8 a=e1ocufwsaOAb_zOEU0IA:9
	a=9M9H2rLSLQGOHdYmkecA:7 a=pILNOxqGKmIA:10 a=tpeHNPr41pAA:10
	a=IPHVIEyXufsMXTK0KcVv6w==:117
X-Cloudmark-Score: 0
Authentication-Results: pacmmta52 smtp.user=kollar@windstream.net;
	auth=pass (PLAIN)
Received: from [98.18.138.22] ([98.18.138.22:60539] helo=[192.168.1.114])
	by pacmmta52 (envelope-from <kollar@windstream.net>)
	(ecelerity 2.2.3.47 r(39824M)) with ESMTPA
	id D0/BD-06055-3D455BF4; Thu, 17 May 2012 15:43:16 -0400
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=windows-1252
From: Larry Kollar <kollar@windstream.net>
In-Reply-To: <20120514055307.GA8347@augustus>
Date: Thu, 17 May 2012 15:43:13 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <BB80283D-EAEB-4271-A918-3642A7D0754F@windstream.net>
References: <20120512171100.GA2904@locust.locust-net>
	<20120514055307.GA8347@augustus>
To: groff@gnu.org
X-Mailer: Apple Mail (2.1084)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 162.39.147.111
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 17 May 2012 19:43:25 -0000


Peter Schaffter wrote:

> It does no good to emphasize the universal portability of groff
> documents, for reasons I know too well: if the publisher I send
> a work of fiction to is a Wordie--they all are--I have no choice
> but to provide them with MSWord documents.

Not that traditional publishers are doing all that well these days. =
Amazon's eating their lunch on both fronts of a two-front conflict:

1) They heavily discount paper books, creating an expectation of lower =
prices elsewhere.

2) By opening up the Kindle Store to anyone who wants to publish =
something, they've made the gatekeepers obsolete.

Note that Barnes&Noble's Nook Store and Apple's iBookstore also =
participate in #2, among others.

The two major eBook formats =97 MOBI (Kindle) and ePUB (everyone else) =97=
 are both Zip archives containing HTML, graphics, CSS style sheets, and =
control files. The latter contain metadata and sequencing information. =
So anyone who wants to publish an eBook simply has to crank out clean =
HTML. An open-source eBook library manager called Calibre =
(calibre-ebook.com) can generate eBooks from that, or you can build the =
control files yourself using a script.

Now it's not easy to get clean HTML from *every* groff source, but if =
you use the -mwww macros and assume a typical fiction manuscript? It's =
not that hard, especially if you pipe the results through Tidy and use a =
hand-crafted CSS. I got close to decent results with an 800-page =
technical document I maintain at work, and it's tons more complex than a =
novel. Novels tend to not have huge graphics (beyond the cover art) or =
complex tables.

Therefore, one who wants to write a novel using groff can do it, then =
upload the results onto the major eBook sites and bypass the Wordie =
publishers.

> Let's
> face it: filtering a groff document through sed or awk so it
> becomes acceptable rtf, readable by MSWord, is not for the
> inexperienced.  Lucky those who are in academic publishing, where
> *nix is entrenched.

In my experience, and I've had to do this, it's easier to produce an =
HTML file and load that into Word (or better, OpenOffice, and save to =
Word=85 it's a little cleaner).

My lament is: at work, all the writers in the company are moving to =
Author-It. It's a database system, and of course the client is =
Doze-only. I told my boss to expect my productivity to crater, and I =
wasn't joking. My 800-page manual takes about 4 minutes to typeset to =
PDF in groff (2-pass using pdfmark for internal hyperlinks), and 45 =
minutes to 2:30 in Author-It. Like with groff, you might have to tweak a =
few things (usually pagination) and re-publish=85 which can be rather =
painful. And like BDSM markup languages, there are no keeps or .ne =
equivalents that make pagination less of an issue to begin with. For =
most of what Author-It does, we could have done it a lot cheaper and =
with much higher performance by deploying a CVS server on the network =
and using groff. With some extra programming help, we could have had =
HTMLhelp output too, probably a lot more easily than consultants could =
fix our publishing templates.

But=85 Command line! Tags! Icky!

-- Larry=


From MAILER-DAEMON Fri May 18 01:58:30 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SVGCs-0000va-HY
	for mharc-groff@gnu.org; Fri, 18 May 2012 01:58:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49133)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1SVGCp-0000v4-VD
	for groff@gnu.org; Fri, 18 May 2012 01:58:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1SVGCo-0004Zg-A7
	for groff@gnu.org; Fri, 18 May 2012 01:58:27 -0400
Received: from mail-qa0-f48.google.com ([209.85.216.48]:48793)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mfwitten@gmail.com>) id 1SVGCo-0004Zb-2K
	for groff@gnu.org; Fri, 18 May 2012 01:58:26 -0400
Received: by qady23 with SMTP id y23so2657183qad.14
	for <groff@gnu.org>; Thu, 17 May 2012 22:58:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=HK8Bgv0Txwpvhb0JPi3Uti1zLuUrRgilRW4mZwxt/gk=;
	b=vPZU4z3WeUSuITyKIiAL4/GyGMtHzH+GyC+xP3uJd+qVxdUl/wwR+1N9nVovyV0Ss8
	FjxIzeQ3n8vsJ7hXfHBBu3/dgv/h160RupsROjwVyYwRuf4rBFBgLdWKb449g6yp+h30
	WbH2OBgx7HcoORV8cwhVjO6DwDJIS7bQZOsyEhDT5gqhC4dPQBUgFyVYP1iTeKWZ1AQ7
	vPWohNDVor6+7T5mj3XNZFrU3K7O4SNknJmDFZC/NewVMN2029xOZH785m3lqwT6WLLD
	GO4mDhRHlrpDJA4VRJ92EXj0/pXy+uJzXvpvj8rWbvXtkY1iHdjDBpsMEj3wUL47XfdX
	9FVw==
Received: by 10.229.137.70 with SMTP id v6mr4817271qct.76.1337320703278; Thu,
	17 May 2012 22:58:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.80.12 with HTTP; Thu, 17 May 2012 22:57:52 -0700 (PDT)
In-Reply-To: <BB80283D-EAEB-4271-A918-3642A7D0754F@windstream.net>
References: <20120512171100.GA2904@locust.locust-net>
	<20120514055307.GA8347@augustus>
	<BB80283D-EAEB-4271-A918-3642A7D0754F@windstream.net>
From: Michael Witten <mfwitten@gmail.com>
Date: Fri, 18 May 2012 05:57:52 +0000
Message-ID: <CAMOZ1BtfxqwEdD-zYC=FxxE+2S=od6AP8U+FwCuXoHzy1cCrKQ@mail.gmail.com>
To: Larry Kollar <kollar@windstream.net>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.48
Cc: groff@gnu.org
Subject: Re: [Groff] Groff and computer education
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 18 May 2012 05:58:29 -0000

On Thu, May 17, 2012 at 7:43 PM, Larry Kollar <kollar@windstream.net> wrote:

> For most of what Author-It does, we could have done it a lot cheaper and with much higher performance by deploying a CVS server on the network and using groff.

Is the suggestion to use `CVS server' as an alternative just a
particularly horrible insult for Author-It, or does it also
betray a misguided appreciation for groff?


From MAILER-DAEMON Sun May 20 10:01:03 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SW6gx-00084r-A8
	for mharc-groff@gnu.org; Sun, 20 May 2012 10:01:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43878)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SW6gv-00084Q-4z
	for groff@gnu.org; Sun, 20 May 2012 10:01:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SW6gt-0004y3-EK
	for groff@gnu.org; Sun, 20 May 2012 10:01:00 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:47833)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SW6gt-0004ub-3p
	for groff@gnu.org; Sun, 20 May 2012 10:00:59 -0400
Received: (qmail invoked by alias); 20 May 2012 14:00:57 -0000
Received: from p5DE8799D.dip.t-dialin.net (EHLO localhost) [93.232.121.157]
	by mail.gmx.net (mp037) with SMTP; 20 May 2012 16:00:57 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX1/vlNF/jKLv/AMs51GEsv/akXndYU8K/RSd4cEIjT
	gGdHe003iqZ0gm
Date: Sun, 20 May 2012 16:00:53 +0200 (CEST)
Message-Id: <20120520.160053.61436555.wl@gnu.org>
To: deri@chuzzlewit.demon.co.uk
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <201205082247.28471.deri@chuzzlewit.demon.co.uk>
References: <201205061745.07460.deri@chuzzlewit.demon.co.uk>
	<20120507.095421.31148164.wl@gnu.org>
	<201205082247.28471.deri@chuzzlewit.demon.co.uk>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.23
Cc: groff@gnu.org
Subject: Re: [Groff] gropdf updates
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 20 May 2012 14:01:02 -0000


> I have enclosed some changes for gropdf and a few other things which
> I said I would do (some extra explanation of what .asciify does).

Thanks a lot!  I've applied it to the CVS.

> Some of these changes are a prereq for some of the stuff Peter
> Schaffter is doing with mom.  I've also included the ToUnicode CMap
> change.  I decided to include the standard CMap as a default (this
> caters for ligatures and \- (minus), but I am tempted to add the
> "smartquotes" handling which Tadziu demonstrated in his grops
> example.  What do you think?

Sounds interesting.  I've CCed the groff list for further comments.

> I have also added a -u switch to the command line for gropdf which
> can be used either to stop the CMap being included (-u on its own),
> or -u filename where you can use your own CMap, a bit like the
> custom prologue which grops allows.


    Werner


From MAILER-DAEMON Thu May 24 07:39:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SXWNy-0002oA-Fn
	for mharc-groff@gnu.org; Thu, 24 May 2012 07:39:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38305)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SXWNs-0002m4-9z
	for groff@gnu.org; Thu, 24 May 2012 07:39:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SXWNl-0002IX-Qa
	for groff@gnu.org; Thu, 24 May 2012 07:39:11 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:50169)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SXWNl-0002II-Fo
	for groff@gnu.org; Thu, 24 May 2012 07:39:05 -0400
Received: (qmail invoked by alias); 24 May 2012 11:39:03 -0000
Received: from 88-117-32-205.adsl.highway.telekom.at (EHLO localhost)
	[88.117.32.205]
	by mail.gmx.net (mp038) with SMTP; 24 May 2012 13:39:03 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX19UXEtF4iRUuEbekHg2dWXPrwX7qaC5SJ+0td9/sd
	Eqhk5eC28QEyST
Date: Thu, 24 May 2012 13:39:01 +0200 (CEST)
Message-Id: <20120524.133901.180397970.wl@gnu.org>
To: dmw@oxytropis.plus.com
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <20120501164352.6921023b@dell-desktop.example.com>
References: <20120501164352.6921023b@dell-desktop.example.com>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.22
Cc: groff@gnu.org
Subject: Re: [Groff] Long standing bug in grog
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 24 May 2012 11:39:16 -0000


> I regard the following behaviour of grog, which has been there
> from the beginning, to be wrong: [...]

Thanks, I've applied your patch and fixed the Perl version also.
Please test (both versions if possible).


    Werner


From MAILER-DAEMON Fri May 25 23:41:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SY7su-0002cz-Ck
	for mharc-groff@gnu.org; Fri, 25 May 2012 23:41:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46830)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SY7sr-0002cs-FP
	for groff@gnu.org; Fri, 25 May 2012 23:41:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SY7sp-00031s-Nq
	for groff@gnu.org; Fri, 25 May 2012 23:41:41 -0400
Received: from bosmailout01.eigbox.net ([66.96.188.1]:49828)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SY7sp-00031e-Kg
	for groff@gnu.org; Fri, 25 May 2012 23:41:39 -0400
Received: from bosmailscan14.eigbox.net ([10.20.15.14])
	by bosmailout01.eigbox.net with esmtp (Exim) id 1SY7sn-00021D-OA
	for groff@gnu.org; Fri, 25 May 2012 23:41:37 -0400
Received: from bosimpout02.eigbox.net ([10.20.55.2])
	by bosmailscan14.eigbox.net with esmtp (Exim) id 1SY7sn-0001g8-2C
	for groff@gnu.org; Fri, 25 May 2012 23:41:37 -0400
Received: from bosauthsmtp08.eigbox.net ([10.20.18.8])
	by bosimpout02.eigbox.net with NO UCE
	id ETha1j0040ASroS01Thadv; Fri, 25 May 2012 23:41:34 -0400
X-Authority-Analysis: v=2.0 cv=dr1s/Sc4 c=1 sm=1
	a=tRXSf1DckuF51S7hvh4LFA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=XQAzgoiru7sA:10 a=d-Ega9QjyLEA:10 a=kj9zAlcOel0A:10 a=g_SW5-S5AAAA:8
	a=wSE73NWb4PZjWMtftpcA:9 a=CjuIK1q_8ugA:10
	a=BF10AaGwQl41phDg7WSPyA==:117
X-EN-OrigOutIP: 10.20.18.8
X-EN-IMPSID: ETha1j0040ASroS01Thadv
Received: from bas1-ottawa09-2925287844.dsl.bell.ca ([174.92.89.164]
	helo=augustus)
	by bosauthsmtp08.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SY7sk-0003fY-CQ
	for groff@gnu.org; Fri, 25 May 2012 23:41:34 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SY7si-0004gh-4w
	for groff@gnu.org; Fri, 25 May 2012 23:41:32 -0400
Date: Fri, 25 May 2012 23:41:32 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120526034131.GA17988@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.89.164
X-EN-OrigHost: bas1-ottawa09-2925287844.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.188.1
Subject: [Groff] make fails creating U-<fontname>
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 26 May 2012 03:41:42 -0000

Building groff from the latest sources, 'make' terminates with
Error 2 after multiple warnings of the sort

  Warning: line 78: Failed to create groff font 'U-AB' by running afmtodit

I don't recall seeing this before.  What's up?

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Sat May 26 05:02:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SYCsz-0002v4-9M
	for mharc-groff@gnu.org; Sat, 26 May 2012 05:02:09 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60137)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SYCsv-0002td-DR
	for groff@gnu.org; Sat, 26 May 2012 05:02:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SYCst-0006vg-Jw
	for groff@gnu.org; Sat, 26 May 2012 05:02:04 -0400
Received: from avasout08.plus.net ([212.159.14.20]:40034)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SYCst-0006vK-Aj
	for groff@gnu.org; Sat, 26 May 2012 05:02:03 -0400
Received: from dell-desktop.example.com ([84.92.111.67]) by avasout08 with smtp
	id EZ1z1j0061THptQ01Z20Ck; Sat, 26 May 2012 10:02:01 +0100
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.0 cv=I8Dntacg c=1 sm=1 a=zahYBDPRSX6fECX55ANGMA==:17
	a=P5J0kwBm2ZAA:10 a=ihvODaAuJD4A:10 a=kj9zAlcOel0A:10 a=EBOSESyhAAAA:8
	a=A1X0JdhQAAAA:8 a=MrESbKllAAAA:8 a=oqUK4nZWiuWppH3Z7IoA:9
	a=CjuIK1q_8ugA:10 a=zahYBDPRSX6fECX55ANGMA==:117
Date: Sat, 26 May 2012 10:02:22 +0100
From: "Denis M. Wilson" <dmw@oxytropis.plus.com>
To: groff@gnu.org
Message-ID: <20120526100222.61a97732@dell-desktop.example.com>
In-Reply-To: <20120526034131.GA17988@augustus>
References: <20120526034131.GA17988@augustus>
X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 212.159.14.20
Subject: Re: [Groff] make fails creating U-<fontname>
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 26 May 2012 09:02:08 -0000



On Fri, 25 May 2012 23:41:32 -0400
Peter Schaffter <peter@schaffter.ca> wrote:

> Building groff from the latest sources, 'make' terminates with
> Error 2 after multiple warnings of the sort
> 
>   Warning: line 78: Failed to create groff font 'U-AB' by running
> afmtodit
> 
> I don't recall seeing this before.  What's
> up?

In the file groff-current/font/devpdf You need to replace line 68 or so
with your own path to the URW font directory, eg I used:

foundry|U|(gs):/usr/share/fonts/type1/gsfonts

rerun configure, and you should be fine.  This should ideally be done
by configure itself.

Denis


-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


From MAILER-DAEMON Sat May 26 07:26:11 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SYF8N-0008LD-Ff
	for mharc-groff@gnu.org; Sat, 26 May 2012 07:26:11 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39740)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <deri@chuzzlewit.demon.co.uk>) id 1SYF8K-0008L7-K3
	for groff@gnu.org; Sat, 26 May 2012 07:26:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <deri@chuzzlewit.demon.co.uk>) id 1SYF8I-0007D5-Op
	for groff@gnu.org; Sat, 26 May 2012 07:26:08 -0400
Received: from chuzzlewit.demon.co.uk ([80.177.169.146]:43518
	helo=dombey.localdomain) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <deri@chuzzlewit.demon.co.uk>) id 1SYF8I-000714-Fd
	for groff@gnu.org; Sat, 26 May 2012 07:26:06 -0400
Received: by dombey.localdomain (Postfix, from userid 500)
	id 6D80122959; Sat, 26 May 2012 12:25:44 +0100 (BST)
From: Deri James <deri@chuzzlewit.demon.co.uk>
To: groff@gnu.org
Date: Sat, 26 May 2012 12:25:43 +0100
User-Agent: KMail/1.13.7 (Linux/2.6.38.8-desktop-10.mga; KDE/4.6.5; x86_64; ; )
References: <20120526034131.GA17988@augustus>
	<20120526100222.61a97732@dell-desktop.example.com>
In-Reply-To: <20120526100222.61a97732@dell-desktop.example.com>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201205261225.43615.deri@chuzzlewit.demon.co.uk>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 80.177.169.146
Subject: Re: [Groff] make fails creating U-<fontname>
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 26 May 2012 11:26:10 -0000

On Saturday 26 May 2012 10:02:22 Denis M. Wilson wrote:
> On Fri, 25 May 2012 23:41:32 -0400
> 
> Peter Schaffter <peter@schaffter.ca> wrote:
> > Building groff from the latest sources, 'make' terminates with
> > Error 2 after multiple warnings of the sort
> > 
> >   Warning: line 78: Failed to create groff font 'U-AB' by running
> > 
> > afmtodit
> > 
> > I don't recall seeing this before.  What's
> > up?
> 
> In the file groff-current/font/devpdf You need to replace line 68 or so
> with your own path to the URW font directory, eg I used:
> 
> foundry|U|(gs):/usr/share/fonts/type1/gsfonts
> 
> rerun configure, and you should be fine.  This should ideally be done
> by configure itself.
> 
> Denis

The "(gs)" runs "gs -h", and then the search paths shown are searched for the 
fonts. On my system the command gives:-

Search path:
   /home/derij/.fonts : %rom%Resource/Init/ : %rom%lib/ :
   /usr/share/ghostscript/9.04/Resource/Init :
   /usr/share/ghostscript/9.04/lib :
   /usr/share/ghostscript/9.04/Resource/Font :
   /usr/share/ghostscript/fonts : /usr/share/fonts/default/ghostscript :
   /usr/share/fonts/default/type1 : /usr/share/ghostscript/fonts :
   /usr/share/ghostscript/9.04/Resource : /usr/share/ghostscript/Resource :
   /usr/share/ghostscript/CIDFont : /usr/share/fonts/ttf :
   /usr/share/fonts/type1 : /usr/share/fonts/default/Type1
Initialization files are compiled into the executable.

and if I look for one of the fonts I see:-

-rw-r--r-- 1 root  root  69965 Jan 17  2011 
/usr/share/fonts/default/Type1/a010015l.pfb
lrwxrwxrwx 1 root  root     15 Jun  3  2011 
/usr/share/fonts/default/Type1/adobestd35/a010015l.pfb -> ../a010015l.pfb

So in my case the font would be found automatically (by the last path in 
Search Path).

The problem occurs if the search paths yielded by "gs -h" don't actually 
include the standard fonts! Which is why you can add custom paths as well. The 
question arises, "How does ghostscript find the fonts if they are not on its 
own search path?", and I think the clue is in the message "Initialization 
files are compiled into the executable" which I think means the fonts are 
compiled into the executable. If someone has a better way of trying to find 
the fonts please give me a clue. :-)

Peter, what does "gs -h" yield on your system and where are the fonts actually 
located?

Cheers 

Deri


From MAILER-DAEMON Sat May 26 15:18:24 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SYMVM-0000pA-7H
	for mharc-groff@gnu.org; Sat, 26 May 2012 15:18:24 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57616)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SYMVJ-0000oa-2f
	for groff@gnu.org; Sat, 26 May 2012 15:18:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SYMVG-0005UX-UZ
	for groff@gnu.org; Sat, 26 May 2012 15:18:20 -0400
Received: from bosmailout16.eigbox.net ([66.96.185.16]:50571)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SYMVG-0005UT-Ql
	for groff@gnu.org; Sat, 26 May 2012 15:18:18 -0400
Received: from bosmailscan11.eigbox.net ([10.20.15.11])
	by bosmailout16.eigbox.net with esmtp (Exim) id 1SYMVF-0005wZ-A4
	for groff@gnu.org; Sat, 26 May 2012 15:18:17 -0400
Received: from bosimpout01.eigbox.net ([10.20.55.1])
	by bosmailscan11.eigbox.net with esmtp (Exim) id 1SYMVE-0007Zz-NT
	for groff@gnu.org; Sat, 26 May 2012 15:18:16 -0400
Received: from bosauthsmtp02.eigbox.net ([10.20.18.2])
	by bosimpout01.eigbox.net with NO UCE
	id EjJH1j00102gpmq01jJHlh; Sat, 26 May 2012 15:18:17 -0400
X-Authority-Analysis: v=2.0 cv=HfGjuF48 c=1 sm=1
	a=tRXSf1DckuF51S7hvh4LFA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=P5J0kwBm2ZAA:10 a=d-Ega9QjyLEA:10 a=kj9zAlcOel0A:10 a=g_SW5-S5AAAA:8
	a=0XTp5jS2MuwV_HEReVMA:9 a=CjuIK1q_8ugA:10
	a=9MP9vxlQrmnoeofDS6o88g==:117
X-EN-OrigOutIP: 10.20.18.2
X-EN-IMPSID: EjJH1j00102gpmq01jJHlh
Received: from bas1-ottawa09-2925287844.dsl.bell.ca ([174.92.89.164]
	helo=augustus)
	by bosauthsmtp02.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SYMVE-0000t0-QR
	for groff@gnu.org; Sat, 26 May 2012 15:18:16 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SYMVC-0006qY-Ro
	for groff@gnu.org; Sat, 26 May 2012 15:18:14 -0400
Date: Sat, 26 May 2012 15:18:14 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120526191814.GA2693@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <20120526034131.GA17988@augustus>
	<20120526100222.61a97732@dell-desktop.example.com>
	<201205261225.43615.deri@chuzzlewit.demon.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201205261225.43615.deri@chuzzlewit.demon.co.uk>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.89.164
X-EN-OrigHost: bas1-ottawa09-2925287844.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.185.16
Subject: Re: [Groff] make fails creating U-<fontname>
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 26 May 2012 19:18:22 -0000

On Sat, May 26, 2012, Deri James wrote:
> On Saturday 26 May 2012 10:02:22 Denis M. Wilson wrote:
> > On Fri, 25 May 2012 23:41:32 -0400
> > 
> > Peter Schaffter <peter@schaffter.ca> wrote:
> > > Building groff from the latest sources, 'make' terminates with
> > > Error 2 after multiple warnings of the sort
> > > 
> > >  Warning: line 78: Failed to create groff font 'U-AB' by running afmtodit
> > 
> > In the file groff-current/font/devpdf You need to replace line
> > 68 or so with your own path to the URW font directory, eg I
> > used:
> > 
> > foundry|U|(gs):/usr/share/fonts/type1/gsfonts
> 
> The "(gs)" runs "gs -h", and then the search paths shown are
> searched for the fonts.
>
> Peter, what does "gs -h" yield on your system and where are the
> fonts actually located?

  /home/peter/.fonts : /usr/share/ghostscript/9.04/Resource/Init :
  /usr/share/ghostscript/9.04/lib :
  /usr/share/ghostscript/9.04/Resource/Font :
  /usr/share/ghostscript/fonts : /var/lib/ghostscript/fonts :
  /usr/share/cups/fonts : /usr/share/ghostscript/fonts :
  /usr/local/lib/ghostscript/fonts : /usr/share/fonts

Like Denis's setup, the URW fonts are actually located in

  /usr/share/fonts/type1/gsfonts

Is there any way you can use something like

  find /usr -path *.afm -exec dirname '{}' \; \
  | sort | uniq | grep "gs\|gsfonts\|ghostscript"

and append the output to the gs -h font path?  On my
system, the 'find' pipeline spits out

  /usr/share/fonts/type1/gsfonts

which, on a Debian system, is where the URW fonts live (these days;
it seems to change with the years).

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Sat May 26 15:19:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SYMWt-0000v2-Ek
	for mharc-groff@gnu.org; Sat, 26 May 2012 15:19:59 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46640)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SYMWq-0000uw-6i
	for groff@gnu.org; Sat, 26 May 2012 15:19:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SYMWo-0005Zh-6h
	for groff@gnu.org; Sat, 26 May 2012 15:19:55 -0400
Received: from avasout08.plus.net ([212.159.14.20]:49861)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dmw@oxytropis.plus.com>) id 1SYMWn-0005ZT-Tr
	for groff@gnu.org; Sat, 26 May 2012 15:19:54 -0400
Received: from dell-desktop.example.com ([84.92.111.67]) by avasout08 with smtp
	id EjKo1j0021THptQ01jKpCd; Sat, 26 May 2012 20:19:49 +0100
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.0 cv=I8Dntacg c=1 sm=1 a=zahYBDPRSX6fECX55ANGMA==:17
	a=4y6zt6oMpZ4A:10 a=ihvODaAuJD4A:10 a=kj9zAlcOel0A:10 a=EBOSESyhAAAA:8
	a=A1X0JdhQAAAA:8 a=hwG5E2HrAAAA:8 a=TXH1plnoWfkOCi2pKw0A:9
	a=CjuIK1q_8ugA:10 a=WuUnJ0xZSzva4BDM:21 a=5o9vbiNH2ENNoa14:21
	a=zahYBDPRSX6fECX55ANGMA==:117
Date: Sat, 26 May 2012 20:20:12 +0100
From: "Denis M. Wilson" <dmw@oxytropis.plus.com>
To: groff@gnu.org
Message-ID: <20120526202012.494d46a4@dell-desktop.example.com>
X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 212.159.14.20
Subject: [Groff] Fw:  make fails creating U-<fontname>
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 26 May 2012 19:19:57 -0000



Date: Sat, 26 May 2012 17:47:26 +0100
From: "Denis M. Wilson" <dmw@oxytropis.plus.com>
To: Deri James <deri@chuzzlewit.demon.co.uk>
Subject: Re: [Groff] make fails creating U-<fontname>




On Sat, 26 May 2012 12:25:43 +0100
Deri James <deri@chuzzlewit.demon.co.uk> wrote:

> On Saturday 26 May 2012 10:02:22 Denis M. Wilson wrote:
> > On Fri, 25 May 2012 23:41:32 -0400
> > 
> > Peter Schaffter <peter@schaffter.ca> wrote:
> > > Building groff from the latest sources, 'make' terminates with
> > > Error 2 after multiple warnings of the sort
> > > 
> > >   Warning: line 78: Failed to create groff font 'U-AB' by running
> > > 
> > > afmtodit
> > > 
> > > I don't recall seeing this before.  What's
> > > up?
> > 
> > In the file groff-current/font/devpdf You need to replace line 68
> > or so with your own path to the URW font directory, eg I used:
> > 
> > foundry|U|(gs):/usr/share/fonts/type1/gsfonts
> > 
> > rerun configure, and you should be fine.  This should ideally be
> > done by configure itself.
> > 
> > Denis
> 
> The "(gs)" runs "gs -h", and then the search paths shown are searched
> for the fonts. On my system the command gives:-
> 
> Search path:
>    /home/derij/.fonts : %rom%Resource/Init/ : %rom%lib/ :
>    /usr/share/ghostscript/9.04/Resource/Init :
>    /usr/share/ghostscript/9.04/lib :
>    /usr/share/ghostscript/9.04/Resource/Font :
>    /usr/share/ghostscript/fonts : /usr/share/fonts/default/ghostscript :
>    /usr/share/fonts/default/type1 : /usr/share/ghostscript/fonts :
>    /usr/share/ghostscript/9.04/Resource : /usr/share/ghostscript/Resource :
>    /usr/share/ghostscript/CIDFont : /usr/share/fonts/ttf :
>    /usr/share/fonts/type1 : /usr/share/fonts/default/Type1
> Initialization files are compiled into the executable.
> 
> and if I look for one of the fonts I see:-
> 
> -rw-r--r-- 1 root  root  69965 Jan 17  2011 
> /usr/share/fonts/default/Type1/a010015l.pfb
> lrwxrwxrwx 1 root  root     15 Jun  3  2011 
> /usr/share/fonts/default/Type1/adobestd35/a010015l.pfb
> -> ../a010015l.pfb
> 
> So in my case the font would be found automatically (by the last path
> in Search Path).
> 
> The problem occurs if the search paths yielded by "gs -h" don't
> actually include the standard fonts! Which is why you can add custom
> paths as well. The question arises, "How does ghostscript find the
> fonts if they are not on its own search path?", and I think the clue
> is in the message "Initialization files are compiled into the
> executable" which I think means the fonts are compiled into the
> executable.

I think it is the files in Resource/Init which are compiled in, and not
the fonts, which do not come with the source. gs maps font names to
files using Fontmap, and finds files with its search path, one element
of which is /usr/share/fonts/ghostscript, which as it is usually
non-existent is a useful place to make symbolic links to all your fonts.

On a recent upgrade to my system, Fontmap had disappeared as Debian had
hacked gs to use defoma, and the afm files are apparently ignored by
defoma.

> If someone has a better way of trying to find the fonts
> please give me a clue. :-)

For troff you need the afms, which gs may not find...

Denis

> 
> Peter, what does "gs -h" yield on your system and where are the fonts
> actually located?
> 
> Cheers 
> 
> Deri





From MAILER-DAEMON Sat May 26 15:32:53 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SYMjN-0002Ix-Ey
	for mharc-groff@gnu.org; Sat, 26 May 2012 15:32:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41962)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SYMjK-0002Ir-PU
	for groff@gnu.org; Sat, 26 May 2012 15:32:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SYMjI-0007hJ-TJ
	for groff@gnu.org; Sat, 26 May 2012 15:32:50 -0400
Received: from bosmailout09.eigbox.net ([66.96.184.9]:40718)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SRS0=4QfzRw=D6=schaffter.ca=peter@eigbox.net>)
	id 1SYMjI-0007h9-Qa
	for groff@gnu.org; Sat, 26 May 2012 15:32:48 -0400
Received: from bosmailscan08.eigbox.net ([10.20.15.8])
	by bosmailout09.eigbox.net with esmtp (Exim) id 1SYMjH-0001q4-Oo
	for groff@gnu.org; Sat, 26 May 2012 15:32:47 -0400
Received: from bosimpout01.eigbox.net ([10.20.55.1])
	by bosmailscan08.eigbox.net with esmtp (Exim) id 1SYMjH-0002ib-HL
	for groff@gnu.org; Sat, 26 May 2012 15:32:47 -0400
Received: from bosauthsmtp04.eigbox.net ([10.20.18.4])
	by bosimpout01.eigbox.net with NO UCE
	id EjYn1j00105GATN01jYnmG; Sat, 26 May 2012 15:32:47 -0400
X-Authority-Analysis: v=2.0 cv=HfGjuF48 c=1 sm=1
	a=tRXSf1DckuF51S7hvh4LFA==:17 a=Q9mMSRBxWxkA:10 a=wom5GMh1gUkA:10
	a=P5J0kwBm2ZAA:10 a=d-Ega9QjyLEA:10 a=kj9zAlcOel0A:10 a=g_SW5-S5AAAA:8
	a=uibXZ6o9fbI34tYQf9YA:9 a=CjuIK1q_8ugA:10
	a=jcMFiYeD4Gz02xRQ37rMPA==:117
X-EN-OrigOutIP: 10.20.18.4
X-EN-IMPSID: EjYn1j00105GATN01jYnmG
Received: from bas1-ottawa09-2925287844.dsl.bell.ca ([174.92.89.164]
	helo=augustus)
	by bosauthsmtp04.eigbox.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim) id 1SYMjD-0004ZS-6s
	for groff@gnu.org; Sat, 26 May 2012 15:32:43 -0400
Received: from peter by augustus with local (Exim 4.76)
	(envelope-from <peter@schaffter.ca>) id 1SYMj9-0001bx-9J
	for groff@gnu.org; Sat, 26 May 2012 15:32:39 -0400
Date: Sat, 26 May 2012 15:32:39 -0400
From: Peter Schaffter <peter@schaffter.ca>
To: groff@gnu.org
Message-ID: <20120526193239.GB2693@augustus>
Mail-Followup-To: Peter Schaffter <peter@schaffter.ca>, groff@gnu.org
References: <20120526034131.GA17988@augustus>
	<20120526100222.61a97732@dell-desktop.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120526100222.61a97732@dell-desktop.example.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-EN-UserInfo: de950a90bfbefba2fd690f5ecdd2f718:712911bb6d01017077352c3c8e2e335d
X-EN-AuthUser: peter@schaffter.ca
Sender: Peter Schaffter <peter@schaffter.ca>
X-EN-OrigIP: 174.92.89.164
X-EN-OrigHost: bas1-ottawa09-2925287844.dsl.bell.ca
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 66.96.184.9
Subject: Re: [Groff] make fails creating U-<fontname>
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 26 May 2012 19:32:52 -0000

On Sat, May 26, 2012, Denis M. Wilson wrote:
> 
> 
> On Fri, 25 May 2012 23:41:32 -0400
> Peter Schaffter <peter@schaffter.ca> wrote:
> 
> > Building groff from the latest sources, 'make' terminates with
> > Error 2 after multiple warnings of the sort
> > 
> >   Warning: line 78: Failed to create groff font 'U-AB' by running
> > afmtodit
> > 
> > I don't recall seeing this before.  What's
> > up?
> 
> In the file groff-current/font/devpdf You need to replace line 68 or so
> with your own path to the URW font directory, eg I used:
> 
> foundry|U|(gs):/usr/share/fonts/type1/gsfonts

Thanks.  The file to edit is actually 'Foundry.in' in font/devpdf.

-- 
Peter Schaffter

Author of The Binbrook Caucus
http://www.schaffter.ca


From MAILER-DAEMON Sun May 27 02:09:27 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SYW8a-0006Wr-H5
	for mharc-groff@gnu.org; Sun, 27 May 2012 01:35:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49507)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SYW8X-0006Pu-A7
	for groff@gnu.org; Sun, 27 May 2012 01:35:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SYW8V-0000FX-LR
	for groff@gnu.org; Sun, 27 May 2012 01:35:28 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:50755)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SYW8U-0000FL-US
	for groff@gnu.org; Sun, 27 May 2012 01:35:27 -0400
Received: (qmail invoked by alias); 27 May 2012 05:35:24 -0000
Received: from 178-190-64-183.adsl.highway.telekom.at (EHLO localhost)
	[178.190.64.183]
	by mail.gmx.net (mp031) with SMTP; 27 May 2012 07:35:24 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX1+LNEdMq2yLqJCKVywjo7qrrhkm5NnQd/JLszbUD/
	zsiJHmF3SZ0eao
Date: Sun, 27 May 2012 07:35:23 +0200 (CEST)
Message-Id: <20120527.073523.66774123.wl@gnu.org>
To: deri@chuzzlewit.demon.co.uk
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <201205261225.43615.deri@chuzzlewit.demon.co.uk>
References: <20120526034131.GA17988@augustus>
	<20120526100222.61a97732@dell-desktop.example.com>
	<201205261225.43615.deri@chuzzlewit.demon.co.uk>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.23
Cc: groff@gnu.org
Subject: Re: [Groff] make fails creating U-<fontname>
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 27 May 2012 05:35:31 -0000


>> In the file groff-current/font/devpdf You need to replace line 68
>> or so with your own path to the URW font directory, eg I used:
>> 
>> foundry|U|(gs):/usr/share/fonts/type1/gsfonts
>> 
>> rerun configure, and you should be fine.  This should ideally be
>> done by configure itself.

Exactly.  Right now, `Foundry.in' gets simply copied to `Foundry'.

> If someone has a better way of trying to find the fonts please give
> me a clue. :-)

I think the proper way is to add an option to the configure script,
say, --with-urw-afm=PATH, to enable a special directory in addition to
the directories given by `gs -h' (this help output must be parsed
accordingly by the configure script).

Looks like a TODO for Deri :-)


    Werner


From MAILER-DAEMON Sun May 27 11:06:54 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SYf3W-00021a-6S
	for mharc-groff@gnu.org; Sun, 27 May 2012 11:06:54 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51525)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SYf3T-0001zf-4u
	for groff@gnu.org; Sun, 27 May 2012 11:06:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SYf3R-0003nQ-9n
	for groff@gnu.org; Sun, 27 May 2012 11:06:50 -0400
Received: from relay00.pair.com ([209.68.5.9]:1591)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <ralph@inputplus.co.uk>) id 1SYf3R-0003nD-4L
	for groff@gnu.org; Sun, 27 May 2012 11:06:49 -0400
Received: (qmail 35529 invoked from network); 27 May 2012 15:01:43 -0000
Received: from 91.125.214.111 (HELO orac.inputplus.co.uk) (91.125.214.111)
	by relay00.pair.com with SMTP; 27 May 2012 15:01:43 -0000
X-pair-Authenticated: 91.125.214.111
Received: by orac.inputplus.co.uk (Postfix, from userid 1000)
	id 42F922B007; Sun, 27 May 2012 16:06:46 +0100 (BST)
Received: from orac.inputplus.co.uk (localhost [127.0.0.1])
	by orac.inputplus.co.uk (Postfix) with ESMTP id 1E7852B006
	for <groff@gnu.org>; Sun, 27 May 2012 16:06:46 +0100 (BST)
to: groff@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Date: Sun, 27 May 2012 16:06:46 +0100
From: Ralph Corderoy <ralph@inputplus.co.uk>
Message-Id: <20120527150646.42F922B007@orac.inputplus.co.uk>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.68.5.9
Subject: [Groff] nroffedit, an RFC Editor.
X-BeenThere: groff@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff>,
	<mailto:groff-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff>
List-Post: <mailto:groff@gnu.org>
List-Help: <mailto:groff-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff>,
	<mailto:groff-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 27 May 2012 15:06:52 -0000

Hi,

I've just come across http://aaa-sec.com/nroffedit/ and thought it may
be of interest.  Has the nroff source of the RFC in the left pane and
the formatted version in the right.  Unfortunately, it's written in
Java.  Don't know if it actually uses nroff to do the formatting and how
well if would cope with non-RFC material.

Cheers, Ralph.


