EnglishFrenchSpanish

Ad


OnWorks favicon

hxcite - Online in the Cloud

Run hxcite in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hxcite that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hxcite - replace bibliographic references by hyperlinks

SYNOPSIS


hxcite [ -b base ] [ -p pattern ] [ -a auxfile ] [ -m marker ] [ -c ] bibfile [ file ]

DESCRIPTION


The hxcite commands copies the file to standard output, looking for strings of the form
[[label]]. The label may not include white space and the double pair of square brackets
must enclose the label without any spaces in between. If hxcite finds the label in the
bibfile, the string is replaced by the pattern. The pattern can include certain
variables. If the label is not found in bibfile, it is left unchanged.

The default pattern replaces the string with a hyperlink, but if the -p option is used,
the replacement can be any pattern. The input doesn't even have to be HTML.

If the label is enclosed in {{...}} instead of [[...]], it is copied to the output
unchanged and not replaced by the pattern, but the label is still searched in the bibfile.

OPTIONS


The following options are supported:

-p pattern
Specifies the pattern by which the string [[label]] is replaced. The pattern
may include the variables %b (which is replaced by the value of the -b option),
%m (which is replaced by the value of the -m option) and %L (which is replaced
by the label). The default pattern is

<a href="/%b#%L" rel="biblioentry">[%L]<!--{{%m%L}}--></a>

-b base Sets the value for the %b variable in the pattern. Typically this is set to a
relative or absolute URL. By default this value is an empty string.

-a auxfile
All labels that have been found and replaced are also written to a file. This is
so that hxmkbib(1) can find them and create a bibliography. The default auxfile
is constructed from the name of the file by removing the last extension (if any)
and replacing it by ".aux". If no file is given, the default name is "aux.aux".

-m marker By default, the program looks for "[[name]]", but it can be made to look for
"[[#name]]" where # is some string, usually a symbol such as '!' or '='. This
allows references to be classified, e.g., "[[!name]]" for normative references
and "[[name]]" for non-normative references.

-c Causes "[[name]]" to be ignored when it occurs inside XML comments
("<!--...-->"). This is useful for files where such labels occur in comments, to
avoid that they be expanded and possibly lead to invalid output; useful also if
hxcite is used for non-HTML files which may contain "<!--" that are not comment.
Occurrences of "{{name}}" are not affected by -c. (But see warning under BUGS
below.)

OPERANDS


The following operands are supported:

bibfile The name of a bibliographic database must be given. It must be a file in
refer(1) format and every entry must have at least a %L field, which is used as
label. (Entries without such a field will be ignored.) Entries may optionally
have a %K line, which should contain whitespace-separated keywords. Those
keywords can be used to refer to the entry instead of the label. Thus the foo in
[[foo]] can either be the label of an entry (%L line) or one of the keywords of
the entry's %K line.

file The name of the input file is optional. If absent, hxcite will read from stdin.
The file does not have to be an HTML file, but the default pattern (see the -p
option) assumes HTML.

EXIT STATUS


The following exit values are returned:

0 Successful completion.

> 0 An error occurred. Usually this is because a file could not be opened. Very
rarely it may also be an out of memory error.

VERSIONS


March 2000: created by Bert Bos <bert@w3.org> as "cite".

August 2008: renamed to "hxcite".

Currently maintained by Bert Bos.

Use hxcite online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 2
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 3
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 4
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 5
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 6
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands

  • 1
    acl_gran
    acl_gran
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_gran
  • 2
    acl_grant
    acl_grant
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_grant
  • 3
    cpupower-idle-set
    cpupower-idle-set
    cpupower idle-set - Utility to set cpu
    idle state specific kernel options
    SYNTAX: cpupower [ -c cpulist ]
    idle-info [options] DESCRIPTION: The
    cpupower idle-se...
    Run cpupower-idle-set
  • 4
    cpupower-info
    cpupower-info
    cpupower-info - Shows processor power
    related kernel or hardware
    configurations ...
    Run cpupower-info
  • 5
    g15daemon
    g15daemon
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • 6
    g15ladi
    g15ladi
    laditools - tools to control and
    monitor LADI (JACK and ladish) systems ...
    Run g15ladi
  • More »

Ad