mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 16:42:12 -05:00
7909c5b818
* Main Page - (3.3) Changed OS x DL links to "osx_" vs "osx-" in the ref links. - Updated main page links. I think we should consider an include::file v.s - line item listing, as the list is getting kinda long. - Updated quick-reference guide * (3.4) Added a section to wsjtx-main.adoc for Linux Compile form Source. This needs work as I basically pulled the steps from my local build script. While it works nicely in unattended mode, in an interactive shell, it's not very tidy as there are too many steps. * (3.4) Install Package list should be fairly accurate, Ive' tested it on several new installs, without iussue, once I had the kvasd deps figured out. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3674 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
279 lines
6.9 KiB
Plaintext
279 lines
6.9 KiB
Plaintext
// Status=DRAFT
|
|
// this is intentionally left as a single file v.s. multiple sections to allow
|
|
// users to browse the Page Source
|
|
= AsciiDoc Quick Reference
|
|
:Author: WSJT-X Documetation Team
|
|
:Date: January 22, 2014, Copyright (C) CC-BY-SA 3.0 Unported
|
|
:Revision: 0.0.1
|
|
:badges:
|
|
:icons:
|
|
:numbered:
|
|
:image_dir:
|
|
|
|
// WEB links - List is getting pretty long, time to use include::file-name ??
|
|
: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 ]
|
|
:debian: http://www.debian.org/[ Debian ]
|
|
:cc_by_sa: http://creativecommons.org/licenses/by-sa/3.0/[ Commons Attribution-ShareAlike 3.0 Unported License ]
|
|
:devsvn: http://developer.berlios.de/projects/wsjt/[ Devel-SVN ]
|
|
:devsvn: http://developer.berlios.de/projects/wsjt/[wsjt-svn]
|
|
:download: http://physics.princeton.edu/pulsar/K1JT/wsjtx.html[ Download Page ]
|
|
:dxlcommander: http://www.dxlabsuite.com/commander/[ Commander ]
|
|
:homepage: http://physics.princeton.edu/pulsar/K1JT/[ WSJT Home Page ]
|
|
: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 ]
|
|
:ntpsetup: http://www.satsignal.eu/ntp/setup.html[Network Time Protocol Setup]
|
|
:pskreporter: http://pskreporter.info/pskmap.html[PSK Reporter]
|
|
:osx_instructions: http://physics.princeton.edu/pulsar/K1JT/OSX_Readme[here]
|
|
:wsjtx: http://physics.princeton.edu/pulsar/K1JT/wsjtx.html[ WSJT-X ]
|
|
|
|
// 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
|
|
:alex_efros: mailto:powerman@powerman.name[ Alex Efros ]
|
|
:devmail: mailto:wsjt-devel@lists.berlios.de[wsjt-devel]
|
|
:stuart_rackman: mailto:srackham@gmail.com[ Stuart Rackham ]
|
|
|
|
|
|
[[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]]
|
|
== Asciidoc Installation
|
|
|
|
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_:
|
|
|
|
* Most packaged applications are installed system-wide, which means standard
|
|
pivilaged (non Root / RootSudo) users update their binaries.
|
|
* 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.
|
|
|
|
// Several more items pending addition
|
|
*Further Edit's Pending*
|
|
|
|
[[X21]]
|
|
=== Windows
|
|
.WinXP thru Win8
|
|
|
|
content
|
|
|
|
[[X22]]
|
|
=== Linux
|
|
.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
|
|
|
|
source ~/.bashrc && source ~/.profile
|
|
-----
|
|
|
|
* Check $HOME/bin is in your $PATH
|
|
|
|
[source,bash]
|
|
-----
|
|
echo $PATH
|
|
|
|
#should return something like: /home/$USER/bin:/usr/local/sbin: .. .. ..
|
|
-----
|
|
|
|
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:
|
|
|
|
[source,bash]
|
|
-----
|
|
if [ -d "$HOME/bin" ]
|
|
then
|
|
PATH="$HOME/bin:$PATH"
|
|
fi
|
|
-----
|
|
|
|
* 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
|
|
-----
|
|
|
|
|
|
[[X23]]
|
|
=== OS X
|
|
.10.8 {amp} 10.9
|
|
|
|
content
|
|
|
|
[[X3]]
|
|
== How To Contribute
|
|
.under contstruction
|
|
|
|
content
|
|
|
|
=== Dev List Email
|
|
.under contstruction
|
|
|
|
content
|
|
|
|
=== Join {amp} Commit
|
|
.under contstruction
|
|
|
|
content
|
|
|
|
=== Submit Patch
|
|
.under contstruction
|
|
|
|
content
|
|
|
|
=== Yahoo Group Post
|
|
.under contstruction
|
|
|
|
content
|
|
|
|
[[X36]]
|
|
=== Text
|
|
.Under Construction
|
|
|
|
content
|
|
|
|
[[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}.
|
|
|