{"id":13459029,"url":"https://github.com/hartwork/xiangqi-book-example","last_synced_at":"2026-03-19T02:31:00.637Z","repository":{"id":136768817,"uuid":"323149815","full_name":"hartwork/xiangqi-book-example","owner":"hartwork","description":"Example of a book featuring print-quality Xiangqi board setup graphics generated on-the-fly using xiangqi-setup; PDF output download at https://github.com/hartwork/xiangqi-book-example/releases/download/1.0.0/book_1_0_0.pdf ","archived":false,"fork":false,"pushed_at":"2020-12-21T01:34:29.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T09:43:47.357Z","etag":null,"topics":["boardgames","book","chinese-chess","print","wxf","xiangqi","xiangqi-setup"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hartwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-20T19:34:00.000Z","updated_at":"2023-03-22T01:53:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4b472e9-73f8-437e-a647-649b474b6371","html_url":"https://github.com/hartwork/xiangqi-book-example","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hartwork/xiangqi-book-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hartwork%2Fxiangqi-book-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hartwork%2Fxiangqi-book-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hartwork%2Fxiangqi-book-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hartwork%2Fxiangqi-book-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hartwork","download_url":"https://codeload.github.com/hartwork/xiangqi-book-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hartwork%2Fxiangqi-book-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28557783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T00:46:33.223Z","status":"online","status_checked_at":"2026-01-19T02:00:08.049Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boardgames","book","chinese-chess","print","wxf","xiangqi","xiangqi-setup"],"created_at":"2024-07-31T09:01:01.133Z","updated_at":"2026-01-19T02:01:15.673Z","avatar_url":"https://github.com/hartwork.png","language":"TeX","funding_links":[],"categories":["Other useful tools"],"sub_categories":["Games collections"],"readme":"# About\n\nThis repository intends to demo creation of a book\nfeaturing razor-sharp Xiangqi board setups\nbased on\nLaTeX,\n[xiangqi-setup](https://github.com/hartwork/xiangqi-setup),\nand (a subset of) [FEN notation](http://wxf.ca/xq/computer/fen.pdf).\n\nFor details please see:\n- [`GNUmakefile`](GNUmakefile)\n- [`book.tex`](book.tex)\n- `setups/`\n    - [`default.wxf`](setups/default.wxf)\n    - [`demo.wxf`](setups/demo.wxf)\n\n\n# Build-time Requirements\n\n- GNU make\n- Python \u003e=3.6\n- Inkscape\n- LaTeX\n\n\n# How to Build\n\n```console\n# make\n[..]\n# okular book.pdf \u0026\n```\n\n\n# FEN Notation\n\nExample FEN, the default starting position:\n\n\u003e `rheakaehr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RHEAKAEHR w`\n\nWith regard to FEN notation, the syntax rules are:\n\n- *Lowercase* letters indicate pieces of\n  the *black* (or *blue*) party (with their palace at the top of the board),\n  *uppercase* letters indicate pieces of\n  the *red* (or *white*) party (with their palace at the bottom of the board).\n\n- The pieces are:\n    - `a`/`A` — advisor\n    - `c`/`C` — cannon\n    - `e`/`E`/`b`/`B` — elephant\n    - `h`/`H`/`n`/`N` — horse\n    - `k`/`K` — king\n    - `p`/`P` — pawn\n    - `r`/`R` — rook\n\n- Digits `1` (one) to `9` (nine) is the number of consecutive empty fields in a row.\n\n- A `/` (slash or solidus) starts a new row.\n\n- Suffix ` w` or ` b` indicates that\n  *red* (or *white*) is to move or that *black* (or *blue*) is to move,\n  respectively.\n\nThis is effectively the first two fields described at http://wxf.ca/xq/computer/fen.pdf\nplus the alternative letters used at https://www.chessdb.cn/query_en/ .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhartwork%2Fxiangqi-book-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhartwork%2Fxiangqi-book-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhartwork%2Fxiangqi-book-example/lists"}