From: Hugo Villeneuve Date: Fri, 30 Nov 2007 04:48:30 +0000 (+0000) Subject: Importation de guitartex-2.8.2-fix1 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=394a7aeae484cf3797a1027c88393bcdfedaed6d;p=musique%2Fhvguitartex.git Importation de guitartex-2.8.2-fix1 --- 394a7aeae484cf3797a1027c88393bcdfedaed6d diff --git a/.TeX/gchords.sty b/.TeX/gchords.sty new file mode 100644 index 0000000..4b5fcb3 --- /dev/null +++ b/.TeX/gchords.sty @@ -0,0 +1,223 @@ +% +% GCHORDS, a LaTeX2e package to draw guitar chord diagrams. +% +% version 1.3.1 by K.Peeters, t16@nikhef.nl +% +% See ChangeLog for a list of changes. +% +%------------------------------------------------------------------------- +% Variable, user definable stuff is below. + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{gchords} + + +% Your guitar +\newcommand\strings{6} % number of strings on your guitar +\newcommand\numfrets{5} % length (no of frets) of a diagram + +% These should be modified if you want chords in a different size +\newcommand\mediumchords{ +\def\gchordsize{3.0mm} % distance between two frets (and two strings) +\font\fingerfont=cmr5 % font used for numbering fingers +\font\namefont=cmr10 % font used for labeling of the chord +\font\fretposfont=cmr7 % font used for the fret position marker +\def\dampsymbol{$\scriptstyle\times$} % symbol of the `damp this string' marker +} +\newcommand\smallchords{ +\def\gchordsize{2.0mm} % distance between two frets (and two strings) +\font\fingerfont=cmr5 % font used for numbering fingers +\font\namefont=cmr10 % font used for labeling of the chord +\font\fretposfont=cmr7 % font used for the fret position marker +\def\dampsymbol{$\scriptstyle\times$} % symbol of the `damp this string' marker +} + +\smallchords + +% Dotsizes (which scale with the chordsize macro) +\newcommand\fatsiz{1.6} % size of a fat note +\newcommand\normalsiz{1.2} % size of a normal note +\newcommand\fingsiz{1.4} % size of the circle around a numbered finger +\newcommand\fatfingsiz{1.8} % size of the circle around a numbered finger + +% Position of the chord in its bounding box +\newcommand\xoff{2} % pos(\xoff,\yoff) is left lower corner of diagram +\newcommand\yoff{2} + +%------------------------------------------------------------------------- + +\makeatletter +\newcommand\basenote{\circle*{\fatsiz}} +\newcommand\stdnote{\circle*{\normalsiz}} +\newcommand\fingnote{\circle{\fingsiz}} +\newcommand\fatfingnote{\circle{\fatfingsiz}} +\newcommand\cvline{\line(0,1)} +\newcommand\chline{\line(1,0)} + +\newcommand\gchords[1]{$$\hbox{#1}$$} +\newcommand\chtext[1]{\vbox{\settowidth{\hsize}{#1 xxxx} {#1 + \newdimen\ascale\ascale=\gchordsize\vskip8\ascale}}} + +% #1 modifiers (like num, or fretbar0) +% #2 positions +% #3 chordname + +\newcount\truewidth % the true width of the diagram, computed from strings +\newcount\topline +\newcount\myvpos +\newcount\mylength +\newcount\fnum % current f{...} value (number of finger) +\newcount\fpos % current p{...} value +\newcount\ghor % string number currently being drawn +\newcount\prevpos % previous value of p{...}, zero if no previous dot on string +\newcount\dlen % length of the vertical line to draw between dots +\newcount\cpos % scratch variable to hold vertical position of dot +\newcount\stpos +\newdimen\needsize + +\newcommand\gchord[3]{\vbox{\hbox{\newdimen\ascale\ascale=\gchordsize +\truewidth=\strings\advance\truewidth by -1 +\advance\truewidth by \xoff +\topline=\numfrets +\advance\topline by \yoff +\advance\topline by 2 + +%%% The Diagram itself %%%%%%%%% +\unitlength\ascale +\begin{picture}(\truewidth,\topline) +\advance\topline by -1 +\advance\truewidth by -\xoff +\myvpos=\yoff\advance\myvpos by \numfrets +%%% Parse the modifier string %% +\newcommand\topbar{n} +\@tfor\modstr:=#1\do + { \if\modstr t{\thicklines\put(\xoff,\myvpos){\chline{\truewidth}}\thinlines} + \else {\advance\topline by -2 + \put(\xoff,\topline){\hbox to 0pt{\hss\fretposfont\modstr\ }} + } + \fi + } + +%%% Horizontal lines (frets)%%%% +\mylength=0 +\myvpos=\yoff +\advance\myvpos by 1 % first fret starts a bit higher +\@whilenum \mylength<\numfrets \do { + \put(\xoff,\myvpos){\chline{\truewidth}} + \advance\mylength by 1 + \advance\myvpos by 1} + +%%% The Dots %%%%%%%%%%%%%%%%%%% +\newcommand\fnow{n} +\newcommand\pnow{n} +\newcommand\snow{n} + +\putdots{#2}{\gchordsize} +\put(\xoff,0){\hbox to \truewidth\ascale{\hss\namefont #3\hss}} +\end{picture} +}}} + +%\newcommand{\putdots}[2]{\@tfor\thisele:=#1\do{\if\thisele {}{hi} +% \else\if\thisele p{} +% \else.\thisele{}\fi\fi}} + +\long\def\ReturnAfterFi#1\fi{\fi#1} + \def\f@rc#1#2#3{% + \def\temp@ty{#2}% + \ifx\@empty\temp@ty + \else + \ReturnAfterFi{% + \f@@rc#1#2\f@@rc{#3}% + }% + \fi + }% + +\def\@forc#1#2#3{\expandafter\f@rc\expandafter#1{#2 K}{#3}} +%\def\f@rc#1#2#3{\def\temp@ty{#2}\ifx\@empty\temp@ty\else +% \f@@rc#1#2\f@@rc{#3}\fi} +\def\f@@rc#1#2#3\f@@rc#4{\def#1{#2}#4\f@rc#1{#3}{#4}} + +%\newcommand{\putdots}[2]{\@tfor\thisel:=#1K\do{\message{(\thisel)}\ifx\thisel{}\else\if\thisel K{SHIT}\else\ifx\thisel p{}\else.\thisel{}\fi\fi\fi}} + +\newcommand{\putdots}[2]{ + \prevpos=0 + \fpos=0 + \ghor=\xoff + \let\curnote\stdnote + \let\curfing\fingnote + \def\Ktest{K}\def\cotest{,}\def\btest{b}\def\ftest{f} + \def\stest{s}\def\ptest{p}\def\xtest{x}\def\ntest{n} + \@forc\thisel{#1}{ + \ifx\thisel\Ktest{}\else + \ifx\thisel\cotest\cpos=-\fpos\advance\cpos by \numfrets\advance\cpos by \yoff + \ifnum\cpos > \yoff + \dlen=\cpos + \advance\dlen by -\yoff + \put(\ghor,\yoff){\cvline{\dlen}} + \fi + \prevpos=0 + \fpos=0 + \fnum=0 + \renewcommand\pnow{n} + \renewcommand\fnow{n} + \renewcommand\snow{n} + \advance\ghor by 1 + \else\ifx\thisel\btest\let\curnote\basenote + \let\curfing\fatfingnote + \else\ifx\thisel\ftest\renewcommand\snow{n}\renewcommand\pnow{n}\renewcommand\fnow{y} + \else\ifx\thisel\stest\renewcommand\snow{y}\renewcommand\pnow{n}\renewcommand\fnow{n} + \else\ifx\thisel\ptest\renewcommand\snow{n}\renewcommand\pnow{y}\renewcommand\fnow{n} + \else\ifx\thisel\xtest{\put(\ghor,\yoff){\cvline{\numfrets}} + \needsize=\ascale + \divide\needsize by 2 + \unitlength\needsize + \multiply\ghor by 2 + \multiply\topline by 2 + \advance\topline by -1 + \put(\ghor,\topline){\hbox to 0pt{\hss{\dampsymbol}\hss}} + } + \else\ifx\thisel\ntest\put(\ghor,\yoff){\cvline{\numfrets}} + \else + \if\fnow y \fnum=\thisel + \else\if\snow y \ghor=\thisel\advance\ghor by \xoff + \advance\ghor by -1 + \else + \prevpos=\fpos\advance\prevpos by -1 + \fpos=\thisel + \ifnum\fnum > 0 + \cpos=\fpos\advance\cpos by -1 + \ifnum\cpos > \prevpos + \dlen=\fpos\advance\dlen by -\prevpos + \advance\dlen by -1 + \stpos=\topline\advance\stpos by -\fpos + \put(\ghor,\stpos){\cvline{\dlen}} + \fi + \else + \put(\ghor,\yoff){\cvline{\numfrets}} + \fi + \cpos=-\fpos\advance\cpos by \numfrets\advance\cpos by \yoff + { + \needsize=\ascale + \divide\needsize by 2 + \unitlength\needsize + \multiply\ghor by 2 + \multiply\cpos by 2 + \advance\cpos by 1 + \ifnum\fnum > 0 + \put(\ghor,\cpos){\curfing} + \put(\ghor,\cpos){$\vcenter{\vskip 0.5em\vbox{\hbox to 0pt{\hss{\fingerfont\number\fnum}\hss}}}$} + \else + \put(\ghor,\cpos){\curnote} + \fi + } + \let\curnote\stdnote + \let\curfing\fingnote + \fi\fi + \fi\fi\fi\fi\fi\fi\fi\fi + } +} + +\makeatother + +% That's all folks! +%------------------------------------------------------------------------- diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..c7aea18 --- /dev/null +++ b/COPYING @@ -0,0 +1,280 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..94c422b --- /dev/null +++ b/INSTALL @@ -0,0 +1,21 @@ +To install GuitarTeX do the following: + + +1) make sure that LaTeX, Perl and Perl/TK are installed + (see Section Requirements in the manual) + +2) unpack the guitartex archive + (for example in your home directory) + + +3) cd to the guitartex-x.x directory + + +4) run the following commands: + + make conf (as normal user, this overwrites an existing config file!) + after this you will find the config file in ~/.guitartexrc + + make install (as root) + +5) you may now delete the guitartex-x.x directory diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..57a30ab --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +conf: + cp --force guitartex.conf ${HOME}/.guitartexrc + cp --recursive --force .TeX ${HOME} + +install: + cp --force gtx2tex.pl /usr/local/bin/gtx2tex + cp --force guitartex.pl /usr/local/bin/guitartex + mkdir -p /usr/local/lib/guitartex + cp --recursive --force * /usr/local/lib/guitartex + chmod a+x /usr/local/bin/gtx2tex + chmod a+x /usr/local/bin/guitartex + + +uninstall: + rm /usr/local/bin/guitartex /usr/local/bin/gtx2tex + rm -r /usr/local/lib/guitartex + diff --git a/doc/de/Makefile b/doc/de/Makefile new file mode 100644 index 0000000..765fe17 --- /dev/null +++ b/doc/de/Makefile @@ -0,0 +1,2 @@ +html: + db2html guitartex.xml diff --git a/doc/de/acknowledgements.xml b/doc/de/acknowledgements.xml new file mode 100644 index 0000000..fd874d3 --- /dev/null +++ b/doc/de/acknowledgements.xml @@ -0,0 +1,86 @@ + + Dank und Anerkennung + + + Danke an ... + + + Lucio F. Albenga + aus Spanien für seine spanische Übersetzung + + + + + David Cuny + aus Kanada für seine Hilfe bei der Erstellung der ersten Version + dieser Dokumentation + + + + Brian Ewins + aus Schottland für sein Programm PStab und den Manual + Song + + + + Bernhard Gröne + aus Deutschland, der mir sein Programm Liederbuchgenerator + zur Verfügung gestellt hat + + + + + Christoph Lange + aus Deutschland für seine FindBin-Ergänzung + + + + + Gary Lawrence Murphy + aus Kanada für seine Tipps und die Tests von mehreren Versionen + + + + + Pawel Pastula + aus Polen für seine polnische Übersetzung + + + + + Kasper Peeters + aus England für das LaTeX-Paket gchords + + + + + Marcelo Pereira + aus Brasilien für seine Übersetzung + + + + + Daniele Pighin + aus Italien für viele Vorschläge und seine Übersetzung + + + + + Dan Polansky + aus Tschechien für sein Programm ChordPack + + + + + den Leuten von Sourceforge.net und Freshmeat.net + für ihre großartigen Opensource-Server + + + + allen Leuten der Opensource-Familie + die Linux, KDE, LaTeX, MusixTeX,Perl und viele andere Programme + entwickelt haben, auf denen GuitarTeX basiert + + + &sflogo; + diff --git a/doc/de/directives.xml b/doc/de/directives.xml new file mode 100755 index 0000000..a324997 --- /dev/null +++ b/doc/de/directives.xml @@ -0,0 +1,793 @@ + + Unterstützte Chord-Direktiven + + Direktiven sind Befehle zwischen geschweiften Klammern, die das Aussehen + der erzeugten Ausgabe steuern. Einige häufig benötigte Direktiven können + durch eine Abkürzung ersetzt werden (siehe Beispiele). GuitarTeX + bringt einige neue Direktiven mit, die das original Chord Programm nicht kennt. + + +
+ Spezielle Zeichen + + + Einige Zeichen haben in GuitarTeX eine besondere Bedeutung: + + + + # am Anfang einer Zeile markiert einen Kommentar. + Die Zeile wird von GuitarTeX ignoriert + / darf nur in Akkorden mit Bass verwendet werden + (z.B. A/E) + +
+ +
+ Seitenlayout + + Die Direktive geometry bietet flexible Möglichkeiten, das Layout einer Seite + anzupassen. Sie benutzt das LaTeX-Paket geometry. Die folgende Beschreibung + ist ein (modifizierter) Teil der Original-Dokumentation. + + + Das geometry Paket bietet viele automatische Ausrichtungen, so dass + nur wenige manuelle Angaben zum Seitenlayout erforderlich sind. + In diesem Fall reicht ein einfaches + + + {geometry:a4paper} + + + Das Setzen von Seitenrändern erfolgt mit + + + {geometry:margin=2.5cm} + + + wenn alle Ränder einer Seite 2,5 Zentimeter betragen sollen. + + + Längenangaben erfolgen in + + + + Zentimeter (cm) + Millimeter (mm) + Inch (in) + Punkt (pt) + + +
+ Seitenlayout + + + Das Seitenlayout besteht aus einer einfachen Struktur: + Die Seite (paper) enthält einen Textkörper (total-body, druckbarer Bereich) und Ränder. + Der Textkörper besteht aus Kopf- und Fußzeile, dem eigentlichen Text und + (optional) den Randbemerkungen. Die vier Ränder heißen left-margin, right-margin, + top-margin und bottom-margin. + + + paper: total-body (printable area) and margins +total-body: head, body(text area), foot and marginal notes +margins: left-, right-, top- and bottom-margin + + + Jeder Rand wird von der jeweiligen Kante der Seite aus gemessen, + z.B. left-margin meint den Abstand zwischen linker Seitenkante und + dem Textkörper. Die Größen von paper, totalbody und + margins stehen in diesen Ralationen: + + + paperwidth = left + width + right +paperheight = top + height + bottom +
+ +
+ Optionen + + + Optionen der Direktive <command>geometry</command> + + + + landscape + schaltet um auf Querformat + + + portrait + schaltet um auf Hochformat + + + twoside + schaltet auf zweiseitige Ausgabe um. Die linken und rechen Ränder + werden bei geraden und ungeraden Seiten symetrisch angeordnet. + + + reversemp + Randbemerkungen erscheinen am linken Rand (statt am rechten Rand) + + + nohead + keine Reservierung von Platz für Kopfzeilen + + + nofoot + keine Reservierung von Platz für Fußzeilen + + + noheadfoot + keine Reservierung von Platz für Kopf- und Fußzeilen + + + a4paper, a5paper,letterpaper, legalpaper + spezifizert die Papiergröße. Ohne Wert anzugeben. + + + paperwidth + Breite des Papiers. paperwidth=<paperwidth> + + + paperheight + Höhe des Papiers. paperheight=<paperheight> + + + width + Breite des Textkörpers. width=<width>or + totalwidth=<width>. + Diese Angabe sollte nicht mit der Textbreite (textwidth) verwechselt werden. + width enthält die Textbreite und die Breite der Randbemerkungen. + + + height + Höhe des Textkörpers (einschließlich Kopf- und Fußzeile). + height=<height> + + + left + linker Rand. left=<leftmargin> + + + right + rechter Rand. right=<rightmargin> + + + top + oberer Rand. top=<topmargin> + + + bottom + unterer Rand. bottom=<bottommargin> + + + margin + alle Ränder. margin=<margin> + + + textwidth + Breite des Textes. textwidth=<width> + + + textheight + Höhe des Textes. textheight=<height> + + + marginpar + Breite der Randbemerkungen. marginpar=<length> + + + marginparsep + Abstand zwischen Text und Randbemerkungen. marginparsep=<length> + + + head + Höhe der Kopfzeile. head=<length> + + + headsep + Abstand zwischen Kopfzeile und Text. headsep=<length> + + + foot + Abstand zwischen Fußzeile und Text. foot=<length> + + + +
+
+ +
+ Beispiele + + + Setzen Sie die Höhe des Textkörpers auf 10in, den unteren Rand auf 2cm. + Der obere Rand wird automatisch berechnet: + + + {geometry:height=10in,bottom=2cm} + + oder + + {g:height=10in,bottom=2cm} + + oder + + {geometry:height=10in} +{g:bottom:=2cm} + + + Setzen Sie den linken, rechten und oberen Rand auf 3cm, 2cm und 2.5in. + Es wird keine Kopfzeile benötige. + + + {geometry:left=3cm,right=2cm, nohead, + top=2.5in} + + oder + + {geometry:left=3cm} +{geometry:right=2cm} +{geometry:nohead} +{geometry:top=2.5in} + + oder + + {g:left=3cm,right=2cm} +{g:nohead, top=2.5in} + + und so weiter ... + + + Ändern Sie die Breite der Randbemerkungen auf 3cm + + + {geometry:marginpar=3cm} + + {geometry:marginpar=3cm, reversemp} + + lässt die Randbemerkungen am linken Rand ausgeben. + + Verwenden sie A5-Papier im Querformat: + + {geometry:a5paper, landscape} + +
+
+ +
+ Dokumentstrukur + +
+ title + + Der Titell eines Stückes wird durch die Direktive + title markiert. + Der Titel wird zentriert mit einer vergrößerten Schrift ausgegeben. + In Dokumenten mit mehreren Stücken verursacht title + einen Seitenumbruch. + + + + Direktive <command>title</command> + {title:Go Down Moses} +{t:Go Down Moses} + +
+ +
+ subtitle + + Die Direktive subtitle dient zur Darstellung zusätzlicher + Informationen, wie z.B. Interpret oder Komponist. + + + + Direktive <command>subtitle</command> + {subtitle:written by John Lennon / Paul McCartney} +{st:written by John Lennon / Paul McCartney} + +
+ +
+ sob, eob + + Eine Bridge wird mit sob (start of bridge) am Anfang, + und eob (end of bridge) am Ende markiert. Die Bridge + wird auf Farbdruckern in blau ausgegeben. Die Farbe kann mit der Direktive + color_bridge angepasst werden (siehe ). + + + + Direktive <command>sob</command>, <command>eob</command> + (aus Here, There And Everywhere, Beatles): + {sob} +I want her [Ab]everywhere [Fm] +And if [Bbm]she's beside me [C^7]I know I need [Fm]never care +[Bb]But to love her [C^7]is to meet her +{eob} + +
+ +
+ soc, eoc + + Ein Refrain wird mit soc (start of chorus) am Anfang und + mit eoc (end of chorus) am Ende markiert. Der Refrain + wird auf Farbdruckern in rot ausgegeben. Die Farbe kann mit der Direktive + color_chorus angepasst werden (siehe ). + + + + Direktive <command>soc</command>, <command>eoc</command> + (aus With A Litle Help From My Friends, Beatles): + {soc} +Oh, I get [C]by with a little [G]help from my [D]friends +Mm, I get [C]high with a little [G]help from my [D]friends +Oh, I'm gonna [C]try with a little [G]help from my [D]friends +{eoc} + +
+ +
+ soi, eoi + + Ein Instrumantal-Teil wird mit soi (start of + instrumental) am Anfang und eoi (end of instrumental) + am Ende markiert. Der Instrumental-Teil wird auf Farbdruckern in grau + ausgegeben. Die Farbe kann mit der Direktive color_instr + angepasst werden (siehe ). + +
+ +
+ np + np steht für "neue Seite" und erzeugt einen Seitenumbruch. + + + Directive <command>np</command> + {np} + +
+ +
+ sot, eot + + Tabulaturen werden mit sot (start of tablature) am Anfang + und eot (end of tablature) am Ende markiert. + Tabulaturen werden auf Farbdruckern in grün ausgegeben. Die Farbe kann mit + der Direktive color_tab directive angepasst werden + (siehe ). + Tabulaturen werden in einer nichtproportionalen Schriftart ausgegeben. + + + + Direktive <command>sot</command>, <command>eot</command> + (aus Pretty Woman, Roy Orbison): + {sot} +E ---------------------|------------------------------------ +B ---------------------|------------------------------------ +G ---------------------|------------------------------------ +D -----------------0---|-------------------0---4---2---0---- +A -------------2-------|---------------2-------------------- +E -0---0---4-----------|---0---0---4------------------------ +{eot} + + + + Wenn Sie ASCII-Tabulaturen nicht mögen, bietet GuitarTeX Ihnen eine + andere Möglichkeit in . + +
+ +
+ +
+ Fonts + + + Die Direktiven zur Beeinflussung der Schriftart und -farbe können irgendwo + in Ihrer Datei stehen. Trotzdem ist es hilfreich sie am Anfang zu platzieren. + Die angegebenen Werte gelten für das ganze Dokument. + + +
+ font_size + + LaTeX kennt drei Schriftgrößen 10pt, 11pt and 12pt. GuitarTeX nutzt normalerweise + 11pt (Titel und Untertitel werden automatisch vergrößert). Wenn Sie z.B. 12pt + verwenden wollen, schreiben Sie: + + + + Direktive <command>font_size</command> + {font_size:12} + + + Achtung: schreiben Sie nicht 12pt statt 12! +
+ +
+ color_xxx + + Mit den folgenden Direktiven können Sie die Textfarbe für Refrain, Bridge, + Instrumental-Teil Tabulaturen und zweite Stimme anpassen. Für die zweite Stimme + können Sie auch die Hintergrundfarbe ändern, so dass Sie z.B. weiße + Schrift auf einem farbigen Hintergrund verwenden können. Das erleichtert + den Sängern hoffentlich die Orientierung bei mehreren Textzeilen :-) + + + Die Direktiven heißen + + + color_chorus + color_bridge + color_instr + color_tab + color_second + color_second_back + + + + Als Parameter wird eine durch Kommas getrennte Liste von Werten zwischen + null und eins, die die Farben rot, grün und blau repräsentieren. + + + + Direktive <command>color_chorus</command> (Refrain in hellblau): + {color_chorus:.5,.5,1} + +
+
+ +
+ Ein Liederbuch (Songbook) erstellen + + Die Direktiven document_class und book_... können irgendwo im Dokument + platziert werden. + + +
+ document_class + + + Die Direktive document_class legt fest, welche Art Dokument Sie erhalten. + Es gibt zwei mögliche Werte: + + + + book + article (Voreinstellung) + + + + Direktive <command>document_class</command> + {document_class:book} + + + Der Wert "book" erzeugt + + + eine Titelseite + ein Inhaltsverzeichnis + Kopfzeilen mit Seitennummern + einen Index + +
+ +
+ book_title, book_author, book_date + + Diese drei Direktiven beschreiben den Inhalt der Titelseite. + + + Direktive <command>book_title</command>, + <command>book_author</command>, <command>book_date</command> + + {book_title:My Favourite Songs} +{book_author:My Name} +{book_date:September 2000} + + + + Der Wert in book_title erscheint in den Kopfzeilen auf geraden Seiten. + +
+ +
+ chapter + + + Wenn sie ein Songbook erstellen, können Sie das Dokument mit der Direktive chapter + in Kapitel einteilen. Im Dokument erscheint eine Titelseite für jedes neue Kapitel. + + + + Direktive <command>chapter</command> + {chapter:Beatles} + + + + Der Name des Kapitels erscheint im Inhaltsverzeichnis und in den + Kopfzeilen auf ungeraden Seiten. + +
+ +
+ include + + Wenn Sie aus einer Sammlung von Chord-Dateien ein Songbook erstellen wollen + brauchen Sie diese nicht alle zu einer Datei zusammen zu fassen. Das hat + nämlich einige Nachteile, z.B. dass Sie einen einzelnen Song nicht mehr + transponieren können. Mit der Direktive include können Sie die Dateien einzeln + speichern. Erstellen Sie lediglich eine Songbook-Datei und binden die + einzelnen Stücke mit include ein. + + + + Direktive <command>include</command> + {document_class:book} +{book_title:} +{chapter:Name of chapter 1} +{include:song file 1} +{include:song file 2} +{chapter:Name of chapter 2} +{include:song file 3} +{include:song file 4} + + + In diesem Beispiel wurde ein Songbook mit vier Stücken in zwei Kapiteln + erstellt. + +
+ +
+ even + + + Die Direktive even lässt ein neues Stück in einem Songbook + auf der linken Seite beginnen. Das ist hilfreich, wenn das Stück länger als eine Seite ist, + damit man nicht umblättern muss. + Die Direktive muss vor der Direktive title eines neuen Stückes angeordnet sein. + + + + Direktive <command>even</command> + {even} +{title:Proud Mary} +{st:Creedence Clearwater Revival 1972} + +
+
+ +
+ Gitarren- und Bass-Tabulaturen + + GuitarTeX kennt zwei neue Direktiven zur Darstellung von Tabulaturen: + + + {guitartab: } für Gitarren-Tabulaturen + {basstab: } für Bass-Tabulaturen + + + + Jede guitartab oder basstab Direktive stellt eine Zeile mit sechs bzw vier Linien dar. + Sie können mit {guitartab: } oder {basstab: } auch leere Tabulaturen erzeugen. + Setzen Sie eine Leerzeile vor die Direktive, damit die Tabulatur am linken Rand beginnt. + + + Die Klammern können enthalten: + + + normaler Text, der unterhalb der Tabulatur ausgegeben wird + Noten im Format [string;fret], z.B. [2;5] für 5. Bund auf der A-Saite + Taktstriche (durch das Zeichen | dargestellt) + Zusätzlicher Leerraum mit "_" + + + +
+ Tabulatur Schaltflächen + +
+ + + Anstatt die Zeilen von Hand einzugeben können Sie die Schaltfächen verwenden + (see ). + Ein Klick auf die Schaltfläche "Gitarre" oder "Bass" fügt die jeweilige Direktive + an der aktuellen Cursorposition ein. Um eine Note einzufügen, geben Sie die Nummer + des Bundes in das Eingabefeld ein und klicken die gewünschte Saite an. Die Note + wird an der aktuellen Cursorposition eingefügt. + Danach steht der Cursor wieder im Eingabefeld, so dass Sie nacheinander beliebig + viele Noten erfassen können. + +
+ +Beispiele + + +Leere Gitarren-Tabulatur +{guitartab:} + + + + + + +Tabulatur-Beispiel + + + + + + +Eine Bass-Tabulatur mit Text +{basstab:some text} + + + + + + +Tabulatur-Beispiel + + + + + + +Noten, Taktstriche und Leerraum +{guitartab:[2;3][3;0][3;2][3;3]|[4;0]__[4;2]__[5;0]__[5;1]|} + + + + + + +Tabulatur-Beispiel + + + + + + +Text unter den Noten anordnen +{guitartab:[2;3]do [3;0]re [3;2]mi [3;3]fa |[4;0]so [4;2]la [5;0]si [5;1]do|} + + + + + + +Tabulatur-Beispiel + + + + + + +Eine einfache Bass-Tabulatur +{basstab:[2;5][2;5]|[2;5][2;5]|[3;5][3;5]|[2;5][2;5]|[3;7][3;7]|[3;5][3;5]|[2;5]} + + + + + + +Tabulatur-Beispiel + + + + + + +Akkorde +{guitartab:[2;3]&[3;5]&[4;5]C (power chord) |[2;3]&[3;2]&[4;0]&[5;1]C chord} + + + + + + +Tabulatur-Beispiel + + + + + + +
+ +
+ +
+ Andere + +
+ define + + Mit der Direktive define können Sie ein Akkord-Symbol am Ende eines Stückes + erstellen. Die Direktive kann irgendwo im Stück platziert sein. + + + define verfügt über acht Parameter: + + + den Akkordnamen + die Nummer des ersten Bundes + sechs Nummern für die sechs Saiten (ein x bedeutet, dass die Saite nicht gespielt wird) + + + + + Direktive <command>define</command> + {define:A 1 x 0 2 2 2 0} +{define:Cm 3 x 1 3 3 2 1} +{define:Gm/Bb 4 3 2 2 1 x x} + + + Das Ergebnis sieht so aus wie in . + +
+ Akkord-Symbole + +
+ +
+ +
+ comment + Die Direktive comment fügt einen Text ein, der nicht zum eigentlichen + Stück gehört. + + + Direktive <command>comment</command> + {comment: repeat chorus} +{c: repeat chorus} + +
+ +
+ margin + + Die Direktive margin erzeugt eine Randbemerkung. Diese können z.B. dazu genutzt + werden, Hinweise für den Musiker einzufügen. + + + + Directive <command>margin</command> + {margin:Fade Out} +{m:Fade Out} + +
+ +
+ second + + In einigen Stücken hat die zweite Stimme nicht nur eine andere Melodie, + sondern auch einen anderen oder versetzt gesungenen Text. + Bekannte Beispiele sind "California Dreaming" von The Mamas And The Papas und + "Help" von den Beatles. Wenn Sie die zweite Stimme mit der Direktive second + markieren erscheint sie in weißer Schrift auf grauem Hintergrund. + Wegen der proportionalen Schrift müssen Sie ein wenig experimentieren, um die + korrekte Ausrichtung zwischen erster und zweiter Stimme zu erhalten. + + + + Direktive <command>second</command> (aus Help!, The + Beatles) + [G] When I was younger so much [Hm]younger than today +{second:When when I was young} +[Em] I never needed anybody's [C]help in [F]any [G]way +{second:I never need help in any way} +[G]But now these days are gone and I'm [Bm]not so self assured +{second:Now these days are gone} +[Em] Now I find I've changed my mind, +{second:And now I find} +I've [C]opened [F]up the [G]doors +{second:I've opened up the doors} + +
+
+ &sflogo; + +
diff --git a/doc/de/editor.xml b/doc/de/editor.xml new file mode 100644 index 0000000..a73a956 --- /dev/null +++ b/doc/de/editor.xml @@ -0,0 +1,217 @@ + + Der Editor GuitarTeX + + + Starten + + Um den Editor GuitarTeX zu starten, öffen Sie eine Shell und geben + das Kommando guitartex ein. + + + + + Menüs + + Sie können jedes Menü "abreißen", indem Sie auf den ersten Eintrag (-----) klicken. + Das kann sehr nützlich sein, wenn Sie einen Befehl mehrmals benutzen wollen. + + + + Menü Datei + + Neu, Öffnen, Speichern, Speichern als, Beenden + + Die Menüpunkte Neu, Öffnen, Speichern, Speichern als, Beenden + verhalten sich, wie Sie es von anderen Anwendungen mit grafischer Oberfläche + gewohnt sind. Daher wird hier auf eine weitere Beschreibung verzichtet. + Alternativ können Sie auf eine der Schaltflächen klicken. + + + + + Export > LaTeX , Export > Postscript, Export > PDF + + Die geöffnete Datei wird gespeichert und dann in das LaTeX-, Postscript- + bzw. PDF-Format konvertiert. Der Name der erzeugten Datei entspricht dem + ursprünglichen Namen mit der Erweiterung .tex, .ps bzw. .pdf. + Alternativ können Sie auf eine der Schaltflächen klicken. + +
+ Schaltflächen für die Ausgabe im LaTeX-, Postscript oder PDF-Format + + + +
+ +
+ + Nachdem die exportierte Datei erstellt wurde, startet ein Programm zu deren + Anzeige. Sie können das gewünschte Anzeigeprogramm auswählen, indem Sie + die Parameter $text_viewer, $ps_viewer + und $pdf_viewer in der Konfigurationsdatei ändern + (siehe ). + +
+
+ + + Menü Bearbeiten + + Ausschneiden, Kopieren, Einfügen + + Wenn Sie Text ausschneiden, kopieren und einfügen möchten, benutzen Sie + die Tastenkombinationen strg-x (ausschneiden), strg-c (kopieren) und strg-v + (einfügen). + + + + + Datei einfügen + + Der Befehl startet einen Dateiauswahldialog. Die ausgewählte Datei wird + an der Cursorposition eingefügt. + + + + + crd -> chopro + + Sie werden häufig Musikstücke mit Akkorden in rohem ASCII-Format finden. + Diese sehen im Gegensatz zum Chord-Format so aus: + + + D A7 D +I print verses in a row, + A7 D +The next line gets put down below, + A7 D G G# A +Mumble mumble rhymes with grow + A7susx +Done this verse, now we go! + + + Setzen Sie den Cursor in die erste Zeile (die mit den Akkorden) und + rufen den Menüpunkt crd->chopro auf oder drücken Sie die Funktionstaste F). + Die Akkordzeile und die folgende Textzeile werden zu einer Zeile im Chord-Format + zusammengeführt. Der Cursor befindet sich danach in der nächsten Zeile, so dass + Sie einfach mehrmals F9 drücken müssen, um weitere Zeilen zu konvertieren. + + + + + + Menü Direktiven + + Mit diesem Menü können Sie Direktiven an der Cursorposition einfügen. + Die Bedeutung der Direktiven ist in erläutert. + + + + + Menü Liederbuch + + Fügen Sie die Direktiven zur Erstellung von Liederbüchern ein, statt sie + von Hand einzutippen. Die Bedeutung dieser Direktiven ist in + erläutert. + + + + + Menü Farben + + Mit diesem Menü können Sie die Direktiven zur Anpassung der Farben einfügen + Es wird ein Farbauswahldialog aufgerufen (siehe ). + + +
+ Farbauswahldialog + +
+ + + Sie haben drei Möglichkeiten, die gewünschte Farbe auszuwählen: + + + + doppelklicken Sie auf eine vordefinierte Farbe in der Liste auf der linken Seite + bewegen Sie die Schieber in der Mitte des Dialogfeldes + (wählen Sie zuerst den gebräuchlicheren RGB-Farbraum anstelle von HSB) + geben Sie den RGB-Wert manuell in das Feld Name ein, keine wirklich + gute Idee :-) + + + + Die Farb-Direktiven können auch manuell eingegeben werden. + Sie werden in erklärt. + +
+ + + Menü Transponieren + + Hoch, Runter + + + Diese beiden Befehle transponieren das Stück um einen Halbton nach oben oder unten. + Sie können die Tasten F5 und F6 an Stelle des Menüs verwenden. In Akkorden mit Bass + (z.B. G/B) werden sowohl der Akkord als auch die Bassnote transponiert. + Schrägstriche dürfen nur in Akkorden mit Bass verwendet werden + (siehe ). + + + + + b->#, #->b + + Nach dem Transponieren weiß das Programm natürlich nicht, ob Halbtöne + mit # oder b dargestellt werden sollen. Daher werden zunächst alle + Halbtöne mit # dargestellt. Sie können dies mit dem Befehl #->b ändern. + Alternativ können Sie die Tasten F7 und F8 verwenden. + + + + + B->H, H->B + + In der deutschen Schreibweise wird die Note B als H geschrieben. + Mit diesen Befehlen können Sie von B nach H und umgekehrt umschalten. + + + +
+ + + Akkord-Schaltflächen +
+ Akkord-Schaltflächen + +
+ + + Durch einen Klick auf eine der Akkord-Schaltflächen (siehe ) + wird der augewählte Akkord an der Cursorposition eingefügt. Danach können Sie + den Akkord editieren, z.B. Moll oder Septime einfügen. + +
+ + + Syntax Highlighting +
+ Syntax Highlighting Schaltfläche + +
+ + + GuitarTeX verfügt über sogenanntes Syntax Highlighting für Direktiven, + Kommentare und Akkorde, d.h. die genannten Elemente werden in einer anderen Farbe + als der normale Text angezeigt. + Sie können die Text- und Hintergrundfarbe selbst wählen, indem Sie die + entsprechenden Parameter in der Konfigurationsdatei anpassen. + Wenn Sie Direktiven oder Akkorde über Menüs und Schaltflächen einfügen, + erfolgt die Einfärbung automatisch. Nach manueller Eingabe klicken Sie einfach + auf die Syntax Highlighting Schaltfläche (siehe ). + +
+ &sflogo; + +
diff --git a/doc/de/examples.xml b/doc/de/examples.xml new file mode 100755 index 0000000..faec992 --- /dev/null +++ b/doc/de/examples.xml @@ -0,0 +1,142 @@ + + Screenshots und Beispiele + +
+Editor-Fenster +
+ Editor-Fenster + +
+ +
+ + +
+Liedblätter + + +Einelnes Lied + + + + + + + + +Single song sheet + + + + + + + +Einzelnes Lied als Teil eines Liederbuches + + + + + + + + +Songbook page + + + + + + +
+ +
+Akkord-Tabelle + +Die folgende Akkord-Tabelle stammt aus dem Songbuch des Autors. Sie wurde mit dem +untenstehenden Code erstellt. + +Akkord-Tabelle + + + + + + + + +Chord table + + + + + + +{title:D} +{define:D 1 x x 0 2 3 2} +{define:D+ 1 x x 0 3 3 2} +{define:D4 1 x x 0 2 3 3} +{define:D6 1 x 0 0 2 0 2} +{define:D7 1 x x 0 2 1 2} +{define:D7#9 4 x 2 1 2 3 3} +{define:D7(#9) 4 x 2 1 2 3 3} +{define:D9 0 1 3 1 2 1 3} +{define:D11 1 3 0 0 2 1 0} +{define:Dsus 1 x x 0 2 3 3} +{define:Dsus2 1 0 0 0 2 3 0} +{define:Dsus4 1 x x 0 2 3 3} +{define:D7sus2 1 x 0 0 2 1 0} +{define:D7sus4 1 x 0 0 2 1 3} +{define:Dmaj 1 x x 0 2 3 2} +{define:Dmaj7 1 x x 0 2 2 2} +{define:Ddim 1 x x 0 1 0 1} +{define:Dm 1 x x 0 2 3 1} +{define:Dmin 1 x x 0 2 3 1} +{define:D/A 1 x 0 0 2 3 2} +{define:D/B 1 x 2 0 2 3 2} +{define:D/C 1 x 3 0 2 3 2} +{define:D/C# 1 x 4 0 2 3 2} +{define:D/E 7 x 1 1 1 1 x} +{define:D/G 1 3 x 0 2 3 2} +{define:D5/E 7 0 1 1 1 x x} +{define:Dadd9 1 0 0 0 2 3 2} +{define:D(add9) 1 0 0 0 2 3 2} +{define:D9add6 0 1 3 3 2 0 0} +{define:D9(add6)0 1 3 3 2 0 0} + +{define:Dm6(5b) 1 x x 0 1 0 1} +{define:Dm7 1 x x 0 2 1 1} +{define:Dm#5 1 x x 0 3 3 2} +{define:Dm(#5) 1 x x 0 3 3 2} +{define:Dm#7 1 x x 0 2 2 1} +{define:Dm(#7) 1 x x 0 2 2 1} +{define:Dm/A 1 x 0 0 2 3 1} +{define:Dm/B 1 x 2 0 2 3 1} +{define:Dm/C 1 x 3 0 2 3 1} +{define:Dm(F) 1 x x 3 2 3 1} +{define:Dm/C# 1 x 4 0 2 3 1} +{define:Dm9 1 x x 3 2 1 0} + + +
+ +
+Indexseite + + + + + + + + +Index Page + + + + + +
+ &sflogo; + +
diff --git a/doc/de/gtx2tex.xml b/doc/de/gtx2tex.xml new file mode 100644 index 0000000..2b9b184 --- /dev/null +++ b/doc/de/gtx2tex.xml @@ -0,0 +1,59 @@ + + Das Textfilterprogramm gtx2tex + + +Wenn Sie den Editor GuitarTeX nicht verwenden wollen, oder Ihre +Postscript- und PDF-Dateien lieber über die Kommandozeile erstellen, +verwenden Sie das Programm gtx2tex. + + + + + +gtx2tex + + + +gtx2tex +konvertiert Chord-Dateien in die Formate TeX, Postscript oder PDF +format + + + +gtx2tex [--verbose] [--lyrics] [--output=ps|pdf] [--italian] <file> + + + +Optionen + + + + verbose + gtx2tex bereichtet, was gerade abläuft + + + + lyrics + es wird nur der Text (ohne Akkorde) ausgegeben + + + + output=ps|pdf + legen Sie das Ausgabeformat fest; ohne Angabe wird + TeX ausgegeben + + + + italian + die Ausgabe der Akkorde erfolgt in italienischer Notation + (Do, Re, Mi, Fa, Sol, La, Si) + + + + + + + + &sflogo; + + diff --git a/doc/de/guitartex.xml b/doc/de/guitartex.xml new file mode 100755 index 0000000..1f19abf --- /dev/null +++ b/doc/de/guitartex.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + +]> + + + GuitarTeX + + &info; + &intro; + &install; + >x2tex; + &editor; + &directives; + &latex; + &examples; + &links; + + &acknowledgements; + + diff --git a/doc/de/guitartex/HTML.manifest b/doc/de/guitartex/HTML.manifest new file mode 100644 index 0000000..6a1ec67 --- /dev/null +++ b/doc/de/guitartex/HTML.manifest @@ -0,0 +1,29 @@ +book1.html +introduction.html +c82.html +requirements.html +installation.html +configfile.html +gtx2tex.html +r193.html +editor.html +x227.html +x298.html +x305.html +directives.html +geometry.html +x447.html +x519.html +songbook.html +tablature.html +others.html +latex.html +x750.html +examples.html +x819.html +x847.html +x864.html +links.html +x883.html +a906.html +ln12.html diff --git a/doc/de/guitartex/a906.html b/doc/de/guitartex/a906.html new file mode 100644 index 0000000..5686ef1 --- /dev/null +++ b/doc/de/guitartex/a906.html @@ -0,0 +1,158 @@ + + + + + Dank und Anerkennung + + + + + + + + +
+

