lyx_mirror/lib
Enrico Forestieri 51b8778c73 Fix Python 3 issues when generating preview snippets
The log file generated by latex can contain strings encoded in
whatever supported encoding. Instead of guessing the encoding,
it is better to open it in binary mode and then performing the
necessary comparisons as "bytes". In order to do this, the
strings are encoded in utf8, so that, for example, b"pythön" is
encoded as "pyth\xc3\xb6n" (7 bytes). Of course, this means that
we can only successfully perform comparisons with ascii strings.
However, this is what we actually do, as we only search for
ascii strings in the log file.

(cherry picked from commit bd6d09fc98)
2020-05-18 20:44:33 +02:00
..
bind Tab binding: outline-in before depth-increment 2019-06-19 13:55:48 -04:00
citeengines Amend 00bdc20693 2020-01-27 11:13:05 +01:00
commands
doc Minor doc updates by Yuriy 2020-04-23 07:32:39 +02:00
examples colored-boxes.lyx: add section about references 2019-07-21 01:31:46 +02:00
fonts Fix problem with conversion of stmary10.lyx. 2018-03-19 18:44:29 -04:00
images Fix for #11476: Icons have spurious squares 2019-04-06 07:30:46 +02:00
kbd
layouts Added revtex4-2.layout 2020-05-18 18:53:28 +02:00
lyx2lyx Fix typo in lyx2lyx conversion to 2.1 (taken from master) 2019-12-28 14:39:49 +00:00
scripts Fix Python 3 issues when generating preview snippets 2020-05-18 20:44:33 +02:00
templates Added aastex62 example an template files 2018-12-29 19:52:45 +01:00
tex
ui Fix bug #11799. 2020-03-28 23:36:04 -04:00
xtemplates Add resize facility to inkscape template. 2017-11-04 10:36:36 +01:00
.gitignore Add a few more things to ignore, mostly generated files. 2012-03-23 14:09:19 -04:00
appdata.xml Fix license string according to http://spdx.org/licenses/. 2014-06-17 09:50:28 -07:00
autocorrect
build-listerrors
chkconfig.ltx Re-fix #11146 with recent LaTeX 2020-01-27 08:29:12 +01:00
configure.py Fixup inkscape detection on Windows 2020-05-18 13:23:09 +02:00
CREDITS Let TeXFiles.py handle symbolic links. 2019-06-27 23:53:03 +02:00
encodings Introduce "inherit" encoding for latex_language 2018-01-20 09:22:38 +01:00
generate_contributions.py Fix typo 2019-07-25 00:05:39 -04:00
languages Use acadian rather than canadien 2019-08-27 17:35:54 +02:00
latexfonts Fix the implementation of new libertine package 2018-03-17 15:44:05 -04:00
layouttranslations layouttranslations: update file 2018-02-20 20:27:26 +01:00
layouttranslations.review sv.po reviewed by Jim 2018-02-24 14:13:44 +01:00
lyx.desktop.in add "Keywords" to lyx.desktop file 2015-03-17 10:17:35 +01:00
Makefile.am Add revtex 4.2. files to distribution 2020-05-18 13:21:36 -04:00
RELEASE-NOTES Notes related to bug #11216. 2018-08-28 15:22:50 -04:00
symbols Fix metrics of math characters with 0 width 2017-01-20 10:53:06 +01:00
syntax.default Merge branch '2.3.2-staging' into 2.3.x 2018-04-14 23:52:31 -04:00
unicodesymbols force some symbols as macros with utf8-cjk 2019-01-12 17:40:55 +01:00