WikiTeX music and schematics

From Organic Design wiki
Revision as of 22:38, 18 November 2014 by Nad (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Legacy.svg Legacy: This article describes a concept that has been superseded in the course of ongoing development on the Organic Design wiki. Please do not develop this any further or base work on this concept, this is only useful for a historic record of work done. You may find a link to the currently used concept or function in this article, if not you can contact the author to find out what has taken the place of this legacy item.
WikiTeX music also working ;-)

The music notation is probably the most impressive looking of the different wikitex classes. It doesn't seem to be working quite perfectly because all the examples with \relative don't seem to work, but here's an example of some random notes, followed by the WikiTeX markup used to produce them. Documentation and tutorials for writing WikiTex music are available from www.Lilypond.org.

<music>\notes { \time 3/4 a b' c <c' e' g'> r4 a16 d' e' f' bes <c' e' g'> <c' e' g> }</music>

<music>

\notes { \time 3/4 a b' c <c' e' g'> r4 a16 d' e' f' bes <c' e' g'> <c' e' g> }

</music>

WikiTeX schematics added!

Schem is wikitex's electronic circuit schematics class based on Geda. It's very bloated and fat requiring not only LaTeX like all the others, but also requires a virtual frame buffer and the xwindow layer. They've disabled it on the WikiSophia wiki where they demonstrate WikiTeX, probably because of its excessive bloat. Having circuits in the wiki is very cool though, so I've installed all the fatware anyway and got it working. It required apt-getting geda, xvfb and x-window-system-core. Here's an example, edit the page to see the schem source.

<schem>v 20040111 1 C 1200 88200 1 0 0 pwrjack-1.sym { T 1200 88700 5 10 1 1 0 0 1 refdes=CONN1 T 1200 88200 5 10 0 1 0 0 1 footprint=CONNECTOR 2 1 } C 5900 87700 1 0 0 lm317-1.sym { T 7600 89100 5 10 1 1 0 6 1 refdes=U1 T 5900 87700 5 10 1 1 0 0 1 value=LM317 T 5900 87700 5 10 0 1 0 0 1 footprint=TO-220L } C 8700 86900 1 270 0 capacitor-2.sym { T 9000 86100 5 10 1 1 0 0 1 refdes=C1 T 8400 86700 5 10 1 1 0 0 1 value=100u T 8700 86900 5 10 0 1 0 0 1 footprint=CR200 } C 4100 86900 1 270 0 capacitor-2.sym { T 4400 86100 5 10 1 1 0 0 1 refdes=C2 T 4400 86800 5 10 1 1 0 0 1 value=100u T 4100 86900 5 10 0 1 0 0 1 footprint=CR200 } C 5600 86000 1 90 0 capacitor-1.sym { T 5700 86300 5 10 1 1 180 0 1 refdes=C3 T 5500 86600 5 10 1 1 0 0 1 value=100n T 5600 86000 5 10 0 1 0 0 1 footprint=C200 } C 10200 86100 1 90 0 capacitor-1.sym { T 10300 86400 5 10 1 1 180 0 1 refdes=C4 T 10100 86700 5 10 1 1 0 0 1 value=100n T 10200 86100 5 10 0 1 0 0 1 footprint=C200 } C 8100 87500 1 180 0 resistor-2.sym { T 7900 87200 5 10 1 1 180 0 1 refdes=R1 T 7500 87600 5 10 1 1 0 0 1 value=240 T 8100 87500 5 10 0 1 0 0 1 footprint=R025 } C 7000 86200 1 90 0 resistor-2.sym { T 7300 86600 5 10 1 1 180 0 1 refdes=R2 T 7000 86200 5 10 1 1 0 0 1 value=300 T 7000 86200 5 10 0 1 0 0 1 footprint=R025 } C 6800 85800 1 270 0 resistor-variable-2.sym { T 7150 85000 5 10 1 1 0 0 1 refdes=R3 T 6400 85700 5 10 1 1 0 0 1 value=4.7K T 6800 85800 5 10 0 1 0 0 1 footprint=Rpot-0 } C 2400 87800 1 0 0 bridge-1.sym { T 2600 88800 5 10 1 1 0 0 1 refdes=U2 T 2400 87800 5 10 0 1 0 0 1 footprint=bridge-1A } C 11000 88000 1 0 1 BNC-1.sym { T 11000 88800 5 10 1 1 0 6 1 refdes=CONN2 T 11000 88000 5 10 0 1 0 0 1 footprint=CONNECTOR 2 1 } N 2100 88500 2400 88500 4 N 2100 88300 2200 88300 4 N 2200 88300 2200 88000 4 N 2200 88000 2400 88000 4 N 3600 88500 5900 88500 4 N 4300 86900 4300 88500 4 N 5400 86900 5400 88500 4 N 7900 88500 10500 88500 4 N 8900 86900 8900 88500 4 N 10000 87000 10000 88500 4 N 8100 87400 8400 87400 4 N 8400 87400 8400 88500 4 N 6900 87700 6900 87100 4 N 7200 87400 6900 87400 4 N 6900 86200 6900 85800 4 N 7400 85300 7500 85300 4 N 7500 85300 7500 86000 4 N 7500 86000 6900 86000 4 N 3600 88000 3800 88000 4 N 3800 88000 3800 84700 4 N 6900 84700 6900 84900 4 N 4300 86000 4300 84700 4 N 5400 86000 5400 84700 4 N 8900 86000 8900 84700 4 N 10900 88000 10900 84700 4 N 3800 84700 10900 84700 4 N 10000 86100 10000 84700 4 </schem>