Go book typesetting with LaTeX and the igo package

For discussing go computing, software announcements, etc.
Post Reply
logan
Lives in gote
Posts: 641
Joined: Sat May 29, 2010 11:52 am
GD Posts: 9
Has thanked: 141 times
Been thanked: 437 times

Re: Go book typesetting with LaTeX and the igo package

Post by logan »

It would be appreciated, thank-you. And maybe with some sophisticated layouts like these:

ImageImageImageImageImageImageImage
John Fairbairn
Oza
Posts: 3724
Joined: Wed Apr 21, 2010 3:09 am
Has thanked: 20 times
Been thanked: 4672 times

Re: Go book typesetting with LaTeX and the igo package

Post by John Fairbairn »

I mention this because of the typesetting process I use: LaTeX plus the igo package; see its documentation at http://ctan.open-source-solution.org/fonts/igo/igo.pdf
The first seven diagrams in the pdf file have wonky lines. I stopped reading at that point.
User avatar
quantumf
Lives in sente
Posts: 844
Joined: Tue Apr 20, 2010 11:36 pm
Rank: 3d
GD Posts: 422
KGS: komi
Has thanked: 180 times
Been thanked: 151 times

Re: Go book typesetting with LaTeX and the igo package

Post by quantumf »

hanekomu wrote:
John Fairbairn wrote:The first seven diagrams in the pdf file have wonky lines. I stopped reading at that point.
That's too bad, but it's probably your PDF viewer. Try a different magnification. There are no wonky lines in my PDF viewer, nor in the printed versions.

I would not use it if it produced rubbish.
The diagrams are very attractive, but I too am experiencing this. I'm on Windows 7, using Adobe Acrobat reader, the desktop client and the browser plugin. I've tried at various zoom levels, including 100% or "actual size". No matter what the zoom is, at least some diagrams have "wonky" lines. Depending on the zoom, different diagrams experience the "wonky" effect.

This is at 100% zoom:
Wonky diagram
Wonky diagram
wonky.png (25.38 KiB) Viewed 16142 times
John Fairbairn
Oza
Posts: 3724
Joined: Wed Apr 21, 2010 3:09 am
Has thanked: 20 times
Been thanked: 4672 times

Re: Go book typesetting with LaTeX and the igo package

Post by John Fairbairn »

That's too bad, but it's probably your PDF viewer. Try a different magnification. There are no wonky lines in my PDF viewer, nor in the printed versions.
I use the Adobe viewer, which seems to be the main one most buyers would use. I tried all magnifications from 10% to 800%. The defects were there at all magnifications, but at the higher ones other defects became evident (extra lines beside stones, lines not corner butting up accurately at corners, etc).

On the iPad, using the app PDFReader, the defects are also evident.

Since I scanned the text a little on second perusal, you may wish to note the following:

"The vicinity of living stones is small." This is peculiar English to me. Maybe it means "the area near living stones is small"?

"Please appreciate Black's unwasteful shape." This is translaterese and I'm not entirely sure what the unusual word "unwasteful" means. Does it all mean "Do understand how efficient Black's shape is"?
User avatar
Harleqin
Lives in sente
Posts: 921
Joined: Sat Mar 06, 2010 10:31 am
Rank: German 2 dan
GD Posts: 0
Has thanked: 401 times
Been thanked: 164 times

Re: Go book typesetting with LaTeX and the igo package

Post by Harleqin »

I have used a similar package for LaTeX and also had the "wonky lines" problem. I found out that it doesn't appear in print, and since my "shipping" product was print, I was okay. I had the impression that it was due to pixel rounding errors in the PDF screen display. Since it uses special fonts for display (as far as I recall), I suspect that those fonts might lack some sub-dot precision.

Nowadays, I would perhaps use some selfmade macros based on tikz.
A good system naturally covers all corner cases without further effort.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

I was just curious about the "wonky" lines. I also see them at all zoom levels.
FireFox 16.0.2, Windows Vista -- whatever the default/current PDF plugged-in viewer:
Wonky_Lines.jpg
Wonky_Lines.jpg (55.32 KiB) Viewed 16103 times
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: Go book typesetting with LaTeX and the igo package

Post by hyperpape »

Fwiw, I did not have any problem with wonky lines, using document viewer 3.4 for Ubuntu 12.04. I hope you figure out the issues, because this is interesting.
John Fairbairn
Oza
Posts: 3724
Joined: Wed Apr 21, 2010 3:09 am
Has thanked: 20 times
Been thanked: 4672 times

Re: Go book typesetting with LaTeX and the igo package

Post by John Fairbairn »

One thing this thread shows already is that making go diagrams is hard work. I made around 2,000 for "Shuei" :cry:
John Fairbairn
Oza
Posts: 3724
Joined: Wed Apr 21, 2010 3:09 am
Has thanked: 20 times
Been thanked: 4672 times

Re: Go book typesetting with LaTeX and the igo package

Post by John Fairbairn »

One thing this thread shows already is that making go diagrams is hard work. I made around 2,000 for "Shuei" :cry:
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

At higher zoom levels, the pixelated (not anti-aliased) stones become more apparent,
and you can still see the wonki-ness in the lines, appearing as bamboo joints (pun intended :)):
Jagged.jpg
Jagged.jpg (33.29 KiB) Viewed 16094 times
kivi
Lives with ko
Posts: 159
Joined: Mon Mar 21, 2011 7:14 am
Rank: EGF 3d
GD Posts: 0
Has thanked: 5 times
Been thanked: 36 times

Re: Go book typesetting with LaTeX and the igo package

Post by kivi »

Is there something to transform sgf diagrams to igo/latex diagrams?
Would that be useful for you? I am sceptical because producing sgf files then tweaking a scripts output to your liking could be slower than doing it directly.
hibbs
Dies in gote
Posts: 49
Joined: Fri Oct 26, 2012 5:54 am
Rank: OGS around 12k
GD Posts: 0
OGS: hibbs
Has thanked: 2 times
Been thanked: 11 times

Re: Go book typesetting with LaTeX and the igo package

Post by hibbs »

The wonky lines seem to be an issue:
I see perfect diagrams on the iPad with Safari. On Windows 7 I see wonky lines with both Foxit reader and Adobe acrobat (although the wonkiness is different, Foxit shows more of the "bamboo joints"). It also happens when printing...
kristpan
Beginner
Posts: 1
Joined: Sun Aug 10, 2014 4:36 am
Rank: YC 10K
GD Posts: 0

Re: Go book typesetting with LaTeX and the igo package

Post by kristpan »

Marcel Grünauer wrote:
logan wrote:It would be appreciated, thank-you. And maybe with some sophisticated layouts like these
Here are some sample pages; the first two are from the strategy book I mentioned; the third one is from some notes intended for beginners that I started to write.

https://dl.dropbox.com/u/604862/latex-igo-sample.pdf

They use a rather simple layout.

The pages you mention all look doable in LaTeX except for maybe the fancy background images.
Hello Marcel, I can't download the file by the link you posted, could you please send me one. My email is panqihg@gmail.com. Thanks a lot!
Post Reply