Anhang A. Dank und Anerkennung

+ +
+

Danke an ...

+ +
+
Lucio F. Albenga
+ +
+

aus Spanien für seine spanische + Übersetzung

+
+ +
David Cuny
+ +
+

aus Kanada für seine Hilfe bei der Erstellung + der ersten Version dieser Dokumentation

+
+ +
Brian Ewins
+ +
+

aus Schottland für sein Programm PStab und den + Manual Song

+
+ +
Bernhard Gröne
+ +
+

aus Deutschland, der mir sein Programm + Liederbuchgenerator zur Verfügung gestellt hat

+
+ +
Christoph Lange
+ +
+

aus Deutschland für seine + FindBin-Ergänzung

+
+ +
Gary Lawrence Murphy
+ +
+

aus Kanada für seine Tipps und die Tests von + mehreren Versionen

+
+ +
Pawel Pastula
+ +
+

aus Polen für seine polnische + Übersetzung

+
+ +
Kasper Peeters
+ +
+

aus England für das LaTeX-Paket gchords

+
+ +
Marcelo Pereira
+ +
+

aus Brasilien für seine Übersetzung

+
+ +
Daniele Pighin
+ +
+

aus Italien für viele Vorschläge und seine + Übersetzung

+
+ +
Dan Polansky
+ +
+

aus Tschechien für sein Programm ChordPack

+
+ +
den Leuten von Sourceforge.net und Freshmeat.net
+ +
+

für ihre großartigen + Opensource-Server

+
+ +
allen Leuten der Opensource-Familie
+ +
+

die Linux, KDE, LaTeX, MusixTeX,Perl und viele + andere Programme entwickelt haben, auf denen GuitarTeX + basiert

+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/book1.html b/doc/de/guitartex/book1.html new file mode 100644 index 0000000..20fe212 --- /dev/null +++ b/doc/de/guitartex/book1.html @@ -0,0 +1,464 @@ + + + + + GuitarTeX + + + + + +
+ + +
+

GuitarTeX

+ +

Joachim Miltz

+ + + +
+
+ + +

GuitarTeX ist ein Werkzeug für + Gitarristen, die gut aussehende Ausdrucke ihrer + Musikstücke oder Liederbücher aus ihren + Chord- oder Chordpro-Dateien anfertigen wollen. Es + benutzt das weit verbreitete Chord Format mit einigen + Erweiterungen. Das Programm wurde unter Linux + entwickelt, sollte aber auch auf anderen Unix- systemen + mit Perl/TK-Umgebung laufen. Die Anleitung zur + Installation finden Sie in Abschnitt namens + Installation in Kapitel 2, die + Systemvoraussetzungen in Abschnitt namens + Systemanforderungen in Kapitel 2.

+ +

hosted by Sourceforge.net SourceForge Logo

+
+
+
+
+ +
+
+
Inhaltsverzeichnis
+ +
1. Einführung
+ +
2. Installation
+ +
+
+
Woher bekomme ich + GuitarTeX?
+ +
Systemanforderungen
+ +
Installation
+ +
Konfigurationsdatei
+
+
+ +
3. Das Textfilterprogramm + gtx2tex
+ +
+
+
gtx2tex -- konvertiert + Chord-Dateien in die Formate TeX, Postscript oder PDF + format
+
+
+ +
4. Der Editor + GuitarTeX
+ +
+
+
Starten
+ +
Menüs
+ +
+
+
Menü + Datei
+ +
Menü + Bearbeiten
+ +
Menü + Direktiven
+ +
Menü + Liederbuch
+ +
Menü + Farben
+ +
Menü + Transponieren
+
+
+ +
Akkord-Schaltflächen
+ +
Syntax Highlighting
+
+
+ +
5. Unterstützte + Chord-Direktiven
+ +
+
+
Spezielle + Zeichen
+ +
Seitenlayout
+ +
+
+
Seitenlayout
+ +
Optionen
+ +
Beispiele
+
+
+ +
Dokumentstrukur
+ +
+
+
title
+ +
subtitle
+ +
sob, eob
+ +
soc, eoc
+ +
soi, eoi
+ +
np
+ +
sot, eot
+
+
+ +
Fonts
+ +
+
+
font_size
+ +
color_xxx
+
+
+ +
Ein Liederbuch (Songbook) + erstellen
+ +
+
+
document_class
+ +
book_title, + book_author, book_date
+ +
chapter
+ +
include
+ +
even
+
+
+ +
Gitarren- und + Bass-Tabulaturen
+ +
+
+
Beispiele
+
+
+ +
Andere
+ +
+
+
define
+ +
comment
+ +
margin
+ +
second
+
+
+
+
+ +
6. LaTeX Kommandos und Packete + verwenden
+ +
+
+
LaTeX + Kommandos
+ +
LaTeX-Packete MusixTeX, + MusixLyr und TabDefs
+ +
+
+
Beispiele
+
+
+
+
+ +
7. Screenshots und + Beispiele
+ +
+
+
Editor-Fenster
+ +
Liedblätter
+ +
Akkord-Tabelle
+ +
Indexseite
+
+
+ +
8. Links
+ +
+
+
Kontakte
+ +
Links
+ +
+
+
LaTeX
+ +
Perl
+ +
Guitar + Sites
+
+
+
+
+ +
A. Dank und Anerkennung
+
+
+ +
+
+
Tabellenverzeichnis
+ +
2-1. Konfigurationsparameter
+ +
5-1. Optionen der + Direktive geometry
+
+
+ + + + +
+ + + + + diff --git a/doc/de/guitartex/c82.html b/doc/de/guitartex/c82.html new file mode 100644 index 0000000..e8b613b --- /dev/null +++ b/doc/de/guitartex/c82.html @@ -0,0 +1,98 @@ + + + + + Installation + + + + + + + + + +
+

Kapitel 2. Installation

+ + + +
+

Woher bekomme ich + GuitarTeX?

+ +

Die aktuelle Version bekommen Sie immer auf der + Download-Seite des GuitarTeX-Projektes: http://sf.net/project/showfiles.php?group_id=13226.

+
+
+ + + + + diff --git a/doc/de/guitartex/configfile.html b/doc/de/guitartex/configfile.html new file mode 100644 index 0000000..f8f1dea --- /dev/null +++ b/doc/de/guitartex/configfile.html @@ -0,0 +1,247 @@ + + + + + Konfigurationsdatei + + + + + + + + + + +
+

Konfigurationsdatei

+ +

GuitarTeX benötigt eine Konfigurationsdatei + namens .guitartexrc in Ihrem home-Verzeichnis. Parameter + werden in Perl-Syntax gesetzt, zum Beispiel:

+ + + + + +
+
+$language = "de";
+
+
+
+
+ +
+ + +

Tabelle 2-1. Konfigurationsparameter

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterBedeutung
languagewählen Sie Ihre + bevorzugte Sprache
tool_tipsschalten Sie die + Hilfen für Schaltflächen ein oder aus
highlightSyntax-Highlighting + ein- oder ausschalten
+ highlight_directive_foregroundVordergrundfarbe + für Direktiven
+ highlight_directive_backgroundHintergrundfarbe + für Direktiven
+ highlight_chord_foregroundVordergrundfarbe + für Akkorde
+ highlight_chord_backgroundHintergrundfarbe + für Akkorde
+ highlight_comment_foregroundVordergrundfarbe + für Kommentare
+ highlight_comment_backgroundHintergrundfarbe + für Kommentare
font_size + Schriftgröße
color_chorusDruckfarbe für + refrain
color_bridgeDruckfarbe für + Bridge
color_instrDruckfarbe für + Instrumental-Teil
color_tabDruckfarbe für + ASCII-Tabulaturen
color_secondDruckfarbe für + zweite Stimme (Vordergrund)
+ color_second_backDruckfarbe für + zweite Stimme (Hintergrund)
text_viewerAnzeigeprogramm + für TeX-Dateien
ps_viewerAnzeigeprogramm + für Postscript-Dateien
pdf_viewerAnzeigeprogramm + für PDF-Dateien
+
+
+ + + + + diff --git a/doc/de/guitartex/directives.html b/doc/de/guitartex/directives.html new file mode 100644 index 0000000..5992c08 --- /dev/null +++ b/doc/de/guitartex/directives.html @@ -0,0 +1,120 @@ + + + + + Unterstützte Chord-Direktiven + + + + + + + + + +
+

Kapitel 5. Unterstützte + Chord-Direktiven

+ + + +

Direktiven sind Befehle zwischen geschweiften + Klammern, die das Aussehen der erzeugten Ausgabe steuern. + Einige häufig benötigte Direktiven können + durch eine Abkürzung ersetzt werden (siehe Beispiele). + GuitarTeX bringt einige neue Direktiven mit, die das original + Chord Programm nicht kennt.

+ +
+

Spezielle + Zeichen

+ +

Einige Zeichen haben in GuitarTeX eine besondere + Bedeutung:

+ +
    +
  • +

    # am Anfang einer Zeile markiert einen Kommentar. + Die Zeile wird von GuitarTeX ignoriert

    +
  • + +
  • +

    / darf nur in Akkorden mit Bass verwendet werden + (z.B. A/E)

    +
  • +
+
+
+ + + + + diff --git a/doc/de/guitartex/docbook.css b/doc/de/guitartex/docbook.css new file mode 100644 index 0000000..0f90516 --- /dev/null +++ b/doc/de/guitartex/docbook.css @@ -0,0 +1,12 @@ +.NAVHEADER { display: none } +.NAVFOOTER { display: none } +.TOC { display: none } + +.NAVTOC { margin-left: 15; + display: none } + +.NAVBTN { font-size: 10pt } + +.TOCTITLE { font-size: 10pt; + color: blue; + text-decoration: underline; } diff --git a/doc/de/guitartex/editor.html b/doc/de/guitartex/editor.html new file mode 100644 index 0000000..c4cc892 --- /dev/null +++ b/doc/de/guitartex/editor.html @@ -0,0 +1,90 @@ + + + + + Der Editor GuitarTeX + + + + + + + + + +
+

Kapitel 4. Der Editor GuitarTeX

+ +
+
+
Inhaltsverzeichnis
+ +
Starten
+ +
Menüs
+ +
Akkord-Schaltflächen
+ +
Syntax Highlighting
+
+
+ +
+

Starten

+ +

Um den Editor GuitarTeX zu starten, öffen Sie eine + Shell und geben das Kommando guitartex ein.

+
+
+ + + + + diff --git a/doc/de/guitartex/examples.html b/doc/de/guitartex/examples.html new file mode 100644 index 0000000..54d8526 --- /dev/null +++ b/doc/de/guitartex/examples.html @@ -0,0 +1,99 @@ + + + + + Screenshots und Beispiele + + + + + + + + + +
+

Kapitel 7. Screenshots und + Beispiele

+ +
+
+
Inhaltsverzeichnis
+ +
Editor-Fenster
+ +
Liedblätter
+ +
Akkord-Tabelle
+ +
Indexseite
+
+
+ +
+

Editor-Fenster

+ +
+ + +

Abbildung 7-1. Editor-Fenster

+ +

+
+
+
+ + + + + diff --git a/doc/de/guitartex/geometry.html b/doc/de/guitartex/geometry.html new file mode 100644 index 0000000..c32747b --- /dev/null +++ b/doc/de/guitartex/geometry.html @@ -0,0 +1,488 @@ + + + + + Seitenlayout + + + + + + + + + + +
+

Seitenlayout

+ +

Die Direktive geometry bietet flexible + Möglichkeiten, das Layout einer Seite anzupassen. Sie + benutzt das LaTeX-Paket geometry. Die folgende Beschreibung + ist ein (modifizierter) Teil der Original-Dokumentation.

+ +

Das geometry Paket bietet viele automatische + Ausrichtungen, so dass nur wenige manuelle Angaben zum + Seitenlayout erforderlich sind. In diesem Fall reicht ein + einfaches

+ + + + + +
+
+{geometry:a4paper}
+
+
+ +

Das Setzen von Seitenrändern erfolgt mit

+ + + + + +
+
+{geometry:margin=2.5cm}
+
+
+ +

wenn alle Ränder einer Seite 2,5 Zentimeter + betragen sollen.

+ +

Längenangaben erfolgen in

+ + + +
+

Seitenlayout

+ +

Das Seitenlayout besteht aus einer einfachen + Struktur: Die Seite (paper) enthält einen + Textkörper (total-body, druckbarer Bereich) und + Ränder. Der Textkörper besteht aus Kopf- und + Fußzeile, dem eigentlichen Text und (optional) den + Randbemerkungen. Die vier Ränder heißen + left-margin, right-margin, top-margin und + bottom-margin.

+ + + + + +
+
+paper: total-body (printable area) and margins
+total-body: head, body(text area), foot and marginal notes
+margins: left-, right-, top- and bottom-margin
+
+
+ +

Jeder Rand wird von der jeweiligen Kante der Seite + aus gemessen, z.B. left-margin meint den Abstand zwischen + linker Seitenkante und dem Textkörper. Die + Größen von paper, totalbody und margins stehen + in diesen Ralationen:

+ + + + + +
+
+paperwidth = left + width + right
+paperheight = top + height + bottom
+
+
+
+ +
+

Optionen

+ +
+ + +

Tabelle 5-1. Optionen der Direktive + geometry

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
landscapeschaltet um auf + Querformat
portraitschaltet um auf + Hochformat
twosideschaltet auf + zweiseitige Ausgabe um. Die linken und rechen + Ränder werden bei geraden und ungeraden Seiten + symetrisch angeordnet.
reversempRandbemerkungen + erscheinen am linken Rand (statt am rechten + Rand)
noheadkeine Reservierung + von Platz für Kopfzeilen
nofootkeine Reservierung + von Platz für Fußzeilen
noheadfootkeine Reservierung + von Platz für Kopf- und Fußzeilen
a4paper, + a5paper,letterpaper, legalpaperspezifizert die + Papiergröße. Ohne Wert anzugeben.
paperwidthBreite des + Papiers. paperwidth=<paperwidth>
paperheightHöhe des + Papiers. paperheight=<paperheight>
widthBreite des + Textkörpers. width=<width>or + totalwidth=<width>. Diese Angabe sollte nicht + mit der Textbreite (textwidth) verwechselt werden. + width enthält die Textbreite und die Breite + der Randbemerkungen.
heightHöhe des + Textkörpers (einschließlich Kopf- und + Fußzeile). height=<height>
leftlinker Rand. + left=<leftmargin>
rightrechter Rand. + right=<rightmargin>
topoberer Rand. + top=<topmargin>
bottomunterer Rand. + bottom=<bottommargin>
marginalle Ränder. + margin=<margin>
textwidthBreite des Textes. + textwidth=<width>
textheightHöhe des + Textes. textheight=<height>
marginparBreite der + Randbemerkungen. marginpar=<length>
marginparsepAbstand zwischen + Text und Randbemerkungen. + marginparsep=<length>
headHöhe der + Kopfzeile. head=<length>
headsepAbstand zwischen + Kopfzeile und Text. headsep=<length>
footAbstand zwischen + Fußzeile und Text. foot=<length>
+
+
+ +
+

Beispiele

+ +

Setzen Sie die Höhe des Textkörpers auf + 10in, den unteren Rand auf 2cm. Der obere Rand wird + automatisch berechnet:

+ + + + + +
+
+{geometry:height=10in,bottom=2cm}
+
+
+ +

oder

+ + + + + +
+
+{g:height=10in,bottom=2cm}
+
+
+ +

oder

+ + + + + +
+
+{geometry:height=10in}
+{g:bottom:=2cm}
+
+
+ +

Setzen Sie den linken, rechten und oberen Rand auf + 3cm, 2cm und 2.5in. Es wird keine Kopfzeile + benötige.

+ + + + + +
+
+{geometry:left=3cm,right=2cm, nohead,
+ top=2.5in}
+
+
+ +

oder

+ + + + + +
+
+{geometry:left=3cm}
+{geometry:right=2cm}
+{geometry:nohead}
+{geometry:top=2.5in}
+
+
+ +

oder

+ + + + + +
+
+{g:left=3cm,right=2cm}
+{g:nohead, top=2.5in}
+
+
+ +

und so weiter ...

+ +

Ändern Sie die Breite der Randbemerkungen auf + 3cm

+ + + + + +
+
+{geometry:marginpar=3cm}
+
+
+ + + + + +
+
+{geometry:marginpar=3cm, reversemp}
+
+
+ +

lässt die Randbemerkungen am linken Rand + ausgeben.

+ +

Verwenden sie A5-Papier im Querformat:

+ + + + + +
+
+{geometry:a5paper, landscape}
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/gtx2tex.html b/doc/de/guitartex/gtx2tex.html new file mode 100644 index 0000000..3300905 --- /dev/null +++ b/doc/de/guitartex/gtx2tex.html @@ -0,0 +1,74 @@ + + + + + Das Textfilterprogramm gtx2tex + + + + + + + + + +
+

Kapitel 3. Das Textfilterprogramm + gtx2tex

+ +

Wenn Sie den Editor GuitarTeX nicht verwenden wollen, + oder Ihre Postscript- und PDF-Dateien lieber über die + Kommandozeile erstellen, verwenden Sie das Programm + gtx2tex.

+
+ + + + + diff --git a/doc/de/guitartex/installation.html b/doc/de/guitartex/installation.html new file mode 100644 index 0000000..b2522e5 --- /dev/null +++ b/doc/de/guitartex/installation.html @@ -0,0 +1,118 @@ + + + + + Installation + + + + + + + + + + +
+

Installation

+ +

Um GuitarTeX zu installieren gehen Sie wie folgt vor:

+ + + +

Sie können das Verzeichnis guitartex-x.x nun + löschen

+ +

"make conf" kopiert die Konfigurationsdatei nach + ~/.guitartexrc. Sie können GuitarTeX durch Änderung + der darin enthaltenen Parameter anpassen.

+
+ + + + + diff --git a/doc/de/guitartex/introduction.html b/doc/de/guitartex/introduction.html new file mode 100644 index 0000000..fe6a325 --- /dev/null +++ b/doc/de/guitartex/introduction.html @@ -0,0 +1,232 @@ + + + + + Einführung + + + + + + + + + +
+

Kapitel 1. + Einführung

+ +

GuitarTeX ist ein Werkzeug für Gitarristen, die + gut aussehende Ausdrucke ihrer Musikstücke oder + Liederbücher aus ihren Chord- oder Chordpro-Dateien + anfertigen wollen. Es benutzt das weit verbreitete Chord + Format mit einigen Erweiterungen.

+ +

Es basiert auf einer Idee von Martin Leclerc und + Mario Dorion aus Kanada und ihrem Programm Chord (Version 3.5 + von 1993). Um GuitarTeX zu nutzen, benötigen Sie + Kenntnisse des Programmes Chord (wird später + erklärt). Obwohl das Satzsystem LaTeX von GuitarTeX + genutzt wird, müssen sie wenig (oder nichts) über + LaTeX wissen. GuitarTeX produziert Postscript- oder + PDF-Dateien automatisch, wenn Sie das möchten. Die von + GuitarTeX unterstützten Direktiven des Programms Chord + werden in Kapitel 5 + erläutert.

+ +

Eigenschaften

+ + + +

GuitarTeX konvertiert eine Datei mit Text und + Akkorden im Chord-Format in eine LaTeX-Datei. Ein Beispiel + für eine Chord-Datei:

+ + + + + +
+
+{title:The Manual Song}
+{st:No-one has yet claimed responsibility}
+[D]I print verses [A^7]in a [D]row,
+The next line gets put [A^7]down be[D]low,
+Mumble mumble [A^7]rhymes with [D]grow [G]     [G#]     [A]
+Done this verse, now [A^7susX]on we [quietly]go!
+
+{soc}
+[D]This is the [Bm]manual song
+[A^7]No-one really knows what's [D]goin' on
+[D]This is the [F#m]manual song
+[A^7]And now the chorus is already [D]gone
+{eoc}
+
+[D]The second verse is [A^7]like the [D]first,
+The music poor, the [A^7]verse is [D]worse,
+I wrote this since [A^7]I'd get [D]sued,
+If I used real songs. [A^7]This'll [D]do.
+
+{c:repeat chorus}
+
+
+ +

Das ^-Zeichen ist neu für Benutzer anderer + Chord-Programme. Die nachfolgenden Zeichen werden + hochgestellt. Sie sehen die Ausgabe in Abbildung 1-1.

+ +
+ + +

Abbildung 1-1. Druckausgabe der Beispieldatei

+ +
+ + + + + + + + +
+ + +

+
+
+
+ +

Wenn Sie sich mit LaTeX auskennen, können Sie + die Ausgabedatei auch manuell verändern, bevor Sie sie + in Postscript oder PDF umwandeln. Der Vorteil ist, dass Sie + alle Möglichkeiten von LaTeX einschließlich der + vielen Zusatzpackete wie graphics oder MusicTeX einsetzen + können

+ +

hosted by Sourceforge.net SourceForge Logo

+
+ + + + + diff --git a/doc/de/guitartex/latex.html b/doc/de/guitartex/latex.html new file mode 100644 index 0000000..26b7495 --- /dev/null +++ b/doc/de/guitartex/latex.html @@ -0,0 +1,142 @@ + + + + + LaTeX Kommandos und Packete verwenden + + + + + + + + + +
+

Kapitel 6. LaTeX Kommandos und Packete + verwenden

+ + + +
+

LaTeX + Kommandos

+ +

Wie in der Einführung erwähnt, brauchen + Sie nichts über LaTeX zu wissen, um GuitarTeX zu + nutzen. Wenn Sie sich mit LaTeX auskennen, können Sie + dessen Möglichkeiten nutzen, um Ihre Ergebnisse weiter + zu verbessern. Alle Zeilen, die mit einem Backslash + beginnen, werden in die erzeute LaTeX-Datei + übernommen. Sie können das einfach mit einem + Kommando wie diesem testen:

+ +
+ + +

Beispiel 6-1. LaTeX Kommando in Chord-Datei

+ + + + + +
+
+\marginpar{test}
+
+
+
+ +

Das Ergebnis ist eine Randbemerkung mit dem Wort + "test".

+ +

Die LaTeX Kommandos werden an der Stelle + ausgeführt, an der sie in der Datei vorkommen. Manche + Kommandos müssen allerdings in der sog. Präambel + der LaTeX-Datei erscheinen. Das geschieht mit der Direktive + preamble:

+ +
+ + +

Beispiel 6-2. LaTeX Kommando für die + Präambel

+ + + + + +
+
+{preamble:\usepackage(fancyheadings)}
+
+
+
+ +

Die Direktive preamble kann + irgendwo im Dokument stehen. Die enthaltenen Kommandos + erscheinen in der LaTeX-Präambel in der Reihenfolge, + in der sie in der Chord-Datei stehen.

+
+
+ + + + + diff --git a/doc/de/guitartex/links.html b/doc/de/guitartex/links.html new file mode 100644 index 0000000..e85d655 --- /dev/null +++ b/doc/de/guitartex/links.html @@ -0,0 +1,86 @@ + + + + + Links + + + + + + + + + +
+

Kapitel 8. Links

+ +
+
+
Inhaltsverzeichnis
+ +
Kontakte
+ +
Links
+
+
+ +
+

Kontakte

+ +

Um mit dem Autor und anderen Benutzern Kontakt + aufzunehmen, verwenden Sie bitte die Mailingliste: http://lists.sourceforge.net/lists/listinfo/guitartex-users

+
+
+ + + + + diff --git a/doc/de/guitartex/ln12.html b/doc/de/guitartex/ln12.html new file mode 100644 index 0000000..7e308d6 --- /dev/null +++ b/doc/de/guitartex/ln12.html @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + +
+ + +

This program is free software; you can redistribute + it and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version.

+ +

This program is distributed in the hope that it will + be useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details.

+ +

You should have received a copy of the GNU General + Public License along with this program; if not, write to the + Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA + 02139, USA.

+
+ + + + + diff --git a/doc/de/guitartex/others.html b/doc/de/guitartex/others.html new file mode 100644 index 0000000..db19edc --- /dev/null +++ b/doc/de/guitartex/others.html @@ -0,0 +1,217 @@ + + + + + Andere + + + + + + + + + + +
+

Andere

+ +
+

define

+ +

Mit der Direktive define können Sie ein + Akkord-Symbol am Ende eines Stückes erstellen. Die + Direktive kann irgendwo im Stück platziert sein.

+ +

define verfügt über acht Parameter:

+ +
    +
  • +

    den Akkordnamen

    +
  • + +
  • +

    die Nummer des ersten Bundes

    +
  • + +
  • +

    sechs Nummern für die sechs Saiten (ein x + bedeutet, dass die Saite nicht gespielt wird)

    +
  • +
+ +
+ + +

Beispiel 5-20. Direktive define

+ + + + + +
+
+{define:A  1 x 0 2 2 2 0}
+{define:Cm  3 x 1 3 3 2 1}
+{define:Gm/Bb   4 3 2 2 1 x x}
+
+
+
+ +

Das Ergebnis sieht so aus wie in Abbildung 5-2.

+ +
+ + +

Abbildung 5-2. Akkord-Symbole

+ +

+
+
+ +
+

comment

+ +

Die Direktive comment fügt einen Text ein, der + nicht zum eigentlichen Stück gehört.

+ +
+ + +

Beispiel 5-21. Direktive comment

+ + + + + +
+
+{comment: repeat chorus}
+{c: repeat chorus}
+
+
+
+
+ +
+

margin

+ +

Die Direktive margin erzeugt eine Randbemerkung. + Diese können z.B. dazu genutzt werden, Hinweise + für den Musiker einzufügen.

+ +
+ + +

Beispiel 5-22. Directive margin

+ + + + + +
+
+{margin:Fade Out}
+{m:Fade Out}
+
+
+
+
+ +
+

second

+ +

In einigen Stücken hat die zweite Stimme + nicht nur eine andere Melodie, sondern auch einen anderen + oder versetzt gesungenen Text. Bekannte Beispiele sind + "California Dreaming" von The Mamas And The Papas und + "Help" von den Beatles. Wenn Sie die zweite Stimme mit der + Direktive second markieren erscheint sie in weißer + Schrift auf grauem Hintergrund. Wegen der proportionalen + Schrift müssen Sie ein wenig experimentieren, um die + korrekte Ausrichtung zwischen erster und zweiter Stimme zu + erhalten.

+ +
+ + +

Beispiel 5-23. Direktive second (aus Help!, The + Beatles)

+ + + + + +
+
+[G] When I was younger so much [Hm]younger than today
+{second:When when I was young}
+[Em] I never needed anybody's [C]help in [F]any [G]way
+{second:I never need help in any way}
+[G]But now these days are gone and I'm [Bm]not so self assured
+{second:Now these days are gone}
+[Em] Now I find I've changed my mind,
+{second:And now I find}
+I've [C]opened [F]up the [G]doors
+{second:I've opened up the doors}
+
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/r193.html b/doc/de/guitartex/r193.html new file mode 100644 index 0000000..9ffbf66 --- /dev/null +++ b/doc/de/guitartex/r193.html @@ -0,0 +1,135 @@ + + + + + gtx2tex + + + + + + + + + + +

gtx2tex

+ +
+ + +

Name

+ gtx2tex -- konvertiert Chord-Dateien in die Formate + TeX, Postscript oder PDF format +
+ +
+ + +

Synopsis

+ + + + + +
+
+
gtx2tex [--verbose] [--lyrics] [--output=ps|pdf] [--italian] <file>
+
+
+
+ +
+ + +

Optionen

+ +

+ +
+
+
verbose
+ +
+

gtx2tex bereichtet, was gerade abläuft

+
+ +
lyrics
+ +
+

es wird nur der Text (ohne Akkorde) ausgegeben

+
+ +
output=ps|pdf
+ +
+

legen Sie das Ausgabeformat fest; ohne Angabe wird + TeX ausgegeben

+
+ +
italian
+ +
+

die Ausgabe der Akkorde erfolgt in italienischer + Notation (Do, Re, Mi, Fa, Sol, La, Si)

+
+
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/requirements.html b/doc/de/guitartex/requirements.html new file mode 100644 index 0000000..af76e7b --- /dev/null +++ b/doc/de/guitartex/requirements.html @@ -0,0 +1,99 @@ + + + + + Systemanforderungen + + + + + + + + + + +
+

Systemanforderungen

+ +

GuitarTeX wurde unter Linux entwickelt. Es sollte + mit allen Linux-Distributionen und auch auf Unix-Systemen + laufen. Zusätzlich werden benötigt:

+ + + Um PDF-Dateien auszugeben muss die LaTeX-Installation das + Programm + + + enthalten.
+
+
+ + + + + diff --git a/doc/de/guitartex/songbook.html b/doc/de/guitartex/songbook.html new file mode 100644 index 0000000..b93f312 --- /dev/null +++ b/doc/de/guitartex/songbook.html @@ -0,0 +1,257 @@ + + + + + Ein Liederbuch (Songbook) erstellen + + + + + + + + + + +
+

Ein Liederbuch + (Songbook) erstellen

+ +

Die Direktiven document_class und book_... + können irgendwo im Dokument platziert werden.

+ +
+

document_class

+ +

Die Direktive document_class legt fest, welche Art + Dokument Sie erhalten. Es gibt zwei mögliche + Werte:

+ +
    +
  • +

    book

    +
  • + +
  • +

    article (Voreinstellung)

    +
  • +
+ +
+ + +

Beispiel 5-9. Direktive document_class

+ + + + + +
+
+{document_class:book}
+
+
+
+ +

Der Wert "book" erzeugt

+ +
    +
  • +

    eine Titelseite

    +
  • + +
  • +

    ein Inhaltsverzeichnis

    +
  • + +
  • +

    Kopfzeilen mit Seitennummern

    +
  • + +
  • +

    einen Index

    +
  • +
+
+ +
+

book_title, + book_author, book_date

+ +

Diese drei Direktiven beschreiben den Inhalt der + Titelseite.

+ +
+ + +

Beispiel 5-10. Direktive book_title, book_author, + book_date

+ + + + + +
+
+{book_title:My Favourite Songs}
+{book_author:My Name}
+{book_date:September 2000}
+
+
+
+ +

Der Wert in book_title erscheint in den Kopfzeilen + auf geraden Seiten.

+
+ +
+

chapter

+ +

Wenn sie ein Songbook erstellen, können Sie + das Dokument mit der Direktive chapter in Kapitel + einteilen. Im Dokument erscheint eine Titelseite für + jedes neue Kapitel.

+ +
+ + +

Beispiel 5-11. Direktive chapter

+ + + + + +
+
+{chapter:Beatles}
+
+
+
+ +

Der Name des Kapitels erscheint im + Inhaltsverzeichnis und in den Kopfzeilen auf ungeraden + Seiten.

+
+ +
+

include

+ +

Wenn Sie aus einer Sammlung von Chord-Dateien ein + Songbook erstellen wollen brauchen Sie diese nicht alle zu + einer Datei zusammen zu fassen. Das hat nämlich einige + Nachteile, z.B. dass Sie einen einzelnen Song nicht mehr + transponieren können. Mit der Direktive include + können Sie die Dateien einzeln speichern. Erstellen + Sie lediglich eine Songbook-Datei und binden die einzelnen + Stücke mit include ein.

+ +
+ + +

Beispiel 5-12. Direktive include

+ + + + + +
+
+{document_class:book}
+{book_title:}
+{chapter:Name of chapter 1}
+{include:song file 1}
+{include:song file 2}
+{chapter:Name of chapter 2}
+{include:song file 3}
+{include:song file 4}
+
+
+
+ +

In diesem Beispiel wurde ein Songbook mit vier + Stücken in zwei Kapiteln erstellt.

+
+ +
+

even

+ +

Die Direktive even + lässt ein neues Stück in einem Songbook auf der + linken Seite beginnen. Das ist hilfreich, wenn das + Stück länger als eine Seite ist, damit man nicht + umblättern muss. Die Direktive muss vor der Direktive + title eines neuen Stückes angeordnet sein.

+ +
+ + +

Beispiel 5-13. Direktive even

+ + + + + +
+
+{even}
+{title:Proud Mary}
+{st:Creedence Clearwater Revival 1972}
+
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/stylesheet-images/caution.gif b/doc/de/guitartex/stylesheet-images/caution.gif new file mode 100644 index 0000000..9cc2e15 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/caution.gif differ diff --git a/doc/de/guitartex/stylesheet-images/home.gif b/doc/de/guitartex/stylesheet-images/home.gif new file mode 100644 index 0000000..55e1d59 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/home.gif differ diff --git a/doc/de/guitartex/stylesheet-images/important.gif b/doc/de/guitartex/stylesheet-images/important.gif new file mode 100644 index 0000000..25e40c7 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/important.gif differ diff --git a/doc/de/guitartex/stylesheet-images/next.gif b/doc/de/guitartex/stylesheet-images/next.gif new file mode 100644 index 0000000..8c502e7 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/next.gif differ diff --git a/doc/de/guitartex/stylesheet-images/note.gif b/doc/de/guitartex/stylesheet-images/note.gif new file mode 100644 index 0000000..7322e8e Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/note.gif differ diff --git a/doc/de/guitartex/stylesheet-images/prev.gif b/doc/de/guitartex/stylesheet-images/prev.gif new file mode 100644 index 0000000..0894d9e Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/prev.gif differ diff --git a/doc/de/guitartex/stylesheet-images/tip.gif b/doc/de/guitartex/stylesheet-images/tip.gif new file mode 100644 index 0000000..f062955 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/tip.gif differ diff --git a/doc/de/guitartex/stylesheet-images/toc-blank.gif b/doc/de/guitartex/stylesheet-images/toc-blank.gif new file mode 100644 index 0000000..6c65e3a Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/toc-blank.gif differ diff --git a/doc/de/guitartex/stylesheet-images/toc-minus.gif b/doc/de/guitartex/stylesheet-images/toc-minus.gif new file mode 100644 index 0000000..40ebe61 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/toc-minus.gif differ diff --git a/doc/de/guitartex/stylesheet-images/toc-plus.gif b/doc/de/guitartex/stylesheet-images/toc-plus.gif new file mode 100644 index 0000000..3e9e7d5 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/toc-plus.gif differ diff --git a/doc/de/guitartex/stylesheet-images/up.gif b/doc/de/guitartex/stylesheet-images/up.gif new file mode 100644 index 0000000..e899a27 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/up.gif differ diff --git a/doc/de/guitartex/stylesheet-images/warning.gif b/doc/de/guitartex/stylesheet-images/warning.gif new file mode 100644 index 0000000..a587079 Binary files /dev/null and b/doc/de/guitartex/stylesheet-images/warning.gif differ diff --git a/doc/de/guitartex/tablature.html b/doc/de/guitartex/tablature.html new file mode 100644 index 0000000..edfc498 --- /dev/null +++ b/doc/de/guitartex/tablature.html @@ -0,0 +1,258 @@ + + + + + Gitarren- und Bass-Tabulaturen + + + + + + + + + + +
+

Gitarren- und + Bass-Tabulaturen

+ +

GuitarTeX kennt zwei neue Direktiven zur Darstellung von + Tabulaturen:

+ + + +

Jede guitartab oder basstab Direktive stellt eine + Zeile mit sechs bzw vier Linien dar. Sie können mit + {guitartab: } oder {basstab: } auch leere Tabulaturen + erzeugen. Setzen Sie eine Leerzeile vor die Direktive, damit + die Tabulatur am linken Rand beginnt.

+ +

Die Klammern können enthalten:

+ + + +
+ + +

Abbildung 5-1. Tabulatur Schaltflächen

+ +

+
+ +

Anstatt die Zeilen von Hand einzugeben können + Sie die Schaltfächen verwenden (see Abbildung 5-1). Ein Klick + auf die Schaltfläche "Gitarre" oder "Bass" fügt die + jeweilige Direktive an der aktuellen Cursorposition ein. Um + eine Note einzufügen, geben Sie die Nummer des Bundes in + das Eingabefeld ein und klicken die gewünschte Saite an. + Die Note wird an der aktuellen Cursorposition eingefügt. + Danach steht der Cursor wieder im Eingabefeld, so dass Sie + nacheinander beliebig viele Noten erfassen können.

+ +
+

Beispiele

+ +
+ + +

Beispiel 5-14. Leere Gitarren-Tabulatur

+ + + + + +
+
+{guitartab:}
+
+
+ +

+

+
+ +
+ + +

Beispiel 5-15. Eine Bass-Tabulatur mit Text

+ + + + + +
+
+{basstab:some text}
+
+
+ +

+

+
+ +
+ + +

Beispiel 5-16. Noten, Taktstriche und + Leerraum

+ + + + + +
+
+{guitartab:[2;3][3;0][3;2][3;3]|[4;0]__[4;2]__[5;0]__[5;1]|}
+
+
+ +

+

+
+ +
+ + +

Beispiel 5-17. Text unter den Noten + anordnen

+ + + + + +
+
+{guitartab:[2;3]do [3;0]re [3;2]mi [3;3]fa |[4;0]so [4;2]la [5;0]si [5;1]do|}
+
+
+ +

+

+
+ +
+ + +

Beispiel 5-18. Eine einfache Bass-Tabulatur

+ + + + + +
+
+{basstab:[2;5][2;5]|[2;5][2;5]|[3;5][3;5]|[2;5][2;5]|[3;7][3;7]|[3;5][3;5]|[2;5]}
+
+
+ +

+

+
+ +
+ + +

Beispiel 5-19. Akkorde

+ + + + + +
+
+{guitartab:[2;3]&[3;5]&[4;5]C (power chord) |[2;3]&[3;2]&[4;0]&[5;1]C chord}
+
+
+ +

+

+
+
+
+ + + + + diff --git a/doc/de/guitartex/x227.html b/doc/de/guitartex/x227.html new file mode 100644 index 0000000..bebc5b0 --- /dev/null +++ b/doc/de/guitartex/x227.html @@ -0,0 +1,297 @@ + + + + + Menüs + + + + + + + + + + +
+

Menüs

+ +

Sie können jedes Menü "abreißen", + indem Sie auf den ersten Eintrag (-----) klicken. Das kann + sehr nützlich sein, wenn Sie einen Befehl mehrmals + benutzen wollen.

+ +
+

Menü + Datei

+ +
+

Neu, Öffnen, + Speichern, Speichern als, Beenden

+ +

Die Menüpunkte Neu, Öffnen, Speichern, + Speichern als, Beenden verhalten sich, wie Sie es von + anderen Anwendungen mit grafischer Oberfläche + gewohnt sind. Daher wird hier auf eine weitere + Beschreibung verzichtet. Alternativ können Sie auf + eine der Schaltflächen klicken.

+
+ +
+

Export > LaTeX , + Export > Postscript, Export > PDF

+ +

Die geöffnete Datei wird gespeichert und + dann in das LaTeX-, Postscript- bzw. PDF-Format + konvertiert. Der Name der erzeugten Datei entspricht dem + ursprünglichen Namen mit der Erweiterung .tex, .ps + bzw. .pdf. Alternativ können Sie auf eine der + Schaltflächen klicken.

+ +
+ + +

Abbildung 4-1. Schaltflächen für die + Ausgabe im LaTeX-, Postscript oder PDF-Format

+ +

+ +

+ +

+
+
+
+ +

Nachdem die exportierte Datei erstellt wurde, + startet ein Programm zu deren Anzeige. Sie können + das gewünschte Anzeigeprogramm auswählen, indem + Sie die Parameter $text_viewer, $ps_viewer und $pdf_viewer in der Konfigurationsdatei + ändern (siehe Abschnitt + namens Konfigurationsdatei in Kapitel 2).

+
+
+ +
+

Menü + Bearbeiten

+ +
+

Ausschneiden, + Kopieren, Einfügen

+ +

Wenn Sie Text ausschneiden, kopieren und + einfügen möchten, benutzen Sie die + Tastenkombinationen strg-x (ausschneiden), strg-c + (kopieren) und strg-v (einfügen).

+
+ +
+

Datei + einfügen

+ +

Der Befehl startet einen Dateiauswahldialog. Die + ausgewählte Datei wird an der Cursorposition + eingefügt.

+
+ +
+

crd -> + chopro

+ +

Sie werden häufig Musikstücke mit + Akkorden in rohem ASCII-Format finden. Diese sehen im + Gegensatz zum Chord-Format so aus:

+ + + + + +
+
+D              A7   D
+I print verses in a row,
+                       A7     D
+The next line gets put down below,
+              A7          D    G    G#       A
+Mumble mumble rhymes with grow
+                     A7susx
+Done this verse, now we go!
+
+
+ +

Setzen Sie den Cursor in die erste Zeile (die + mit den Akkorden) und rufen den Menüpunkt + crd->chopro auf oder drücken Sie die + Funktionstaste F). Die Akkordzeile und die folgende + Textzeile werden zu einer Zeile im Chord-Format + zusammengeführt. Der Cursor befindet sich danach in + der nächsten Zeile, so dass Sie einfach mehrmals F9 + drücken müssen, um weitere Zeilen zu + konvertieren.

+
+
+ +
+

Menü + Direktiven

+ +

Mit diesem Menü können Sie Direktiven an + der Cursorposition einfügen. Die Bedeutung der + Direktiven ist in Kapitel 5 + erläutert.

+
+ +
+

Menü + Liederbuch

+ +

Fügen Sie die Direktiven zur Erstellung von + Liederbüchern ein, statt sie von Hand einzutippen. Die + Bedeutung dieser Direktiven ist in Abschnitt namens Ein Liederbuch + (Songbook) erstellen in Kapitel 5 + erläutert.

+
+ +
+

Menü + Farben

+ +

Mit diesem Menü können Sie die + Direktiven zur Anpassung der Farben einfügen Es wird + ein Farbauswahldialog aufgerufen (siehe Abbildung 4-2).

+ +
+ + +

Abbildung 4-2. Farbauswahldialog

+ +

+
+ +

Sie haben drei Möglichkeiten, die + gewünschte Farbe auszuwählen:

+ +
    +
  • +

    doppelklicken Sie auf eine vordefinierte Farbe in + der Liste auf der linken Seite

    +
  • + +
  • +

    bewegen Sie die Schieber in der Mitte des + Dialogfeldes (wählen Sie zuerst den + gebräuchlicheren RGB-Farbraum anstelle von + HSB)

    +
  • + +
  • +

    geben Sie den RGB-Wert manuell in das Feld Name ein, + keine wirklich gute Idee :-)

    +
  • +
+ +

Die Farb-Direktiven können auch manuell + eingegeben werden. Sie werden in Abschnitt namens color_xxx in + Kapitel 5 erklärt.

+
+ +
+

Menü + Transponieren

+ +
+

Hoch, Runter

+ +

Diese beiden Befehle transponieren das + Stück um einen Halbton nach oben oder unten. Sie + können die Tasten F5 und F6 an Stelle des Menüs + verwenden. In Akkorden mit Bass (z.B. G/B) werden sowohl + der Akkord als auch die Bassnote transponiert. + Schrägstriche dürfen nur in Akkorden mit Bass + verwendet werden (siehe Abschnitt namens + Spezielle Zeichen in Kapitel 5).

+
+ +
+

b->#, + #->b

+ +

Nach dem Transponieren weiß das Programm + natürlich nicht, ob Halbtöne mit # oder b + dargestellt werden sollen. Daher werden zunächst + alle Halbtöne mit # dargestellt. Sie können + dies mit dem Befehl #->b ändern. Alternativ + können Sie die Tasten F7 und F8 verwenden.

+
+ +
+

B->H, + H->B

+ +

In der deutschen Schreibweise wird die Note B + als H geschrieben. Mit diesen Befehlen können Sie + von B nach H und umgekehrt umschalten.

+
+
+
+ + + + + diff --git a/doc/de/guitartex/x298.html b/doc/de/guitartex/x298.html new file mode 100644 index 0000000..00b2db3 --- /dev/null +++ b/doc/de/guitartex/x298.html @@ -0,0 +1,85 @@ + + + + + Akkord-Schaltflächen + + + + + + + + + + +
+

Akkord-Schaltflächen

+ +
+ + +

Abbildung 4-3. Akkord-Schaltflächen

+ +

+
+ +

Durch einen Klick auf eine der + Akkord-Schaltflächen (siehe Abbildung 4-3) wird der + augewählte Akkord an der Cursorposition eingefügt. + Danach können Sie den Akkord editieren, z.B. Moll oder + Septime einfügen.

+
+ + + + + diff --git a/doc/de/guitartex/x305.html b/doc/de/guitartex/x305.html new file mode 100644 index 0000000..39c247a --- /dev/null +++ b/doc/de/guitartex/x305.html @@ -0,0 +1,94 @@ + + + + + Syntax Highlighting + + + + + + + + + + +
+

Syntax + Highlighting

+ +
+ + +

Abbildung 4-4. Syntax Highlighting + Schaltfläche

+ +

+
+ +

GuitarTeX verfügt über sogenanntes Syntax + Highlighting für Direktiven, Kommentare und Akkorde, + d.h. die genannten Elemente werden in einer anderen Farbe als + der normale Text angezeigt. Sie können die Text- und + Hintergrundfarbe selbst wählen, indem Sie die + entsprechenden Parameter in der Konfigurationsdatei anpassen. + Wenn Sie Direktiven oder Akkorde über Menüs und + Schaltflächen einfügen, erfolgt die Einfärbung + automatisch. Nach manueller Eingabe klicken Sie einfach auf + die Syntax Highlighting Schaltfläche (siehe Abbildung 4-4).

+
+ + + + + diff --git a/doc/de/guitartex/x447.html b/doc/de/guitartex/x447.html new file mode 100644 index 0000000..bbd66ed --- /dev/null +++ b/doc/de/guitartex/x447.html @@ -0,0 +1,268 @@ + + + + + Dokumentstrukur + + + + + + + + + + +
+

Dokumentstrukur

+ +
+

title

+ +

Der Titell eines Stückes wird durch die + Direktive title markiert. Der Titel + wird zentriert mit einer vergrößerten Schrift + ausgegeben. In Dokumenten mit mehreren Stücken + verursacht title einen + Seitenumbruch.

+ +
+ + +

Beispiel 5-1. Direktive title

+ + + + + +
+
+{title:Go Down Moses}
+{t:Go Down Moses}
+
+
+
+
+ +
+

subtitle

+ +

Die Direktive subtitle + dient zur Darstellung zusätzlicher Informationen, wie + z.B. Interpret oder Komponist.

+ +
+ + +

Beispiel 5-2. Direktive subtitle

+ + + + + +
+
+{subtitle:written by John Lennon / Paul McCartney}
+{st:written by John Lennon / Paul McCartney}
+
+
+
+
+ +
+

sob, eob

+ +

Eine Bridge wird mit sob + (start of bridge) am Anfang, und eob + (end of bridge) am Ende markiert. Die Bridge wird auf + Farbdruckern in blau ausgegeben. Die Farbe kann mit der + Direktive color_bridge angepasst + werden (siehe Abschnitt namens + color_xxx).

+ +
+ + +

Beispiel 5-3. Direktive sob, eob (aus Here, There + And Everywhere, Beatles):

+ + + + + +
+
+{sob}
+I want her [Ab]everywhere [Fm]
+And if [Bbm]she's beside me [C^7]I know I need [Fm]never care
+[Bb]But to love her [C^7]is to meet her
+{eob}
+
+
+
+
+ +
+

soc, eoc

+ +

Ein Refrain wird mit soc + (start of chorus) am Anfang und mit eoc (end of chorus) am Ende markiert. Der + Refrain wird auf Farbdruckern in rot ausgegeben. Die Farbe + kann mit der Direktive color_chorus + angepasst werden (siehe Abschnitt + namens color_xxx).

+ +
+ + +

Beispiel 5-4. Direktive soc, eoc (aus With A Litle + Help From My Friends, Beatles):

+ + + + + +
+
+{soc}
+Oh, I get [C]by with a little [G]help from my [D]friends
+Mm, I get [C]high with a little [G]help from my [D]friends
+Oh, I'm gonna [C]try with a little [G]help from my [D]friends
+{eoc}
+
+
+
+
+ +
+

soi, eoi

+ +

Ein Instrumantal-Teil wird mit soi (start of instrumental) am Anfang und eoi (end of instrumental) am Ende + markiert. Der Instrumental-Teil wird auf Farbdruckern in + grau ausgegeben. Die Farbe kann mit der Direktive color_instr angepasst werden (siehe Abschnitt namens + color_xxx).

+
+ +
+

np

+ +

np steht für "neue Seite" + und erzeugt einen Seitenumbruch.

+ +
+ + +

Beispiel 5-5. Directive np

+ + + + + +
+
+{np}
+
+
+
+
+ +
+

sot, eot

+ +

Tabulaturen werden mit sot + (start of tablature) am Anfang und eot (end of tablature) am Ende markiert. + Tabulaturen werden auf Farbdruckern in grün + ausgegeben. Die Farbe kann mit der Direktive color_tab directive angepasst werden (siehe + Abschnitt namens + color_xxx). Tabulaturen werden in einer + nichtproportionalen Schriftart ausgegeben.

+ +
+ + +

Beispiel 5-6. Direktive sot, eot (aus Pretty Woman, + Roy Orbison):

+ + + + + +
+
+{sot}
+E ---------------------|------------------------------------
+B ---------------------|------------------------------------
+G ---------------------|------------------------------------
+D -----------------0---|-------------------0---4---2---0----
+A -------------2-------|---------------2--------------------
+E -0---0---4-----------|---0---0---4------------------------
+{eot}
+
+
+
+ +

Wenn Sie ASCII-Tabulaturen nicht mögen, + bietet GuitarTeX Ihnen eine andere Möglichkeit in Abschnitt namens Gitarren- und + Bass-Tabulaturen.

+
+
+ + + + + diff --git a/doc/de/guitartex/x519.html b/doc/de/guitartex/x519.html new file mode 100644 index 0000000..fef4514 --- /dev/null +++ b/doc/de/guitartex/x519.html @@ -0,0 +1,166 @@ + + + + + Fonts + + + + + + + + + + +
+

Fonts

+ +

Die Direktiven zur Beeinflussung der Schriftart und + -farbe können irgendwo in Ihrer Datei stehen. Trotzdem + ist es hilfreich sie am Anfang zu platzieren. Die angegebenen + Werte gelten für das ganze Dokument.

+ +
+

font_size

+ +

LaTeX kennt drei Schriftgrößen 10pt, + 11pt and 12pt. GuitarTeX nutzt normalerweise 11pt (Titel + und Untertitel werden automatisch vergrößert). + Wenn Sie z.B. 12pt verwenden wollen, schreiben Sie:

+ +
+ + +

Beispiel 5-7. Direktive font_size

+ + + + + +
+
+{font_size:12}
+
+
+
+ +

Achtung: schreiben Sie nicht 12pt statt 12!

+
+ +
+

color_xxx

+ +

Mit den folgenden Direktiven können Sie die + Textfarbe für Refrain, Bridge, Instrumental-Teil + Tabulaturen und zweite Stimme anpassen. Für die zweite + Stimme können Sie auch die Hintergrundfarbe + ändern, so dass Sie z.B. weiße Schrift auf einem + farbigen Hintergrund verwenden können. Das erleichtert + den Sängern hoffentlich die Orientierung bei mehreren + Textzeilen :-)

+ +

Die Direktiven heißen

+ +
    +
  • +

    color_chorus

    +
  • + +
  • +

    color_bridge

    +
  • + +
  • +

    color_instr

    +
  • + +
  • +

    color_tab

    +
  • + +
  • +

    color_second

    +
  • + +
  • +

    color_second_back

    +
  • +
+ +

Als Parameter wird eine durch Kommas getrennte + Liste von Werten zwischen null und eins, die die Farben + rot, grün und blau repräsentieren.

+ +
+ + +

Beispiel 5-8. Direktive color_chorus (Refrain in + hellblau):

+ + + + + +
+
+{color_chorus:.5,.5,1}
+
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/x750.html b/doc/de/guitartex/x750.html new file mode 100644 index 0000000..999a01c --- /dev/null +++ b/doc/de/guitartex/x750.html @@ -0,0 +1,327 @@ + + + + + LaTeX-Packete MusixTeX, MusixLyr und TabDefs + + + + + + + + + + +
+

LaTeX-Packete MusixTeX, + MusixLyr und TabDefs

+ +

MusixTeX ist ein mächtiges LaTeX-Packet für + Notensatz. MusixLyr und TabDefs sind Ergänzungen zu + MusixTeX für noch bessere Darstellung von Text und + Tabulaturen. Sie können diese Packete GuitarTeX direkt + verwenden, indem Sie eine (oder mehrere) dieser Direktiven + irgendwo in Ihre Chord-Datei schreiben:

+ + + +
+
+

Wichtig: Sie müssen die Packete korrekt + installiert haben, um sie zu benutzen. Bitte lesen Sie + die Dokumentation zu den Packeten.

+
+
+ +

Sie können nun LaTeX-Kommandos aus den Packeten + MusixTeX, MusixLyr oder TabDefs an jeder Stelle in der Datei + verwenden oder mit include einbinden (Beispiele siehe Abschnitt namens + Beispiele).

+ + + + + + + +
+

Beispiele

+ +
+ + +

Beispiel 6-3. MusixTeX

+ +

