Skip to content

Instantly share code, notes, and snippets.

@aminophen
Last active December 15, 2017 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aminophen/906fe5795d3b00e3ea2bd76d9cb2dde0 to your computer and use it in GitHub Desktop.
Save aminophen/906fe5795d3b00e3ea2bd76d9cb2dde0 to your computer and use it in GitHub Desktop.
pdfTeX の \pdfstrcmp{}{ で } が終わらない時のエラーの修正(e-pTeX の修正ベース)
Index: source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- source/texk/web2c/pdftexdir/ChangeLog (revision 46068)
+++ source/texk/web2c/pdftexdir/ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2017-12-15 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
+
+ * pdftex.web: Fix an error message "! File ended while ..."
+ while \pdfstrcmp is used.
+
2017-12-02 Karl Berry <karl@tug.org>
* am/pdftex.am (pdftex.pdf, pdftex.tex): new convenience targets
Index: source/texk/web2c/pdftexdir/pdftex.web
===================================================================
--- source/texk/web2c/pdftexdir/pdftex.web (revision 46068)
+++ source/texk/web2c/pdftexdir/pdftex.web (working copy)
@@ -33807,11 +33807,12 @@
label done;
var s1, s2: str_number;
i1, i2, j1, j2: pool_pointer;
+ save_cur_cs: pointer;
begin
- call_func(scan_toks(false, true));
+ save_cur_cs:=cur_cs; call_func(scan_toks(false, true));
s1 := tokens_to_string(def_ref);
delete_token_ref(def_ref);
- call_func(scan_toks(false, true));
+ cur_cs:=save_cur_cs; call_func(scan_toks(false, true));
s2 := tokens_to_string(def_ref);
delete_token_ref(def_ref);
i1 := str_start[s1];
@aminophen
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment