{"action":"created","issue":{"url":"https://api.github.com/repos/ftilmann/latexdiff/issues/99","repository_url":"https://api.github.com/repos/ftilmann/latexdiff","labels_url":"https://api.github.com/repos/ftilmann/latexdiff/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/ftilmann/latexdiff/issues/99/comments","events_url":"https://api.github.com/repos/ftilmann/latexdiff/issues/99/events","html_url":"https://github.com/ftilmann/latexdiff/issues/99","id":227384592,"number":99,"title":"--graphics-markup=0 still allows some (invalid) graphics markup","user":{"login":"bersbersbers","id":12128514,"avatar_url":"https://avatars2.githubusercontent.com/u/12128514?v=3","gravatar_id":"","url":"https://api.github.com/users/bersbersbers","html_url":"https://github.com/bersbersbers","followers_url":"https://api.github.com/users/bersbersbers/followers","following_url":"https://api.github.com/users/bersbersbers/following{/other_user}","gists_url":"https://api.github.com/users/bersbersbers/gists{/gist_id}","starred_url":"https://api.github.com/users/bersbersbers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bersbersbers/subscriptions","organizations_url":"https://api.github.com/users/bersbersbers/orgs","repos_url":"https://api.github.com/users/bersbersbers/repos","events_url":"https://api.github.com/users/bersbersbers/events{/privacy}","received_events_url":"https://api.github.com/users/bersbersbers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-09T14:24:31Z","updated_at":"2017-05-09T14:34:14Z","closed_at":null,"body":"Changing a `figure*` environment into a `figure` environment introduces a number of `latexdiff` tags around that environment, even though `--graphics-markup=0` is set.\r\n\r\nMWE:\r\n[old.tex.txt](https://github.com/ftilmann/latexdiff/files/986912/old.tex.txt)\r\n[new.tex.txt](https://github.com/ftilmann/latexdiff/files/986913/new.tex.txt)\r\n\r\n    latexdiff --version\r\n    This is LATEXDIFF 1.2.1a  (Algorithm::Diff 1.1903, Perl v5.24.0)\r\n      (c) 2004-2016 F J Tilmann\r\n    latexdiff --graphics-markup=0 old.tex new.tex > diff.tex\r\n\r\n[diff.tex.txt](https://github.com/ftilmann/latexdiff/files/986915/diff.tex.txt)\r\n\r\nThe environment becomes this:\r\n\r\n```\r\n\\DIFdelbegin %DIFDELCMD < \\begin{figure*}[b]\r\n%DIFDELCMD < \t%%%\r\n\\DIFdelendFL \\DIFaddbeginFL \\begin{figure}[b]\r\n\t\\DIFaddendFL \\includegraphics{example-image-a}\r\n\t\\caption{CAPTION}\r\n\\DIFdelbeginFL %DIFDELCMD < \\end{figure*}\r\n%DIFDELCMD <  %%%\r\n\\DIFdelend \\DIFaddbegin \\end{figure}\r\n \\DIFaddend\r\n```\r\n\r\nNote that most of the environment is wrapped in `\\DIFdelbegin...\\DIFdelend` now. Depending on what you `\\DIFdelbegin` is (for me, it starts a `comment` environment), this can have unwanted consequences (for me, making the `figure` disappear)."},"comment":{"url":"https://api.github.com/repos/ftilmann/latexdiff/issues/comments/300184314","html_url":"https://github.com/ftilmann/latexdiff/issues/99#issuecomment-300184314","issue_url":"https://api.github.com/repos/ftilmann/latexdiff/issues/99","id":300184314,"user":{"login":"bersbersbers","id":12128514,"avatar_url":"https://avatars2.githubusercontent.com/u/12128514?v=3","gravatar_id":"","url":"https://api.github.com/users/bersbersbers","html_url":"https://github.com/bersbersbers","followers_url":"https://api.github.com/users/bersbersbers/followers","following_url":"https://api.github.com/users/bersbersbers/following{/other_user}","gists_url":"https://api.github.com/users/bersbersbers/gists{/gist_id}","starred_url":"https://api.github.com/users/bersbersbers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bersbersbers/subscriptions","organizations_url":"https://api.github.com/users/bersbersbers/orgs","repos_url":"https://api.github.com/users/bersbersbers/repos","events_url":"https://api.github.com/users/bersbersbers/events{/privacy}","received_events_url":"https://api.github.com/users/bersbersbers/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T14:34:13Z","updated_at":"2017-05-09T14:34:13Z","body":"Also, note that `DIFdelendFL` appears before the corresponding `\\DIFdelbeginFL`."}}
{"actor":{"display_login":"bersbersbers"}}