+ +
+ + + + + + + + +
+
+
+
+
+ + + + + +
+
+{musixtex}
+
+{soc}
+[D]This is the [Bm]manual song
+[A^7]No-one really knows what's [D]goin' on
+[D]This is the [F#m]manual song
+[A^7]And now the chorus is already [D]gone
+{eoc}
+
+\hsize=100mm
+\generalmeter{\meterfrac24}%
+\parindent 0pt
+\setsign1{-3}
+\startpiece\bigaccid
+\NOtes\qu{ce}\enotes
+\bar
+\NOtes\qu{gh}\enotes
+\bar
+\NOtes\qu{=b}\enotes
+\Notes\ds\cu g\enotes
+\bar
+\NOtes\qu{^f=f}\enotes
+\NOtes\qu{=e}\itied0e\qu{_e}\enotes
+\bar
+\Notes\ttie0\Qqbu ed{_d}c\enotes
+\bar
+\Notes\ibu0b{-2}\qb0{=b}\enotes
+\notes\nbbu0\qb0{=a}\tqh0N\enotes
+\Notes\Dqbu cf\enotes
+\NOtes\uptext{\it tr}\qu e\uptext{\it tr}\qu d\enotes
+\bar
+\NOtes\qu c\qp\enotes
+\setdoubleBAR
+\stoppiece
+\bigskip
+
+[D]The second verse is [A^7]like the [D]first,
+The music poor, the [A^7]verse is [D]worse,
+I wrote this since [A^7]I'd get [D]sued,
+If I used real songs. [A^7]This'll [D]do.
+
+
+
+ +
+ + +

Beispiel 6-4. Tempo-Angabe

+ +

+ +
+ + + + + + + + +
+
+
+
+
+ + + + + +
+
+{musixtex}
+{title:The Manual Song}
+{st:No-one has yet claimed responsibility}
+
+\notes\metron{\qu}{60}\en
+
+[D]I print verses [A^7]in a [D]row,
+The next line gets put [A^7]down be[D]low,
+Mumble mumble [A^7]rhymes with [D]grow [G]     [G#]     [A]
+Done this verse, now [A^7susX]on we [quietly]go!
+
+
+
+ +
+ + +

Beispiel 6-5. Verbesserter Satz von Text mit + MusixLyr

+ +

+ +
+ + + + + + + + +
+
+
+
+
+ + + + + +
+
+{musixtex}
+{musixlyr}
+
+{soc}
+[D]This is the [Bm]manual song
+[A^7]No-one really knows what's [D]goin' on
+[D]This is the [F#m]manual song
+[A^7]And now the chorus is already [D]gone
+{eoc}
+
+\par{
+\hsize=120mm
+\setlyrstrut
+\resetlyrics
+\setlyrics{Winter1}{Win-ter a-de\rlap{,} a-ber dein Schei-den macht\rlap{,}}
+\setlyrics{Winter2}{schei-den tut weh\rlap,}
+\assignlyrics1{Winter1,Winter2}
+\generalmeter{\meterfrac34}
+\generalsignature2
+\setsongraise1{-2mm}
+\startpiece
+\NOtes\qa{ffe}\en\bar
+\NOTesp\hup d\en\rightrepeat
+\assignlyrics1{Winter1}%
+\NOtes\qa{fgh}\en\bar
+\NOtes\qa h\en
+\Notes\beginmel\Ibu0gf1\qb0g\endmel\tqh0f\en
+\NOtes\qa g\en
+\endpiece
+}
+
+[D]The second verse is [A^7]like the [D]first,
+The music poor, the [A^7]verse is [D]worse,
+I wrote this since [A^7]I'd get [D]sued,
+If I used real songs. [A^7]This'll [D]do.
+
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/x819.html b/doc/de/guitartex/x819.html new file mode 100644 index 0000000..4868bf2 --- /dev/null +++ b/doc/de/guitartex/x819.html @@ -0,0 +1,124 @@ + + + + + Liedblätter + + + + + + + + + + +
+

Liedblätter

+ +
+ + +

Beispiel 7-1. Einelnes Lied

+ +

+ +
+ + + + + + + + +
+
+
+
+
+
+ +
+ + +

Beispiel 7-2. Einzelnes Lied als Teil eines + Liederbuches

+ +

+ +
+ + + + + + + + +
+
+
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/x847.html b/doc/de/guitartex/x847.html new file mode 100644 index 0000000..771c51b --- /dev/null +++ b/doc/de/guitartex/x847.html @@ -0,0 +1,153 @@ + + + + + Akkord-Tabelle + + + + + + + + + + +
+

Akkord-Tabelle

+ +

Die folgende Akkord-Tabelle stammt aus dem Songbuch + des Autors. Sie wurde mit dem untenstehenden Code + erstellt.

+ +
+ + +

Beispiel 7-3. Akkord-Tabelle

+ +

+ +
+ + + + + + + + +
Chord table +
+
+
+
+ + + + + +
+
+
{title:D}
+{define:D   1 x x 0 2 3 2}
+{define:D+  1 x x 0 3 3 2}
+{define:D4  1 x x 0 2 3 3}
+{define:D6  1 x 0 0 2 0 2}
+{define:D7  1 x x 0 2 1 2}
+{define:D7#9    4 x 2 1 2 3 3}
+{define:D7(#9)  4 x 2 1 2 3 3}
+{define:D9  0 1 3 1 2 1 3}
+{define:D11 1 3 0 0 2 1 0}
+{define:Dsus    1 x x 0 2 3 3}
+{define:Dsus2   1 0 0 0 2 3 0}
+{define:Dsus4   1 x x 0 2 3 3}
+{define:D7sus2  1 x 0 0 2 1 0}
+{define:D7sus4  1 x 0 0 2 1 3}
+{define:Dmaj    1 x x 0 2 3 2}
+{define:Dmaj7   1 x x 0 2 2 2}
+{define:Ddim    1 x x 0 1 0 1}
+{define:Dm  1 x x 0 2 3 1}
+{define:Dmin    1 x x 0 2 3 1}
+{define:D/A 1 x 0 0 2 3 2}
+{define:D/B 1 x 2 0 2 3 2}
+{define:D/C 1 x 3 0 2 3 2}
+{define:D/C#    1 x 4 0 2 3 2}
+{define:D/E 7 x 1 1 1 1 x}
+{define:D/G 1 3 x 0 2 3 2}
+{define:D5/E    7 0 1 1 1 x x}
+{define:Dadd9   1 0 0 0 2 3 2}
+{define:D(add9) 1 0 0 0 2 3 2}
+{define:D9add6  0 1 3 3 2 0 0}
+{define:D9(add6)0 1 3 3 2 0 0}
+
+{define:Dm6(5b) 1 x x 0 1 0 1}
+{define:Dm7 1 x x 0 2 1 1}
+{define:Dm#5    1 x x 0 3 3 2}
+{define:Dm(#5)  1 x x 0 3 3 2}
+{define:Dm#7    1 x x 0 2 2 1}
+{define:Dm(#7)  1 x x 0 2 2 1}
+{define:Dm/A    1 x 0 0 2 3 1}
+{define:Dm/B    1 x 2 0 2 3 1}
+{define:Dm/C    1 x 3 0 2 3 1}
+{define:Dm(F)   1 x x 3 2 3 1}
+{define:Dm/C#   1 x 4 0 2 3 1}
+{define:Dm9 1 x x 3 2 1 0}
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/x864.html b/doc/de/guitartex/x864.html new file mode 100644 index 0000000..3271cf7 --- /dev/null +++ b/doc/de/guitartex/x864.html @@ -0,0 +1,88 @@ + + + + + Indexseite + + + + + + + + + + +
+

Indexseite

+ +

+ +
+ + + + + + + + +
Index Page
+
+
+
+
+ + + + + diff --git a/doc/de/guitartex/x883.html b/doc/de/guitartex/x883.html new file mode 100644 index 0000000..5fa1e8e --- /dev/null +++ b/doc/de/guitartex/x883.html @@ -0,0 +1,112 @@ + + + + + Links + + + + + + + + + + +
+

Links

+ +
+

LaTeX

+ + +
+ +
+

Perl

+ + +
+ +
+

Guitar Sites

+ + +
+
+ + + + + diff --git a/doc/de/info.xml b/doc/de/info.xml new file mode 100644 index 0000000..972bca9 --- /dev/null +++ b/doc/de/info.xml @@ -0,0 +1,54 @@ + + + Joachim + Miltz + + January 2002 + Version 2.8 + + 2000-2002 + Joachim Miltz + + + + This program is free software; you can redistribute it and/or modify it + under + the terms of the GNU General Public License as published by the Free + Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + + This program is distributed in the hope that it will be useful, but + WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + + You should have received a copy of the GNU General Public License along + with + this program; if not, write to the Free Software Foundation, Inc., 675 + Mass + Ave, Cambridge, MA 02139, USA. + + + + + + GuitarTeX ist ein Werkzeug für Gitarristen, die gut aussehende Ausdrucke ihrer + Musikstücke oder Liederbücher aus ihren Chord- oder Chordpro-Dateien anfertigen wollen. + Es benutzt das weit verbreitete Chord Format mit einigen Erweiterungen. + Das Programm wurde unter Linux entwickelt, sollte aber auch auf anderen Unix- + systemen mit Perl/TK-Umgebung laufen. + Die Anleitung zur Installation finden Sie in , + die Systemvoraussetzungen in . + + +&sflogo; + + + + + diff --git a/doc/de/installation.xml b/doc/de/installation.xml new file mode 100755 index 0000000..b6337c0 --- /dev/null +++ b/doc/de/installation.xml @@ -0,0 +1,120 @@ + + Installation + + + Woher bekomme ich GuitarTeX? + + Die aktuelle Version bekommen Sie immer auf der Download-Seite + des GuitarTeX-Projektes: + . + + + + + Systemanforderungen + + GuitarTeX wurde unter Linux entwickelt. + Es sollte mit allen Linux-Distributionen und auch auf Unix-Systemen laufen. + Zusätzlich werden benötigt: + + +LaTeX +Perl +Perl/TK + + +Um PDF-Dateien auszugeben muss die LaTeX-Installation das Programm +pdflatex +enthalten. + + + + + + Installation + Um GuitarTeX zu installieren gehen Sie wie folgt vor: + + stellen Sie sicher, dass LaTeX, Perl und Perl/TK installiert sind + (siehe ) + entpacken Sie das GuitarTeX-Archiv (z.B. in Ihrem home-Verzeichnis) + wechseln Sie in das Verzeichnis guitartex-x.x + führen Sie folgende Kommandos aus: + + make conf (als normaler Benutzer!, damit wird eine vorhandene Konfigurationsdatei überschrieben!) + make install (als Benutzer root) + + + + + Sie können das Verzeichnis guitartex-x.x nun löschen + + + "make conf" kopiert die Konfigurationsdatei nach ~/.guitartexrc. + Sie können GuitarTeX durch Änderung der darin enthaltenen Parameter anpassen. + + + + + Konfigurationsdatei + + GuitarTeX benötigt eine Konfigurationsdatei namens .guitartexrc in Ihrem + home-Verzeichnis. Parameter werden in Perl-Syntax gesetzt, zum Beispiel: + $language = "de"; + + + + Konfigurationsparameter + + + + Parameter + Bedeutung + + + + language + wählen Sie Ihre bevorzugte Sprache + tool_tips + schalten Sie die Hilfen für Schaltflächen ein oder aus + highlight + Syntax-Highlighting ein- oder ausschalten + highlight_directive_foreground + Vordergrundfarbe für Direktiven + highlight_directive_background + Hintergrundfarbe für Direktiven + highlight_chord_foreground + Vordergrundfarbe für Akkorde + highlight_chord_background + Hintergrundfarbe für Akkorde + highlight_comment_foreground + Vordergrundfarbe für Kommentare + highlight_comment_background + Hintergrundfarbe für Kommentare + font_size + Schriftgröße + color_chorus + Druckfarbe für refrain + color_bridge + Druckfarbe für Bridge + color_instr + Druckfarbe für Instrumental-Teil + color_tab + Druckfarbe für ASCII-Tabulaturen + color_second + Druckfarbe für zweite Stimme (Vordergrund) + color_second_back + Druckfarbe für zweite Stimme (Hintergrund) + text_viewer + Anzeigeprogramm für TeX-Dateien + ps_viewer + Anzeigeprogramm für Postscript-Dateien + pdf_viewer + Anzeigeprogramm für PDF-Dateien + + +
+ +
+ &sflogo; + +
diff --git a/doc/de/introduction.xml b/doc/de/introduction.xml new file mode 100644 index 0000000..5b306b8 --- /dev/null +++ b/doc/de/introduction.xml @@ -0,0 +1,88 @@ + + Einführung + + + GuitarTeX ist ein Werkzeug für Gitarristen, die gut aussehende Ausdrucke ihrer + Musikstücke oder Liederbücher aus ihren Chord- oder Chordpro-Dateien anfertigen wollen. + Es benutzt das weit verbreitete Chord Format mit einigen Erweiterungen. + + + Es basiert auf einer Idee von Martin Leclerc und Mario Dorion aus Kanada + und ihrem Programm Chord (Version 3.5 von 1993). Um GuitarTeX zu nutzen, + benötigen Sie Kenntnisse des Programmes Chord (wird später erklärt). + Obwohl das Satzsystem LaTeX von GuitarTeX genutzt wird, müssen sie wenig (oder nichts) + über LaTeX wissen. GuitarTeX produziert Postscript- oder PDF-Dateien automatisch, + wenn Sie das möchten. Die von GuitarTeX unterstützten Direktiven des Programms Chord + werden in erläutert. + + + + +Eigenschaften +Grafische Benutzeroberfläche mit integriertem Editor und Syntax-Highlighting +Druckt gut aussehende Liedblätter mit Akkorden unter Benutzung von Proportionalschriften +Ausgabeformate LaTeX, Postscript und PDF +Kompatibel mit ChordPro-Format, Import von ASCII-Dateien +Notensatz mit den LaTeX-Packeten MusixTeX, MusixLyr und TabDefs +Flexibles Seitenlayout (Größe, Ränder...) +Benutzerdefinierte Farben für Refrain, Bridge ... +Optionale Ausgabe von Akkordsymbolen am Ende eines Stückes +Transponieren per Mausklick +Erstellung von einzelnen Liedblättern oder ganzen Liederbüchern +mit Inhaltsverzeichnis, Kopfzeilen, Seitennummerierung,und Index +ASCII-Tabulaturen und eingebaute Funktionen für Gitarrten- und Bass-Tabulaturen +Unterstützung für mehrere Sprachen +Liederbücher können mit Hilfe der Direktive include aus einer Sammlung +von Chord-Dateien erstellt werden +LaTeX-Kommandos können in Chord-Dateien verwendet werden (für Profis) + + + + GuitarTeX konvertiert eine Datei mit Text und Akkorden im Chord-Format + in eine LaTeX-Datei. Ein Beispiel für eine Chord-Datei: + + + {title:The Manual Song} +{st:No-one has yet claimed responsibility} +[D]I print verses [A^7]in a [D]row, +The next line gets put [A^7]down be[D]low, +Mumble mumble [A^7]rhymes with [D]grow [G] [G#] [A] +Done this verse, now [A^7susX]on we [quietly]go! + +{soc} +[D]This is the [Bm]manual song +[A^7]No-one really knows what's [D]goin' on +[D]This is the [F#m]manual song +[A^7]And now the chorus is already [D]gone +{eoc} + +[D]The second verse is [A^7]like the [D]first, +The music poor, the [A^7]verse is [D]worse, +I wrote this since [A^7]I'd get [D]sued, +If I used real songs. [A^7]This'll [D]do. + +{c:repeat chorus} + + + Das ^-Zeichen ist neu für Benutzer anderer Chord-Programme. + Die nachfolgenden Zeichen werden hochgestellt. Sie sehen die Ausgabe in + . + + +
+ Druckausgabe der Beispieldatei + + + +
+ + + Wenn Sie sich mit LaTeX auskennen, können Sie die Ausgabedatei auch manuell + verändern, bevor Sie sie in Postscript oder PDF umwandeln. Der Vorteil ist, + dass Sie alle Möglichkeiten von LaTeX einschließlich der vielen Zusatzpackete + wie graphics oder MusicTeX einsetzen können + + + &sflogo; + +
diff --git a/doc/de/latex.xml b/doc/de/latex.xml new file mode 100755 index 0000000..48b46a3 --- /dev/null +++ b/doc/de/latex.xml @@ -0,0 +1,229 @@ + + LaTeX Kommandos und Packete verwenden + +
+ LaTeX Kommandos + + Wie in der Einführung erwähnt, brauchen Sie nichts über LaTeX zu wissen, um + GuitarTeX zu nutzen. + Wenn Sie sich mit LaTeX auskennen, können Sie dessen Möglichkeiten nutzen, um Ihre + Ergebnisse weiter zu verbessern. Alle Zeilen, die mit einem Backslash beginnen, + werden in die erzeute LaTeX-Datei übernommen. Sie können das einfach mit einem Kommando + wie diesem testen: + + + + LaTeX Kommando in Chord-Datei + \marginpar{test} + + + Das Ergebnis ist eine Randbemerkung mit dem Wort "test". + + + Die LaTeX Kommandos werden an der Stelle ausgeführt, an der sie in der Datei vorkommen. + Manche Kommandos müssen allerdings in der sog. Präambel der LaTeX-Datei + erscheinen. Das geschieht mit der Direktive preamble: + + + + LaTeX Kommando für die Präambel + {preamble:\usepackage(fancyheadings)} + + + + Die Direktive preamble kann irgendwo im Dokument stehen. + Die enthaltenen Kommandos erscheinen in der LaTeX-Präambel in der Reihenfolge, + in der sie in der Chord-Datei stehen. + +
+
+ LaTeX-Packete MusixTeX, MusixLyr und TabDefs + MusixTeX ist ein mächtiges LaTeX-Packet für Notensatz. MusixLyr + und TabDefs sind Ergänzungen zu MusixTeX für noch bessere Darstellung von + Text und Tabulaturen. Sie können diese Packete GuitarTeX direkt verwenden, indem Sie + eine (oder mehrere) dieser Direktiven irgendwo in Ihre Chord-Datei schreiben: + + + +{musixtex} +{musixlyr} +{tabdefs} + + + +Sie müssen die Packete korrekt installiert haben, um sie zu benutzen. +Bitte lesen Sie die Dokumentation zu den Packeten. + + + +Sie können nun LaTeX-Kommandos aus den Packeten MusixTeX, MusixLyr oder TabDefs +an jeder Stelle in der Datei verwenden oder mit include einbinden +(Beispiele siehe ). + + + + + +Übribens: beachten Sie den ersten Satz aus dem MusixTeX-Handbuch: + + + +"Wenn Sie sich mit LaTeX nicht wirklich auskennen schlage ich vor, ein anderes +Programm für den Notensatz zu verwenden. MusixTeX zu installieren und zu +beherrschen ist ein Sch...-Job, der viel Zeit und Plattenplatz verbraucht. +Aber wenn Sie es geschafft haben..." + + +Bitte haben Sie Verständnis, dass der Autor von GuitarTeX keinen Support für +die Installation oder die Anwendung von MusixTeX, MusixLyr oder TabDefs geben kann. + + +
+ Beispiele + + +MusixTeX + + + + + + + + +MusixTeX + + + + + +{musixtex} + +{soc} +[D]This is the [Bm]manual song +[A^7]No-one really knows what's [D]goin' on +[D]This is the [F#m]manual song +[A^7]And now the chorus is already [D]gone +{eoc} + +\hsize=100mm +\generalmeter{\meterfrac24}% +\parindent 0pt +\setsign1{-3} +\startpiece\bigaccid +\NOtes\qu{ce}\enotes +\bar +\NOtes\qu{gh}\enotes +\bar +\NOtes\qu{=b}\enotes +\Notes\ds\cu g\enotes +\bar +\NOtes\qu{^f=f}\enotes +\NOtes\qu{=e}\itied0e\qu{_e}\enotes +\bar +\Notes\ttie0\Qqbu ed{_d}c\enotes +\bar +\Notes\ibu0b{-2}\qb0{=b}\enotes +\notes\nbbu0\qb0{=a}\tqh0N\enotes +\Notes\Dqbu cf\enotes +\NOtes\uptext{\it tr}\qu e\uptext{\it tr}\qu d\enotes +\bar +\NOtes\qu c\qp\enotes +\setdoubleBAR +\stoppiece +\bigskip + +[D]The second verse is [A^7]like the [D]first, +The music poor, the [A^7]verse is [D]worse, +I wrote this since [A^7]I'd get [D]sued, +If I used real songs. [A^7]This'll [D]do. + + + + +Tempo-Angabe + + + + + + + + +Metronomic indication + + + + + +{musixtex} +{title:The Manual Song} +{st:No-one has yet claimed responsibility} + +\notes\metron{\qu}{60}\en + +[D]I print verses [A^7]in a [D]row, +The next line gets put [A^7]down be[D]low, +Mumble mumble [A^7]rhymes with [D]grow [G] [G#] [A] +Done this verse, now [A^7susX]on we [quietly]go! + + + +Verbesserter Satz von Text mit MusixLyr + + + + + + + + +MusixLyr example + + + + + +{musixtex} +{musixlyr} + +{soc} +[D]This is the [Bm]manual song +[A^7]No-one really knows what's [D]goin' on +[D]This is the [F#m]manual song +[A^7]And now the chorus is already [D]gone +{eoc} + +\par{ +\hsize=120mm +\setlyrstrut +\resetlyrics +\setlyrics{Winter1}{Win-ter a-de\rlap{,} a-ber dein Schei-den macht\rlap{,}} +\setlyrics{Winter2}{schei-den tut weh\rlap,} +\assignlyrics1{Winter1,Winter2} +\generalmeter{\meterfrac34} +\generalsignature2 +\setsongraise1{-2mm} +\startpiece +\NOtes\qa{ffe}\en\bar +\NOTesp\hup d\en\rightrepeat +\assignlyrics1{Winter1}% +\NOtes\qa{fgh}\en\bar +\NOtes\qa h\en +\Notes\beginmel\Ibu0gf1\qb0g\endmel\tqh0f\en +\NOtes\qa g\en +\endpiece +} + +[D]The second verse is [A^7]like the [D]first, +The music poor, the [A^7]verse is [D]worse, +I wrote this since [A^7]I'd get [D]sued, +If I used real songs. [A^7]This'll [D]do. + + +
+ +
+ &sflogo; + +
diff --git a/doc/de/links.xml b/doc/de/links.xml new file mode 100644 index 0000000..a61d0a6 --- /dev/null +++ b/doc/de/links.xml @@ -0,0 +1,51 @@ + + Links + +
+ Kontakte + + Um mit dem Autor und anderen Benutzern Kontakt aufzunehmen, verwenden Sie + bitte die Mailingliste: + +
+ +
+ Links +
+ LaTeX + + + CTAN: Comprehensive TeX Archive Network + + + +
+ +
+ Perl + + + CPAN: Comprehensive Perl Archive Network: + + + +
+ +
+ Guitar Sites + + + Top 100 Guitar Sites! + + + + Chordpack (ein weiteres auf LaTeX basierendes Programm für Gitarristen) + + + +
+ +
+ &sflogo; + +
diff --git a/doc/de/sflogo.xml b/doc/de/sflogo.xml new file mode 100644 index 0000000..6d8c5f4 --- /dev/null +++ b/doc/de/sflogo.xml @@ -0,0 +1,13 @@ + +hosted by +Sourceforge.net + + + + + +SourceForge Logo + + + + diff --git a/doc/en/Makefile b/doc/en/Makefile new file mode 100644 index 0000000..765fe17 --- /dev/null +++ b/doc/en/Makefile @@ -0,0 +1,2 @@ +html: + db2html guitartex.xml diff --git a/doc/en/acknowledgements.xml b/doc/en/acknowledgements.xml new file mode 100644 index 0000000..5bf4e9a --- /dev/null +++ b/doc/en/acknowledgements.xml @@ -0,0 +1,88 @@ + + Acknowledgements + + + Thanks to ... + + + Lucio F. Albenga + from Spain for his translation to the Spanish language + + + + + David Cuny + from Canada for his help on the first + version of this document + + + + Brian Ewins + from Scottland for his Program PStab and the Manual + Song + + + + Bernhard Gröne + from Germany for sending me his songbook creating scripts + + + + + Christoph Lange + from Germany for adding FindBin support + + + + + Gary Lawrence Murphy + from Canada for his tips and testing on several + versions + + + + Pawel Pastula + from Poland for his translation to the Polish language + + + + + + Kasper Peeters + from United Kingdom for allowing me to use the gchords package to display + chord symbols in LaTeX + + + + + Marcelo Pereira + from Brazil for his translation to the Brazilian language + + + + + Daniele Pighin + from Italy for many suggestions and his translation to the + Italian language + + + + Dan Polansky + from the Czech Republic for his program Chord + Pack + + + + the people from Sourceforge.net and Freshmeat.net + for their great open source servers + + + + all people from the open source community + who made Linux, KDE, LaTeX, MusixTeX,Perl and many other programs + I used to create GuitarTeX + + + &sflogo; + + diff --git a/doc/en/directives.xml b/doc/en/directives.xml new file mode 100755 index 0000000..5c6b1fb --- /dev/null +++ b/doc/en/directives.xml @@ -0,0 +1,876 @@ + + Supplied Chord directives + + Directives are Chord's commands between curly brackets {}, which control + the design of the produced output. Some often used directives can be + replaced + by a short cut (see examples). GuitarTeX provides some new directives + not known by the original Chord program. + + +
+ Special Characters + + + In GuitarTeX some characters have a special meaning: + + + + # at the beginning of a line marks the line as a comment. + The line is ignored by GuitarTeX + / may only be used to write slash + chords (e.g. A/E) + +
+ +
+ Page Layout + + The geometry directive provides an easy and flexible interface to + customize + page layout. It uses the LaTeX geometry package and it's description here + is a + (modified) part of the geometry package documentation. + + + The geometry directive implements auto-centering and auto-balancing + mechanisms + so that the users have only to give the least description for the page + layout. + In this case, what you have to do is just + + + {geometry:a4paper} + + + In addition to this centering problem, setting margins from each edge of + the + paper is also troublesome. However, with geometry package, you can do + + + {geometry:margin=1.5in} + + + if you want to set each margin 1.5in from each edge of the paper. + + + Lengths can be written in + + + + Centimeters (cm) + Millimeters (mm) + Inches (in) + Points (pt) + + +
+ Layout Dimensions + + + To realize a straightforward setting for page layout, the following page + structure is introduced: A paper contains a total body (printable area) + and + margins. The total body consists of a body (text area), a header, a + footer and a + marginal note which is optional. There are four margins: left-, right-, + top- and + bottom-margin. + + + paper: total-body (printable area) and margins +total-body: head, body(text area), foot and marginal notes +margins: left-, right-, top- and bottom-margin + + + Each margin is measured from the corresponding edge of a paper. For + example, + left-margin means a horizontal distance between the left edge of the + paper and + that of the total body. The dimensions for paper, totalbody and + margins have the following relations. + + + paperwidth = left + width + right +paperheight = top + height + bottom +
+ +
+ Option List + + + Options for <command>geometry</command> directive + + + + landscape + switches the paper orientation to landscape mode + + + portrait + switches the paper orientation to portrait mode + + + twoside + switches on two-sided printing. In this mode, specified + left + and right margins are switched over in each odd-numbered + page. + + + reversemp + makes the marginal notes appear in the left margin + + + nohead + eliminates spaces for the head of page + + + nofoot + eliminates spaces for the foot of page + + + noheadfoot + eliminates spaces for the head and foot of page + + + a4paper, a5paper,letterpaper, legalpaper + specifies paper name. They must be used with no + values. + + + paperwidth + width of the paper. paperwidth=<paperwidth> + + + paperheight + height of the paper. + paperheight=<paperheight> + + + width + width of the total body. width=<width>or + totalwidth=<width>. + This dimension should not be confused with textwidth, because + width includes + the width of marginal notes + + + height + height of the total body (including header and footer). + height=<height> + + + left + left margin of the total body. In other words, the distance + between the + left edge of the paper and that of the total + body.left=<leftmargin> + + + right + right margin of the total body. + right=<rightmargin> + + + top + top margin of the total body. top=<topmargin> + + + bottom + bottom margin of the total body. + bottom=<bottommargin> + + + margin + sets all margins of the total body. + margin=<margin> + + + textwidth + modifies width of text (body). + textwidth=<width> + + + textheight + modifies height of text (body). + textheight=<height> + + + marginpar + modifies width of the marginal notes. + marginpar=<length> + + + marginparsep + modifies separation between body and marginal notes. + marginparsep=<length> + + + head + modifies height of header. head=<length> + + + headsep + modifies separation between header and text (body). + headsep=<length> + + + foot + modifies distance separation between baseline of last line + of text and baseline of footer. foot=<length> + + + +
+
+ +
+ Examples + + + Set the height of the total body to be 10in, the bottom-margin 2cm, + and the width default. The top-margin will be calculated automatically: + + + {geometry:height=10in,bottom=2cm} + + or + + {g:height=10in,bottom=2cm} + + or + + {geometry:height=10in} +{g:bottom:=2cm} + + + Set the left-, right-, and top-margin 3cm, 2cm and 2.5in respectively. + The page header is not used. + + + {geometry:left=3cm,right=2cm, nohead, + top=2.5in} + + or + + {geometry:left=3cm} +{geometry:right=2cm} +{geometry:nohead} +{geometry:top=2.5in} + + or + + {g:left=3cm,right=2cm} +{g:nohead, top=2.5in} + + and so on ... + + + Modify the width of marginal notes to 3cm and include marginal + notes when adjusting horizontal partition + + + {geometry:marginpar=3cm} + + {geometry:marginpar=3cm, reversemp} + + makes the marginal notes appear in the left margin. + + Use A5 paper in landscape mode. + + {geometry:a5paper, landscape} + +
+
+ +
+ Document Structure + +
+ title + + The title of a piece of music is marked by the directive + title. + The title is printed centered with a larger font. In documents with more + than + one piece, title causes a page break. + + + + Directive <command>title</command> + {title:Go Down Moses} +{t:Go Down Moses} + +
+ +
+ subtitle + + The directive subtitle supplies additional + information, such as the name of the band or the composer. + + + + Directive <command>subtitle</command> + {subtitle:written by John Lennon / Paul McCartney} +{st:written by John Lennon / Paul McCartney} + +
+ +
+ sob, eob + + The bridge is marked with sob (start of bridge) at + the beginning, + and eob (end of bridge) at the end. The bridge is + output + in blue if you use a color printer. The color can be changed by the + color_bridge directive. + + + + Directive <command>sob</command>, <command>eob</command> + (from Here, There And Everywhere, Beatles): + {sob} +I want her [Ab]everywhere [Fm] +And if [Bbm]she's beside me [C^7]I know I need [Fm]never care +[Bb]But to love her [C^7]is to meet her +{eob} + +
+ +
+ soc, eoc + + The chorus is marked with soc (start of chorus) at + the beginning, + and eoc (end of chorus) the end. The chorus is output + in + red if you use a color printer. The color can be changed by the + color_chorus + directive (see ). + + + + Directive <command>soc</command>, <command>eoc</command> + (from With A Litle Help From My Friends, Beatles): + {soc} +Oh, I get [C]by with a little [G]help from my [D]friends +Mm, I get [C]high with a little [G]help from my [D]friends +Oh, I'm gonna [C]try with a little [G]help from my [D]friends +{eoc} + +
+ +
+ soi, eoi + + An instrumental part is marked with soi (start of + instrumental) + at the beginning, and eoi (end of instrumental) the + end. + The instrumental part is output in grey if you use a color printer. The + color + can be changed by the color_instr directive. + +
+ +
+ np + np stands for new page and creates a page + break. + + + Directive <command>np</command> + {np} + +
+ +
+ sot, eot + + Tablature is marked with sot (start of tablature) at + the + beginning, and eot (end of tablature) the end. + Tablature + output in green if you use a color printer. The color can be changed by + the + color_tab directive (see ). + The tablature is output in a non-proportional font. + + + + Directive <command>sot</command>, <command>eot</command> + (from Pretty Woman, Roy Orbison): + {sot} +E ---------------------|------------------------------------ +B ---------------------|------------------------------------ +G ---------------------|------------------------------------ +D -----------------0---|-------------------0---4---2---0---- +A -------------2-------|---------------2-------------------- +E -0---0---4-----------|---0---0---4------------------------ +{eot} + + + + If you don't like ascii tablatures and you look for a way to create + tablatures + more easily, see . + +
+ +
+ +
+ Fonts + + + The font and color directives can be placed anywhere in the Chord file, + though + it is usefull to place them at the beginning :-). The specified values are + valid + for the whole document! + + +
+ font_size + + LaTeX allows the three font sizes 10pt, 11pt and 12pt. GuitarTeX sets + the default value to 11pt (titles and subtitles are enlarged + automatically). If + you want a font size of 12pt you should write: + + + + Directive <command>font_size</command> + {font_size:12} + + + Note: do not write 12pt instead of 12! +
+ +
+ color_xxx + + The color directives allow to change the text color of the chorus, + bridge, + instrumental parts, tablatures and a second voice. For the second voice + even the + background color may be specified. So you can write white letters on a + colored + background for example. This will help the singers not getting confused + by many + lyrics lines :-) + + + The directives are named + + + color_chorus + color_bridge + color_instr + color_tab + color_second + color_second_back + + + + The parameters must be a comma separated list of three numbers between 0 + and + 1, giving the red, green and blue components of the color. + + + + Directive <command>color_chorus</command> (coloring the chorus + light blue): + {color_chorus:.5,.5,1} + +
+
+ +
+ Creating a Songbook + + The document_class and book_... directives can be placed anywhere in the + Chord file, though it is usefull to place them at the beginning :-). + + +
+ document_class + + + The document_class directive specifies the type of document you get. + There are two possible values: + + + + book + article (default if not specified) + + + + Directive <command>document_class</command> + {document_class:book} + + + The value book produces + + + a title page + a table of contents + headlines with page numbers + an index + +
+ +
+ book_title, book_author, book_date + + These three directives describe the content of the title + page. + + + + Directive <command>book_title</command>, + <command>book_author</command>, <command>book_date</command> + + {book_title:My Favourite Songs} +{book_author:My Name} +{book_date:September 2000} + + + + The value given in the book_title directive appears + in the headlines on even pages. + +
+ +
+ chapter + + + If the document_class is book, you can section + the document with the chapter directive. A chapter title page is + inserted at the occurance of the directive. + + + + Directive <command>chapter</command> + {chapter:Beatles} + + + + The chapter name appears in the table of contents and also + in the headlines on odd pages. + +
+ +
+ include + + If you have a collection of chord files you may want to create a + songbook (or + even several different songbooks) without merging all songs to one + single file. + Merging all files has some disadvantages, e.g. transposing one single + song is + no longer possible. With the include directive you may leave all files + as they + are. Just create a songbook file and include the files you want. + + + + Directive <command>include</command> + {document_class:book} +{book_title:} +{chapter:Name of chapter 1} +{include:song file 1} +{include:song file 2} +{chapter:Name of chapter 2} +{include:song file 3} +{include:song file 4} + + + In the example four song files are merged to a songbook with two + chapters. + +
+ +
+ even + + + The directive even makes the piece begin on the next + left + page. In a book this is useful for preventing a page turn in an two-page + piece. + The directive must be placed before the title directive in order to work + correctly. + + + + Directive <command>even</command> + {even} +{title:Proud Mary} +{st:Creedence Clearwater Revival 1972} + +
+
+ +
+ Guitar and Bass Tablatures + + GuitarTeX knows two new directives for printing tablature + lines: + + + {guitartab: } for guitar tablatures + {basstab: } for bass tablatures + + + + Every guitartab or basstab directive represents one line of tablature. + You can even create empty tablatures by typing {guitartab: } or {basstab: + }. + Leave an empty line before the tab directive to make it start at the left + margin. + + + Between the brackets you can type + + + normal text (e.g. lyrics): it is printed under the + tablature + notes in the format [string;fret], e.g. [2;5] means fifth + fret on the A string + bars (by typing the | character) + extra space between notes with the "_" + character + + +
+ Tablature icons + +
+ + + Instead of typing the lines by yourself, you can use the tablature icons + (see ). + Clicking on the Guitar or Bass button inserts the directive at the cursor + position. + To insert a note, type the fret number into the input field and then ckick + on a button to choose a string. The note will be inserted at the cursor + position. + After this the focus comes back to the input field (not to the main text + field) + so you can enter several notes by always typing the fret number and + clicking + the string button. + +
+ +Examples + + +Empty guitar tablature +{guitartab:} + + + + + + +Tablature example + + + + + + +A bass tab with some text +{basstab:some text} + + + + + + +Tablature example + + + + + + + + + + + + + + +Typesetting notes, bars and extra spaces +{guitartab:[2;3][3;0][3;2][3;3]|[4;0]__[4;2]__[5;0]__[5;1]|} + + + + + + +Tablature example + + + + + + +Putting text under the notes +{guitartab:[2;3]do [3;0]re [3;2]mi [3;3]fa |[4;0]so [4;2]la [5;0]si [5;1]do|} + + + + + + +Tablature example + + + + + + +A simple bass tab +{basstab:[2;5][2;5]|[2;5][2;5]|[3;5][3;5]|[2;5][2;5]|[3;7][3;7]|[3;5][3;5]|[2;5]} + + + + + + +Tablature example + + + + + + +Chords +{guitartab:[2;3]&[3;5]&[4;5]C (power chord) |[2;3]&[3;2]&[4;0]&[5;1]C chord} + + + + + + +Tablature example + + + + + + +
+ +
+ +
+ Others + +
+ define + + With the define directive you can force GuitarTeX to print a chord + symbol at the + end of a song. The directive can be placed anywhere in the song. + + + The define directive has eight parameters: + + + the chord name + the base fret + six fret values (an x means that the string isn't + played) + + + + + Directive <command>define</command> + {define:A 1 x 0 2 2 2 0} +{define:Cm 3 x 1 3 3 2 1} +{define:Gm/Bb 4 3 2 2 1 x x} + + + The result looks like . + +
+ Chord example + +
+ +
+ +
+ comment + The comment directive adds a text that isn't part of the + lyrics. + + + Directive <command>comment</command> + {comment: repeat chorus} +{c: repeat chorus} + +
+ +
+ margin + + The margin directive creates a marginal note. You can use it to place + small + hints for the musician. + + + + Directive <command>margin</command> + {margin:Fade Out} +{m:Fade Out} + +
+ +
+ second + + In some pieces you find a second voice that not only has a + counter-melody, but + also different lyrics than the first voice. Well known examples are + "California Dreaming" from The Mamas And The Papas and + "Help" from the Beatles. If you mark the second voice with the + directive "second", it will appear white on gray background, + distinguishing it from the melody. Because of the use of proportional + fonts, you + may have to experiment a bit with the amount of spaces before the text + is + placed correctly. + + + + Directive <command>second</command> (from Help!, The + Beatles) + [G] When I was younger so much [Hm]younger than today +{second:When when I was young} +[Em] I never needed anybody's [C]help in [F]any [G]way +{second:I never need help in any way} +[G]But now these days are gone and I'm [Bm]not so self assured +{second:Now these days are gone} +[Em] Now I find I've changed my mind, +{second:And now I find} +I've [C]opened [F]up the [G]doors +{second:I've opened up the doors} + +
+
+ &sflogo; + +
diff --git a/doc/en/editor.xml b/doc/en/editor.xml new file mode 100644 index 0000000..fc6930c --- /dev/null +++ b/doc/en/editor.xml @@ -0,0 +1,244 @@ + + Using the GuitarTeX editor + + + Starting + + To start the GuitarTeX editor just open a shell type the command + guitartex + + + + + Menus + + You can tear off any menu by clicking on the first entry (-----). This is + may be usefull for the directives or the transpose menu as you don't + allways have to invoke the menu to use the provided commands. + + + + File Menu + + New, Open, Save, Save as, Quit + + The menu commands New, Open, Save, Save as and Quit behave like you + know from + other GUI-based applications. Therefor no further description is + needed. Instead + of using the menu you may click on one of the icons + + + + + Export > LaTeX , Export > Postscript, Export > PDF + + The opened file will be saved and then converted to LaTeX , postscript + or PDF + format. The name of the resulting file is the original file name with + its + suffix changed to .tex, .ps or .pdf. Instead of using the menu you may + click on + one of the icons (see ). + +
+ Icons to create LaTeX, postscript or PDF output + + + +
+ +
+ + After creating the exported file, a viewer is opened to show the + result. + You may use your favourite viewer by changing the parameters + $text_viewer, $ps_viewer + or $pdf_viewer in the configuration file + (see ). + +
+
+ + + Edit Menu + + Cut, Copy, Paste + + If you want to cut, copy and paste parts of your text within your + document, + use the shortcuts ctrl-x (cut), ctrl-c (copy) and ctrl-v (paste). + + + + + Insert File + + After invoking the Insert File command, a file selector will pop up. + The choosen + file will be inserted at the current cursor position. + + + + + crd -> chopro + + You will often find song files in raw ascii format instead of Chord + format. + The lines look like this: + + + D A7 D +I print verses in a row, + A7 D +The next line gets put down below, + A7 D G G# A +Mumble mumble rhymes with grow + A7susx +Done this verse, now we go! + + + Place the cursor into the first line (the one with the chords) and + call the + crd->chopro command via menu or press the F9 key. The chord line and + the + following lyric line are converted into one line with Chord format. + The cursor + is placed in the next line. You only have to call the command (or + press the + F9 key) once again to continue converting the document. + + + + + + Directives Menu + + With this menu you can insert directives. The directives are explained + in + . + + + + + Songbook Menu + + Insert all available songbook directives instead of typing them in. The + songbook + directives are explained in the . + + + + + Colors Menu + + From this menu you can insert all available color directives. A color + selector + is opened (see figure ). + + +
+ Color selector + +
+ + + You have three alternatives to select your favourite color: + + + + doubleclick on a predefined color in the list on the + left side of the color selector + move the sliders in the middle of the color selector + (you may like to choose RGB color space instead of HSB color space before + this) + input RGB value into the input field called Name, not + really a good idea :-) + + + + The color directives may also be typed in manually. + They are explained in . + +
+ + + Transpose Menu + + Up, Down + + + The Up/Down command will transpose the whole song by one halftone up + or down. + You may use the F5 and F6 keys instead of the menu. In slash chords + (e.g. G/B) + both the chord name and the bass note (behind the slash) are + transposed. Slashes + may only be used to write slash chords + (see ). + + + + + b->#, #->b + + After transposing a song, the program doesn't know whether chords + should be + converted to flat or sharp notes. So all chords are written with + sharps if + necessary, e.g. C#. You can change them to flat, e.g. Db, and vice + versa + by using these commands. You may use the F7 and F8 keys instead of the + menu. + + + + + B->H, H->B + + In german notation the note B is written as H. With these commands you + can + change B to H and vice versa. + + + +
+ + + Chord Icons +
+ Chord icons + +
+ + + By clicking on one of the chord icons (see ) + the chosen chord is inserted at the + current cursor position. After this you may edit the chord manually to + modify it + e.g. to a minor chord. + +
+ + + Syntax Highlighting +
+ Syntax Highlighting Icon + +
+ + + Since version 2.6 GuitarTeX provides syntax highlighting for directives, + comments and chords. + You can configure the foreground and background colors in the + configuration file. + If you insert directives or chords with the menus and icons, highlighting + is done automatically. + After typing directives or chords manually just click on the syntax + highlighting icon + (see ). + +
+ &sflogo; + +
diff --git a/doc/en/examples.xml b/doc/en/examples.xml new file mode 100755 index 0000000..d1cc5dc --- /dev/null +++ b/doc/en/examples.xml @@ -0,0 +1,142 @@ + + Screenshots and examples + +
+Main window +
+ Main window + +
+ +
+ + +
+Song sheets + + +Single song sheet + + + + + + + + +Single song sheet + + + + + + + +Song sheet as part of a songbook + + + + + + + + +Songbook page + + + + + + +
+ +
+Chord table + +The following chord table is a part of the author's personal songbook. It was +created by the code below. + +Chord table + + + + + + + + +Chord table + + + + + + +{title:D} +{define:D 1 x x 0 2 3 2} +{define:D+ 1 x x 0 3 3 2} +{define:D4 1 x x 0 2 3 3} +{define:D6 1 x 0 0 2 0 2} +{define:D7 1 x x 0 2 1 2} +{define:D7#9 4 x 2 1 2 3 3} +{define:D7(#9) 4 x 2 1 2 3 3} +{define:D9 0 1 3 1 2 1 3} +{define:D11 1 3 0 0 2 1 0} +{define:Dsus 1 x x 0 2 3 3} +{define:Dsus2 1 0 0 0 2 3 0} +{define:Dsus4 1 x x 0 2 3 3} +{define:D7sus2 1 x 0 0 2 1 0} +{define:D7sus4 1 x 0 0 2 1 3} +{define:Dmaj 1 x x 0 2 3 2} +{define:Dmaj7 1 x x 0 2 2 2} +{define:Ddim 1 x x 0 1 0 1} +{define:Dm 1 x x 0 2 3 1} +{define:Dmin 1 x x 0 2 3 1} +{define:D/A 1 x 0 0 2 3 2} +{define:D/B 1 x 2 0 2 3 2} +{define:D/C 1 x 3 0 2 3 2} +{define:D/C# 1 x 4 0 2 3 2} +{define:D/E 7 x 1 1 1 1 x} +{define:D/G 1 3 x 0 2 3 2} +{define:D5/E 7 0 1 1 1 x x} +{define:Dadd9 1 0 0 0 2 3 2} +{define:D(add9) 1 0 0 0 2 3 2} +{define:D9add6 0 1 3 3 2 0 0} +{define:D9(add6)0 1 3 3 2 0 0} + +{define:Dm6(5b) 1 x x 0 1 0 1} +{define:Dm7 1 x x 0 2 1 1} +{define:Dm#5 1 x x 0 3 3 2} +{define:Dm(#5) 1 x x 0 3 3 2} +{define:Dm#7 1 x x 0 2 2 1} +{define:Dm(#7) 1 x x 0 2 2 1} +{define:Dm/A 1 x 0 0 2 3 1} +{define:Dm/B 1 x 2 0 2 3 1} +{define:Dm/C 1 x 3 0 2 3 1} +{define:Dm(F) 1 x x 3 2 3 1} +{define:Dm/C# 1 x 4 0 2 3 1} +{define:Dm9 1 x x 3 2 1 0} + + +
+ +
+Indexpage + + + + + + + + +Index Page + + + + + +
+ &sflogo; + +
diff --git a/doc/en/gtx2tex.xml b/doc/en/gtx2tex.xml new file mode 100644 index 0000000..92a08d7 --- /dev/null +++ b/doc/en/gtx2tex.xml @@ -0,0 +1,58 @@ + + Using the text filter gtx2tex + + +If you don't want to use the GuitarTeX editor or you prefer +to create the postscript or PDF output on a command line you may use +gtx2tex + + + + + +gtx2tex + + + +gtx2tex +converting chord files into TeX, postscript or PDF +format + + + +gtx2tex [--verbose] [--lyrics] [--output=ps|pdf] [--italian] <file> + + + +Options + + + + verbose + lets gtx2tex tell you what it is doing + + + + lyrics + print only lyrics + + + + output=ps|pdf + specify the output format; without the + output option a tex file is created + + + + italian + chord output is changed into the Italian notation + (Do, Re, Mi, Fa, Sol, La, Si) + + + + + + + &sflogo; + + diff --git a/doc/en/guitartex.xml b/doc/en/guitartex.xml new file mode 100755 index 0000000..f7c4a5a --- /dev/null +++ b/doc/en/guitartex.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + +]> + + + GuitarTeX + + &info; + &intro; + &install; + >x2tex; + &editor; + &directives; + &latex; + &examples; + &links; + + &acknowledgements; + + diff --git a/doc/en/guitartex/HTML.manifest b/doc/en/guitartex/HTML.manifest new file mode 100644 index 0000000..e3e7c5c --- /dev/null +++ b/doc/en/guitartex/HTML.manifest @@ -0,0 +1,29 @@ +book1.html +introduction.html +c87.html +requirements.html +installation.html +configfile.html +gtx2tex.html +r205.html +editor.html +x246.html +x318.html +x325.html +directives.html +geometry.html +x474.html +x542.html +songbook.html +tablature.html +others.html +latex.html +x782.html +examples.html +x858.html +x886.html +x903.html +links.html +x929.html +a959.html +ln12.html diff --git a/doc/en/guitartex/a959.html b/doc/en/guitartex/a959.html new file mode 100644 index 0000000..5395e4f --- /dev/null +++ b/doc/en/guitartex/a959.html @@ -0,0 +1,239 @@ +Acknowledgements
GuitarTeX
Prev 

Appendix A. Acknowledgements

Thanks to ...

Lucio F. Albenga

from Spain for his translation to the Spanish language +

David Cuny

from Canada for his help on the first + version of this document

Brian Ewins

from Scottland for his Program PStab and the Manual + Song

Bernhard Gröne

from Germany for sending me his songbook creating scripts +

Christoph Lange

from Germany for adding FindBin support +

Gary Lawrence Murphy

from Canada for his tips and testing on several + versions

Pawel Pastula

from Poland for his translation to the Polish language +

Kasper Peeters

from United Kingdom for allowing me to use the gchords package to display + chord symbols in LaTeX +

Marcelo Pereira

from Brazil for his translation to the Brazilian language +

Daniele Pighin

from Italy for many suggestions and his translation to the + Italian language

Dan Polansky

from the Czech Republic for his program Chord + Pack

the people from Sourceforge.net and Freshmeat.net

for their great open source servers

all people from the open source community

who made Linux, KDE, LaTeX, MusixTeX,Perl and many other programs + I used to create GuitarTeX

hosted by +Sourceforge.net + + +


PrevHome 
Links  
\ No newline at end of file diff --git a/doc/en/guitartex/book1.html b/doc/en/guitartex/book1.html new file mode 100644 index 0000000..5175c32 --- /dev/null +++ b/doc/en/guitartex/book1.html @@ -0,0 +1,851 @@ +GuitarTeX

GuitarTeX

Joachim Miltz

Copyright © 2000-2002 by Joachim Miltz

GuitarTeX is a tool for guitarists who want to print good looking and easy + to play song sheets or song books from their chord or chordpro files. + It uses the well known chord format with several extensions. + The program was developed on a Linux system, but it should run on any + other + Unix system with a Perl/TK environment. + See the Section called Installing in Chapter 2 for installing instructions and + the Section called Requirements in Chapter 2 for further requirements. +

hosted by +Sourceforge.net + + +


Table of Contents
1. Introduction
2. Installation
How to obtain GuitarTeX
Requirements
Installing
Configuration file
3. Using the text filter gtx2tex
gtx2tex -- converting chord files into TeX, postscript or PDF +format
4. Using the GuitarTeX editor
Starting
Menus
File Menu
Edit Menu
Directives Menu
Songbook Menu
Colors Menu
Transpose Menu
Chord Icons
Syntax Highlighting
5. Supplied Chord directives
Special Characters
Page Layout
Layout Dimensions
Option List
Examples
Document Structure
title
subtitle
sob, eob
soc, eoc
soi, eoi
np
sot, eot
Fonts
font_size
color_xxx
Creating a Songbook
document_class
book_title, book_author, book_date
chapter
include
even
Guitar and Bass Tablatures
Examples
Others
define
comment
margin
second
6. Using LaTeX commands and packages
Latex commands
LaTeX packages MusixTeX, MusixLyr and TabDefs
Examples
7. Screenshots and examples
Main window
Song sheets
Chord table
Indexpage
8. Related links
Contacts
Links
LaTeX
Perl
Guitar Sites
A. Acknowledgements
List of Tables
2-1. Configuration parameters
5-1. Options for geometry directive
List of Figures
1-1. Print output from example file
4-1. Icons to create LaTeX, postscript or PDF output
4-2. Color selector
4-3. Chord icons
4-4. Syntax Highlighting Icon
5-1. Tablature icons
5-2. Chord example
7-1. Main window
List of Examples
5-1. Directive title
5-2. Directive subtitle
5-3. Directive sob, eob + (from Here, There And Everywhere, Beatles):
5-4. Directive soc, eoc + (from With A Litle Help From My Friends, Beatles):
5-5. Directive np
5-6. Directive sot, eot + (from Pretty Woman, Roy Orbison):
5-7. Directive font_size
5-8. Directive color_chorus (coloring the chorus + light blue):
5-9. Directive document_class
5-10. Directive book_title, + book_author, book_date
5-11. Directive chapter
5-12. Directive include
5-13. Directive even
5-14. Empty guitar tablature
5-15. A bass tab with some text
5-16. Typesetting notes, bars and extra spaces
5-17. Putting text under the notes
5-18. A simple bass tab
5-19. Chords
5-20. Directive define
5-21. Directive comment
5-22. Directive margin
5-23. Directive second (from Help!, The + Beatles)
6-1. LaTeX command in chord file
6-2. LaTeX command to be placed in the preamble
6-3. MusixTeX
6-4. Metronomic indication
6-5. Enhanced lyrics typesetting with MusixLyr
7-1. Single song sheet
7-2. Song sheet as part of a songbook
7-3. Chord table

  Next
  Introduction
\ No newline at end of file diff --git a/doc/en/guitartex/c87.html b/doc/en/guitartex/c87.html new file mode 100644 index 0000000..77dfac0 --- /dev/null +++ b/doc/en/guitartex/c87.html @@ -0,0 +1,194 @@ +Installation
GuitarTeX
PrevNext

Chapter 2. Installation

Table of Contents
How to obtain GuitarTeX
Requirements
Installing
Configuration file

How to obtain GuitarTeX

The current version can be obtained from the GuitarTeX download page: + http://sf.net/project/showfiles.php?group_id=13226. +

hosted by +Sourceforge.net + + +


PrevHomeNext
Introduction Requirements
\ No newline at end of file diff --git a/doc/en/guitartex/configfile.html b/doc/en/guitartex/configfile.html new file mode 100644 index 0000000..9b42196 --- /dev/null +++ b/doc/en/guitartex/configfile.html @@ -0,0 +1,385 @@ +Configuration file
GuitarTeX
PrevChapter 2. InstallationNext

Configuration file

GuitarTeX looks for a configuration file called .guitartexrc in your +home directory. + Parameters are set in perl syntax, for example: +
$language = "de";
+

Table 2-1. Configuration parameters

parametermeaning
languagechoose your favourite language
tool_tipsswitch on or off tool tips for +the icons
highlightswitch on or off syntax highlighting
highlight_directive_foregroundhighlighting foreground color for directives
highlight_directive_backgroundhighlighting background color for directives
highlight_chord_foregroundhighlighting foreground color for chords
highlight_chord_backgroundhighlighting background color for chords
highlight_comment_foregroundhighlighting foreground color for comments
highlight_comment_backgroundhighlighting background color for comments
font_sizedefault font size
color_chorusdefault color for chorus sections in printed + output
color_bridgedefault color for bridge sections in printed + output
color_instrdefault color for instrumental sections in printed + output
color_tabdefault color for ascii tablature sections in printed + output
color_seconddefault foreground color for second voice sections in printed + output
color_second_backdefault background color for second voice sections in printed + output
text_viewerprogram to view the TeX file created by the export + function
ps_viewerprogram to view the postscript file created by the export + function
pdf_viewerprogram to view the PDF file created by the export + function

PrevHomeNext
InstallingUpUsing the text filter gtx2tex
\ No newline at end of file diff --git a/doc/en/guitartex/directives.html b/doc/en/guitartex/directives.html new file mode 100644 index 0000000..b28e9cb --- /dev/null +++ b/doc/en/guitartex/directives.html @@ -0,0 +1,225 @@ +Supplied Chord directives
GuitarTeX
PrevNext

Chapter 5. Supplied Chord directives

Table of Contents
Special Characters
Page Layout
Document Structure
Fonts
Creating a Songbook
Guitar and Bass Tablatures
Others

Directives are Chord's commands between curly brackets {}, which control + the design of the produced output. Some often used directives can be + replaced + by a short cut (see examples). GuitarTeX provides some new directives + not known by the original Chord program. +

Special Characters

In GuitarTeX some characters have a special meaning: +

  • # at the beginning of a line marks the line as a comment. + The line is ignored by GuitarTeX

  • / may only be used to write slash + chords (e.g. A/E)

hosted by +Sourceforge.net + + +


PrevHomeNext
Syntax Highlighting Page Layout
\ No newline at end of file diff --git a/doc/en/guitartex/docbook.css b/doc/en/guitartex/docbook.css new file mode 100644 index 0000000..0f90516 --- /dev/null +++ b/doc/en/guitartex/docbook.css @@ -0,0 +1,12 @@ +.NAVHEADER { display: none } +.NAVFOOTER { display: none } +.TOC { display: none } + +.NAVTOC { margin-left: 15; + display: none } + +.NAVBTN { font-size: 10pt } + +.TOCTITLE { font-size: 10pt; + color: blue; + text-decoration: underline; } diff --git a/doc/en/guitartex/editor.html b/doc/en/guitartex/editor.html new file mode 100644 index 0000000..f92d6e7 --- /dev/null +++ b/doc/en/guitartex/editor.html @@ -0,0 +1,192 @@ +Using the GuitarTeX editor
GuitarTeX
PrevNext

Chapter 4. Using the GuitarTeX editor

Table of Contents
Starting
Menus
Chord Icons
Syntax Highlighting

Starting

To start the GuitarTeX editor just open a shell type the command + guitartex

hosted by +Sourceforge.net + + +


PrevHomeNext
gtx2tex Menus
\ No newline at end of file diff --git a/doc/en/guitartex/examples.html b/doc/en/guitartex/examples.html new file mode 100644 index 0000000..865b867 --- /dev/null +++ b/doc/en/guitartex/examples.html @@ -0,0 +1,199 @@ +Screenshots and examples
GuitarTeX
PrevNext

Chapter 7. Screenshots and examples

Table of Contents
Main window
Song sheets
Chord table
Indexpage

Main window

Figure 7-1. Main window

hosted by +Sourceforge.net + + +


PrevHomeNext
LaTeX packages MusixTeX, MusixLyr and TabDefs Song sheets
\ No newline at end of file diff --git a/doc/en/guitartex/geometry.html b/doc/en/guitartex/geometry.html new file mode 100644 index 0000000..8f01cdc --- /dev/null +++ b/doc/en/guitartex/geometry.html @@ -0,0 +1,701 @@ +Page Layout
GuitarTeX
PrevChapter 5. Supplied Chord directivesNext

Page Layout

The geometry directive provides an easy and flexible interface to + customize + page layout. It uses the LaTeX geometry package and it's description here + is a + (modified) part of the geometry package documentation. +

The geometry directive implements auto-centering and auto-balancing + mechanisms + so that the users have only to give the least description for the page + layout. + In this case, what you have to do is just +

{geometry:a4paper}

In addition to this centering problem, setting margins from each edge of + the + paper is also troublesome. However, with geometry package, you can do +

{geometry:margin=1.5in}

if you want to set each margin 1.5in from each edge of the paper. +

Lengths can be written in +

Layout Dimensions

To realize a straightforward setting for page layout, the following page + structure is introduced: A paper contains a total body (printable area) + and + margins. The total body consists of a body (text area), a header, a + footer and a + marginal note which is optional. There are four margins: left-, right-, + top- and + bottom-margin. +

paper: total-body (printable area) and margins
+total-body: head, body(text area), foot and marginal notes
+margins: left-, right-, top- and bottom-margin

Each margin is measured from the corresponding edge of a paper. For + example, + left-margin means a horizontal distance between the left edge of the + paper and + that of the total body. The dimensions for paper, totalbody and + margins have the following relations. +

paperwidth = left + width + right
+paperheight = top + height + bottom

Option List

Table 5-1. Options for geometry directive

landscapeswitches the paper orientation to landscape mode
portraitswitches the paper orientation to portrait mode
twosideswitches on two-sided printing. In this mode, specified + left + and right margins are switched over in each odd-numbered + page.
reversempmakes the marginal notes appear in the left margin
noheadeliminates spaces for the head of page
nofooteliminates spaces for the foot of page
noheadfooteliminates spaces for the head and foot of page
a4paper, a5paper,letterpaper, legalpaperspecifies paper name. They must be used with no + values.
paperwidthwidth of the paper. paperwidth=<paperwidth>
paperheightheight of the paper. + paperheight=<paperheight>
widthwidth of the total body. width=<width>or + totalwidth=<width>. + This dimension should not be confused with textwidth, because + width includes + the width of marginal notes
heightheight of the total body (including header and footer). + height=<height>
leftleft margin of the total body. In other words, the distance + between the + left edge of the paper and that of the total + body.left=<leftmargin>
rightright margin of the total body. + right=<rightmargin>
toptop margin of the total body. top=<topmargin>
bottombottom margin of the total body. + bottom=<bottommargin>
marginsets all margins of the total body. + margin=<margin>
textwidthmodifies width of text (body). + textwidth=<width>
textheightmodifies height of text (body). + textheight=<height>
marginparmodifies width of the marginal notes. + marginpar=<length>
marginparsepmodifies separation between body and marginal notes. + marginparsep=<length>
headmodifies height of header. head=<length>
headsepmodifies separation between header and text (body). + headsep=<length>
footmodifies distance separation between baseline of last line + of text and baseline of footer. foot=<length>

Examples

Set the height of the total body to be 10in, the bottom-margin 2cm, + and the width default. The top-margin will be calculated automatically: +

{geometry:height=10in,bottom=2cm}

or

{g:height=10in,bottom=2cm}

or

{geometry:height=10in}
+{g:bottom:=2cm}

Set the left-, right-, and top-margin 3cm, 2cm and 2.5in respectively. + The page header is not used. +

{geometry:left=3cm,right=2cm, nohead,
+ top=2.5in}

or

{geometry:left=3cm}
+{geometry:right=2cm}
+{geometry:nohead}
+{geometry:top=2.5in}

or

{g:left=3cm,right=2cm}
+{g:nohead, top=2.5in}

and so on ...

Modify the width of marginal notes to 3cm and include marginal + notes when adjusting horizontal partition +

{geometry:marginpar=3cm}
{geometry:marginpar=3cm, reversemp}

makes the marginal notes appear in the left margin.

Use A5 paper in landscape mode.

{geometry:a5paper, landscape}

PrevHomeNext
Supplied Chord directivesUpDocument Structure
\ No newline at end of file diff --git a/doc/en/guitartex/gtx2tex.html b/doc/en/guitartex/gtx2tex.html new file mode 100644 index 0000000..839ff70 --- /dev/null +++ b/doc/en/guitartex/gtx2tex.html @@ -0,0 +1,153 @@ +Using the text filter gtx2tex
GuitarTeX
PrevNext

Chapter 3. Using the text filter gtx2tex

If you don't want to use the GuitarTeX editor or you prefer +to create the postscript or PDF output on a command line you may use +gtx2tex +

hosted by +Sourceforge.net + + +


PrevHomeNext
Configuration file gtx2tex
\ No newline at end of file diff --git a/doc/en/guitartex/installation.html b/doc/en/guitartex/installation.html new file mode 100644 index 0000000..70314f8 --- /dev/null +++ b/doc/en/guitartex/installation.html @@ -0,0 +1,190 @@ +Installing
GuitarTeX
PrevChapter 2. InstallationNext

Installing

To install GuitarTeX do the following:

You may now delete the guitartex-x.x directory

"make conf" copies the configuration file into ~/.guitartexrc. + you may customize GuitarTeX by changing the configuration parameters + explained below. +


PrevHomeNext
RequirementsUpConfiguration file
\ No newline at end of file diff --git a/doc/en/guitartex/introduction.html b/doc/en/guitartex/introduction.html new file mode 100644 index 0000000..5e75ffb --- /dev/null +++ b/doc/en/guitartex/introduction.html @@ -0,0 +1,360 @@ +Introduction
GuitarTeX
PrevNext

Chapter 1. Introduction

First of all: my written English isn't perfect, but I hope this text will + help you nevertheless! For suggestions see the Section called Contacts in Chapter 8.. +

GuitarTeX is a tool for guitarists who want to print good looking +and easy to play song sheets or song books from their chord or chordpro files. +It uses the well known chord format with several extensions. +

It is based upon an idea of Martin Leclerc and Mario Dorion from + Canada + and their program Chord (Version 3.5 from 1993). To use GuitarTeX, you + need + to have knowledge of the Chord program (explained later). Though the LaTeX + text processing system is used by GuitarTeX, you don't have to know very + much + about it. GuitarTeX produces Postscript or PDF output automatically (if + you + want). The Chord directives supplied by GuitarTeX are described in + Chapter 5. +

Features

GuitarTeX converts a file with lyrics and chords in a special format to a + LaTeX file. Here is an example input file: +

{title:The Manual Song}
+{st:No-one has yet claimed responsibility}
+[D]I print verses [A^7]in a [D]row,
+The next line gets put [A^7]down be[D]low,
+Mumble mumble [A^7]rhymes with [D]grow [G]     [G#]     [A]
+Done this verse, now [A^7susX]on we [quietly]go!
+
+{soc}
+[D]This is the [Bm]manual song
+[A^7]No-one really knows what's [D]goin' on
+[D]This is the [F#m]manual song
+[A^7]And now the chorus is already [D]gone
+{eoc}
+
+[D]The second verse is [A^7]like the [D]first,
+The music poor, the [A^7]verse is [D]worse,
+I wrote this since [A^7]I'd get [D]sued,
+If I used real songs. [A^7]This'll [D]do.
+
+{c:repeat chorus}

The ^-sign is new for users of other Chord clones. + It makes the following characters appear superscript. + You can see the output in Figure 1-1. +

Figure 1-1. Print output from example file

+

GuitarTeX converts the Chord format into "normal" LaTeX format like a kind + of preprocessor. This may be a single song or even a complete songbook. + You may as well translate your chord file directly into postscript or PDF + format. +

If you know LaTeX, you may edit the output file. The advantage of + GuitarTeX is that you can use all LaTeX features to design a single song + sheet or songbook, e.g.: packages like graphics or MusicTeX, table of + contents, marginal notes, and so on. +

hosted by +Sourceforge.net + + +


PrevHomeNext
GuitarTeX Installation
\ No newline at end of file diff --git a/doc/en/guitartex/latex.html b/doc/en/guitartex/latex.html new file mode 100644 index 0000000..9caa7a0 --- /dev/null +++ b/doc/en/guitartex/latex.html @@ -0,0 +1,252 @@ +Using LaTeX commands and packages
GuitarTeX
PrevNext

Chapter 6. Using LaTeX commands and packages

Table of Contents
Latex commands
LaTeX packages MusixTeX, MusixLyr and TabDefs

Latex commands

As I mentioned in the introduction, you don't have to know very + much about LaTeX to use GuitarTeX. You can use it even if you don't know + anything about LaTeX. +

If you are familiar with LaTeX you can use any feature of it to improve your + song sheet or book. All lines of your chord file that begin with a backslash + will be left untouched by GuitarTeX. You may test this by inserting a simple + LaTeX command like this: +

Example 6-1. LaTeX command in chord file

\marginpar{test}

The result will be a marginal note with the word test.

The LaTeX commands will be executed at the position they appear in the chord + file. + But sometimes you may want to add a command to the preamble, e.g. to include + other + LaTeX packages. This can be done using the preamble + directive: +

Example 6-2. LaTeX command to be placed in the preamble

{preamble:\usepackage(fancyheadings)}

The preamble directives may occur anywhere in your song. + They are added to the LaTeX preamble in the same order they appear in the + chord file. +

hosted by +Sourceforge.net + + +


PrevHomeNext
Others LaTeX packages MusixTeX, MusixLyr and TabDefs
\ No newline at end of file diff --git a/doc/en/guitartex/links.html b/doc/en/guitartex/links.html new file mode 100644 index 0000000..f364e17 --- /dev/null +++ b/doc/en/guitartex/links.html @@ -0,0 +1,184 @@ +Related links
GuitarTeX
PrevNext

Chapter 8. Related links

Table of Contents
Contacts
Links

Contacts

To contact the author or other GuitarTeX users use + the mailing list: http://lists.sourceforge.net/lists/listinfo/guitartex-users +

hosted by +Sourceforge.net + + +


PrevHomeNext
Indexpage Links
\ No newline at end of file diff --git a/doc/en/guitartex/ln12.html b/doc/en/guitartex/ln12.html new file mode 100644 index 0000000..470c871 --- /dev/null +++ b/doc/en/guitartex/ln12.html @@ -0,0 +1,100 @@ +
GuitarTeX

This program is free software; you can redistribute it and/or modify it + under + the terms of the GNU General Public License as published by the Free + Software + Foundation; either version 2 of the License, or (at your option) any later + version. +

This program is distributed in the hope that it will be useful, but + WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. +

You should have received a copy of the GNU General Public License along + with + this program; if not, write to the Free Software Foundation, Inc., 675 + Mass + Ave, Cambridge, MA 02139, USA. +


 Home 
\ No newline at end of file diff --git a/doc/en/guitartex/others.html b/doc/en/guitartex/others.html new file mode 100644 index 0000000..a5a60df --- /dev/null +++ b/doc/en/guitartex/others.html @@ -0,0 +1,352 @@ +Others
GuitarTeX
PrevChapter 5. Supplied Chord directivesNext

Others

define

With the define directive you can force GuitarTeX to print a chord + symbol at the + end of a song. The directive can be placed anywhere in the song. +

The define directive has eight parameters:

  • the chord name

  • the base fret

  • six fret values (an x means that the string isn't + played)

Example 5-20. Directive define

{define:A	1 x 0 2 2 2 0}
+{define:Cm	3 x 1 3 3 2 1}
+{define:Gm/Bb	4 3 2 2 1 x x}

The result looks like Figure 5-2.

Figure 5-2. Chord example

comment

The comment directive adds a text that isn't part of the + lyrics.

Example 5-21. Directive comment

{comment: repeat chorus}
+{c: repeat chorus}

margin

The margin directive creates a marginal note. You can use it to place + small + hints for the musician. +

Example 5-22. Directive margin

{margin:Fade Out}
+{m:Fade Out}

second

In some pieces you find a second voice that not only has a + counter-melody, but + also different lyrics than the first voice. Well known examples are + "California Dreaming" from The Mamas And The Papas and + "Help" from the Beatles. If you mark the second voice with the + directive "second", it will appear white on gray background, + distinguishing it from the melody. Because of the use of proportional + fonts, you + may have to experiment a bit with the amount of spaces before the text + is + placed correctly. +

Example 5-23. Directive second (from Help!, The + Beatles)

[G] When I was younger so much [Hm]younger than today
+{second:When when I was young}
+[Em] I never needed anybody's [C]help in [F]any [G]way
+{second:I never need help in any way}
+[G]But now these days are gone and I'm [Bm]not so self assured
+{second:Now these days are gone}
+[Em] Now I find I've changed my mind,
+{second:And now I find}
+I've [C]opened [F]up the [G]doors
+{second:I've opened up the doors}

PrevHomeNext
Guitar and Bass TablaturesUpUsing LaTeX commands and packages
\ No newline at end of file diff --git a/doc/en/guitartex/r205.html b/doc/en/guitartex/r205.html new file mode 100644 index 0000000..89452c5 --- /dev/null +++ b/doc/en/guitartex/r205.html @@ -0,0 +1,209 @@ +gtx2tex
GuitarTeX
PrevNext

gtx2tex

Name

gtx2tex -- converting chord files into TeX, postscript or PDF +format

Synopsis


gtx2tex [--verbose] [--lyrics] [--output=ps|pdf] [--italian] <file>
+

Options

verbose

lets gtx2tex tell you what it is doing

lyrics

print only lyrics

output=ps|pdf

specify the output format; without the + output option a tex file is created

italian

chord output is changed into the Italian notation + (Do, Re, Mi, Fa, Sol, La, Si)

+


PrevHomeNext
Using the text filter gtx2texUpUsing the GuitarTeX editor
\ No newline at end of file diff --git a/doc/en/guitartex/requirements.html b/doc/en/guitartex/requirements.html new file mode 100644 index 0000000..75bf2cb --- /dev/null +++ b/doc/en/guitartex/requirements.html @@ -0,0 +1,177 @@ +Requirements
GuitarTeX
PrevChapter 2. InstallationNext

Requirements

GuitarTeX was created under Linux operating system. + It should run with any Linux dristribution and also on any other Unix + system. In addition it requires + + +

+ +to be installed on your system.To create pdf output, your LaTeX distribution +should also include + +

+ +


PrevHomeNext
InstallationUpInstalling
\ No newline at end of file diff --git a/doc/en/guitartex/songbook.html b/doc/en/guitartex/songbook.html new file mode 100644 index 0000000..4776051 --- /dev/null +++ b/doc/en/guitartex/songbook.html @@ -0,0 +1,415 @@ +Creating a Songbook
GuitarTeX
PrevChapter 5. Supplied Chord directivesNext

Creating a Songbook

The document_class and book_... directives can be placed anywhere in the + Chord file, though it is usefull to place them at the beginning :-). +

document_class

The document_class directive specifies the type of document you get. + There are two possible values: +

  • book

  • article (default if not specified)

Example 5-9. Directive document_class

{document_class:book}

The value book produces

  • a title page

  • a table of contents

  • headlines with page numbers

  • an index

book_title, book_author, book_date

These three directives describe the content of the title + page.

Example 5-10. + Directive book_title, + book_author, book_date +

{book_title:My Favourite Songs}
+{book_author:My Name}
+{book_date:September 2000}

The value given in the book_title directive appears + in the headlines on even pages. +

chapter

If the document_class is book, you can section + the document with the chapter directive. A chapter title page is + inserted at the occurance of the directive. +

Example 5-11. Directive chapter

{chapter:Beatles}

The chapter name appears in the table of contents and also + in the headlines on odd pages. +

include

If you have a collection of chord files you may want to create a + songbook (or + even several different songbooks) without merging all songs to one + single file. + Merging all files has some disadvantages, e.g. transposing one single + song is + no longer possible. With the include directive you may leave all files + as they + are. Just create a songbook file and include the files you want. +

Example 5-12. Directive include

{document_class:book}
+{book_title:}
+{chapter:Name of chapter 1}
+{include:song file 1}
+{include:song file 2}
+{chapter:Name of chapter 2}
+{include:song file 3}
+{include:song file 4}

In the example four song files are merged to a songbook with two + chapters.

even

The directive even makes the piece begin on the next + left + page. In a book this is useful for preventing a page turn in an two-page + piece. + The directive must be placed before the title directive in order to work + correctly. +

Example 5-13. Directive even

{even}
+{title:Proud Mary}
+{st:Creedence Clearwater Revival 1972}

PrevHomeNext
FontsUpGuitar and Bass Tablatures
\ No newline at end of file diff --git a/doc/en/guitartex/stylesheet-images/caution.gif b/doc/en/guitartex/stylesheet-images/caution.gif new file mode 100644 index 0000000..9cc2e15 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/caution.gif differ diff --git a/doc/en/guitartex/stylesheet-images/home.gif b/doc/en/guitartex/stylesheet-images/home.gif new file mode 100644 index 0000000..55e1d59 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/home.gif differ diff --git a/doc/en/guitartex/stylesheet-images/important.gif b/doc/en/guitartex/stylesheet-images/important.gif new file mode 100644 index 0000000..25e40c7 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/important.gif differ diff --git a/doc/en/guitartex/stylesheet-images/next.gif b/doc/en/guitartex/stylesheet-images/next.gif new file mode 100644 index 0000000..8c502e7 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/next.gif differ diff --git a/doc/en/guitartex/stylesheet-images/note.gif b/doc/en/guitartex/stylesheet-images/note.gif new file mode 100644 index 0000000..7322e8e Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/note.gif differ diff --git a/doc/en/guitartex/stylesheet-images/prev.gif b/doc/en/guitartex/stylesheet-images/prev.gif new file mode 100644 index 0000000..0894d9e Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/prev.gif differ diff --git a/doc/en/guitartex/stylesheet-images/tip.gif b/doc/en/guitartex/stylesheet-images/tip.gif new file mode 100644 index 0000000..f062955 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/tip.gif differ diff --git a/doc/en/guitartex/stylesheet-images/toc-blank.gif b/doc/en/guitartex/stylesheet-images/toc-blank.gif new file mode 100644 index 0000000..6c65e3a Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/toc-blank.gif differ diff --git a/doc/en/guitartex/stylesheet-images/toc-minus.gif b/doc/en/guitartex/stylesheet-images/toc-minus.gif new file mode 100644 index 0000000..40ebe61 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/toc-minus.gif differ diff --git a/doc/en/guitartex/stylesheet-images/toc-plus.gif b/doc/en/guitartex/stylesheet-images/toc-plus.gif new file mode 100644 index 0000000..3e9e7d5 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/toc-plus.gif differ diff --git a/doc/en/guitartex/stylesheet-images/up.gif b/doc/en/guitartex/stylesheet-images/up.gif new file mode 100644 index 0000000..e899a27 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/up.gif differ diff --git a/doc/en/guitartex/stylesheet-images/warning.gif b/doc/en/guitartex/stylesheet-images/warning.gif new file mode 100644 index 0000000..a587079 Binary files /dev/null and b/doc/en/guitartex/stylesheet-images/warning.gif differ diff --git a/doc/en/guitartex/tablature.html b/doc/en/guitartex/tablature.html new file mode 100644 index 0000000..4f925b5 --- /dev/null +++ b/doc/en/guitartex/tablature.html @@ -0,0 +1,417 @@ +Guitar and Bass Tablatures
GuitarTeX
PrevChapter 5. Supplied Chord directivesNext

Guitar and Bass Tablatures

GuitarTeX knows two new directives for printing tablature + lines:

Every guitartab or basstab directive represents one line of tablature. + You can even create empty tablatures by typing {guitartab: } or {basstab: + }. + Leave an empty line before the tab directive to make it start at the left + margin. +

Between the brackets you can type

Figure 5-1. Tablature icons

Instead of typing the lines by yourself, you can use the tablature icons + (see Figure 5-1). + Clicking on the Guitar or Bass button inserts the directive at the cursor + position. + To insert a note, type the fret number into the input field and then ckick + on a button to choose a string. The note will be inserted at the cursor + position. + After this the focus comes back to the input field (not to the main text + field) + so you can enter several notes by always typing the fret number and + clicking + the string button. +

Examples

Example 5-14. Empty guitar tablature

{guitartab:}

+

Example 5-15. A bass tab with some text

{basstab:some text}

+

Example 5-16. Typesetting notes, bars and extra spaces

{guitartab:[2;3][3;0][3;2][3;3]|[4;0]__[4;2]__[5;0]__[5;1]|}

+

Example 5-17. Putting text under the notes

{guitartab:[2;3]do [3;0]re [3;2]mi [3;3]fa |[4;0]so [4;2]la [5;0]si [5;1]do|}

+

Example 5-18. A simple bass tab

{basstab:[2;5][2;5]|[2;5][2;5]|[3;5][3;5]|[2;5][2;5]|[3;7][3;7]|[3;5][3;5]|[2;5]}

+

Example 5-19. Chords

{guitartab:[2;3]&[3;5]&[4;5]C (power chord) |[2;3]&[3;2]&[4;0]&[5;1]C chord}

+


PrevHomeNext
Creating a SongbookUpOthers
\ No newline at end of file diff --git a/doc/en/guitartex/x246.html b/doc/en/guitartex/x246.html new file mode 100644 index 0000000..f9f3bc7 --- /dev/null +++ b/doc/en/guitartex/x246.html @@ -0,0 +1,479 @@ +Menus
GuitarTeX
PrevChapter 4. Using the GuitarTeX editorNext

Menus

You can tear off any menu by clicking on the first entry (-----). This is + may be usefull for the directives or the transpose menu as you don't + allways have to invoke the menu to use the provided commands. +

File Menu

New, Open, Save, Save as, Quit

The menu commands New, Open, Save, Save as and Quit behave like you + know from + other GUI-based applications. Therefor no further description is + needed. Instead + of using the menu you may click on one of the icons +

Export > LaTeX , Export > Postscript, Export > PDF

The opened file will be saved and then converted to LaTeX , postscript + or PDF + format. The name of the resulting file is the original file name with + its + suffix changed to .tex, .ps or .pdf. Instead of using the menu you may + click on + one of the icons (see Figure 4-1). + +

Figure 4-1. Icons to create LaTeX, postscript or PDF output

+ +

After creating the exported file, a viewer is opened to show the + result. + You may use your favourite viewer by changing the parameters + $text_viewer, $ps_viewer + or $pdf_viewer in the configuration file + (see the Section called Configuration file in Chapter 2). +

Edit Menu

Cut, Copy, Paste

If you want to cut, copy and paste parts of your text within your + document, + use the shortcuts ctrl-x (cut), ctrl-c (copy) and ctrl-v (paste). +

Insert File

After invoking the Insert File command, a file selector will pop up. + The choosen + file will be inserted at the current cursor position. +

crd -> chopro

You will often find song files in raw ascii format instead of Chord + format. + The lines look like this: +

D              A7   D
+I print verses in a row,
+                       A7     D
+The next line gets put down below,
+              A7          D    G    G#       A
+Mumble mumble rhymes with grow
+                     A7susx
+Done this verse, now we go!

Place the cursor into the first line (the one with the chords) and + call the + crd->chopro command via menu or press the F9 key. The chord line and + the + following lyric line are converted into one line with Chord format. + The cursor + is placed in the next line. You only have to call the command (or + press the + F9 key) once again to continue converting the document. +

Directives Menu

With this menu you can insert directives. The directives are explained + in + Chapter 5. +

Songbook Menu

Insert all available songbook directives instead of typing them in. The + songbook + directives are explained in the the Section called Creating a Songbook in Chapter 5. +

Colors Menu

From this menu you can insert all available color directives. A color + selector + is opened (see figure Figure 4-2). +

Figure 4-2. Color selector

You have three alternatives to select your favourite color: +

  • doubleclick on a predefined color in the list on the + left side of the color selector

  • move the sliders in the middle of the color selector + (you may like to choose RGB color space instead of HSB color space before + this)

  • input RGB value into the input field called Name, not + really a good idea :-)

The color directives may also be typed in manually. + They are explained in the Section called color_xxx in Chapter 5. +

Transpose Menu

Up, Down

The Up/Down command will transpose the whole song by one halftone up + or down. + You may use the F5 and F6 keys instead of the menu. In slash chords + (e.g. G/B) + both the chord name and the bass note (behind the slash) are + transposed. Slashes + may only be used to write slash chords + (see the Section called Special Characters in Chapter 5). +

b->#, #->b

After transposing a song, the program doesn't know whether chords + should be + converted to flat or sharp notes. So all chords are written with + sharps if + necessary, e.g. C#. You can change them to flat, e.g. Db, and vice + versa + by using these commands. You may use the F7 and F8 keys instead of the + menu. +

B->H, H->B

In german notation the note B is written as H. With these commands you + can + change B to H and vice versa. +


PrevHomeNext
Using the GuitarTeX editorUpChord Icons
\ No newline at end of file diff --git a/doc/en/guitartex/x318.html b/doc/en/guitartex/x318.html new file mode 100644 index 0000000..89d8130 --- /dev/null +++ b/doc/en/guitartex/x318.html @@ -0,0 +1,162 @@ +Chord Icons
GuitarTeX
PrevChapter 4. Using the GuitarTeX editorNext

Chord Icons

Figure 4-3. Chord icons

By clicking on one of the chord icons (see Figure 4-3) + the chosen chord is inserted at the + current cursor position. After this you may edit the chord manually to + modify it + e.g. to a minor chord. +


PrevHomeNext
MenusUpSyntax Highlighting
\ No newline at end of file diff --git a/doc/en/guitartex/x325.html b/doc/en/guitartex/x325.html new file mode 100644 index 0000000..bd3e36d --- /dev/null +++ b/doc/en/guitartex/x325.html @@ -0,0 +1,166 @@ +Syntax Highlighting
GuitarTeX
PrevChapter 4. Using the GuitarTeX editorNext

Syntax Highlighting

Figure 4-4. Syntax Highlighting Icon

Since version 2.6 GuitarTeX provides syntax highlighting for directives, + comments and chords. + You can configure the foreground and background colors in the + configuration file. + If you insert directives or chords with the menus and icons, highlighting + is done automatically. + After typing directives or chords manually just click on the syntax + highlighting icon + (see Figure 4-4). +


PrevHomeNext
Chord IconsUpSupplied Chord directives
\ No newline at end of file diff --git a/doc/en/guitartex/x474.html b/doc/en/guitartex/x474.html new file mode 100644 index 0000000..da3ce7c --- /dev/null +++ b/doc/en/guitartex/x474.html @@ -0,0 +1,493 @@ +Document Structure
GuitarTeX
PrevChapter 5. Supplied Chord directivesNext

Document Structure

title

The title of a piece of music is marked by the directive + title. + The title is printed centered with a larger font. In documents with more + than + one piece, title causes a page break. +

Example 5-1. Directive title

{title:Go Down Moses}
+{t:Go Down Moses}

subtitle

The directive subtitle supplies additional + information, such as the name of the band or the composer. +

Example 5-2. Directive subtitle

{subtitle:written by John Lennon / Paul McCartney}
+{st:written by John Lennon / Paul McCartney}

sob, eob

The bridge is marked with sob (start of bridge) at + the beginning, + and eob (end of bridge) at the end. The bridge is + output + in blue if you use a color printer. The color can be changed by the + color_bridge directive. +

Example 5-3. Directive sob, eob + (from Here, There And Everywhere, Beatles):

{sob}
+I want her [Ab]everywhere [Fm]
+And if [Bbm]she's beside me [C^7]I know I need [Fm]never care
+[Bb]But to love her [C^7]is to meet her
+{eob}

soc, eoc

The chorus is marked with soc (start of chorus) at + the beginning, + and eoc (end of chorus) the end. The chorus is output + in + red if you use a color printer. The color can be changed by the + color_chorus + directive (see the Section called color_xxx). +

Example 5-4. Directive soc, eoc + (from With A Litle Help From My Friends, Beatles):

{soc}
+Oh, I get [C]by with a little [G]help from my [D]friends
+Mm, I get [C]high with a little [G]help from my [D]friends
+Oh, I'm gonna [C]try with a little [G]help from my [D]friends
+{eoc}

soi, eoi

An instrumental part is marked with soi (start of + instrumental) + at the beginning, and eoi (end of instrumental) the + end. + The instrumental part is output in grey if you use a color printer. The + color + can be changed by the color_instr directive. +

np

np stands for new page and creates a page + break.

Example 5-5. Directive np

{np}

sot, eot

Tablature is marked with sot (start of tablature) at + the + beginning, and eot (end of tablature) the end. + Tablature + output in green if you use a color printer. The color can be changed by + the + color_tab directive (see the Section called color_xxx). + The tablature is output in a non-proportional font. +

Example 5-6. Directive sot, eot + (from Pretty Woman, Roy Orbison):

{sot}
+E ---------------------|------------------------------------
+B ---------------------|------------------------------------
+G ---------------------|------------------------------------
+D -----------------0---|-------------------0---4---2---0----
+A -------------2-------|---------------2--------------------
+E -0---0---4-----------|---0---0---4------------------------
+{eot}

If you don't like ascii tablatures and you look for a way to create + tablatures + more easily, see the Section called Guitar and Bass Tablatures. +


PrevHomeNext
Page LayoutUpFonts
\ No newline at end of file diff --git a/doc/en/guitartex/x542.html b/doc/en/guitartex/x542.html new file mode 100644 index 0000000..fcd7956 --- /dev/null +++ b/doc/en/guitartex/x542.html @@ -0,0 +1,269 @@ +Fonts
GuitarTeX
PrevChapter 5. Supplied Chord directivesNext

Fonts

The font and color directives can be placed anywhere in the Chord file, + though + it is usefull to place them at the beginning :-). The specified values are + valid + for the whole document! +

font_size

LaTeX allows the three font sizes 10pt, 11pt and 12pt. GuitarTeX sets + the default value to 11pt (titles and subtitles are enlarged + automatically). If + you want a font size of 12pt you should write: +

Example 5-7. Directive font_size

{font_size:12}

Note: do not write 12pt instead of 12!

color_xxx

The color directives allow to change the text color of the chorus, + bridge, + instrumental parts, tablatures and a second voice. For the second voice + even the + background color may be specified. So you can write white letters on a + colored + background for example. This will help the singers not getting confused + by many + lyrics lines :-) +

The directives are named

  • color_chorus

  • color_bridge

  • color_instr

  • color_tab

  • color_second

  • color_second_back

The parameters must be a comma separated list of three numbers between 0 + and + 1, giving the red, green and blue components of the color. +

Example 5-8. Directive color_chorus (coloring the chorus + light blue):

{color_chorus:.5,.5,1}

PrevHomeNext
Document StructureUpCreating a Songbook
\ No newline at end of file diff --git a/doc/en/guitartex/x782.html b/doc/en/guitartex/x782.html new file mode 100644 index 0000000..c59f9c1 --- /dev/null +++ b/doc/en/guitartex/x782.html @@ -0,0 +1,473 @@ +LaTeX packages MusixTeX, MusixLyr and TabDefs
GuitarTeX
PrevChapter 6. Using LaTeX commands and packagesNext

LaTeX packages MusixTeX, MusixLyr and TabDefs

MusixTeX is a powerfull LaTeX package for music typesetting.MusixLyr +and TabDefs are additional LaTeX packages to improve lyrics and tablature +typesetting with MusixTeX. You may use these packages within GuitarTeX by +including one (or more) of the following directives (anywhere in your Chord +file): +

Important: +You must have installed the packages correctly before you may use them in GuitarTeX! +Please read the documentation that comes with the packages. +

After this you may use LaTeX code for MusixTeX, MusixLyr or TabDefs at any place +in your Chord file or better include them using the include directive +(for Examples see the Section called Examples). +

+By the way: please pay attention to the first words of the MusixTeX manual: + +

"If you are not familiar with TeX at all I would recommend to find another +software package to do musical typesetting.Setting up TeX and MusiTeX on your +machine and mastering it is an awesome job which gobbles up a lot of your time +and disk space. But, once you master it..." +

So you will understand that the Author of GuitarTeX cannot give +any support for installing or using MusixTeX, MusixLyr or TabDefs. +

Examples

Example 6-3. MusixTeX

+

+

{musixtex}
+
+{soc}
+[D]This is the [Bm]manual song
+[A^7]No-one really knows what's [D]goin' on
+[D]This is the [F#m]manual song
+[A^7]And now the chorus is already [D]gone
+{eoc}
+
+\hsize=100mm
+\generalmeter{\meterfrac24}%
+\parindent 0pt
+\setsign1{-3}
+\startpiece\bigaccid
+\NOtes\qu{ce}\enotes
+\bar
+\NOtes\qu{gh}\enotes
+\bar
+\NOtes\qu{=b}\enotes
+\Notes\ds\cu g\enotes
+\bar
+\NOtes\qu{^f=f}\enotes
+\NOtes\qu{=e}\itied0e\qu{_e}\enotes
+\bar
+\Notes\ttie0\Qqbu ed{_d}c\enotes
+\bar
+\Notes\ibu0b{-2}\qb0{=b}\enotes
+\notes\nbbu0\qb0{=a}\tqh0N\enotes
+\Notes\Dqbu cf\enotes
+\NOtes\uptext{\it tr}\qu e\uptext{\it tr}\qu d\enotes
+\bar
+\NOtes\qu c\qp\enotes
+\setdoubleBAR
+\stoppiece
+\bigskip
+
+[D]The second verse is [A^7]like the [D]first,
+The music poor, the [A^7]verse is [D]worse,
+I wrote this since [A^7]I'd get [D]sued,
+If I used real songs. [A^7]This'll [D]do.

Example 6-4. Metronomic indication

+

+

{musixtex}
+{title:The Manual Song}
+{st:No-one has yet claimed responsibility}
+
+\notes\metron{\qu}{60}\en
+
+[D]I print verses [A^7]in a [D]row,
+The next line gets put [A^7]down be[D]low,
+Mumble mumble [A^7]rhymes with [D]grow [G]     [G#]     [A]
+Done this verse, now [A^7susX]on we [quietly]go!

Example 6-5. Enhanced lyrics typesetting with MusixLyr

+

+

{musixtex}
+{musixlyr}
+
+{soc}
+[D]This is the [Bm]manual song
+[A^7]No-one really knows what's [D]goin' on
+[D]This is the [F#m]manual song
+[A^7]And now the chorus is already [D]gone
+{eoc}
+
+\par{
+\hsize=120mm
+\setlyrstrut
+\resetlyrics
+\setlyrics{Winter1}{Win-ter a-de\rlap{,} a-ber dein Schei-den macht\rlap{,}}
+\setlyrics{Winter2}{schei-den tut weh\rlap,}
+\assignlyrics1{Winter1,Winter2}
+\generalmeter{\meterfrac34}
+\generalsignature2
+\setsongraise1{-2mm}
+\startpiece
+\NOtes\qa{ffe}\en\bar
+\NOTesp\hup d\en\rightrepeat
+\assignlyrics1{Winter1}%
+\NOtes\qa{fgh}\en\bar
+\NOtes\qa h\en
+\Notes\beginmel\Ibu0gf1\qb0g\endmel\tqh0f\en
+\NOtes\qa g\en
+\endpiece
+}
+
+[D]The second verse is [A^7]like the [D]first,
+The music poor, the [A^7]verse is [D]worse,
+I wrote this since [A^7]I'd get [D]sued,
+If I used real songs. [A^7]This'll [D]do.

PrevHomeNext
Using LaTeX commands and packagesUpScreenshots and examples
\ No newline at end of file diff --git a/doc/en/guitartex/x858.html b/doc/en/guitartex/x858.html new file mode 100644 index 0000000..2210ab1 --- /dev/null +++ b/doc/en/guitartex/x858.html @@ -0,0 +1,225 @@ +Song sheets
GuitarTeX
PrevChapter 7. Screenshots and examplesNext

Song sheets

Example 7-1. Single song sheet

+

+

Example 7-2. Song sheet as part of a songbook

+

+


PrevHomeNext
Screenshots and examplesUpChord table
\ No newline at end of file diff --git a/doc/en/guitartex/x886.html b/doc/en/guitartex/x886.html new file mode 100644 index 0000000..1a4c31b --- /dev/null +++ b/doc/en/guitartex/x886.html @@ -0,0 +1,241 @@ +Chord table
GuitarTeX
PrevChapter 7. Screenshots and examplesNext

Chord table

The following chord table is a part of the author's personal songbook. It was +created by the code below.

Example 7-3. Chord table

+

+


{title:D}
+{define:D	1 x x 0 2 3 2}
+{define:D+	1 x x 0 3 3 2}
+{define:D4	1 x x 0 2 3 3}
+{define:D6	1 x 0 0 2 0 2}
+{define:D7	1 x x 0 2 1 2}
+{define:D7#9	4 x 2 1 2 3 3}
+{define:D7(#9)	4 x 2 1 2 3 3}
+{define:D9	0 1 3 1 2 1 3}
+{define:D11	1 3 0 0 2 1 0}
+{define:Dsus	1 x x 0 2 3 3}
+{define:Dsus2	1 0 0 0 2 3 0}
+{define:Dsus4	1 x x 0 2 3 3}
+{define:D7sus2	1 x 0 0 2 1 0}
+{define:D7sus4	1 x 0 0 2 1 3}
+{define:Dmaj	1 x x 0 2 3 2}
+{define:Dmaj7	1 x x 0 2 2 2}
+{define:Ddim	1 x x 0 1 0 1}
+{define:Dm	1 x x 0 2 3 1}
+{define:Dmin	1 x x 0 2 3 1}
+{define:D/A	1 x 0 0 2 3 2}
+{define:D/B	1 x 2 0 2 3 2}
+{define:D/C	1 x 3 0 2 3 2}
+{define:D/C#	1 x 4 0 2 3 2}
+{define:D/E	7 x 1 1 1 1 x}
+{define:D/G	1 3 x 0 2 3 2}
+{define:D5/E	7 0 1 1 1 x x}
+{define:Dadd9	1 0 0 0 2 3 2}
+{define:D(add9)	1 0 0 0 2 3 2}
+{define:D9add6	0 1 3 3 2 0 0}
+{define:D9(add6)0 1 3 3 2 0 0}
+
+{define:Dm6(5b)	1 x x 0 1 0 1}
+{define:Dm7	1 x x 0 2 1 1}
+{define:Dm#5	1 x x 0 3 3 2}
+{define:Dm(#5)	1 x x 0 3 3 2}
+{define:Dm#7	1 x x 0 2 2 1}
+{define:Dm(#7)	1 x x 0 2 2 1}
+{define:Dm/A	1 x 0 0 2 3 1}
+{define:Dm/B	1 x 2 0 2 3 1}
+{define:Dm/C	1 x 3 0 2 3 1}
+{define:Dm(F)	1 x x 3 2 3 1}
+{define:Dm/C#	1 x 4 0 2 3 1}
+{define:Dm9	1 x x 3 2 1 0}
+

PrevHomeNext
Song sheetsUpIndexpage
\ No newline at end of file diff --git a/doc/en/guitartex/x903.html b/doc/en/guitartex/x903.html new file mode 100644 index 0000000..10ed0ad --- /dev/null +++ b/doc/en/guitartex/x903.html @@ -0,0 +1,172 @@ +Indexpage
GuitarTeX
PrevChapter 7. Screenshots and examplesNext

Indexpage

+

+


PrevHomeNext
Chord tableUpRelated links
\ No newline at end of file diff --git a/doc/en/guitartex/x929.html b/doc/en/guitartex/x929.html new file mode 100644 index 0000000..1752d90 --- /dev/null +++ b/doc/en/guitartex/x929.html @@ -0,0 +1,219 @@ +Links
GuitarTeX
PrevChapter 8. Related linksNext

Links

LaTeX

  • CTAN: Comprehensive TeX Archive Network + http://www.ctan.org + everything a LaTeX user needs! +

Perl

  • CPAN: Comprehensive Perl Archive Network: + http://www.cpan.org everything a Perl programmer needs! +

Guitar Sites


PrevHomeNext
Related linksUpAcknowledgements
\ No newline at end of file diff --git a/doc/en/info.xml b/doc/en/info.xml new file mode 100644 index 0000000..cdc87e2 --- /dev/null +++ b/doc/en/info.xml @@ -0,0 +1,55 @@ + + + Joachim + Miltz + + January 2002 + Version 2.8 + + 2000-2002 + Joachim Miltz + + + + This program is free software; you can redistribute it and/or modify it + under + the terms of the GNU General Public License as published by the Free + Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + + This program is distributed in the hope that it will be useful, but + WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + + You should have received a copy of the GNU General Public License along + with + this program; if not, write to the Free Software Foundation, Inc., 675 + Mass + Ave, Cambridge, MA 02139, USA. + + + + + + GuitarTeX is a tool for guitarists who want to print good looking and easy + to play song sheets or song books from their chord or chordpro files. + It uses the well known chord format with several extensions. + The program was developed on a Linux system, but it should run on any + other + Unix system with a Perl/TK environment. + See for installing instructions and + for further requirements. + + +&sflogo; + + + + + diff --git a/doc/en/installation.xml b/doc/en/installation.xml new file mode 100755 index 0000000..bdf7034 --- /dev/null +++ b/doc/en/installation.xml @@ -0,0 +1,134 @@ + + Installation + + + How to obtain GuitarTeX + + The current version can be obtained from the GuitarTeX download page: + . + + + + + Requirements + + GuitarTeX was created under Linux operating system. + It should run with any Linux dristribution and also on any other Unix + system. In addition it requires + + + +LaTeX +Perl +Perl/TK + + +to be installed on your system.To create pdf output, your LaTeX distribution +should also include + +pdflatex + + + + + + + Installing + To install GuitarTeX do the following: + + make sure that LaTeX, Perl and Perl/TK are installed + (see ) + unpack the guitartex archive (for example + in your home directory) + cd to the guitartex-x.x directory + run the following commands: + + make conf (as normal user, this overwrites an existing + config file!) + make install (as root) + + + + + You may now delete the guitartex-x.x directory + + + "make conf" copies the configuration file into ~/.guitartexrc. + you may customize GuitarTeX by changing the configuration parameters + explained below. + + + + + Configuration file + + GuitarTeX looks for a configuration file called .guitartexrc in your +home directory. + Parameters are set in perl syntax, for example: + $language = "de"; + + + + Configuration parameters + + + + parameter + meaning + + + + language + choose your favourite language +tool_tips switch on or off tool tips for +the iconshighlight + switch on or off syntax highlighting + highlight_directive_foreground + highlighting foreground color for directives + highlight_directive_background + highlighting background color for directives + highlight_chord_foreground + highlighting foreground color for chords + highlight_chord_background + highlighting background color for chords + highlight_comment_foreground + highlighting foreground color for comments + highlight_comment_background + highlighting background color for comments + font_size + default font size + color_chorus + default color for chorus sections in printed + output + color_bridge + default color for bridge sections in printed + output + color_instr + default color for instrumental sections in printed + output + color_tab + default color for ascii tablature sections in printed + output + color_second + default foreground color for second voice sections in printed + output + color_second_back + default background color for second voice sections in printed + output + text_viewer + program to view the TeX file created by the export + function + ps_viewer + program to view the postscript file created by the export + function + pdf_viewer + program to view the PDF file created by the export + function + + +
+ +
+ &sflogo; + +
diff --git a/doc/en/introduction.xml b/doc/en/introduction.xml new file mode 100644 index 0000000..58f69ff --- /dev/null +++ b/doc/en/introduction.xml @@ -0,0 +1,125 @@ + + Introduction + + + First of all: my written English isn't perfect, but I hope this text will + help you nevertheless! For suggestions see .. + + + + GuitarTeX is a tool for guitarists who want to print good looking +and easy to play song sheets or song books from their chord or chordpro files. +It uses the well known chord format with several extensions. + + + It is based upon an idea of Martin Leclerc and Mario Dorion from + Canada + and their program Chord (Version 3.5 from 1993). To use GuitarTeX, you + need + to have knowledge of the Chord program (explained later). Though the LaTeX + text processing system is used by GuitarTeX, you don't have to know very + much + about it. GuitarTeX produces Postscript or PDF output automatically (if + you + want). The Chord directives supplied by GuitarTeX are described in + . + + + + +Features +Graphical user interface with integrated editor and syntax +highlighting + Prints good looking song sheets including +guitar chords without using monospace fonts + Output formats: LaTeX, Postscript and PDF + Compatible with ChordPro format, import function for ascii + format +Support for music typesetting with the LaTeX packages +MusixTeX, MusixLyr and TabDefs + Flexible page +layout (paper size, margins...) User defined +colors for different parts of a song (e.g. verse, chorus) + Optional printing of chord symbols at the end of a + song + Transpose up or down your song by mouse + clicks + Creates single song sheets or complete song books with a title + page, + table of contents, headlines with page numbering, chord table and + index + Supports ASCII tablature and the built in tablature directives + for + guitar + and bass tabs + Support for multiple languages (if you don't find your + langauage, you + can + help the author to add it) + Runs on Linux operating system (it should run on any Unix + system that + is + supported by Perl/TK and LaTeX, but it is not tested) + Setup your song book project from single song files with the + include + directive + LaTeX commands may be used in Chordpro files (for the + professionals) + + + + GuitarTeX converts a file with lyrics and chords in a special format to a + LaTeX file. Here is an example input file: + + + {title:The Manual Song} +{st:No-one has yet claimed responsibility} +[D]I print verses [A^7]in a [D]row, +The next line gets put [A^7]down be[D]low, +Mumble mumble [A^7]rhymes with [D]grow [G] [G#] [A] +Done this verse, now [A^7susX]on we [quietly]go! + +{soc} +[D]This is the [Bm]manual song +[A^7]No-one really knows what's [D]goin' on +[D]This is the [F#m]manual song +[A^7]And now the chorus is already [D]gone +{eoc} + +[D]The second verse is [A^7]like the [D]first, +The music poor, the [A^7]verse is [D]worse, +I wrote this since [A^7]I'd get [D]sued, +If I used real songs. [A^7]This'll [D]do. + +{c:repeat chorus} + + + The ^-sign is new for users of other Chord clones. + It makes the following characters appear superscript. + You can see the output in . + + +
+ Print output from example file + + + +
+ + + GuitarTeX converts the Chord format into "normal" LaTeX format like a kind + of preprocessor. This may be a single song or even a complete songbook. + You may as well translate your chord file directly into postscript or PDF + format. + + + + If you know LaTeX, you may edit the output file. The advantage of + GuitarTeX is that you can use all LaTeX features to design a single song + sheet or songbook, e.g.: packages like graphics or MusicTeX, table of + contents, marginal notes, and so on. + + + &sflogo; + +
diff --git a/doc/en/latex.xml b/doc/en/latex.xml new file mode 100755 index 0000000..65adaa7 --- /dev/null +++ b/doc/en/latex.xml @@ -0,0 +1,237 @@ + + Using LaTeX commands and packages + +
+ Latex commands + + As I mentioned in the introduction, you don't have to know very + much about LaTeX to use GuitarTeX. You can use it even if you don't know + anything about LaTeX. + + + + If you are familiar with LaTeX you can use any feature of it to improve your + song sheet or book. All lines of your chord file that begin with a backslash + will be left untouched by GuitarTeX. You may test this by inserting a simple + LaTeX command like this: + + + + LaTeX command in chord file + \marginpar{test} + + + The result will be a marginal note with the word test. + + + The LaTeX commands will be executed at the position they appear in the chord + file. + But sometimes you may want to add a command to the preamble, e.g. to include + other + LaTeX packages. This can be done using the preamble + directive: + + + + LaTeX command to be placed in the preamble + {preamble:\usepackage(fancyheadings)} + + + + The preamble directives may occur anywhere in your song. + They are added to the LaTeX preamble in the same order they appear in the + chord file. + +
+
+ LaTeX packages MusixTeX, MusixLyr and TabDefs + MusixTeX is a powerfull LaTeX package for music typesetting.MusixLyr +and TabDefs are additional LaTeX packages to improve lyrics and tablature +typesetting with MusixTeX. You may use these packages within GuitarTeX by +including one (or more) of the following directives (anywhere in your Chord +file): + + + +{musixtex} +{musixlyr} +{tabdefs} + + + +You must have installed the packages correctly before you may use them in GuitarTeX! +Please read the documentation that comes with the packages. + + + +After this you may use LaTeX code for MusixTeX, MusixLyr or TabDefs at any place +in your Chord file or better include them using the include directive +(for Examples see ). + + + + + +By the way: please pay attention to the first words of the MusixTeX manual: + + + +"If you are not familiar with TeX at all I would recommend to find another +software package to do musical typesetting.Setting up TeX and MusiTeX on your +machine and mastering it is an awesome job which gobbles up a lot of your time +and disk space. But, once you master it..." + + +So you will understand that the Author of GuitarTeX cannot give +any support for installing or using MusixTeX, MusixLyr or TabDefs. + + +
+ Examples + + +MusixTeX + + + + + + + + +MusixTeX example + + + + + +{musixtex} + +{soc} +[D]This is the [Bm]manual song +[A^7]No-one really knows what's [D]goin' on +[D]This is the [F#m]manual song +[A^7]And now the chorus is already [D]gone +{eoc} + +\hsize=100mm +\generalmeter{\meterfrac24}% +\parindent 0pt +\setsign1{-3} +\startpiece\bigaccid +\NOtes\qu{ce}\enotes +\bar +\NOtes\qu{gh}\enotes +\bar +\NOtes\qu{=b}\enotes +\Notes\ds\cu g\enotes +\bar +\NOtes\qu{^f=f}\enotes +\NOtes\qu{=e}\itied0e\qu{_e}\enotes +\bar +\Notes\ttie0\Qqbu ed{_d}c\enotes +\bar +\Notes\ibu0b{-2}\qb0{=b}\enotes +\notes\nbbu0\qb0{=a}\tqh0N\enotes +\Notes\Dqbu cf\enotes +\NOtes\uptext{\it tr}\qu e\uptext{\it tr}\qu d\enotes +\bar +\NOtes\qu c\qp\enotes +\setdoubleBAR +\stoppiece +\bigskip + +[D]The second verse is [A^7]like the [D]first, +The music poor, the [A^7]verse is [D]worse, +I wrote this since [A^7]I'd get [D]sued, +If I used real songs. [A^7]This'll [D]do. + + + + +Metronomic indication + + + + + + + + +Metronomic indication + + + + + +{musixtex} +{title:The Manual Song} +{st:No-one has yet claimed responsibility} + +\notes\metron{\qu}{60}\en + +[D]I print verses [A^7]in a [D]row, +The next line gets put [A^7]down be[D]low, +Mumble mumble [A^7]rhymes with [D]grow [G] [G#] [A] +Done this verse, now [A^7susX]on we [quietly]go! + + + +Enhanced lyrics typesetting with MusixLyr + + + + + + + + +MusixLyr example + + + + + +{musixtex} +{musixlyr} + +{soc} +[D]This is the [Bm]manual song +[A^7]No-one really knows what's [D]goin' on +[D]This is the [F#m]manual song +[A^7]And now the chorus is already [D]gone +{eoc} + +\par{ +\hsize=120mm +\setlyrstrut +\resetlyrics +\setlyrics{Winter1}{Win-ter a-de\rlap{,} a-ber dein Schei-den macht\rlap{,}} +\setlyrics{Winter2}{schei-den tut weh\rlap,} +\assignlyrics1{Winter1,Winter2} +\generalmeter{\meterfrac34} +\generalsignature2 +\setsongraise1{-2mm} +\startpiece +\NOtes\qa{ffe}\en\bar +\NOTesp\hup d\en\rightrepeat +\assignlyrics1{Winter1}% +\NOtes\qa{fgh}\en\bar +\NOtes\qa h\en +\Notes\beginmel\Ibu0gf1\qb0g\endmel\tqh0f\en +\NOtes\qa g\en +\endpiece +} + +[D]The second verse is [A^7]like the [D]first, +The music poor, the [A^7]verse is [D]worse, +I wrote this since [A^7]I'd get [D]sued, +If I used real songs. [A^7]This'll [D]do. + + +
+ +
+ &sflogo; + +
diff --git a/doc/en/links.xml b/doc/en/links.xml new file mode 100644 index 0000000..68d22e6 --- /dev/null +++ b/doc/en/links.xml @@ -0,0 +1,52 @@ + + Related links + +
+ Contacts + + To contact the author or other GuitarTeX users use + the mailing list: + +
+ +
+ Links +
+ LaTeX + + + CTAN: Comprehensive TeX Archive Network + + everything a LaTeX user needs! + + +
+ +
+ Perl + + + CPAN: Comprehensive Perl Archive Network: + everything a Perl programmer needs! + + +
+ +
+ Guitar Sites + + + Top 100 Guitar Sites! + + + + Chordpack (another LaTeX based typesetting program for guitarists) + + + +
+ +
+ &sflogo; + +
diff --git a/doc/en/sflogo.xml b/doc/en/sflogo.xml new file mode 100644 index 0000000..238c97e --- /dev/null +++ b/doc/en/sflogo.xml @@ -0,0 +1,13 @@ + +hosted by +Sourceforge.net + + + + + +SourceForge Logo + + + + \ No newline at end of file diff --git a/doc/images/.xvpics/musixtex2.png b/doc/images/.xvpics/musixtex2.png new file mode 100644 index 0000000..4674944 Binary files /dev/null and b/doc/images/.xvpics/musixtex2.png differ diff --git a/doc/images/chord-example.png b/doc/images/chord-example.png new file mode 100644 index 0000000..11d09db Binary files /dev/null and b/doc/images/chord-example.png differ diff --git a/doc/images/chords.png b/doc/images/chords.png new file mode 100644 index 0000000..2863ec5 Binary files /dev/null and b/doc/images/chords.png differ diff --git a/doc/images/color_selector.png b/doc/images/color_selector.png new file mode 100644 index 0000000..34f5858 Binary files /dev/null and b/doc/images/color_selector.png differ diff --git a/doc/images/icons.png b/doc/images/icons.png new file mode 100644 index 0000000..9c13c80 Binary files /dev/null and b/doc/images/icons.png differ diff --git a/doc/images/index.png b/doc/images/index.png new file mode 100644 index 0000000..d8a1416 Binary files /dev/null and b/doc/images/index.png differ diff --git a/doc/images/latex.png b/doc/images/latex.png new file mode 100644 index 0000000..5787b40 Binary files /dev/null and b/doc/images/latex.png differ diff --git a/doc/images/manualsong.png b/doc/images/manualsong.png new file mode 100644 index 0000000..492f77e Binary files /dev/null and b/doc/images/manualsong.png differ diff --git a/doc/images/musixlyr1.png b/doc/images/musixlyr1.png new file mode 100644 index 0000000..d16d742 Binary files /dev/null and b/doc/images/musixlyr1.png differ diff --git a/doc/images/musixtex1.png b/doc/images/musixtex1.png new file mode 100644 index 0000000..d2b33a8 Binary files /dev/null and b/doc/images/musixtex1.png differ diff --git a/doc/images/musixtex2.png b/doc/images/musixtex2.png new file mode 100644 index 0000000..f37471d Binary files /dev/null and b/doc/images/musixtex2.png differ diff --git a/doc/images/pdf.png b/doc/images/pdf.png new file mode 100644 index 0000000..d430f7d Binary files /dev/null and b/doc/images/pdf.png differ diff --git a/doc/images/postscript.png b/doc/images/postscript.png new file mode 100644 index 0000000..5d21a08 Binary files /dev/null and b/doc/images/postscript.png differ diff --git a/doc/images/song.png b/doc/images/song.png new file mode 100644 index 0000000..108dcb2 Binary files /dev/null and b/doc/images/song.png differ diff --git a/doc/images/songbook.png b/doc/images/songbook.png new file mode 100644 index 0000000..b6122df Binary files /dev/null and b/doc/images/songbook.png differ diff --git a/doc/images/syntax.png b/doc/images/syntax.png new file mode 100644 index 0000000..0af69c3 Binary files /dev/null and b/doc/images/syntax.png differ diff --git a/doc/images/tablat1.png b/doc/images/tablat1.png new file mode 100644 index 0000000..03ae942 Binary files /dev/null and b/doc/images/tablat1.png differ diff --git a/doc/images/tablat2.png b/doc/images/tablat2.png new file mode 100644 index 0000000..a36ef04 Binary files /dev/null and b/doc/images/tablat2.png differ diff --git a/doc/images/tablat3.png b/doc/images/tablat3.png new file mode 100644 index 0000000..5b32f76 Binary files /dev/null and b/doc/images/tablat3.png differ diff --git a/doc/images/tablat4.png b/doc/images/tablat4.png new file mode 100644 index 0000000..1368716 Binary files /dev/null and b/doc/images/tablat4.png differ diff --git a/doc/images/tablat5.png b/doc/images/tablat5.png new file mode 100644 index 0000000..08223dd Binary files /dev/null and b/doc/images/tablat5.png differ diff --git a/doc/images/tablat6.png b/doc/images/tablat6.png new file mode 100644 index 0000000..5f3b3d2 Binary files /dev/null and b/doc/images/tablat6.png differ diff --git a/doc/images/tablature.pdf b/doc/images/tablature.pdf new file mode 100644 index 0000000..f81ff78 Binary files /dev/null and b/doc/images/tablature.pdf differ diff --git a/doc/images/tablature.png b/doc/images/tablature.png new file mode 100644 index 0000000..c7ffa9a Binary files /dev/null and b/doc/images/tablature.png differ diff --git a/doc/images/tablature2.png b/doc/images/tablature2.png new file mode 100644 index 0000000..03fd0fc Binary files /dev/null and b/doc/images/tablature2.png differ diff --git a/doc/images/window.png b/doc/images/window.png new file mode 100644 index 0000000..9f8030e Binary files /dev/null and b/doc/images/window.png differ diff --git a/doc_de.html b/doc_de.html new file mode 120000 index 0000000..b928629 --- /dev/null +++ b/doc_de.html @@ -0,0 +1 @@ +doc/de/guitartex/book1.html \ No newline at end of file diff --git a/doc_en.html b/doc_en.html new file mode 120000 index 0000000..f5a26be --- /dev/null +++ b/doc_en.html @@ -0,0 +1 @@ +doc/en/guitartex/book1.html \ No newline at end of file diff --git a/gtx2tex.pl b/gtx2tex.pl new file mode 100644 index 0000000..acd5875 --- /dev/null +++ b/gtx2tex.pl @@ -0,0 +1,614 @@ +#!/usr/bin/perl + +use File::Basename; +use Cwd; +use Getopt::Long; + +GetOptions( "output=s" => \$output, + "lyrics" => \$lyrics, + "verbose" => \$verbose, + "italian" => \$italian, + ); + +$usage = "This is gtx3tex 2.8 +usage: gtx2tex [--verbose] [--lyrics] [--output=ps|pdf] +options: +--verbose lets gtx2tex tell you what it is doing +--lyrics print only lyrics +--output=ps|pdf specify the output format; without the + output option a tex file is created +--italian changes chord output to italian notation + (La, Si, Do, Re, Mi, Fa, Sol)"; + + +if ( ! $ARGV[0] ){ + die "$usage\n"; +} + +$verbose && print "This is gtx2tex\n"; +$verbose && print "$output\n"; + +$libpath="/usr/local/lib/guitartex"; + +# load configuration file +$home=$ENV{"HOME"}; +$verbose && print "home=$home\n"; +do "$home/.guitartexrc" or die "cannot load guitartex.conf"; + +$workdir = cwd; + +$verbose && print "work directory: $workdir\n"; + +if ( $ARGV[0] =~ /^\// ){ + $filename = $ARGV[0]; +}else{ + $filename = $workdir . "/" . $ARGV[0]; +} + +$outfilename = basename($filename); +$dirname = dirname($filename); +$outfilename =~ s/\.(.*?)$//; # Suffix entfernen +$verbose && print "input file name is: $filename\n"; +$verbose && print "output directory is: $dirname\n"; +$verbose && print "output file name is: $outfilename\n"; + +chdir $dirname; + +$env = "normal"; +$space = "~"; +$empty_line = "\n"; +$new_page = "\\newpage\n"; +$sharp = "\$\\sharp\$"; +$flat = "\$\\flat\$"; +$chorus_begin = "\\begin{chorus}\n"; +$chorus_end = "\\end{chorus}\n"; +$bridge_begin = "\\begin{bridge}\n"; +$bridge_end = "\\end{bridge}\n"; +$instr_begin = "\\begin{instr}\n"; +$instr_end = "\\end{instr}\n"; +$tab_begin = "\\begin{gtxtab}\n"; +$tab_end = "\\end{gtxtab}\n"; +$define = ""; + +#load language file +do "/usr/local/lib/guitartex/language/$language.pl" or die "cannot load language + file $language.pl\n"; + + +# Leerzeichen im Dateinamen in Unterstriche ändern +$outfilename =~ s/\s/\_/g; + +# open output file +open ( TEX, ">$outfilename.tex" ) || die "cannot open output file"; + +# LaTeX-Header ausgeben +latex_header(); + +$chaptercount = 0; + +# Eingabedatei zeilenweise bearbeiten +while ( ) { + # Zeichen für Zeilenende abschneiden + chomp; + # wenn am Anfang der Zeile { steht, handelt es sich um eine Direktive + if ( /^{/ ){ directive(); next; } + # Leerzeile + if ( /^$/ ){ print TEX "$empty_line\n"; next; } + # wenn am Anfang der Zeile % oder # steht = Kommentar + if ( /^[%#]/ ){ next; } + # wenn am Anfang der Zeile \ steht = Latex-Kommando + if ( /\\.*/ ){ print TEX "$_\n"; next; } + # innerhalb einer Tabulatur + if ( $env eq "tab" ) { + print TEX "\\footnotesize \\verb!$_! \\normalsize \\newline\n"; next; + } + crdpro(); + } + # LaTeX-Footer ausgeben + latex_footer(); + + system ( "rm -f $outfilename.tmp" ); + + $output eq "ps" && create_ps(); + $output eq "pdf" && create_pdf(); + + + sub create_ps { + $verbose && print "creating postscript\n"; + system ( "rm -f *.log *.aux *.ilg *.idx *.ind *.dvi *.toc *.mx1 *.mx2" ); + system ( "latex --interaction batchmode $outfilename" ) && die "error in first LaTeX run"; + if ( $document_class eq "book" ){ + system ( "makeindex $outfilename.idx" ) && die "error while creating index"; + } + if ( $musixtex eq "yes" ){ + system ( "musixflx $outfilename" ) && die "error in musixflx run"; + } + if ( $document_class eq "book" or $musixtex eq "yes" ){ + system ( "latex --interaction batchmode $outfilename" ) && die "error in second LaTeX run"; + } + system ( "dvips $outfilename" ) && die "error while converting from dvi to postscript"; + system ( "rm -f *.log *.aux *.ilg *.idx *.ind *.dvi *.toc *.mx1 *.mx2 $outfilename.tex" ); + } + + + sub create_pdf { + $verbose && print "creating pdf\n"; + system ( "rm -f *.tpt *.log *.aux *.ilg *.idx *.ind *.dvi *.toc *.mx? *.mx2" ); + system ( "pdflatex $outfilename" ) && die "error while creating pdf output"; + if ( $document_class eq "book" ){ + system ( "makeindex $outfilename.idx" ) && die "error while creating index"; + } + if ( $musixtex eq "yes" ){ + system ( "musixflx $outfilename" ) && die "error in musixflx run"; + } + system ( "pdflatex $outfilename" ) && die "error while creating pdf output"; + system ( "thumbpdf $outfilename" ) && die "error while creating pdf thumbnails"; + system ( "pdflatex $outfilename" ) && die "error while creating pdf output"; + system ( "rm -f *.tpt *.log *.aux *.ilg *.idx *.ind *.dvi *.toc *.mx1 *.mx2 $outfilename.tex" ); + } + + + +sub crdpro { # Bearbeitung der Zeile aus der Eingabedatei + if ( $lyrics ){ + s/\[.*?\]//g; # Akkorde entfernen + print TEX "$_\\\\\n" unless ( /^\s*$/ ); + }else{ + + s/\s/$space/g; # alle Leerzeichen durch feste Leerzeichen ersetzen + s/(\^)(.*?)(\])/\\\(^\{\2\}\\\)\]/g; # Ziffern hochstellen + + s/\[/\}\\gtxchord{/g; # linke Klammer ersetzen + s/\]/}{/g; # rechte Klammer ersetzen + # s/(\})(.*?)(\\)/}{\2}\\/g; # Text zwischen Akkorden in geschweifte Klammern setzen + s/$/}/; # rechte Klammer am Ende der Zeile ergänzen + s/^\}//; # rechte Klammer am Anfang der Zeile entfernen + if ( $_ !~ /^\\/ ) { s/^/\\gtxchord\{\}\{/ } + + s/#/$sharp/g; # Vorzeichen "#" ersetzen + s/\{Ab/{A$flat/g; # Vorzeichen "b" ersetzen + s/\{Bb/{B$flat/g; + s/\{Cb/{C$flat/g; + s/\{Db/{D$flat/g; + s/\{Eb/{E$flat/g; + s/\{Fb/{F$flat/g; + s/\{Gb/{G$flat/g; + if ( $italian ) { + s/gtxchord\{D/gtxchord{Re/g; + s/gtxchord\{E/gtxchord{Mi/g; + s/gtxchord\{F/gtxchord{Fa/g; + s/gtxchord\{G/gtxchord{Sol/g; + s/gtxchord\{A/gtxchord{La/g; + s/gtxchord\{B/gtxchord{Si/g; + s/gtxchord\{H/gtxchord{Si/g; + s/gtxchord\{C/gtxchord{Do/g; + + s!/D!/Re!g; + s!/E!/Mi!g; + s!/F!/Fa!g; + s!/G!/Sol!g; + s!/A!/La!g; + s!/B!/Si!g; + s!/H!/Si!g; + s!/C!/Do!g; + + } + print TEX "$_\\\\\n"; + } +} + + +sub directive{ + if ( /{soc}|{start_of_chorus}/ ) { $env = "chorus"; print TEX "$chorus_begin"; + }elsif ( /{eoc}|{end_of_chorus/ ) { $env = "normal"; print TEX "$chorus_end"; + }elsif ( /{sob}|{start_of_bridge}/ ) { $env = "bridge"; print TEX "$bridge_begin"; + }elsif ( /{eob}|{end_of_bridge/ ) { $env = "normal"; print TEX "$bridge_end"; + }elsif ( /{soi}|{start_of_instr}/ ) { + $env = "instr"; + print TEX "$instr_begin" unless ( $lyrics ); + }elsif ( /{eoi}|{end_of_instr/ ) { + $env = "normal"; + print TEX "$instr_end" unless ( $lyrics ); + }elsif ( /{sot}|{start_of_tab}/ ) { + $env = "tab"; + print TEX "$tab_begin" unless ( $lyrics ); + }elsif ( /{eot}|{end_of_tab/ ) { + $env = "normal"; + print TEX "$tab_end" unless ( $lyrics ); + }elsif ( /{np}/ ) { + print TEX "$new_page"; + }elsif ( /{even}/ ) { + print TEX "\\ifthenelse{\\isodd{\\thepage}}{}{\\newpage ~}"; + }elsif ( /{title:|{t:/ ) { + s/({.*:)(.+)(})/\2/; + if ( $document_class eq "book" ){ + print TEX "$define" unless ( $lyrics ); + } + print TEX "%\n%----- New Song -----\n"; + print TEX "\\newpage\\addcontentsline{toc}{section}{$_}\n"; + if ( $output eq "pdf" ) { print TEX "\\pdfdest name {$_} fith \\pdfoutline goto name {$_} {$_}" } + print TEX "\\begin{center} \\section*{$_}\\end{center}\n"; + $define=""; + print TEX "\\index{$_}"; + $song_title = $_; + $verbose && print TEX "\\typeout{$_}"; + }elsif ( /{subtitle:|{st:/ ) { + s/({.*:)(.+)(})/\2/; + print TEX "\\index{$_!$song_title}"; + print TEX "\\begin{center}$_\\end{center}\n"; + }elsif ( /{margin:|{m:/ ) { + s/({.*:)(.+)(})/\2/; + print TEX "\\marginpar{$_}\n"; + }elsif ( /{comment:|{c:/ ) { + s/({.*:)(.+)(})/\2/; + print TEX "\\textit{$_}\\\\\n" unless ( $lyrics ); + }elsif ( /{second:|{2:/ ) { + s/({.*:)(.+)(})/\2/; + s/\s/$space/g; #Leerzeichen durch feste Leerzeichen ersetzen + print TEX "\\colorbox{second_back}{\\textcolor{second_text}{$_}}\\\\\n" unless ( $lyrics ); + }elsif ( /{chapter:/ ) { + $chaptercount++; + s/({.*:)(.+)(})/\2/; + if ( $document_class eq "book" ) { + print TEX "$define" unless ( $lyrics ); + $define = ""; + print TEX "\n\\chapter{$_} \\fancyhead[CO]{$_}\n\n"; + if ( $output eq "pdf" ) { + $count = $titlecount[$chaptercount]; + $verbose && print TEX "% chapter: $_, $count entries\n"; + print TEX "\\pdfdest name {$_} fith \\pdfoutline goto name {$_} count $count {$_}" + } + $verbose && print TEX "\\typeout{$_}"; + }; + }elsif ( /{define/ ) { + s/\{//; + s/\}//; + s/define//; + s/://; + s/base-fret//; + s/frets//; + s/[Xx]/-1/g; + s/- /-1/g; + s/-$/-1/g; + s/-1/x/g; + @def = split(" ",$_); + @def[0] =~ s/#/\\#/g; + #$define .= "\\mbox{\\begin{picture}(20,18)\\special{\"0 0 moveto "; + #$define .= "($def[0]) $def[2] $def[3] $def[4] $def[5] $def[6] $def[7] $def[1]"; + #$define .= " 0 dots}\\end{picture}}\n"; + $define .= " ~\\gchord{{$def[1]}}{$def[2],$def[3],$def[4],$def[5],$def[6],$def[7]}{$def[0]}"; + }elsif ( /{guitartab:/ ) { + print TEX "\\guitartab\n" unless ( $lyrics ); + newtab() unless ( $lyrics ); + }elsif ( /{basstab:/ ) { + print TEX "\\basstab\n" unless ( $lyrics ); + newtab() unless ( $lyrics ); + } + +} + + +sub newtab { + if ( /{guitartab:/ ) { $guitartab="yes" } else { $guitartab ="no" }; + s/({.*:)(.+)(})/\2/; + s/\]\[/\]~~~\[/g; #fill in fixed spaces between notes + s/\_/~~~/g; #fill in extra space + s/\s/~/g; #replace spaces with fixed spaced + s/\]&\[/\]\[/g; #chord + s/\[1;/\[2.5ex;/g; + s/\[2;/\[4.5ex;/g; + s/\[3;/\[6.5ex;/g; + s/\[4;/\[8.5ex;/g; + s/\[5;/\[10.5ex;/g; + s/\[6;/\[12.5ex;/g; + if ( $guitartab eq "yes") { + s/\|/~~~\[3.7ex;\|\][5.7ex;\|\][7.7ex;\|\][9.7ex;\|\][11.3ex;\|\]~~~/g; + }else{ + s/\|/~~~\[3.7ex;\|\][5.7ex;\|\][7.3ex;\|\]~~~/g; + } + s/\[/\\gtxtabs{/g; + s/\]/\}/g; + s/;/\}\{/g; + print TEX "$_\n\n"; +} + +#------------------------------------------------------------------------------- +# subroutine latex_header +# +# write the start of the LaTeX file +#------------------------------------------------------------------------------- + + +sub latex_header { + + includes(); + + $document_class = "article"; #default document class + if ( $output eq "ps" ){$geometry = "dvips, "} #default geometry parameter + $preamble = ""; #default preamble parameter + $musixtex = "no"; + $musixlyr = "no"; + $tabdefs = "no"; + $chaptercount = 0; + @titlecount = (0); + + open ( CHORDPRO, "$dirname/$outfilename.tmp" ) || die "cannot open input file"; + + # read the whole document for settings + while ( ){ + if ( /^{/ ) { # nur Zeilen mit Direktiven bearbeiten + chomp; + if ( /{book_title:/ ) { + s/({.*:)(.+)(})/\2/; + $title = $_ ; + }elsif ( /{book_author:/ ) { + s/({.*:)(.+)(})/\2/; + $author = $_ ; + }elsif ( /{book_date:/ ) { + s/({.*:)(.+)(})/\2/; + $date = $_ ; + }elsif ( /{document_class:/ ) { + s/({.*:)(.+)(})/\2/; + $document_class = $_ ; + $verbose && print "Document_class: $document_class\n"; + if ( $document_class ne "book" && $document_class ne "article" ) { + die "parameter of directive document_class must be \"book\" or \"article\"\n"; + } + }elsif ( /{font_size:/ ) { + s/({.*:)(.+)(})/\2/; + $font_size = $_ ; + }elsif ( /{color_chorus:/ ) { + s/({.*:)(.+)(})/\2/; + $color_chorus = $_ ; + }elsif ( /{color_bridge:/ ) { + s/({.*:)(.+)(})/\2/; + $color_bridge = $_ ; + }elsif ( /{color_instr:/ ) { + s/({.*:)(.+)(})/\2/; + $color_instr = $_ ; + }elsif ( /{color_tab:/ ) { + s/({.*:)(.+)(})/\2/; + $color_tab = $_ ; + }elsif ( /{color_second:/ ) { + s/({.*:)(.+)(})/\2/; + $color_second = $_ ; + }elsif ( /{color_second_back:/ ) { + s/({.*:)(.+)(})/\2/; + $color_second_back = $_ ; + }elsif ( /{geometry:|{g:/ ) { + s/({.*:)(.+)(})/\2/; + $geometry .= "$_," ; + }elsif ( /{preamble:|{p:/ ) { + s/({.*:)(.+)(})/\2/; + $preamble .= "$_\n" ; + }elsif ( /{musixtex}/ ) { + $musixtex = "yes"; + }elsif ( /{musixlyr}/ ) { + $musixlyr = "yes"; + }elsif ( /{tabdefs}/ ) { + $tabdefs = "yes"; + }elsif ( /{chapter/ ) { + s/({.*:)(.+)(})/\2/; + $chaptercount++; + push @titlecount, (0); + }elsif ( /{title:|{t:/ ) { + $titlecount[$chaptercount]++; + } + } + } + +$verbose && print "$chaptercount chapters, @titlecount\n"; + +chop $geometry; #delete last comma +close ( CHORDPRO ); + + + +#open temporary file +open ( CHORDPRO, "$dirname/$outfilename.tmp" ) || die "cannot open input file"; + +#print preamble into LaTeX file +if ( $output eq "pdf" ) { print TEX "\\pdfoutput=1 +\\pdfcompresslevel=9 +\\pdfpageheight=29.7cm +\\pdfpagewidth=21cm +\\pdfcatalog {/PageMode /UseOutlines} +\\pdfinfo { + /Title ($title) + /Author ($author) + /CreationDate ($date) + /Producer (GuitarTeX by Joachim Miltz) +} +"; +} + + +print TEX "\\documentclass[$languages{$language},"; + +if ( $output eq "pdf" ) { print TEX " pdftex," } + +print TEX " $font_size"."pt]{$document_class} +\\usepackage[$geometry]{geometry} +\\usepackage[T1]{fontenc} +"; + +if ( $language eq "pl" ){ + print TEX "\\usepackage[latin2]{inputenc}\n" +}else{ + print TEX "\\usepackage[latin1]{inputenc}\n" +} + + +print TEX "\\usepackage{babel} +\\usepackage{color} +\\usepackage{graphicx} +\\usepackage{ifthen} +\\usepackage{calc} +\\usepackage{gchords} +% +"; + + +if ( $output eq "pdf" ){ +print TEX "\\usepackage[pdftex]{thumbpdf}\n"; +} + +if ( $musixtex eq "yes" ){ +print TEX " +\\input{musixtex} +\\input{musixlyr} +\\input{tabdefs} +" +} + +if ( $document_class eq "book" ){ +print TEX " +\\title{$title} +\\author{$author} +\\date{$date} +\\usepackage{makeidx} +\\makeindex +\\usepackage{fancyhdr} +\\pagestyle{fancy} +" +}else{ +print TEX " +\\pagestyle{empty} +"}; + +print TEX " +% +%------definition of font colors----------- +\\definecolor{chorus}{rgb}{$color_chorus} +\\definecolor{bridge}{rgb}{$color_bridge} +\\definecolor{instr}{rgb}{$color_instr} +\\definecolor{tab}{rgb}{$color_tab} +\\definecolor{second_text}{rgb}{$color_second} +\\definecolor{second_back}{rgb}{$color_second_back} +% +%------definition of environments------- +\\newenvironment{chorus}{\\color{chorus}}{\\normalcolor} +\\newenvironment{bridge}{\\color{bridge}}{\\normalcolor} +\\newenvironment{instr}{\\color{instr}}{\\normalcolor} +\\newenvironment{gtxtab}{\\color{tab}}{\\normalcolor} +% +%------counter for line numbers------ +%\\newcounter{verscnt}[section] +%\\newcommand{\\vers}{\\stepcounter{verscnt}% +%\\makebox[0.5cm][r]{\\scriptsize\\theverscnt\\normalsize}% +%\\makebox[0.5cm]{}} +% +\\newcommand{\\gtxchordsize}{\\footnotesize} +\\setlength{\\parindent}{0pt} + +%------PostScript-Header für die Chord-Songs------ +%\\special{header=$libpath/chord-common.ps} + +\\sloppy +\\setlength{\\unitlength}{1mm} + +\\newcommand{\\gtxchord}[2]{\\sbox{\\gtxchordbox}{#1}\\sbox{\\textbox}{#2}% + \\ifthenelse{\\lengthtest{\\wd\\textbox>\\wd\\gtxchordbox}}% + {% + \\raisebox{2ex}[2ex][2.5ex]{\\makebox[0pt][l]{\\scriptsize\\bf#1}}#2% + }{% + \\raisebox{2ex}[2ex][2.5ex]{\\makebox[0pt][l]{\\scriptsize\\bf#1}}\\makebox[\\wd\\gtxchordbox+0.5em][l]{#2}% + }% +}% + +\\newcommand{\\guitartab}{% +\\makebox[0cm][l]{\\raisebox{12.5ex}{\\footnotesize{e}}}% +\\makebox[0cm][l]{\\raisebox{10.5ex}{\\footnotesize{B}}}% +\\makebox[0cm][l]{\\raisebox{8.5ex}{\\footnotesize{G}}}% +\\makebox[0cm][l]{\\raisebox{6.5ex}{\\footnotesize{D}}}% +\\makebox[0cm][l]{\\raisebox{4.5ex}{\\footnotesize{A}}}% +\\makebox[0cm][l]{\\raisebox{2.5ex}{\\footnotesize{E}}}% +~~ +\\makebox[0cm][l]{\\raisebox{13ex}{\\line(1,0){130}}}% +\\makebox[0cm][l]{\\raisebox{11ex}{\\line(1,0){130}}}% +\\makebox[0cm][l]{\\raisebox{9ex}{\\line(1,0){130}}}% +\\makebox[0cm][l]{\\raisebox{7ex}{\\line(1,0){130}}}% +\\makebox[0cm][l]{\\raisebox{5ex}{\\line(1,0){130}}}% +\\makebox[0cm][l]{\\raisebox{3ex}{\\line(1,0){130}}}% +~} + +\\newcommand{\\basstab}{% +\\makebox[0cm][l]{\\raisebox{8.5ex}{\\footnotesize{G}}}% +\\makebox[0cm][l]{\\raisebox{6.5ex}{\\footnotesize{D}}}% +\\makebox[0cm][l]{\\raisebox{4.5ex}{\\footnotesize{A}}}% +\\makebox[0cm][l]{\\raisebox{2.5ex}{\\footnotesize{E}}}% +~~ +\\makebox[0cm][l]{\\raisebox{9ex}{\\line(1,0){130}}}% +\\makebox[0cm][l]{\\raisebox{7ex}{\\line(1,0){130}}}% +\\makebox[0cm][l]{\\raisebox{5ex}{\\line(1,0){130}}}% +\\makebox[0cm][l]{\\raisebox{3ex}{\\line(1,0){130}}}% +~} + +\\newcommand{\\gtxtabs}[2]{\\makebox[0cm][l]{\\raisebox{#1}{#2}}} + +$preamble + +%------start of document----------- +\\begin{document} +\\newsavebox{\\gtxchordbox} +\\newsavebox{\\textbox} +"; + +if ( $document_class eq "book" ){ +print TEX " +\\fancyhead +\\fancyfoot +\\frontmatter +\\maketitle +\\tableofcontents +\\mainmatter +\\fancyhead[CE]{$title} +\\fancyhead[LE,RO]{\\thepage} +"}; + +print TEX "%\n%\n"; +} + + +#------------------------------------------------------------------------------- +# subroutine latex_footer +# +# write the end of the LaTeX file +#------------------------------------------------------------------------------- + +sub latex_footer { + print TEX "$define\n"; + if ( $document_class eq "book") { + print TEX "\\backmatter"; + print TEX "\\printindex\n"; + } + print TEX "\\end{document}\n"; + close ( TEX ); +} + +#------------------------------------------------------------------------------- +# subroutine includes +# +# look for includes, save everything into a temporary file +#------------------------------------------------------------------------------- + +sub includes{ + open ( TMP, ">$dirname/$outfilename.tmp" ) || die "cannot open temporary output file"; + # open input file + open ( CHORDPRO, "$filename" ) || die "cannot open input file"; + while ( ){ + if ( /{include:/ ) { #read only lines with an include directive + s/({.*:)(.+)(})/\2/; + print TMP "#$_\n#\n"; + open ( INSERT, "$dirname/$_" ) || die "cannot open file to insert: $_"; + while ( ){ #insert file to include + print TMP; + } + }else{ + print TMP; + } + close (INSERT); + } + close ( CHORDPRO ); + close ( TMP ); + } diff --git a/guitartex.conf b/guitartex.conf new file mode 100644 index 0000000..a4f9dc8 --- /dev/null +++ b/guitartex.conf @@ -0,0 +1,95 @@ +#----------------------------------------------------------------------------------- +# Languages +#----------------------------------------------------------------------------------- +# supported Languages: +# define hash with supported languages +$languages{"en"} = "english"; +$languages{"de"} = "german"; +$languages{"it"} = "italian"; +$languages{"br"} = "brazilian"; +$languages{"pl"} = "polish"; +$languages{"es"} = "spanish"; + +$language="de"; + + +#----------------------------------------------------------------------------------- +# Tool tips +#----------------------------------------------------------------------------------- +# GuitarTeX shows tool tips if the mouse cursor stays over an icon +# for a short time +$tool_tips = "yes"; + + +#----------------------------------------------------------------------------------- +# Syntax highlighting +#----------------------------------------------------------------------------------- +# turn on or off syntax highlighting +# supported values: 'yes' turns highlighting on, any other value turns highlighting off + +$highlight = "yes"; + +# highlighting colors +# colors may be given as rgb values in hex (e.g. #ffffff for white) or by name (e.g. black) +# a list of all supported color names can be found in the color dialog box (see color menu) + +# highlighting colors for directives +$highlight_directive_foreground = "red"; +$highlight_directive_background = "#ffe0e0"; +# highlighting colors for chords +$highlight_chord_foreground = "midnightblue"; +$highlight_chord_background = "#e0e0ff"; +# highlighting colors for comments +$highlight_comment_foreground = "white"; +$highlight_comment_background = "lightgrey"; + +#----------------------------------------------------------------------------------- +# default values for printed output +#----------------------------------------------------------------------------------- + +#font size, supported values: 10, 11, 12 +$font_size = "11"; + +#default colors +#colors are comma separated decimal values from 0 to 1 (e.g. 1,1,1 for white) + +#default color for chorus +$color_chorus = "1,0,0"; +#default color for bridge +$color_bridge = "0,0,1"; +#default color for instrumental part +$color_instr = ".3,.3,.3"; +#default color for ascii tablature +$color_tab = ".3,.3,.3"; +#default foreground and background color for second voice +$color_second = "1,1,1"; +$color_second_back = ".7,.7,.7"; + +#----------------------------------------------------------------------------------- +# text viewer +#----------------------------------------------------------------------------------- +# after creating a latex file, you can view/edit it with the program specified here +# add your favourite editor here +# +# $text_viewer = "kwrite"; +# $text_viewer = "emacs"; +$text_viewer = "kate"; + +#----------------------------------------------------------------------------------- +# postscript viewer +#----------------------------------------------------------------------------------- +# after creating a postscript file, you can view it with the viewer specified here +# +# $ps_viewer = "gv"; +$ps_viewer = "kghostview"; + +#----------------------------------------------------------------------------------- +# pdf viewer +#----------------------------------------------------------------------------------- +# after creating a pdf file, you can view it with the viewer specified here +# +# $pdf_viewer = "gv"; +# $pdf_viewer = "acroread"; +$pdf_viewer = "kghostview"; + +1; # this must be the last line ! diff --git a/guitartex.pl b/guitartex.pl new file mode 100755 index 0000000..e405869 --- /dev/null +++ b/guitartex.pl @@ -0,0 +1,813 @@ +#!/usr/bin/perl + +use Tk; +use Tk::ErrorDialog; +use Tk::DialogBox; +use Tk::Clipboard; +use Tk::Balloon; +use File::Basename; +use Getopt::Std; +#use FindBin; + +$libpath="/usr/local/lib/guitartex"; + +# load configuration file +$home=$ENV{"HOME"}; +do "$home/.guitartexrc" or die "cannot load guitartex.conf"; + +# load subroutines +foreach $file ( + "sub_gui.pl", #perl/tk gui, synatax highlighting, check for f-keys + "sub_menu_file.pl", #file menu + "sub_menu_edit.pl", #edit menu + "sub_menu_colors.pl", #colors menu + "sub_menu_transpose.pl", #transpose menu + "sub_menu_help.pl", #help menu + ){ + unless ($return = do "$libpath/$file") { warn "parsing $file failed: $@" if $@ } +} + +#load language file +do "$libpath/language/$language.pl" or die "cannot load file language/$language.pl\n"; + +gui(); + +#-------------------------------------------------------------------------------- +# subroutine gui +# +# setup the graphical user interface +#-------------------------------------------------------------------------------- +sub gui { + #create main window + $mw = MainWindow->new; + $mw -> title ("GuitarTeX"); + + #create editor in $t + $t = $mw -> Scrolled ( "Text", -background => 'white', + -relief => 'flat', -wrap => 'none', + -scrollbars => 'se', -exportselection => '0' ); + + #call subroutine check_key if any key is pressed (to handle F5, F6 ...) + $t -> bind ( "", [\&check_key, Ev('k')] ); + + #create a frame for the menu bar + $menu_frame = $mw -> Frame -> pack ( -side => 'top', -fill => 'x'); + + #create the file menu + $menu_file = $menu_frame -> Menubutton (-textvariable => \$name_menu_file, + -menuitems => [ + ['command' => $name_menu_new, -command => \&menu_file_new], + ['command' => $name_menu_open, -command => \&menu_file_open], + "-", + ['command' => $name_menu_save, -command => \&menu_file_save], + ['command' => $name_menu_saveas, -command => \&menu_file_saveas], + "-", + [cascade => $name_menu_export, -menuitems => [ + ['command' => $name_menu_latex, -command => \&export_latex], + ['command' => $name_menu_postscript, -command => \&export_postscript], + ['command' => $name_menu_pdf, -command => \&export_pdf], + ], + ], + "-", + ['command' => $name_menu_quit, -command => \&menu_file_quit], + ] + )->pack (-side => 'left', -anchor => 'w'); + + #create the edit menu + $menu_edit = $menu_frame -> Menubutton (-textvariable => \$name_menu_edit, + -menuitems => [ + ['command' => $name_menu_paste1, -command => \&menu_edit_paste], + "-", + ['command' => $name_menu_insert, -command => \&menu_edit_insert], + ['command' => $name_menu_crd, -command => \&menu_edit_crd2chopro, -accelerator => "F9"], + "-", + ['command' => $name_menu_cut, -state => 'disabled'], + ['command' => $name_menu_copy, -state => 'disabled'], + ['command' => $name_menu_paste2, -state => 'disabled'], + ] + )->pack (-side => 'left', -anchor => 'w'); + + #create the directives menu + $menu_directives = $menu_frame -> Menubutton (-textvariable => \$name_menu_directives, + -menuitems => [ + ['command' => $name_menu_startchorus, -command =>sub{$t->insert("insert linestart","{soc}\n", 'directive')}], + ['command' => $name_menu_endchorus, -command =>sub{$t->insert("insert linestart","{eoc}\n", 'directive')}], + "-", + ['command' => $name_menu_startbridge, -command => sub{$t->insert("insert linestart","{sob}\n", 'directive')}], + ['command' => $name_menu_endbridge, -command => sub{$t->insert("insert linestart","{eob}\n", 'directive')}], + "-", + ['command' => $name_menu_starttab, -command => sub{$t->insert("insert linestart","{sot}\n", 'directive')}], + ['command' => $name_menu_endtab, -command => sub{$t->insert("insert linestart","{eot}\n", 'directive')}], + "-", + ['command' => $name_menu_startinstr, -command => sub{$t->insert("insert linestart","{soi}\n", 'directive')}], + ['command' => $name_menu_endinstr, -command => sub{$t->insert("insert linestart","{eoi}\n", 'directive')}], + "-", + ['command' => $name_menu_guitartab, -command => sub{$t->insert("insert linestart","{guitartab:}\n", 'directive')}], + ['command' => $name_menu_basstab, -command => sub{$t->insert("insert linestart","{basstab:}\n", 'directive')}], + "-", + ['command' => $name_menu_title, -command => sub{$t->insert("insert linestart","{t:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_subtitle, -command => sub{$t->insert("insert linestart","{st:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_newpage, -command => sub{$t->insert("insert linestart","{np}\n", 'directive')}], + ['command' => $name_menu_comment, -command => sub{$t->insert("insert linestart","{c:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_margin, -command => sub{$t->insert("insert linestart","{m:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_second, -command => sub{$t->insert("insert linestart","{2:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ] + )->pack (-side => 'left', -anchor => 'w'); + + #create the songbook menu + $menu_songbook = $menu_frame -> Menubutton (-textvariable => \$name_menu_songbook, + -menuitems => [ + ['command' => $name_menu_book, -command => sub{$t->insert("insert","{document_class:book}\n", 'directive')}], + ['command' => $name_menu_booktitle, -command => sub{ $t->insert("insert linestart","{book_title:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_bookauthor, -command => sub{ $t->insert("insert linestart","{book_author:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_bookdate, -command => sub{ $t->insert("insert linestart","{book_date:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_chapter, -command => sub{ $t->insert("insert linestart","{chapter:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_include, -command => sub{ $t->insert("insert linestart","{include:", 'directive'); $t->insert("insert lineend","}\n", 'directive');}], + ['command' => $name_menu_even, -command => sub{$t->insert("insert linestart","{even}\n", 'directive')}], + ] + )->pack (-side => 'left', -anchor => 'w'); + + #create the colors menu + $menu_colors = $menu_frame -> Menubutton (-textvariable => \$name_menu_color, + -menuitems => [ + ['command' => $name_menu_colorchorus, -command => \&colors_chorus], + ['command' => $name_menu_colorbridge, -command => \&colors_bridge], + ['command' => $name_menu_colortab, -command => \&colors_tab], + ['command' => $name_menu_colorinstr, -command => \&colors_instr], + ['command' => $name_menu_second, -command => \&colors_second], + ['command' => $name_menu_secondback, -command => \&colors_second_back], + ] + )->pack (-side => 'left', -anchor => 'w'); + + #create the transpose menu + $menu_transpose = $menu_frame -> Menubutton (-textvariable => \$name_menu_transpose, + -menuitems => [ + ['command' => $name_menu_transup, -command => \&transpose_up, -accelerator => "F5"], + ['command' => $name_menu_transdown, -command => \&transpose_down, -accelerator => "F6"], + "-", + ['command' => $name_menu_transsharp, -command => \&transpose_flat2sharp, -accelerator => "F7"], + ['command' => $name_menu_transflat, -command => \&transpose_sharp2flat, -accelerator => "F8"], + "-", + ['command' => $name_menu_transgerman, -command => \&transpose_b2h], + ['command' => $name_menu_transinternational, -command => \&transpose_h2b], + ] + )->pack (-side => 'left', -anchor => 'w'); + + #create the help menu + $menu_help = $menu_frame -> Menubutton (-textvariable => \$name_menu_help, -tearoff => '0', -menuitems => [ + ['command' => $name_menu_help, -command => \&documentation], + ['command' => "$name_menu_about GuitarTeX", -command => \&about], + ] + )->pack (-side => 'right'); + + #create a frame for the icons + $icon_frame0 = $mw -> Frame ( -relief => "flat", -borderwidth => 0 ) -> pack ( -side => 'top', -anchor => 'w' ); + # create file new icon + $icon = $mw -> Photo ( -file => "$libpath/images/filenew.gif" ); + $icon_file_new = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&menu_file_new) -> pack(-side=>'left' ); + #create file open icon + $icon = $mw -> Photo ( -file => "$libpath/images/fileopen.gif" ); + $icon_file_open = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&menu_file_open) ->pack(-side=>'left' ); + #create file save icon + $icon = $mw -> Photo ( -file => "$libpath/images/filesave.gif" ); + $icon_file_save = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&menu_file_save) ->pack(-side=>'left' ); + #create export latex icon + $icon = $mw -> Photo ( -file => "$libpath/images/tex.gif" ); + $icon_latex = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&export_latex) ->pack(-side=>'left' ); + #create export postscript icon + $icon = $mw -> Photo ( -file => "$libpath/images/postscript.gif" ); + $icon_ps = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&export_postscript) ->pack(-side=>'left' ); + #create export pdf icon + $icon = $mw -> Photo ( -file => "$libpath/images/pdf.gif" ); + $icon_pdf = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&export_pdf) ->pack(-side=>'left' ); + #create transpose up icon + $icon = $mw -> Photo ( -file => "$libpath/images/up.gif" ); + $icon_transpose_up = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&transpose_up) ->pack(-side=>'left' ); + #create transpos down icon + $icon = $mw -> Photo ( -file => "$libpath/images/down.gif" ); + $icon_transpose_down = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&transpose_down) ->pack(-side=>'left' ); + #create syntax highlighting icon + if ( $highlight eq "yes" ) { + $icon = $mw -> Photo ( -file => "$libpath/images/color.gif" ); + $icon_highlight = $icon_frame0 -> Button(-image => $icon, -relief=>'flat', -command => \&highlight) ->pack(-side=>'left' ); + } + + #create frame for chord icons + $icon_frame1 = $mw -> Frame ( -relief => "flat", -borderwidth => 2 ) -> pack ( -side => 'top', -anchor => 'w' ); + #create a button for each key + $icon_frame1 -> Label( -text=>$name_icon_chords, -width=>10 )->pack ( -side => 'left' ); + $icon_chord_c = $icon_frame1 -> Button( -text=>"C", -command=>sub{$t->insert("insert","[C]", 'chord')} )->pack(-side=>'left'); + $icon_chord_c2 = $icon_frame1 -> Button( -text=>"C#", -command=>sub{$t->insert("insert","[C#]",'chord')} )->pack(-side=>'left'); + $icon_chord_d = $icon_frame1 -> Button( -text=>"D", -command=>sub{$t->insert("insert","[D]", 'chord')} )->pack(-side=>'left'); + $icon_chord_d2 = $icon_frame1 -> Button( -text=>"D#", -command=>sub{$t->insert("insert","[D#]",'chord')} )->pack(-side=>'left'); + $icon_chord_e = $icon_frame1 -> Button( -text=>"E", -command=>sub{$t->insert("insert","[E]", 'chord')} )->pack(-side=>'left'); + $icon_chord_f = $icon_frame1 -> Button( -text=>"F", -command=>sub{$t->insert("insert","[F]", 'chord')} )->pack(-side=>'left'); + $icon_chord_f2 = $icon_frame1 -> Button( -text=>"F#", -command=>sub{$t->insert("insert","[F#]",'chord')} )->pack(-side=>'left'); + $icon_chord_g = $icon_frame1 -> Button( -text=>"G", -command=>sub{$t->insert("insert","[G]", 'chord')} )->pack(-side=>'left'); + $icon_chord_g2 = $icon_frame1 -> Button( -text=>"G#", -command=>sub{$t->insert("insert","[G#]",'chord')} )->pack(-side=>'left'); + $icon_chord_a = $icon_frame1 -> Button( -text=>"A", -command=>sub{$t->insert("insert","[A]", 'chord')} )->pack(-side=>'left'); + $icon_chord_bb = $icon_frame1 -> Button( -text=>"Bb", -command=>sub{$t->insert("insert","[Bb]",'chord')} )->pack(-side=>'left'); + $icon_chord_b = $icon_frame1 -> Button( -text=>$name_note_B, -command=>sub{$t->insert("insert","[B]", 'chord')} )->pack(-side=>'left'); + + #create frame for tablature icons + $tab_frame = $mw -> Frame ( -relief => "groove", -borderwidth => 0 ) -> pack ( -side => 'top', -anchor => 'w' ); + $tab_frame -> Label( -text => $name_icon_tab, -width=>10 )->pack ( -side => 'left' ); + #create button for guitar tablature + $icon_guitartab = $tab_frame -> Button( -text=>$name_icon_guitar, -command => sub{$t->insert("insert linestart","{guitartab:}\n")}) -> pack ( -side => 'left' ); + #create button for bass tablature + $icon_basstab = $tab_frame -> Button( -text=>$name_icon_bass, -command => sub{$t->insert("insert linestart","{basstab:}\n")}) -> pack ( -side => 'left' ); + #create entry field for fret number + $tab_frame -> Label( -text=>$name_icon_fret )->pack ( -side => 'left' ); + $icon_fret = $tab_frame -> Entry( -width=>3, -relief=>'sunken', -background=>'white', -textvariable=>\$tab)->pack ( -side => 'left' ); + #create a button for each string + $tab_frame -> Label( -text=>$name_icon_string )->pack ( -side => 'left' ); + $icon_string_E = $tab_frame -> Button( -text=>"E", -command=>sub{$t->insert("insert","[1;$tab]");$tab=""}) -> pack ( -side => 'left' ); + $icon_string_A = $tab_frame -> Button( -text=>"A", -command=>sub{$t->insert("insert","[2;$tab]");$tab=""}) -> pack ( -side => 'left' ); + $icon_string_D = $tab_frame -> Button( -text=>"D", -command=>sub{$t->insert("insert","[3;$tab]");$tab=""}) -> pack ( -side => 'left' ); + $icon_string_G = $tab_frame -> Button( -text=>"G", -command=>sub{$t->insert("insert","[4;$tab]");$tab=""}) -> pack ( -side => 'left' ); + $icon_string_B = $tab_frame -> Button( -text=>$name_note_B, -command=>sub{$t->insert("insert","[5;$tab]");$tab=""}) -> pack ( -side => 'left' ); + $icon_string_e = $tab_frame -> Button( -text=>"e", -command=>sub{$t->insert("insert","[6;$tab]");$tab=""}) -> pack ( -side => 'left' ); + + #create status bar and connect it to $info + $status_bar = $mw->Label(-textvariable => \$info) -> pack( -side => 'bottom', -anchor => 'w'); + + #show the editor and give it the cursor focus + $t -> pack( -fill => 'both', -expand => 1); + $t ->focus(); + + #define tags for syntax highlighting + if ( $highlight eq "yes" ) { + $t -> tagConfigure ('directive', -foreground => $highlight_directive_foreground, -background => $highlight_directive_background ); + $t -> tagConfigure ('comment', -foreground => $highlight_comment_foreground, -background => $highlight_comment_background ); + $t -> tagConfigure ('chord', -foreground => $highlight_chord_foreground, -background => $highlight_chord_background ); + } + + #attach tool tip balloons to icons + if ( $tool_tips eq "yes" ){ + $balloon = $mw -> Balloon (-statusbar => $status_bar ); + $balloon -> attach ( $icon_file_new, -balloonmsg => $balloon_new ); + $balloon -> attach ( $icon_file_open, -balloonmsg => $balloon_open ); + $balloon -> attach ( $icon_file_save, -balloonmsg => $balloon_save ); + $balloon -> attach ( $icon_latex, -balloonmsg => $balloon_latex ); + $balloon -> attach ( $icon_ps, -balloonmsg => $balloon_ps ); + $balloon -> attach ( $icon_pdf, -balloonmsg => $balloon_pdf ); + $balloon -> attach ( $icon_transpose_up, -balloonmsg => $balloon_transpose_up ); + $balloon -> attach ( $icon_transpose_down, -balloonmsg => $balloon_transpose_down ); + $balloon -> attach ( $icon_chord_c, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_c2, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_d, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_d2, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_e, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_f, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_f2, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_g, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_g2, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_a, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_bb, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_chord_b, -balloonmsg => $balloon_chord ); + $balloon -> attach ( $icon_guitartab, -balloonmsg => $balloon_guitartab ); + $balloon -> attach ( $icon_basstab, -balloonmsg => $balloon_basstab ); + $balloon -> attach ( $icon_fret, -balloonmsg => $balloon_fret ); + $balloon -> attach ( $icon_string_E, -balloonmsg => $balloon_fret ); + $balloon -> attach ( $icon_string_A, -balloonmsg => $balloon_fret ); + $balloon -> attach ( $icon_string_D, -balloonmsg => $balloon_fret ); + $balloon -> attach ( $icon_string_G, -balloonmsg => $balloon_fret ); + $balloon -> attach ( $icon_string_B, -balloonmsg => $balloon_fret ); + $balloon -> attach ( $icon_string_e, -balloonmsg => $balloon_fret ); + if ( $highlight eq "yes" ) {$balloon -> attach ( $icon_highlight, -balloonmsg => $balloon_highlight )}; + } + + #start the graphical user interface + MainLoop; +} + +#-------------------------------------------------------------------------------- +# subroutine check_key +# +# is called by the editor on every key stroke to check for function keys +#-------------------------------------------------------------------------------- +sub check_key { + $taste = $_[1]; + if ( $taste == 71 ) { transpose_up(); } # F5 + if ( $taste == 72 ) { transpose_down(); } # F6 + if ( $taste == 73 ) { transpose_flat2sharp(); } # F7 + if ( $taste == 74 ) { transpose_sharp2flat(); } # F8 + if ( $taste == 75 ) { menu_edit_crd2chopro(); } # F9 +} + +#-------------------------------------------------------------------------------- +# subroutine highlight +# +# parses the text in the editor to highlight chords and directives +# define the colors in guitartex.conf +#-------------------------------------------------------------------------------- +sub highlight { + if ( $highlight eq "yes" ) { + $text = $t->get("1.0", "end"); #store text from the editor in variabel $text + $t->delete("1.0","end"); #delete text in the editor + @lines = split (/\n/, $text); #split the text into an array of lines + foreach $line (@lines) { + if ( $line=~/^{/ ) { #if the line starts with '{' it is a directive + $t -> insert ( "end", "$line\n", 'directive' ); #insert line with directive colors + }elsif ( $line=~/^#/ ) { #if the line starts with '#' it is a comment + $t -> insert ( "end", $line, 'comment' ); + }elsif ( $line=~/\[.*\]/ ){ #if the line contains chords + @words = split (/\[/, $line); #split the line at every chord + foreach $word (@words) { + @words2 = split (/\]/, $word); #split chord and lyrics + if ( $word =~ /\]/ ) { #if there was a chord insert it with chord color + $t -> insert ( "end", '[' . $words2[0] . ']', 'chord' ); + }else{ #else insert the lyrics + $t -> insert ( "end", $words2[0] ); + } + $t -> insert ( "end", $words2[1] ); + } + }else{ #a lyrics line without comment, directive or chord + $t -> insert ( "end", $line ); + } #if-elsif-else + if ( $line!~/^{/ ) { #if the line is not a directive + $t -> insert ( "end", "\n" ); #append newline character + } + } # foreach + } #if +} + + +#-------------------------------------------------------------------------------- +# subroutine menu_file_new +# +# asks user to save the currend document +# shows dialog to choose template and opens template +#-------------------------------------------------------------------------------- +sub menu_file_new { + $info = "$name_menu_file $name_menu_new"; #status bar + ask_save(); #ask if user wants to save current document + $t->delete ("1.0", "end"); #delete current document + #define dialog box for choosing template + $dialog = $mw -> DialogBox ( -title => "$name_menu_new ...", -buttons => [ $name_ok ]); + $list = $dialog->add( "Listbox" )->pack(); + $list -> insert ('end', @name_template ); + $info = $dialog->Show; #show dialog box + $info = $list->curselection(); #get index number of selected template + open ( FILE, "templates/$name_template[$info]" ); #open template file + while ( ){ $t->insert("end", $_) } #read template file into text variable + close (FILE); #close template file + highlight(); #do syntax highlighting + $t ->focus(); #give the cursor focus to the editor + $filename = ""; #reset file name +} + +#-------------------------------------------------------------------------------- +# subroutine menu_file_open +# +# asks user to save the currend document +# shows dialog to choose file and opens file +#-------------------------------------------------------------------------------- +sub menu_file_open { + $info = "$name_menu_file $name_menu_open"; #status bar + ask_save(); #ask if user wants to save current document + $filename = $mw->getOpenFile ( -filetypes => #file dialog box + [ + [$name_guitartex_files, ['.gtx']], + [$name_chordpro_files, ['.chopro','.pro']], + [$name_text_files, ['.txt', '.text']], + [$name_all_files, '*', ], + ], + -title => $name_menu_open ); + $info = $filename; #status bar + $t->delete("1.0","end"); #delete old text + open ( FILE, "$filename" ); #open file + while ( ){ $t->insert("end", $_) } #read file into text variable + close (FILE); #close file + highlight(); #do syntax highlighting + $t ->focus(); #give the cursor focus to the editor +} + +#-------------------------------------------------------------------------------- +# subroutine ask_save +# +# asks user to save the currend document +#-------------------------------------------------------------------------------- +sub ask_save{ + if ( $filename eq "" ) { return } #do nothing if file name is not defined + $dialog = $mw->Dialog( #define dialog box + -buttons => [$name_yes,$name_no], + -title => $name_menu_save, + -text => $name_ask_save, + ); + $info = $dialog -> Show; #show dialog box + if ( $info eq $name_yes ) { menu_file_save() } #if answer is 'yes' save current document +} + +#-------------------------------------------------------------------------------- +# subroutine menu_file_save +# +# save current document +#-------------------------------------------------------------------------------- +sub menu_file_save { + $info = "$name_menu_file $name_menu_save"; #status bar + if ( $filename ){ #if file name is defined, save document + open ( FILE, ">$filename" ) or die "cannot open file $filename\n"; + $text = $t->get("1.0", "end"); + chomp $text; + print FILE $text; + close (FILE); + $info = $filename; + }else{ #else show 'save as...' dialog box + menu_file_saveas(); + } +} + +#-------------------------------------------------------------------------------- +# subroutine menu_file_saveas +# +# save current document with a new name +#-------------------------------------------------------------------------------- +sub menu_file_saveas { + $info = "$name_menu_file $name_menu_saveas"; #status bar + $filename = $mw->getSaveFile ( -filetypes => #define and show dialog box + [ + [$name_guitartex_files, ['.gtx']], + [$name_chordpro_files, ['.chopro','.pro']], + [$name_text_files, ['.txt', '.text']], + [$name_all_files, '*', ], + ], + -title => $name_menu_saveas ); + $info = $filename; #status bar + menu_file_save(); #save file with given name +} + + +#-------------------------------------------------------------------------------- +# subroutine menu_file_quit +# +# exit the program +#-------------------------------------------------------------------------------- +sub menu_file_quit { + ask_save(); #ask if user wants to save current document + exit; #quit +} + +#-------------------------------------------------------------------------------- +# subroutine export_latex +# +# export the current document in LaTeX format +#-------------------------------------------------------------------------------- +sub export_latex{ + menu_file_save(); + ($name, $dir, $ext) = fileparse ($filename, '\..*'); + chdir $dir; + system ( "gtx2tex $name$ext" ); + if ( $text_viewer ne "" ) {system ( "$text_viewer \"$name.tex\" &" )} + $info = $name_tex_ready; +} + +#-------------------------------------------------------------------------------- +# subroutine export_postscript +# +# export the current document in postscript format +#-------------------------------------------------------------------------------- +sub export_postscript{ + menu_file_save(); + ($name, $dir, $ext) = fileparse ($filename, '\..*'); + chdir $dir; + system ( "gtx2tex --output=ps $name$ext" ); + if ( $ps_viewer ne "" ) {system ( "$ps_viewer \"$name.ps\" &" )} + $info = $name_ps_ready; +} + +#-------------------------------------------------------------------------------- +# subroutine export_pdf +# +# export the current document in pdf format +#-------------------------------------------------------------------------------- +sub export_pdf{ + menu_file_save(); + ($name, $dir, $ext) = fileparse ($filename, '\..*'); + chdir $dir; + system ( "gtx2tex --output=pdf $name$ext" ); + if ( $pdf_viewer ne "" ) {system ( "$pdf_viewer \"$name.pdf\" &" )} + $info = $name_pdf_ready; +} + + +#-------------------------------------------------------------------------------- +# subroutine menu_edit_paste +# +# insert text from clipboard +#-------------------------------------------------------------------------------- +sub menu_edit_paste { + $info = $name_menu_paste1; + $text = $mw -> SelectionGet(); + $t -> insert("insert", $text ) +} + +#-------------------------------------------------------------------------------- +# subroutine menu_edit_insert +# +# insert text from a file +#-------------------------------------------------------------------------------- +sub menu_edit_insert { + $info = "$name_menu_edit $name_menu_insert"; #status bar + $insert_filename = $mw->getOpenFile ( -filetypes => #open file dialog + [ + [$name_guitartex_files, ['.gtx']], + [$name_chordpro_files, ['.chopro','.pro']], + [$name_text_files, ['.txt', '.text']], + [$name_all_files, '*', ], + ], + -title => $name_menu_insert, + -initialdir => "/home/" ); + $info = $insert_filename; #status bar + open ( FILE, "$insert_filename" ); #open chosen file + while ( ){ $t->insert("insert", $_); } #insert chosen file + close (FILE); #close file +} + +#-------------------------------------------------------------------------------- +# subroutine menu_editcrd2chopro +# +# convert lines from crd to chordpro format +#-------------------------------------------------------------------------------- +sub menu_edit_crd2chopro { + $info = "$name_menu_edit $name_menu_crd"; #status bar + $chord = $t -> get ("insert linestart", "insert lineend" ); #save the current line in variable $chord + $t -> delete ( "insert linestart", "insert lineend + 1 char" ); #delete the current line + $lyric = $t -> get ("insert linestart", "insert lineend" ); #save the next line in variable $lyric + $t -> delete ( "insert linestart", "insert lineend" ); #delete the lyric line + + if ( length($lyric) < length ($chord) ) { #adjust the length of chord and lyric + $lyric .= " " x ( length ($chord) - length ($lyric) +1 ); #line by adding spaces to the + $chord .= " "; #shorter line + }else{ + $chord .= " " x ( length ($lyric) - length ($chord) +1 ); + $lyric .= " "; + } + + $chopro=""; #initialize variable for the resulting line + for ( $i=0; $i insert ("insert", $chopro); #insert new chordpro line + $t -> delete ("insert"); + $t -> insert ("insert", "\n"); + +} + + +#-------------------------------------------------------------------------------- +# subroutine calc_color +# +# convert the result of color dialog into LaTeX color format +#-------------------------------------------------------------------------------- +sub calc_color{ + $red = int(hex(substr($info,1,4))/655.35)/100; + $green = int(hex(substr($info,5,4))/655.35)/100; + $blue = int(hex(substr($info,9,4))/655.35)/100; + $info = "red $red, green $green, blue $blue"; +} + +#-------------------------------------------------------------------------------- +# subroutine color_chorus +# +# search the document for a chorus color directive +# if it exists, change the chosen color value +# if it doesn't exist, add a new chorus color directive with the chosen color value +#-------------------------------------------------------------------------------- +sub colors_chorus{ + $info = $mw -> chooseColor(-title=>$name_menu_colorchorus); #get a color value from dialog box + calc_color(); #convert color value into LaTeX format + if ( $t -> search ( "{color_chorus:", "1.0" ) ) { #if color directive already exists + $text = $t->get("1.0", "end"); #save the text in variable $text + $text =~ s/(\{color_chorus:)(.*)(\})/\1$red,$green,$blue\3/; #replace color directive with new value + chomp $text; + $t->delete("1.0","end"); #delete old text + $t->insert('end', $text); #restore text from variable $text + }else{ #else + $t -> insert ("end", "\n{color_chorus:$red,$green,$blue}"); #insert a new color directive + } +} + +#-------------------------------------------------------------------------------- +# subroutines color_bridge, color_tab ... +# +# the following subroutines work like the color_chorus subroutine +# look there for comments +#-------------------------------------------------------------------------------- +sub colors_bridge{ + $info = $mw -> chooseColor(-title=>$name_menu_colorbridge); + calc_color(); + if ( $t -> search ( "{color_bridge:", "1.0" ) ) { + $text = $t->get("1.0", "end"); + $text =~ s/(\{color_bridge:)(.*)(\})/\1$red,$green,$blue\3/; + chomp $text; + $t->delete("1.0","end"); + $t->insert('end', $text); + }else{ + $t -> insert ("end", "\n{color_bridge:$red,$green,$blue}"); + } +} + +sub colors_tab{ + $info = $mw -> chooseColor(-title=>$name_menu_colortab); + calc_color(); + if ( $t -> search ( "{color_tab:", "1.0" ) ) { + $text = $t->get("1.0", "end"); + $text =~ s/(\{color_tab:)(.*)(\})/\1$red,$green,$blue\3/; + chomp $text; + $t->delete("1.0","end"); + $t->insert('end', $text); + }else{ + $t -> insert ("end", "\n{color_tab:$red,$green,$blue}"); + } +} + +sub colors_instr{ + $info = $mw -> chooseColor(-title=>$name_menu_colorinstr); + calc_color(); + if ( $t -> search ( "{color_instr:", "1.0" ) ) { + $text = $t->get("1.0", "end"); + $text =~ s/(\{color_instr:)(.*)(\})/\1$red,$green,$blue\3/; + chomp $text; + $t->delete("1.0","end"); + $t->insert('end', $text); + }else{ + $t -> insert ("end", "\n{color_instr:$red,$green,$blue}"); + } +} + +sub colors_second{ + $info = $mw -> chooseColor(-title=>$name_menu_second); + calc_color(); + if ( $t -> search ( "{color_second:", "1.0" ) ) { + $text = $t->get("1.0", "end"); + $text =~ s/(\{color_second:)(.*)(\})/\1$red,$green,$blue\3/; + chomp $text; + $t->delete("1.0","end"); + $t->insert('end', $text); + }else{ + $t -> insert ("end", "\n{color_second:$red,$green,$blue}"); + } +} + +sub colors_second_back{ + $info = $mw -> chooseColor(-title=>$name_menu_secondback); + calc_color(); + if ( $t -> search ( "{color_second_back:", "1.0" ) ) { + $text = $t->get("1.0", "end"); + $text =~ s/(\{color_second_back:)(.*)(\})/\1$red,$green,$blue\3/; + chomp $text; + $t->delete("1.0","end"); + $t->insert('end', $text); + }else{ + $t -> insert ("end", "\n{color_second_back:$red,$green,$blue}"); + } +} + + +#-------------------------------------------------------------------------------- +# subroutine transpose_up +# +# transpose one half tone up +#-------------------------------------------------------------------------------- +sub transpose_up{ + $text = $t->get("1.0", "end"); #save text in variable $text + $t->delete("1.0","end"); #delete text + #exchange chord names + $text =~ s/\[A#/[*B/g; $text =~ s/\[Ab/[*A/g; $text =~ s/\[A/[*A#/g; $text =~ s/\[Bb/[*B/g; + $text =~ s/\[(B|H)/[*C/g; $text =~ s/\[C#/[*D/g; $text =~ s/\[Cb/[*C/g; $text =~ s/\[C/[*C#/g; + $text =~ s/\[D#/[*E/g; $text =~ s/\[Db/[*D/g; $text =~ s/\[D/[*D#/g; $text =~ s/\[E#/[*F#/g; + $text =~ s/\[Eb/[*E/g; $text =~ s/\[E/[*F/g; $text =~ s/\[F#/[*G/g; $text =~ s/\[Fb/[*F/g; + $text =~ s/\[F/[*F#/g; $text =~ s/\[G#/[*A/g; $text =~ s/\[Gb/[*G/g; $text =~ s/\[G/[*G#/g; + $text =~ s/\[\*/[/g; $text =~ s/\/A#/\/*B/g; $text =~ s/\/Ab/\/*A/g; $text =~ s/\/A/\/*A#/g; + $text =~ s/\/Bb/\/*B/g; $text =~ s/\/(B|H)/\/*C/g; $text =~ s/\/C#/\/*D/g; $text =~ s/\/Cb/\/*C/g; + $text =~ s/\/C/\/*C#/g; $text =~ s/\/D#/\/*E/g; $text =~ s/\/Db/\/*D/g; $text =~ s/\/D/\/*D#/g; + $text =~ s/\/E#/\/*F#/g; $text =~ s/\/Eb/\/*E/g; $text =~ s/\/E/\/*F/g; $text =~ s/\/F#/\/*G/g; + $text =~ s/\/Fb/\/*F/g; $text =~ s/\/F/\/*F#/g; $text =~ s/\/G#/\/*A/g; $text =~ s/\/Gb/\/*G/g; + $text =~ s/\/G/\/*G#/g; $text =~ s/\/\*/\//g; + chomp $text; + $t->insert('end', $text); #restore text from variable $text + highlight(); #do syntax highlighting +} + +#-------------------------------------------------------------------------------- +# subroutine transpose_up +# +# transpose one half tone down +#-------------------------------------------------------------------------------- +sub transpose_down{ + $text = $t->get("1.0", "end"); #save text in variable $text + $t->delete("1.0","end"); #delete text + #exchange chord names + $text =~ s/\[A#/[*A/g; $text =~ s/\[Ab/[*G/g; $text =~ s/\[A/[*G#/g; $text =~ s/\[Bb/[*A/g; + $text =~ s/\[(B|H)/[*A#/g; $text =~ s/\[C#/[*C/g; $text =~ s/\[Cb/[*A#/g; $text =~ s/\[C/[*B/g; + $text =~ s/\[D#/[*D/g; $text =~ s/\[Db/[*C/g; $text =~ s/\[D/[*C#/g; $text =~ s/\[E#/[*E/g; + $text =~ s/\[Eb/[*D/g; $text =~ s/\[E/[*D#/g; $text =~ s/\[F#/[*F/g; $text =~ s/\[Fb/[*D#/g; + $text =~ s/\[F/[*E/g; $text =~ s/\[G#/[*G/g; $text =~ s/\[Gb/[*F/g; $text =~ s/\[G/[*F#/g; + $text =~ s/\[\*/[/g; + $text =~ s/\/A#/\/*A/g; $text =~ s/\/Ab/\/*G/g; $text =~ s/\/A/\/*G#/g; $text =~ s/\/Bb/\/*A/g; + $text =~ s/\/(B|H)/\/*A#/g; $text =~ s/\/C#/\/*C/g; $text =~ s/\/Cb/\/*A#/g; $text =~ s/\/C/\/*B/g; + $text =~ s/\/D#/\/*D/g; $text =~ s/\/Db/\/*C/g; $text =~ s/\/D/\/*C#/g; $text =~ s/\/E#/\/*E/g; + $text =~ s/\/Eb/\/*D/g; $text =~ s/\/E/\/*D#/g; $text =~ s/\/F#/\/*F/g; $text =~ s/\/Fb/\/*D#/g; + $text =~ s/\/F/\/*E/g; $text =~ s/\/G#/\/*G/g; $text =~ s/\/Gb/\/*F/g; $text =~ s/\/G/\/*F#/g; + $text =~ s/\/\*/\//g; + chomp $text; + + $t->insert('end', $text); #restore text from variable $text + highlight(); #do syntax highlighting +} + +#-------------------------------------------------------------------------------- +# subroutine transpose_flat2sharp +# +# convert flat notes into sharp notes, e.g. Db -> C# +#-------------------------------------------------------------------------------- +sub transpose_flat2sharp{ + $text = $t->get("1.0", "end"); #save text in variable $text + $t->delete("1.0","end"); #delete text + #exchange chord names + $text =~ s/\[Ab/[G#/g; $text =~ s/\[Bb/[A#/g; $text =~ s/\[Cb/[B/g; $text =~ s/\[Db/[C#/g; + $text =~ s/\[Eb/[D#/g; $text =~ s/\[Fb/[E/g; $text =~ s/\[Gb/[F#/g; $text =~ s/\/Ab/\/G#/g; + $text =~ s/\/Bb/\/A#/g; $text =~ s/\/Cb/\/B/g; $text =~ s/\/Db/\/C#/g; $text =~ s/\/Eb/\/D#/g; + $text =~ s/\/Fb/\/E/g; $text =~ s/\/Gb/\/F#/g; + chomp $text; + $t->insert('end', $text); #restore text from variable $text + highlight(); #do syntax highlighting +} + +#-------------------------------------------------------------------------------- +# subroutine transpose_sharp2flat +# +# convert sharp notes into flat notes, e.g. D# -> Eb +#-------------------------------------------------------------------------------- +sub transpose_sharp2flat{ + $text = $t->get("1.0", "end"); #save text in variable $text + $t->delete("1.0","end"); #delete text + #exchange chord names + $text =~ s/\[A#/[Bb/g; $text =~ s/\[(B#|H#)/[C/g; $text =~ s/\[C#/[Db/g; $text =~ s/\[D#/[Eb/g; + $text =~ s/\[E#/[F/g; $text =~ s/\[F#/[Gb/g; $text =~ s/\[G#/[Ab/g; $text =~ s/\/A#/\/Bb/g; + $text =~ s/\/(B#|H#)/\/C/g; $text =~ s/\/C#/\/Db/g; $text =~ s/\/D#/\/Eb/g; $text =~ s/\/E#/\/F/g; + $text =~ s/\/F#/\/Gb/g; $text =~ s/\/G#/\/Ab/g; + chomp $text; + $t->insert('end', $text); #restore text from variable $text + highlight(); #do syntax highlighting +} + +#-------------------------------------------------------------------------------- +# subroutine transpose_b2h +# +# convert international notation B into german notation H +#-------------------------------------------------------------------------------- +sub transpose_b2h{ + $text = $t->get("1.0", "end"); #save text in variable $text + $t->delete("1.0","end"); #delete text + #exchange chord names + $text =~ s/\[Bb/[*Bb/g; $text =~ s/\[B/[H/g; $text =~ s/\[\*/[/g; + $text =~ s/\/Bb/\/*Bb/g; $text =~ s/\/B/\/H/g; $text =~ s/\/\*/\//g; + chomp $text; + $t->insert('end', $text); #restore text from variable $text + highlight(); #do syntax highlighting +} + +#-------------------------------------------------------------------------------- +# subroutine transpose_b2h +# +# convert german notation H into international notation B +#-------------------------------------------------------------------------------- +sub transpose_h2b{ + $text = $t->get("1.0", "end"); #save text in variable $text + $t->delete("1.0","end"); #delete text + #exchange chord names + $text =~ s/\[H/[B/g; $text =~ s/\/H/\/B/g; + chomp $text; + $t->insert('end', $text); #restore text from variable $text + highlight(); #do syntax highlighting +} + + +#-------------------------------------------------------------------------------- +# subroutine about +# +# some information +#-------------------------------------------------------------------------------- + +sub about{ + $mw -> messageBox ( -type => "OK", -title => $name_menu_help, -message => $message_about ); +} + + diff --git a/images/color.gif b/images/color.gif new file mode 100644 index 0000000..d6b1f12 Binary files /dev/null and b/images/color.gif differ diff --git a/images/colorscm.png b/images/colorscm.png new file mode 100644 index 0000000..0af69c3 Binary files /dev/null and b/images/colorscm.png differ diff --git a/images/down.gif b/images/down.gif new file mode 100644 index 0000000..1566a0f Binary files /dev/null and b/images/down.gif differ diff --git a/images/filenew.gif b/images/filenew.gif new file mode 100644 index 0000000..b6417ec Binary files /dev/null and b/images/filenew.gif differ diff --git a/images/fileopen.gif b/images/fileopen.gif new file mode 100644 index 0000000..e8a4439 Binary files /dev/null and b/images/fileopen.gif differ diff --git a/images/filesave.gif b/images/filesave.gif new file mode 100644 index 0000000..0226167 Binary files /dev/null and b/images/filesave.gif differ diff --git a/images/pdf.gif b/images/pdf.gif new file mode 100644 index 0000000..ace8657 Binary files /dev/null and b/images/pdf.gif differ diff --git a/images/postscript.gif b/images/postscript.gif new file mode 100644 index 0000000..2f5b6ca Binary files /dev/null and b/images/postscript.gif differ diff --git a/images/tex.gif b/images/tex.gif new file mode 100644 index 0000000..04994db Binary files /dev/null and b/images/tex.gif differ diff --git a/images/up.gif b/images/up.gif new file mode 100644 index 0000000..91c92a7 Binary files /dev/null and b/images/up.gif differ diff --git a/language/br.pl b/language/br.pl new file mode 100644 index 0000000..d1e79fc --- /dev/null +++ b/language/br.pl @@ -0,0 +1,113 @@ +# Menus +$name_menu_file = "Arquivo"; +$name_menu_new = "Novo"; +$name_menu_open = "Abrir..."; +$name_menu_save = "Salvar"; +$name_menu_saveas = "Salvar como..."; +$name_menu_export = "Exportar"; +$name_menu_latex = "LaTeX"; +$name_menu_postscript = "Postscript"; +$name_menu_pdf = "PDF"; +$name_menu_quit = "Sair"; + +$name_menu_edit = "Editar"; +$name_menu_paste1 = "Colar do Clipboard"; +$name_menu_insert = "Inserir arquivo..."; +$name_menu_crd = "crd -> chopro"; +$name_menu_cut = "Recortar: use ctrl-x"; +$name_menu_copy = "Copiar: use ctrl-c"; +$name_menu_paste2 = "Colar: use ctrl-v"; + +$name_menu_directives = "Diretivas"; +$name_menu_startchorus = "Iniciar Chorus"; +$name_menu_endchorus = "Terminar Chorus"; +$name_menu_startbridge = "Iniciar Bridge"; +$name_menu_endbridge = "Finalizar Bridge"; +$name_menu_starttab = "Iniciar Tablatura"; +$name_menu_endtab = "Finalizar Tablatura"; +$name_menu_startinstr = "Iniciar Instrumental"; +$name_menu_endinstr = "Finalizar Instrumental"; +$name_menu_guitartab = "GuitarTab"; +$name_menu_basstab = "BassTab"; +$name_menu_title = "Título"; +$name_menu_subtitle = "Subtítulo"; +$name_menu_newpage = "Nova Página"; +$name_menu_comment = "Comentário"; +#TRADUZIR 'Margin Par' +$name_menu_margin = "Margem Parágrafo"; +$name_menu_second = "Segunda Voz"; + +$name_menu_songbook = "Songbook"; +$name_menu_book = "Document class book"; +$name_menu_booktitle = "Book - título"; +$name_menu_bookauthor = "Book - autor"; +$name_menu_bookdate = "Book - data"; +$name_menu_chapter = "Capítulo"; +$name_menu_include = "Inclue"; +$name_menu_even = "Par"; + +$name_menu_color = "Cores"; +$name_menu_colorchorus = "Chorus"; +$name_menu_colorbridge = "Bridge"; +$name_menu_colortab = "Tablatura"; +$name_menu_colorinstr = "Instrumental"; +$name_menu_second = "Segunda Voz"; +$name_menu_secondback = "Fundo segunda Voz"; + +$name_menu_transpose = "Transpor"; +$name_menu_transup = "Acima"; +$name_menu_transdown = "Abaixo"; +$name_menu_transsharp = "b -> #"; +$name_menu_transflat = "# -> b"; +$name_menu_transgerman = "B -> H"; +$name_menu_transinternational = "H -> B"; + +$name_menu_help = "Ajuda"; +$name_menu_about = "sobre"; + +#Icons +#TRADUZIR TUDO +$name_icon_chords = "Acordes:"; +$name_icon_tab = "Tablatura:"; +$name_icon_guitar = "Guitar"; +$name_icon_bass = "Bass"; +$name_icon_fret = " Traste:"; +$name_icon_string = " Corda:"; + +$name_note_B = "B"; + +# File Dialogs +$name_guitartex_files = "GuitarTeX"; +$name_chordpro_files = "ChordPro"; +$name_text_files = "Texto"; +$name_all_files = "Todos Arquivos"; +$name_ask_save = "Deseja salvar o\ndocumento atual ?"; +$name_tex_ready = "Arquivo TeX pronto"; +$name_ps_ready = "Arquivo Postscript pronto"; +$name_pdf_ready = "Arquivo PDF pronto"; + +# Common +$name_yes ="sim"; +$name_no = "não"; +$name_ok = "ok"; +$name_cancel = "cancela"; + +$message_about = "Em caso de problemas\nleia doc.pdf :-)\nou contate o autor\nguitartex-users\@lists.sourceforge.net"; + +# Tool Tips +$balloon_new = "Iniciar novo documento"; +$balloon_open = "Abrir documento existente"; +$balloon_save = "Salvar documento atual"; +$balloon_latex = "Exportar arquivo LaTeX"; +$balloon_ps = "Exportar arquivo postscript"; +$balloon_pdf = "Exportar arquivo PDF"; +$balloon_transpose_up = "Transpor acima"; +$balloon_transpose_down = "Transpor abaixo"; +$balloon_highlight = "Sintaxe highlighting"; +$balloon_chord = "Inserir acorde"; +$balloon_guitartab = "Inserir guitar tablatura"; +$balloon_basstab = "Inserir bass tablatura"; +$balloon_fret = "Entre com número do traste\ne clique botão da corda\npara entrar com as notas da tablatura"; + +# Templates +@name_template = ("vazio", "Song", "Songbook"); diff --git a/language/de.pl b/language/de.pl new file mode 100644 index 0000000..21f3161 --- /dev/null +++ b/language/de.pl @@ -0,0 +1,111 @@ +# Menus +$name_menu_file = "Datei"; +$name_menu_new = "Neu"; +$name_menu_open = "Öffnen..."; +$name_menu_save = "Speichern"; +$name_menu_saveas = "Speichern als..."; +$name_menu_export = "Exportieren"; +$name_menu_latex = "LaTeX"; +$name_menu_postscript = "Postscript"; +$name_menu_pdf = "PDF"; +$name_menu_quit = "Beenden"; + +$name_menu_edit = "Bearbeiten"; +$name_menu_paste1 = "Einfügen aus Zwischenablage"; +$name_menu_insert = "Datei einfügen..."; +$name_menu_crd = "crd -> chopro"; +$name_menu_cut = "Auschneiden: verwende strg-x"; +$name_menu_copy = "Kopieren: verwende strg-c"; +$name_menu_paste2 = "Einfügen: verwende strg-v"; + +$name_menu_directives = "Direktiven"; +$name_menu_startchorus = "Anfang Refrain"; +$name_menu_endchorus = "Ende Refrain"; +$name_menu_startbridge = "Anfang Bridge"; +$name_menu_endbridge = "Ende Bridge"; +$name_menu_starttab = "Anfang Tabulatur"; +$name_menu_endtab = "Ende Tabulatur"; +$name_menu_startinstr = "Anfang Instrumental"; +$name_menu_endinstr = "Ende Instrumental"; +$name_menu_guitartab = "GuitarTab"; +$name_menu_basstab = "BassTab"; +$name_menu_title = "Titel"; +$name_menu_subtitle = "Untertitel"; +$name_menu_newpage = "Neue Seite"; +$name_menu_comment = "Kommentar"; +$name_menu_margin = "Randbemerkung"; +$name_menu_second = "Zweite Stimme"; + +$name_menu_songbook = "Liederbuch"; +$name_menu_book = "Dokumentklasse Buch"; +$name_menu_booktitle = "Buchtitel"; +$name_menu_bookauthor = "Buchautor"; +$name_menu_bookdate = "Buchdatum"; +$name_menu_chapter = "Kapitel"; +$name_menu_include = "Einfügen"; +$name_menu_even = "Gerade Seite"; + +$name_menu_color = "Farben"; +$name_menu_colorchorus = "Refrain"; +$name_menu_colorbridge = "Bridge"; +$name_menu_colortab = "Tabulatur"; +$name_menu_colorinstr = "Instrumental"; +$name_menu_second = "Zweite Stimme"; +$name_menu_secondback = "Hintergrund zweite Stimme"; + +$name_menu_transpose = "Transponieren"; +$name_menu_transup = "Hoch"; +$name_menu_transdown = "Runter"; +$name_menu_transsharp = "b -> #"; +$name_menu_transflat = "# -> b"; +$name_menu_transgerman = "B -> H"; +$name_menu_transinternational = "H -> B"; + +$name_menu_help = "Hilfe"; +$name_menu_about = "über"; + +#Icons +$name_icon_chords = "Akkorde:"; +$name_icon_tab = "Tabulatur:"; +$name_icon_guitar = "Gitarre"; +$name_icon_bass = "Bass"; +$name_icon_fret = " Bund:"; +$name_icon_string = " Saite:"; + +$name_note_B = "H"; + +# Datei-Dialoge +$name_guitartex_files = "GuitarTeX"; +$name_chordpro_files = "ChordPro"; +$name_text_files = "Text"; +$name_all_files = "Alle Dateien"; +$name_ask_save = "Wollen Sie das aktuelle\nDokument speichern?"; +$name_tex_ready = "TeX-Datei fertig"; +$name_ps_ready = "Postscript-Datei fertig"; +$name_pdf_ready = "PDF-Datei fertig"; + +# Allgemein +$name_yes ="ja"; +$name_no = "nein"; +$name_ok = "ok"; +$name_cancel = "cancel"; + +$message_about = "Bei Problemen\nsiehe doc.pdf :-)\noder schreiben Sie an\nguitartex-users\@lists.sourceforge.net"; + +# Tool Tips +$balloon_new = "Neues Dokument beginnen"; +$balloon_open = "Vorhandenes Dokument öffnen"; +$balloon_save = "Aktuelles Dokument speichern"; +$balloon_latex = "Als LaTeX-Datei exportieren"; +$balloon_ps = "Als Postscript-Datei exportieren"; +$balloon_pdf = "Als PDF-Datei exportieren"; +$balloon_transpose_up = "hoch transponieren"; +$balloon_transpose_down = "runter transponieren"; +$balloon_highlight = "Syntax highlighting"; +$balloon_chord = "Akkord einfügen"; +$balloon_guitartab = "Tabulatur für Gitarre einfügen"; +$balloon_basstab = "Tabulatur für Bass einfügen"; +$balloon_fret = "Um Tabulatur-Noten einzugeben,\nNummer des Bundes eingeben\nund auf den Button für die Saite klicken"; + +# Templates +@name_template = ("empty", "Song", "Songbook"); diff --git a/language/en.pl b/language/en.pl new file mode 100644 index 0000000..eeeb1d4 --- /dev/null +++ b/language/en.pl @@ -0,0 +1,111 @@ +# Menus +$name_menu_file = "File"; +$name_menu_new = "New"; +$name_menu_open = "Open..."; +$name_menu_save = "Save"; +$name_menu_saveas = "Save as..."; +$name_menu_export = "Export"; +$name_menu_latex = "LaTeX"; +$name_menu_postscript = "Postscript"; +$name_menu_pdf = "PDF"; +$name_menu_quit = "Quit"; + +$name_menu_edit = "Edit"; +$name_menu_paste1 = "Paste from Clipboard"; +$name_menu_insert = "Insert file..."; +$name_menu_crd = "crd -> chopro"; +$name_menu_cut = "Cut: use ctrl-x"; +$name_menu_copy = "Copy: use ctrl-c"; +$name_menu_paste2 = "Paste: use ctrl-v"; + +$name_menu_directives = "Directives"; +$name_menu_startchorus = "Start Chorus"; +$name_menu_endchorus = "End Chorus"; +$name_menu_startbridge = "Start Bridge"; +$name_menu_endbridge = "End Bridge"; +$name_menu_starttab = "Start Tablature"; +$name_menu_endtab = "End Tablature"; +$name_menu_startinstr = "Start Instrumental"; +$name_menu_endinstr = "End Instrumental"; +$name_menu_guitartab = "GuitarTab"; +$name_menu_basstab = "BassTab"; +$name_menu_title = "Title"; +$name_menu_subtitle = "Subtitle"; +$name_menu_newpage = "New Page"; +$name_menu_comment = "Comment"; +$name_menu_margin = "Margin Par"; +$name_menu_second = "Second Voice"; + +$name_menu_songbook = "Songbook"; +$name_menu_book = "Document class book"; +$name_menu_booktitle = "Book title"; +$name_menu_bookauthor = "Book author"; +$name_menu_bookdate = "Book date"; +$name_menu_chapter = "Chapter"; +$name_menu_include = "Include"; +$name_menu_even = "Even"; + +$name_menu_color = "Colors"; +$name_menu_colorchorus = "Chorus"; +$name_menu_colorbridge = "Bridge"; +$name_menu_colortab = "Tablature"; +$name_menu_colorinstr = "Instrumental"; +$name_menu_second = "Second Voice"; +$name_menu_secondback = "Background second Voice"; + +$name_menu_transpose = "Transpose"; +$name_menu_transup = "Up"; +$name_menu_transdown = "Down"; +$name_menu_transsharp = "b -> #"; +$name_menu_transflat = "# -> b"; +$name_menu_transgerman = "B -> H"; +$name_menu_transinternational = "H -> B"; + +$name_menu_help = "Help"; +$name_menu_about = "about"; + +#Icons +$name_icon_chords = "Chords:"; +$name_icon_tab = "Tablature:"; +$name_icon_guitar = "Guitar"; +$name_icon_bass = "Bass"; +$name_icon_fret = " Fret:"; +$name_icon_string = " String:"; + +$name_note_B = "B"; + +# File Dialogs +$name_guitartex_files = "GuitarTeX"; +$name_chordpro_files = "ChordPro"; +$name_text_files = "Text"; +$name_all_files = "All Files"; +$name_ask_save = "Do you want to save\nthe current document?"; +$name_tex_ready = "TeX file ready"; +$name_ps_ready = "Postscript file ready"; +$name_pdf_ready = "PDF file ready"; + +# Common +$name_yes ="yes"; +$name_no = "no"; +$name_ok = "ok"; +$name_cancel = "cancel"; + +$message_about = "In case of problems\nsee doc.pdf :-)\nor contact the author at\nguitartex-users\@lists.sourceforge.net"; + +# Tool Tips +$balloon_new = "Start a new document"; +$balloon_open = "Open an existing document"; +$balloon_save = "Save the current document"; +$balloon_latex = "Export LaTeX file"; +$balloon_ps = "Export postscript file"; +$balloon_pdf = "Export PDF file"; +$balloon_transpose_up = "Transpose up"; +$balloon_transpose_down = "Transpose down"; +$balloon_highlight = "Syntax highlighting"; +$balloon_chord = "Insert chord"; +$balloon_guitartab = "Insert guitar tablature"; +$balloon_basstab = "Insert bass tablature"; +$balloon_fret = "Enter fret number\nand click on string button\nto enter tablature notes"; + +# Templates +@name_template = ("empty", "Song", "Songbook"); diff --git a/language/es.pl b/language/es.pl new file mode 100644 index 0000000..9edc65d --- /dev/null +++ b/language/es.pl @@ -0,0 +1,112 @@ +# Menus +$name_menu_file = "Archivo"; +$name_menu_new = "Nuevo"; +$name_menu_open = "Abrir..."; +$name_menu_save = "Guardar"; +$name_menu_saveas = "Guardar como..."; +$name_menu_export = "Exportar"; +$name_menu_latex = "LaTeX"; +$name_menu_postscript = "Postscript"; +$name_menu_pdf = "PDF"; +$name_menu_quit = "Salir"; + +$name_menu_edit = "Modificar"; +$name_menu_paste1 = "Pegar desde Clipboard"; +$name_menu_insert = "Introducir archivo..."; +$name_menu_crd = "crd -> chordpro"; +$name_menu_cut = "Cortar: usa ctrl-x"; +$name_menu_copy = "Copiar: usa ctrl-c"; +$name_menu_paste2 = "Pegar: usa ctrl-v"; + +$name_menu_directives = "Directivas"; +$name_menu_startchorus = "Inicio Coro"; +$name_menu_endchorus = "Fin Coro"; +$name_menu_startbridge = "Inicio Bridge"; +$name_menu_endbridge = "Fin Bridge"; +$name_menu_starttab = "Inicio Tabulado"; +$name_menu_endtab = "Fin Tabulado"; +$name_menu_startinstr = "Inicio Instrumental"; +$name_menu_endinstr = "Fin Instrumental"; +$name_menu_guitartab = "Tabulado para Guitarra"; +$name_menu_basstab = "Tabulado para Bajo"; +$name_menu_title = "Título"; +$name_menu_subtitle = "Subtítulo"; +$name_menu_newpage = "Nueva Página"; +$name_menu_comment = "Comentario"; +$name_menu_margin = "Parrafo a Margen"; +$name_menu_second = "Segunda Voz"; + +$name_menu_songbook = "Songbook"; +$name_menu_book = "Document class book"; +$name_menu_booktitle = "Título"; +$name_menu_bookauthor = "Autor"; +$name_menu_bookdate = "Fecha"; +$name_menu_chapter = "Capítulo"; +$name_menu_include = "Incluir archivo"; +$name_menu_even = "Par"; + +$name_menu_color = "Colores"; +$name_menu_colorchorus = "Acorde"; +$name_menu_colorbridge = "Puente"; +$name_menu_colortab = "Tabulado"; +$name_menu_colorinstr = "Instrumental"; +$name_menu_second = "Segunda Voz"; +$name_menu_secondback = "Segunda voz en segundo plano"; + +$name_menu_transpose = "Transporta"; +$name_menu_transup = "Arriba"; +$name_menu_transdown = "Abajo"; +$name_menu_transsharp = "b -> #"; +$name_menu_transflat = "# -> b"; +$name_menu_transgerman = "B -> H"; +$name_menu_transinternational = "H -> B"; + +$name_menu_help = "Ayuda"; +$name_menu_about = "Acerca de "; + +#Icons +$name_icon_chords = "Acordes:"; +$name_icon_tab = "Tabulado:"; +$name_icon_guitar = "Guitarra"; +$name_icon_bass = "Bajo"; +$name_icon_fret = " Traste:"; +$name_icon_string = " Cuerda:"; + +$name_note_B = "B"; + +# File Dialogs +$name_guitartex_files = "GuitarTeX"; +$name_chordpro_files = "ChordPro"; +$name_text_files = "Text"; +$name_all_files = "Todos los archivos"; +$name_ask_save = "¿Desea guardar el\narchivo actual?"; +$name_tex_ready = "Archivo TeX listo"; +$name_ps_ready = "Archivo Postscript listo"; +$name_pdf_ready = "Archivo PDF listo"; + +# Common +$name_yes ="sì"; +$name_no = "no"; +$name_ok = "ok"; +$name_cancel = "cancelar"; + +$message_about = "En caso de problemas\nlea doc.pdf :-)\no contacte con el autor en\nguitartex-users\@lists.sourceforge.net"; + +# Tool Tips +$balloon_new = "Crear un documento nuevo"; +$balloon_open = "Abrir un documento existente"; +$balloon_save = "Guardar el documento actual"; +$balloon_latex = "Exportar a LaTeX"; +$balloon_ps = "Exportar a postscript"; +$balloon_pdf = "Exportar a PDF"; +$balloon_transpose_up = "Transportar arriba"; +$balloon_transpose_down = "Transportar abajo"; +$balloon_highlight = "Coloreado de Sintaxis"; +$balloon_chord = "Introducir acorde"; +$balloon_guitartab = "Introducir tabulado de guitarra"; +$balloon_basstab = "Introducir tabulado de bajo"; +$balloon_fret = "Introduzca el número del traste\ny haga click en el botón de cuerda\npara introducir notas en el tabulado"; + +# Templates +@name_template = ("empty", "Song", "Songbook"); + diff --git a/language/it.pl b/language/it.pl new file mode 100644 index 0000000..4ccf58c --- /dev/null +++ b/language/it.pl @@ -0,0 +1,112 @@ +# Menus +$name_menu_file = "File"; +$name_menu_new = "Nuovo"; +$name_menu_open = "Apri..."; +$name_menu_save = "Salva"; +$name_menu_saveas = "Salva con nome..."; +$name_menu_export = "Esporta"; +$name_menu_latex = "LaTeX"; +$name_menu_postscript = "Postscript"; +$name_menu_pdf = "PDF"; +$name_menu_quit = "Esci"; + +$name_menu_edit = "Modifica"; +$name_menu_paste1 = "Incolla dagli Appunti"; +$name_menu_insert = "Inserisci file..."; +$name_menu_crd = "crd -> chopro"; +$name_menu_cut = "Taglia: usa ctrl-x"; +$name_menu_copy = "Copia: usa ctrl-c"; +$name_menu_paste2 = "Incolla: usa ctrl-v"; + +$name_menu_directives = "Direttive"; +$name_menu_startchorus = "Inizio Ritornello"; +$name_menu_endchorus = "Fine Ritornello"; +$name_menu_startbridge = "Inizio Bridge"; +$name_menu_endbridge = "Fine Bridge"; +$name_menu_starttab = "Inizio Tablatura"; +$name_menu_endtab = "Fine Tablatura"; +$name_menu_startinstr = "Inizio Strumentale"; +$name_menu_endinstr = "Fine Strumentale"; +$name_menu_guitartab = "Tablatura per Chitarra"; +$name_menu_basstab = "Tablatura per Basso"; +$name_menu_title = "Titolo"; +$name_menu_subtitle = "Sottotitolo"; +$name_menu_newpage = "Nuova Pagina"; +$name_menu_comment = "Commento"; +$name_menu_margin = "Paragrafo a Margine"; +$name_menu_second = "Seconda Voce"; + +$name_menu_songbook = "Canzoniere"; +$name_menu_book = "Document class book"; +$name_menu_booktitle = "Titolo"; +$name_menu_bookauthor = "Autore"; +$name_menu_bookdate = "Data"; +$name_menu_chapter = "Capitolo"; +$name_menu_include = "Includi file"; +$name_menu_even = "Pagina Pari"; + +$name_menu_color = "Colori"; +$name_menu_colorchorus = "Ritornello"; +$name_menu_colorbridge = "Bridge"; +$name_menu_colortab = "Tablatura"; +$name_menu_colorinstr = "Strumentale"; +$name_menu_second = "Seconda Voce"; +$name_menu_secondback = "Seconda Voce in Sottofondo"; + +$name_menu_transpose = "Tonalità"; +$name_menu_transup = "Alza"; +$name_menu_transdown = "Abbassa"; +$name_menu_transsharp = "b -> #"; +$name_menu_transflat = "# -> b"; +$name_menu_transgerman = "B -> H"; +$name_menu_transinternational = "H -> B"; + +$name_menu_help = "Aiuto"; +$name_menu_about = "Informazioni su "; + +#Icons +$name_icon_chords = "Accordi:"; +$name_icon_tab = "Tablatura:"; +$name_icon_guitar = "Chitarra"; +$name_icon_bass = "Basso"; +$name_icon_fret = " Tasto:"; +$name_icon_string = " Corda:"; + +$name_note_B = "Si"; + +# File Dialogs +$name_guitartex_files = "GuitarTeX"; +$name_chordpro_files = "ChordPro"; +$name_text_files = "Text"; +$name_all_files = "Tutti i File"; +$name_ask_save = "Vuoi salvare il\ndocumento corrente?"; +$name_tex_ready = "File TeX pronto"; +$name_ps_ready = "File Postscript pronto"; +$name_pdf_ready = "File PDF pronto"; + +# Common +$name_yes ="Sì"; +$name_no = "No"; +$name_ok = "Ok"; +$name_cancel = "Cancella"; + +$message_about = "In caso di problemi\nleggi doc.pdf :-)\noppure contatta l'autore\na jmiltz\@web.de"; + +# Tool Tips +$balloon_new = "Inizia un nuovo documento"; +$balloon_open = "Apri un documento esistente"; +$balloon_save = "Salva in documento corrente"; +$balloon_latex = "Esporta come file LaTeX"; +$balloon_ps = "Esporta come file postscript"; +$balloon_pdf = "Esporta come file PDF"; +$balloon_transpose_up = "Alza Tonalità"; +$balloon_transpose_down = "Abbassa Tonalità"; +$balloon_highlight = "Sintassi evidenziata"; +$balloon_chord = "Inserisci accordo"; +$balloon_guitartab = "Inserisci tablatura per chitarra"; +$balloon_basstab = "Inserisci tablatura per basso"; +$balloon_fret = "Inserisci il numero di tasto\ne premi sulla corda\nper inserire le note\nsulla tablatura"; + +# Templates +@name_template = ("Vuoto", "Canzone", "Canzoniere"); + diff --git a/language/pl.pl b/language/pl.pl new file mode 100644 index 0000000..164af24 --- /dev/null +++ b/language/pl.pl @@ -0,0 +1,111 @@ +# Menus +$name_menu_file = "Plik"; +$name_menu_new = "Nowy"; +$name_menu_open = "Otwórz..."; +$name_menu_save = "Zapisz"; +$name_menu_saveas = "Zapisz jako..."; +$name_menu_export = "Eksportuj"; +$name_menu_latex = "LaTeX"; +$name_menu_postscript = "Postscript"; +$name_menu_pdf = "PDF"; +$name_menu_quit = "Wyj¶cie"; + +$name_menu_edit = "Edycja"; +$name_menu_paste1 = "Wklej ze schowka"; +$name_menu_insert = "Wstaw plik..."; +$name_menu_crd = "crd -> chopro"; +$name_menu_cut = "Wytnij: u¿yj ctrl-x"; +$name_menu_copy = "Kopiuj: u¿yj ctrl-c"; +$name_menu_paste2 = "Wklej: u¿yj ctrl-v"; + +$name_menu_directives = "Dyrektywy"; +$name_menu_startchorus = "Pocz±tek chóru"; +$name_menu_endchorus = "Koniec chóru"; +$name_menu_startbridge = "Pocz±tek mostu"; +$name_menu_endbridge = "Koniec mostu"; +$name_menu_starttab = "Pocz±tek tabulatury"; +$name_menu_endtab = "Koniec tabulatury"; +$name_menu_startinstr = "Pocz±tek czê¶ci instrumentalnej"; +$name_menu_endinstr = "Koniec czê¶ci instrumentalnej"; +$name_menu_guitartab = "Tabulatura gitarowa"; +$name_menu_basstab = "Tabulatura basowa"; +$name_menu_title = "Tytu³"; +$name_menu_subtitle = "Podtytu³"; +$name_menu_newpage = "Nowa strona"; +$name_menu_comment = "Komentarz"; +$name_menu_margin = "Marginesy"; +$name_menu_second = "Drugi g³os"; + +$name_menu_songbook = "¦pierwnik"; +$name_menu_book = "Document class book"; +$name_menu_booktitle = "Tytu³ ¶piewnika"; +$name_menu_bookauthor = "Autor ¶piewnika"; +$name_menu_bookdate = "Data ¶piewnika"; +$name_menu_chapter = "Rozdzia³"; +$name_menu_include = "Do³±cz"; +$name_menu_even = "Parzyste"; + +$name_menu_color = "Kolory"; +$name_menu_colorchorus = "Chór"; +$name_menu_colorbridge = "Most"; +$name_menu_colortab = "Tabulatura"; +$name_menu_colorinstr = "Czê¶æ instrumentalna"; +$name_menu_second = "Drugi g³os"; +$name_menu_secondback = "Drugi g³os w tle"; + +$name_menu_transpose = "Transponowanie"; +$name_menu_transup = "Do góry"; +$name_menu_transdown = "Do do³u"; +$name_menu_transsharp = "b -> #"; +$name_menu_transflat = "# -> b"; +$name_menu_transgerman = "B -> H"; +$name_menu_transinternational = "H -> B"; + +$name_menu_help = "Pomoc"; +$name_menu_about = "O programie"; + +#Icons +$name_icon_chords = "Akordy:"; +$name_icon_tab = "Tabulatury:"; +$name_icon_guitar = "Gitara"; +$name_icon_bass = "Bas"; +$name_icon_fret = " Próg:"; +$name_icon_string = " Struna:"; + +$name_note_B = "B"; + +# File Dialogs +$name_guitartex_files = "GuitarTeX"; +$name_chordpro_files = "ChordPro"; +$name_text_files = "Tekst"; +$name_all_files = "Wszystkie pliki"; +$name_ask_save = "Czy chcesz zapisaæ\nbie¿±cy dokument?"; +$name_tex_ready = "Plik TeX gotowy"; +$name_ps_ready = "Plik Postscript gotowy"; +$name_pdf_ready = "Plik PDF gotowy"; + +# Common +$name_yes ="tak"; +$name_no = "nie"; +$name_ok = "ok"; +$name_cancel = "zrezygnuj"; + +$message_about = "W przypadku problemów\nzagl±dnij do doc.pdf :-)\nlub skontaktuj siê z autorem\nguitartex-users\@lists.sourceforge.net"; + +# Tool Tips +$balloon_new = "Utwórz nowy dokument"; +$balloon_open = "Otwórz istniej±cy dokument"; +$balloon_save = "Zapisz bierz±cy dokument"; +$balloon_latex = "Eksportuj do pliku LaTeX"; +$balloon_ps = "Eksportuj do pliku postscript"; +$balloon_pdf = "Eksportuj do pliku PDF"; +$balloon_transpose_up = "Transponuj do góry"; +$balloon_transpose_down = "Transponuj do do³u"; +$balloon_highlight = "Pod¶wietlanie sk³adni"; +$balloon_chord = "Wstaw akord"; +$balloon_guitartab = "Wstaw tabulaturê gitarow±"; +$balloon_basstab = "Wstaw tabulaturê basow±"; +$balloon_fret = "Wprowad¼ numer progu\ni naci¶nij na przycisku odpowiedniej struny\naby wprowadziæ tabulaturê"; + +# Templates +@name_template = ("empty", "Song", "Songbook"); diff --git a/release-note b/release-note new file mode 100644 index 0000000..8da9e7c --- /dev/null +++ b/release-note @@ -0,0 +1,6 @@ +new in GuitarTeX 2.8.2 + +Chord output can be changed to Italian notation by command line option --italian + +Support for Spanish language + diff --git a/templates/Song b/templates/Song new file mode 100644 index 0000000..a908c02 --- /dev/null +++ b/templates/Song @@ -0,0 +1 @@ +# Created with template: single_song diff --git a/templates/Songbook b/templates/Songbook new file mode 100644 index 0000000..b2ff478 --- /dev/null +++ b/templates/Songbook @@ -0,0 +1 @@ +# Created with template: songbook diff --git a/templates/empty b/templates/empty new file mode 100644 index 0000000..d9927e9 --- /dev/null +++ b/templates/empty @@ -0,0 +1 @@ +# Created with template: empty