How to draw chessboards in ConTeXt?
up vote
4
down vote
favorite
I wonder which module you can use to draw chessboards in ConTeXt.
When I was using LaTeX, skak is fine but now I a bit stuck.
In LaTeX the code looks like:
documentclass{minimal}
usepackage{skak}
begin{document}
newgame
mainline{1.b4 b6} \
showboard
end{document}
context chess skak
add a comment |
up vote
4
down vote
favorite
I wonder which module you can use to draw chessboards in ConTeXt.
When I was using LaTeX, skak is fine but now I a bit stuck.
In LaTeX the code looks like:
documentclass{minimal}
usepackage{skak}
begin{document}
newgame
mainline{1.b4 b6} \
showboard
end{document}
context chess skak
2
I don't think that there is a chess module for context (and I certainly don't plain to write one).
– Ulrike Fischer
6 hours ago
Oh, okay. Thank you for the answer.
– Blincer
6 hours ago
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I wonder which module you can use to draw chessboards in ConTeXt.
When I was using LaTeX, skak is fine but now I a bit stuck.
In LaTeX the code looks like:
documentclass{minimal}
usepackage{skak}
begin{document}
newgame
mainline{1.b4 b6} \
showboard
end{document}
context chess skak
I wonder which module you can use to draw chessboards in ConTeXt.
When I was using LaTeX, skak is fine but now I a bit stuck.
In LaTeX the code looks like:
documentclass{minimal}
usepackage{skak}
begin{document}
newgame
mainline{1.b4 b6} \
showboard
end{document}
context chess skak
context chess skak
edited 6 hours ago
asked 6 hours ago
Blincer
1384
1384
2
I don't think that there is a chess module for context (and I certainly don't plain to write one).
– Ulrike Fischer
6 hours ago
Oh, okay. Thank you for the answer.
– Blincer
6 hours ago
add a comment |
2
I don't think that there is a chess module for context (and I certainly don't plain to write one).
– Ulrike Fischer
6 hours ago
Oh, okay. Thank you for the answer.
– Blincer
6 hours ago
2
2
I don't think that there is a chess module for context (and I certainly don't plain to write one).
– Ulrike Fischer
6 hours ago
I don't think that there is a chess module for context (and I certainly don't plain to write one).
– Ulrike Fischer
6 hours ago
Oh, okay. Thank you for the answer.
– Blincer
6 hours ago
Oh, okay. Thank you for the answer.
– Blincer
6 hours ago
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
AFAIK, there isn't any package dedicated to chess. Depending on what you want, you can actually piggyback on skak:
usemodule[filter]
defineexternalfilter
[chess]
[filter=pdflatex,
output=externalfilterbasefile.pdf,
readcommand=readPDFfile,
purge=no,
bufferbefore=chessbefore,
bufferafter=chessafter,
]
defreadPDFfile#1{externalfigure[#1]}
startbuffer[chessbefore]
documentclass{minimal}
usepackage{skak}
usepackage[active,tightpage]{preview}
begin{document}
begin{preview}
newgame
hidemoves{
stopbuffer
startbuffer[chessafter]
}
showboard
end{preview}
end{document}
stopbuffer
starttext
startchess
1. b4 b6
stopchess
stoptext
which gives

add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
AFAIK, there isn't any package dedicated to chess. Depending on what you want, you can actually piggyback on skak:
usemodule[filter]
defineexternalfilter
[chess]
[filter=pdflatex,
output=externalfilterbasefile.pdf,
readcommand=readPDFfile,
purge=no,
bufferbefore=chessbefore,
bufferafter=chessafter,
]
defreadPDFfile#1{externalfigure[#1]}
startbuffer[chessbefore]
documentclass{minimal}
usepackage{skak}
usepackage[active,tightpage]{preview}
begin{document}
begin{preview}
newgame
hidemoves{
stopbuffer
startbuffer[chessafter]
}
showboard
end{preview}
end{document}
stopbuffer
starttext
startchess
1. b4 b6
stopchess
stoptext
which gives

add a comment |
up vote
3
down vote
AFAIK, there isn't any package dedicated to chess. Depending on what you want, you can actually piggyback on skak:
usemodule[filter]
defineexternalfilter
[chess]
[filter=pdflatex,
output=externalfilterbasefile.pdf,
readcommand=readPDFfile,
purge=no,
bufferbefore=chessbefore,
bufferafter=chessafter,
]
defreadPDFfile#1{externalfigure[#1]}
startbuffer[chessbefore]
documentclass{minimal}
usepackage{skak}
usepackage[active,tightpage]{preview}
begin{document}
begin{preview}
newgame
hidemoves{
stopbuffer
startbuffer[chessafter]
}
showboard
end{preview}
end{document}
stopbuffer
starttext
startchess
1. b4 b6
stopchess
stoptext
which gives

add a comment |
up vote
3
down vote
up vote
3
down vote
AFAIK, there isn't any package dedicated to chess. Depending on what you want, you can actually piggyback on skak:
usemodule[filter]
defineexternalfilter
[chess]
[filter=pdflatex,
output=externalfilterbasefile.pdf,
readcommand=readPDFfile,
purge=no,
bufferbefore=chessbefore,
bufferafter=chessafter,
]
defreadPDFfile#1{externalfigure[#1]}
startbuffer[chessbefore]
documentclass{minimal}
usepackage{skak}
usepackage[active,tightpage]{preview}
begin{document}
begin{preview}
newgame
hidemoves{
stopbuffer
startbuffer[chessafter]
}
showboard
end{preview}
end{document}
stopbuffer
starttext
startchess
1. b4 b6
stopchess
stoptext
which gives

AFAIK, there isn't any package dedicated to chess. Depending on what you want, you can actually piggyback on skak:
usemodule[filter]
defineexternalfilter
[chess]
[filter=pdflatex,
output=externalfilterbasefile.pdf,
readcommand=readPDFfile,
purge=no,
bufferbefore=chessbefore,
bufferafter=chessafter,
]
defreadPDFfile#1{externalfigure[#1]}
startbuffer[chessbefore]
documentclass{minimal}
usepackage{skak}
usepackage[active,tightpage]{preview}
begin{document}
begin{preview}
newgame
hidemoves{
stopbuffer
startbuffer[chessafter]
}
showboard
end{preview}
end{document}
stopbuffer
starttext
startchess
1. b4 b6
stopchess
stoptext
which gives

answered 4 hours ago
Aditya
54.7k2109234
54.7k2109234
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462233%2fhow-to-draw-chessboards-in-context%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
I don't think that there is a chess module for context (and I certainly don't plain to write one).
– Ulrike Fischer
6 hours ago
Oh, okay. Thank you for the answer.
– Blincer
6 hours ago