2014-01-25 17:26:21 -05:00
|
|
|
// Status=DRAFT
|
|
|
|
// this is intentionally left as a single file v.s. multiple sections to allow
|
2014-01-30 03:25:09 -05:00
|
|
|
// users to browse the Page Source
|
2014-01-25 17:26:21 -05:00
|
|
|
= AsciiDoc Quick Reference
|
|
|
|
:Author: WSJT-X Documetation Team
|
2014-01-30 13:40:16 -05:00
|
|
|
:Date: January 22, 2014, Copyright (C) CC-BY-SA 3.0 Unported
|
2014-01-25 17:26:21 -05:00
|
|
|
:Revision: 0.0.1
|
|
|
|
:badges:
|
|
|
|
:icons:
|
|
|
|
:numbered:
|
|
|
|
:image_dir:
|
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
// WEB links - List is getting pretty long, time to use include::file-name ??
|
2014-01-25 17:26:21 -05:00
|
|
|
:asciidoc_help: http://www.methods.co.nz/asciidoc/userguide.html[ AsciiDoc User Guide ]
|
|
|
|
:asciidoc_cheatsheet: http://powerman.name/doc/asciidoc[ AsciiDoc Cheatsheet ]
|
|
|
|
:asciidoc_questions: http://www.methods.co.nz/asciidoc/faq.html[ AsciiDoc FAQ ]
|
2014-01-30 13:40:16 -05:00
|
|
|
:debian: http://www.debian.org/[ Debian ]
|
2014-01-30 05:09:18 -05:00
|
|
|
:cc_by_sa: http://creativecommons.org/licenses/by-sa/3.0/[ Commons Attribution-ShareAlike 3.0 Unported License ]
|
2014-01-30 13:40:16 -05:00
|
|
|
:devsvn: http://developer.berlios.de/projects/wsjt/[ Devel-SVN ]
|
|
|
|
:devsvn: http://developer.berlios.de/projects/wsjt/[wsjt-svn]
|
2014-01-25 17:26:21 -05:00
|
|
|
:download: http://physics.princeton.edu/pulsar/K1JT/wsjtx.html[ Download Page ]
|
2014-01-30 13:40:16 -05:00
|
|
|
:dxlcommander: http://www.dxlabsuite.com/commander/[ Commander ]
|
2014-01-25 17:26:21 -05:00
|
|
|
:homepage: http://physics.princeton.edu/pulsar/K1JT/[ WSJT Home Page ]
|
2014-01-30 13:40:16 -05:00
|
|
|
:hrd: http://www.hrdsoftwarellc.com/[ Ham Radio Deluxe ]
|
|
|
|
:jtalert: http://ham-apps.com[JT-ALERT-X]
|
|
|
|
:jt65protocol: http://physics.princeton.edu/pulsar/K1JT/JT65.pdf[QEX]
|
|
|
|
:launchpadurl: https://launchpad.net/~jnogatch/+archive/wsjtx[ WSJT-X Linux Packages ]
|
2014-01-25 17:26:21 -05:00
|
|
|
:ntpsetup: http://www.satsignal.eu/ntp/setup.html[Network Time Protocol Setup]
|
2014-01-30 13:40:16 -05:00
|
|
|
:pskreporter: http://pskreporter.info/pskmap.html[PSK Reporter]
|
|
|
|
:osx_instructions: http://physics.princeton.edu/pulsar/K1JT/OSX_Readme[here]
|
2014-01-25 17:26:21 -05:00
|
|
|
:wsjtx: http://physics.princeton.edu/pulsar/K1JT/wsjtx.html[ WSJT-X ]
|
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
// DOWNLOAD links
|
|
|
|
:cty_dat: http://www.country-files.com/cty/[here].
|
|
|
|
:kvasd: http://physics.princeton.edu/pulsar/K1JT/kvasd[kvasd]
|
|
|
|
:osx_108: http://physics.princeton.edu/pulsar/K1JT/wsjtx_3nov13.tar.gz[ OS X 10.6, 10.7, and 10.8 ]
|
|
|
|
:osx_109: http://physics.princeton.edu/pulsar/K1JT/wsjtx_10.9_29nov13.tar.gz[ OS X 10.9 ]
|
|
|
|
|
|
|
|
// MAIL-TO links
|
2014-01-25 17:26:21 -05:00
|
|
|
:alex_efros: mailto:powerman@powerman.name[ Alex Efros ]
|
2014-01-30 13:40:16 -05:00
|
|
|
:devmail: mailto:wsjt-devel@lists.berlios.de[wsjt-devel]
|
|
|
|
:stuart_rackman: mailto:srackham@gmail.com[ Stuart Rackham ]
|
|
|
|
|
2014-01-25 17:26:21 -05:00
|
|
|
|
|
|
|
[[X1]]
|
|
|
|
== Introduction
|
|
|
|
The purpose of this guide is to provide a quick reference to commonly used
|
|
|
|
markup-up items for writing the {wsjtx} User Guide. Additional resources and
|
|
|
|
examples can be found at:
|
|
|
|
|
|
|
|
* {asciidoc_help} by {stuart_rackman}
|
|
|
|
* {asciidoc_questions} by {stuart_rackman}
|
|
|
|
* {asciidoc_cheatsheet} by {alex_efros}
|
|
|
|
|
|
|
|
[[X2]]
|
2014-01-30 13:40:16 -05:00
|
|
|
== Asciidoc Installation
|
2014-01-30 05:09:18 -05:00
|
|
|
|
|
|
|
For most packages, the normal method of installation is through their
|
|
|
|
respective package manager. There are several reasons why we do not
|
|
|
|
want this for the _WSJT-X User Guide_:
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
* Most packaged applications are installed system-wide, which means standard
|
2014-01-30 05:09:18 -05:00
|
|
|
pivilaged (non Root / RootSudo) users update their binaries.
|
2014-01-30 13:40:16 -05:00
|
|
|
* Often times, distro packages are (1) or more revisions behind.
|
|
|
|
* Updating to the latest stable _AsciiDoc_ version, using Mercurial, is a simple
|
|
|
|
one line command or simply clone the latest release.
|
|
|
|
* Using $HOME makes working on the _WSJT-X User Guide_ portable, such as,
|
|
|
|
installing to a USB Key allows testing of your work on virtually any system
|
|
|
|
which has _Python_ {amp}{amp} _Bash Enviroment_ installed.
|
2014-01-30 05:09:18 -05:00
|
|
|
|
|
|
|
// Several more items pending addition
|
2014-01-30 13:40:16 -05:00
|
|
|
*Further Edit's Pending*
|
2014-01-25 17:26:21 -05:00
|
|
|
|
|
|
|
[[X21]]
|
|
|
|
=== Windows
|
2014-01-30 13:40:16 -05:00
|
|
|
.WinXP thru Win8
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
content
|
2014-01-25 17:26:21 -05:00
|
|
|
|
|
|
|
[[X22]]
|
|
|
|
=== Linux
|
2014-01-30 13:40:16 -05:00
|
|
|
.Debian, Ubuntu, Mint {amp} Relatives
|
|
|
|
// Rouch Draft, needs verified.
|
|
|
|
|
|
|
|
There are many relatives of Debian {amp} Ubuntu, and most shells are _Bash_. For
|
|
|
|
all but the package-manager commands,you shoult be able to _Copy {amp} Paste_
|
|
|
|
the commands directly into the terminal.
|
|
|
|
|
|
|
|
* It's a good idea to always start from a fresh repository list, and to have the
|
|
|
|
instll up to date before adding new packages.
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
sudo apt-get update && sudo apt-get upgrade
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Install Dependencies
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
# on most distro's, python is already installed
|
|
|
|
sudo apt-get install mercurial source-highlight subversion
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Check Python, hg, Subversion and Source Highlight are installed
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
python -V
|
|
|
|
hg --version |head -n1
|
|
|
|
svn --version |head -n1
|
|
|
|
source-highlight --version |head -n1
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Should Return:
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
# your versions may vary slightly
|
|
|
|
Python 2.7.6
|
|
|
|
svn, version 1.7.14
|
|
|
|
Mercurial Distributed SCM (version 2.8.2)
|
|
|
|
GNU Source-highlight 3.1.6
|
|
|
|
-----
|
|
|
|
|
|
|
|
IMPORTANT: If any package check returns with an error, resolve before
|
|
|
|
continuing !!
|
|
|
|
|
|
|
|
* Check for Previous AsciiDoc Installation
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
# ckeck if AsciiDoc is already installed:
|
|
|
|
asciidoc --version
|
|
|
|
|
|
|
|
# If Bash returns any version, remove it:
|
|
|
|
sudo apt-get purge asciidoc
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add Directories and source profiles
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
mkdir -p $HOME/bin $HOME/Projects/documentation/wsjtx
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
source ~/.bashrc && source ~/.profile
|
|
|
|
-----
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
* Check $HOME/bin is in your $PATH
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
echo $PATH
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
#should return something like: /home/$USER/bin:/usr/local/sbin: .. .. ..
|
|
|
|
-----
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
NOTE: You may have to log out and back in for the addition to take place.
|
|
|
|
If need be, add the following to your shell profile, then source or
|
|
|
|
log out / back in:
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
if [ -d "$HOME/bin" ]
|
|
|
|
then
|
|
|
|
PATH="$HOME/bin:$PATH"
|
|
|
|
fi
|
|
|
|
-----
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
* Download and Configure _AsciiDoc_ use _Copy {amp} Paste_
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
# one action per line
|
|
|
|
cd ~/bin
|
|
|
|
|
|
|
|
hg clone -r 8.6.9 https://asciidoc.googlecode.com/hg/ asciidoc-8.6.9
|
|
|
|
|
|
|
|
cd asciidoc-8.6.9 && hg pull && hg update && hg upgrade && cd ..
|
|
|
|
|
|
|
|
ln -s ~/bin/asciidoc-8.6.9/asciidoc.py ~/bin/asciidoc
|
|
|
|
|
|
|
|
asciidoc --version
|
|
|
|
|
|
|
|
# Should return: asciidoc 8.6.9
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Test build _WSJT-X User Guide_
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
cd ~/Projects/documentation/wsjtx
|
|
|
|
-----
|
|
|
|
|
|
|
|
TIP: There are two commands generally used, _svn export_ and _svn checkout_.
|
|
|
|
_svn export_ does _[red]#not#_ pull history ( the .svn folders ), and you cannot
|
|
|
|
be updated later. _svn checkout_ does pull history and allows you to use _svn up_
|
|
|
|
to bring you local copy to the latest repo level.
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
svn export svn://svn.berlios.de/wsjt/branches/wsjtx/doc
|
|
|
|
|
|
|
|
# and / or
|
|
|
|
|
|
|
|
svn checkout svn://svn.berlios.de/wsjt/branches/wsjtx/doc
|
|
|
|
|
|
|
|
# then
|
|
|
|
|
|
|
|
cd ~/Projects/documentation/wsjtx && ./build-doc.sh toc2
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Now Open wsjtx-main-toc.html
|
|
|
|
|
|
|
|
[source,bash]
|
|
|
|
-----
|
|
|
|
# for chromium
|
|
|
|
chromium-browser wsjtx-main-toc2.html
|
|
|
|
|
|
|
|
# for FireFox
|
|
|
|
firefox wsjtx-main-toc2.html
|
|
|
|
-----
|
2014-01-25 17:26:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
[[X23]]
|
|
|
|
=== OS X
|
2014-01-30 13:40:16 -05:00
|
|
|
.10.8 {amp} 10.9
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
content
|
2014-01-25 17:26:21 -05:00
|
|
|
|
|
|
|
[[X3]]
|
2014-01-30 05:09:18 -05:00
|
|
|
== How To Contribute
|
2014-01-30 13:40:16 -05:00
|
|
|
.under contstruction
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
content
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
=== Dev List Email
|
|
|
|
.under contstruction
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
content
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
=== Join {amp} Commit
|
|
|
|
.under contstruction
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
content
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
=== Submit Patch
|
|
|
|
.under contstruction
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
content
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
=== Yahoo Group Post
|
|
|
|
.under contstruction
|
2014-01-25 17:26:21 -05:00
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
content
|
2014-01-25 17:26:21 -05:00
|
|
|
|
|
|
|
[[X36]]
|
|
|
|
=== Text
|
|
|
|
.Under Construction
|
|
|
|
|
2014-01-30 13:40:16 -05:00
|
|
|
content
|
2014-01-25 17:26:21 -05:00
|
|
|
|
|
|
|
[[XA1]]
|
|
|
|
== Appendix A: Credits
|
|
|
|
.Authors, Editors, Commiters
|
|
|
|
If you worked on the documentation, add yourself to the list.
|
|
|
|
|
|
|
|
* Authors: <call-sign>, <call-sign>
|
|
|
|
|
|
|
|
* Editors: <call-sign>, <call-sign>
|
|
|
|
|
|
|
|
* Commiters: <call-sign>, <call-sign>
|
|
|
|
|
|
|
|
|
|
|
|
== Appendix B: License
|
|
|
|
|
|
|
|
This work is licensed under {cc_by_sa}.
|
|
|
|
|