Closed drtondo closed 6 years ago
can you try with latest pandoc and post entire command?
Version:
pandoc.exe 1.17.2
Compiled with texmath 0.8.6.4, highlighting-kate 0.6.2.
I downloaded the Windows version last week from pandoc.org
original .docx file I used (two lines): minus-sign.docx
what pandoc produced: minus-sign.txt (the minus sign is missing before 0.0684; the other minus signs are there)
what I need: minus-sign.log (with a minus sign inserted manually before 0.0684)
command used: pandoc -v -f docx -t latex -o minus-sign.txt minus-sign.docx
running in bash-3.1 in Windows 7 (output in pandoc-version.txt)
If you can help, it’d be nice.
Thanks.
From: Mauro Bieg notifications@github.com Sent: Monday, May 14, 2018 2:35 AM To: jgm/pandoc pandoc@noreply.github.com Cc: drtondo drtondo@t3works.com; Author author@noreply.github.com Subject: Re: [jgm/pandoc] Dropping minus sign after overset command in .docx (#4654)
can you try with latest pandoc and post entire command?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jgm/pandoc/issues/4654#issuecomment-388711318 , or mute the thread https://github.com/notifications/unsubscribe-auth/AlYn_26jYDUYY8zyYw90DaD3HUoIu6qsks5tySWmgaJpZM4T9C2w .
[= \ 1.0\ \overset{}{j}\ \times \ \left\lbrack 1.0\ \overset{}{j} \times \left( 0.1879\ \overset{}{i}\ \ 0.0684\ \overset{}{j} \right) \right\rbrack\text{\ \ \ \ \ \ \ \ \ \ \ \ \ }\ m/s^{2}\text{\ \ \ \ \ }]
[= \ - \ 1.0\ \overset{}{j} \times 0.1879\ \overset{}{k}\text{\ \ \ \ \ \ }\ m/s^{2}\ = \ - \ 0.1879\ \overset{}{i}\text{\ \ \ \ \ \ \ \ \ }\ m/s^{2}\text{.\ }]
pandoc.exe 1.17.2 Compiled with texmath 0.8.6.4, highlighting-kate 0.6.2. Syntax highlighting is supported for the following languages: abc, actionscript, ada, agda, apache, asn1, asp, awk, bash, bibtex, boo, c, changelog, clojure, cmake, coffee, coldfusion, commonlisp, cpp, cs, css, curry, d, diff, djangotemplate, dockerfile, dot, doxygen, doxygenlua, dtd, eiffel, elixir, email, erlang, fasm, fortran, fsharp, gcc, glsl, gnuassembler, go, hamlet, haskell, haxe, html, idris, ini, isocpp, java, javadoc, javascript, json, jsp, julia, kotlin, latex, lex, lilypond, literatecurry, literatehaskell, llvm, lua, m4, makefile, mandoc, markdown, mathematica, matlab, maxima, mediawiki, metafont, mips, modelines, modula2, modula3, monobasic, nasm, noweb, objectivec, objectivecpp, ocaml, octave, opencl, pascal, perl, php, pike, postscript, prolog, pure, python, r, relaxng, relaxngcompact, rest, rhtml, roff, ruby, rust, scala, scheme, sci, sed, sgml, sql, sqlmysql, sqlpostgresql, tcl, tcsh, texinfo, verilog, vhdl, xml, xorg, xslt, xul, yacc, yaml, zsh Default user data directory: C:\Users\DrTondo\AppData\Roaming\pandoc Copyright (C) 2006-2016 John MacFarlane Web: http://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose.
We're currently on pandoc 2.2 where this has been fixed. See https://github.com/jgm/pandoc/releases
pandoc -f docx -t latex minus-sign.docx
\[= \ 1.0\ \overset{}{j}\ \times \ \left\lbrack 1.0\ \overset{}{j} \times \left( 0.1879\ \overset{}{i}\ -\ 0.0684\ \overset{}{j} \right) \right\rbrack\text{\ \ \ \ \ \ \ \ \ \ \ \ \ }\ m/s^{2}\text{\ \ \ \ \ }\]
\[= \ - \ 1.0\ \overset{}{j} \times 0.1879\ \overset{}{k}\text{\ \ \ \ \ \ }\ m/s^{2}\ = \ - \ 0.1879\ \overset{}{i}\text{\ \ \ \ \ \ \ \ \ }\ m/s^{2}\text{.\ }\]
You are right indeed! Thanks.
From: Mauro Bieg notifications@github.com Sent: Monday, May 14, 2018 11:43 AM To: jgm/pandoc pandoc@noreply.github.com Cc: drtondo drtondo@t3works.com; Author author@noreply.github.com Subject: Re: [jgm/pandoc] Dropping minus sign after overset command in .docx (#4654)
We're currently on pandoc 2.2 where this has been fixed. See https://github.com/jgm/pandoc/releases
pandoc -f docx -t latex minus-sign.docx
[= \ 1.0\ \overset{}{j}\ \times \ \left\lbrack 1.0\ \overset{}{j} \times \left( 0.1879\ \overset{}{i}\ -\ 0.0684\ \overset{}{j} \right) \right\rbrack\text{\ \ \ \ \ \ \ \ \ \ \ \ \ }\ m/s^{2}\text{\ \ \ \ \ }] [= \ - \ 1.0\ \overset{}{j} \times 0.1879\ \overset{}{k}\text{\ \ \ \ \ \ }\ m/s^{2}\ = \ - \ 0.1879\ \overset{}{i}\text{\ \ \ \ \ \ \ \ \ }\ m/s^{2}\text{.\ }]
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jgm/pandoc/issues/4654#issuecomment-388863990 , or mute the thread https://github.com/notifications/unsubscribe-auth/AlYn_5XIYL2_4IzE-5lM4e4j1v0L4flDks5tyaYXgaJpZM4T9C2w .
complete input: minus-sign.docx exact command line used: pando.txt expected output: minus-sign.log actual output: minus-sign.txt
minus-sign.docx minus-sign.txt pandoc-version.txt minus-sign.log pando.txt