LaTeX package for typesetting bridge related stuff testers/ideas welcome
#1
Posted 2012-March-18, 19:05
https://github.com/anntzer/bridge-tex
This is still in beta stage, and ideas are welcome :-)
#2
Posted 2012-March-20, 09:56
-- Bertrand Russell
#3
Posted 2012-March-20, 12:07
bridge.pdf is now available in the downloads section, I will update the README to reflect that.
#4
Posted 2012-March-20, 19:09
I also have developed a package, mostly for my own use. You are welcome to examine it and borrow anything from it you find useful / mix and match between our approaches:
http://taigabridge.n...x/grbbridge.sty
http://taigabridge.n...ge_features.pdf
#5
Posted 2012-March-21, 02:27
Do you intend on releasing your work on CTAN? I mostly started my project because all that CTAN currently has is a couple of TeX macros which aren't very fancy.
#6
Posted 2012-March-21, 02:41
#7
Posted 2012-March-21, 02:58
nice thread, if I find time, I will have a look.
With kind regards
Marlowe
Latex links
http://www.jeff-goldsmith.org/
Maybe someone has a link to the Latex Package developed by
Rene Steiner.
Uwe Gebhardt (P_Marlowe)
#8
Posted 2012-March-21, 04:42
http://bridge.mgoetz.../en/latex.shtml
-- Bertrand Russell
#9
Posted 2012-March-21, 04:44
-- Bertrand Russell
#10
Posted 2012-March-21, 11:47
For the WBF CC, google gave me https://github.com/Pet3ris/latex-cc which seems simple and efficient.
#11
Posted 2012-March-21, 23:29
I havent really given much thought one way or the other to a CTAN distribution. It seems like quite a small market, and my LaTeX is somewhat less than professional... I ought to tidy up quite a few things in the code before I published it widely, not to mention finishing a couple things I never did get done (a 2-hand auction, and a nice facility for labelling example hands, so that I could have "Opener", 'Responder A", "Responder B", "Responder C" side by side, for a bidding lesson handout for instance.)
Partly I was waiting to see what variations on my initial product I had a need for - so I could, for instance, make my most frequently-used format of auction "\auction" and my second-most-frequently used "\auction*". I didnt really try to build an environment to automatically typeset alerts under or beside auctions mostly because I havent decided what I would want one to look like if I did.
I do feel, philosophically, that things like a box around the outside of the auction or hand diagram shouldn't be part of the base command, but either a new command or just use \fbox around the base command. But everyone has their own idea what they want.
#12
Posted 2015-August-18, 11:04
#13
Posted 2015-August-19, 23:32
I expect your choices are either writing your own bridge-related conversion script (handling the suit symbols and converting tabular environments into HTML tables will get you 90% of the way there probably), or seeing what happens if you use one of the general-purpose LaTeX to HTML converters out there. I have no experience with htlatex, tex2html, or their variations, though: it's not a conversion I have to do very often.
#14
Posted 2015-August-25, 01:04
#15
Posted 2015-August-28, 19:10
tth fails entirely - chokes on user-defined commands as undefined commands. latex2html will have the same basic problem, though more curable, in that you can teach it how to interpret user-defined commands by writing translation routines in perl for it.
tex4ht sort of succeeds. For files written using 'grbbridge', htlatex filename.tex works quite well on everything except spade bids (!). It chokes on the fact that \sp is a synonym for the math mode superscript symbol, and turns \sp{4} into '^4' rather than '4♠' despite the \renewcommand in my package.
I expect other custom packages will have a similar experience.
#16
Posted 2018-November-23, 23:50
Has anyone successfully done this?
Thanks.