#StackBounty: #tables #pdftex #arrays #cellcolor #convert Automatic generation of table made initially on MS word

Bounty: 100

I have made with MS-Word the following table and I would like to find a tool (online or by command line) on MacOS or Linux to convert it to LaTeX table:

Table to convert

As you can see, it is pretty complicated to make this table in LaTeX from scratch. That’s why I wonder if someone could know existing tools (online or from the command line) to produce the same table but with a LaTeX source that I could compile to get the same rendering ? For the moment, I tried a few online ones on the web but the rendering is very bad.

UPDATE 1: Thanks all for your different answers. My issue seems to be more difficult than I thought. I tried to use the converter online:

Aspose converter PDF TO LATEX

The rendering is pretty good after a call to PdfLaTeX but the LaTeX source itself can’t be processed, there are too many fine-tuned functions and the content itself (made of number of numbers) as well as the text is simply inexploitable, i.e I can’t modify it whitout changing all the format and the rendering of the table.

Here an example of the beginning of the LaTeX source generated by this online converter:

documentclass{article}
usepackage{amsmath}
usepackage{color,pxfonts,fix-cm}
usepackage{latexsym}
usepackage[mathletters]{ucs}
DeclareUnicodeCharacter{32}{$ $}
DeclareUnicodeCharacter{8801}{$equiv$}
DeclareUnicodeCharacter{58}{$colon$}
DeclareUnicodeCharacter{963}{$sigma$}
DeclareUnicodeCharacter{46}{textperiodcentered}
DeclareUnicodeCharacter{60}{textless}
DeclareUnicodeCharacter{8226}{$bullet$}
DeclareUnicodeCharacter{171}{guillemotleft}
DeclareUnicodeCharacter{187}{guillemotright}
usepackage[T1]{fontenc}
usepackage[utf8x]{inputenc}
usepackage{pict2e}
usepackage{wasysym}
usepackage[english]{babel}
usepackage{tikz}
pagestyle{empty}
usepackage[margin=0in,paperwidth=595pt,paperheight=841pt]{geometry}
begin{document}
definecolor{color_29791}{rgb}{0,0,0}
definecolor{color_280669}{rgb}{1,0.705882,0.952941}
definecolor{color_209140}{rgb}{0.705882,0.776471,0.905882}
definecolor{color_208148}{rgb}{0.701961,0.772549,0.905882}
definecolor{color_274846}{rgb}{1,0,0}
definecolor{color_283006}{rgb}{1,1,1}
definecolor{color_282974}{rgb}{1,0.996078,0.996078}
definecolor{color_280637}{rgb}{1,0.701961,0.94902}
begin{tikzpicture}[overlay]path(0pt,0pt);end{tikzpicture}
begin{picture}(-5,0)(2.5,0)
put(56.03423,-71.84601){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(473.5844,-71.84601){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(56.03423,-85.76599){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(473.5844,-85.76599){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(56.03423,-99.44604){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(473.5844,-99.44604){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(56.03423,-113.366){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(473.5844,-113.366){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(480.8331,-113.366){fontsize{12}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
end{picture}
begin{tikzpicture}[overlay]
path(0pt,0pt);
begin{scope}
clip
(91pt, -707pt) -- (474pt, -707pt)
 -- (474pt, -707pt)
 -- (474pt, 1pt)
 -- (474pt, 1pt)
 -- (91pt, 1pt) -- cycle
;
filldraw[color_280669][nonzero rule]
(99.2343pt, 0.633972pt) -- (198.1143pt, 0.633972pt)
 -- (198.1143pt, 0.633972pt)
 -- (198.1143pt, -177.206pt)
 -- (198.1143pt, -177.206pt)
 -- (99.2343pt, -177.206pt) -- cycle
;
end{scope}
begin{scope}
clip
(99pt, -178pt) -- (199pt, -178pt)
 -- (199pt, -178pt)
 -- (199pt, 1pt)
 -- (199pt, 1pt)
 -- (99pt, 1pt) -- cycle
;
filldraw[color_280669][nonzero rule]
(104.5143pt, -83.84601pt) -- (193.0743pt, -83.84601pt)
 -- (193.0743pt, -83.84601pt)
 -- (193.0743pt, -92.72601pt)
 -- (193.0743pt, -92.72601pt)
 -- (104.5143pt, -92.72601pt) -- cycle
;
end{scope}
end{tikzpicture}
begin{picture}(-5,0)(2.5,0)
put(104.5142,-91.04602){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}?}
end{picture}
begin{tikzpicture}[overlay]
path(0pt,0pt);
begin{scope}
clip
(91pt, -707pt) -- (474pt, -707pt)
 -- (474pt, -707pt)
 -- (474pt, 1pt)
 -- (474pt, 1pt)
 -- (91pt, 1pt) -- cycle
;
filldraw[color_209140][nonzero rule]
(198.8343pt, 0.633972pt) -- (466.1943pt, 0.633972pt)
 -- (466.1943pt, 0.633972pt)
 -- (466.1943pt, -92.00598pt)
 -- (466.1943pt, -92.00598pt)
 -- (198.8343pt, -92.00598pt) -- cycle
;
end{scope}
begin{scope}
clip
(198pt, -93pt) -- (467pt, -93pt)
 -- (467pt, -93pt)
 -- (467pt, 1pt)
 -- (467pt, 1pt)
 -- (198pt, 1pt) -- cycle
;
filldraw[color_209140][nonzero rule]
(203.8743pt, 0.633972pt) -- (460.9143pt, 0.633972pt)
 -- (460.9143pt, 0.633972pt)
 -- (460.9143pt, -8.966003pt)
 -- (460.9143pt, -8.966003pt)
 -- (203.8743pt, -8.966003pt) -- cycle
;
end{scope}
end{tikzpicture}
begin{picture}(-5,0)(2.5,0)
put(221.8743,-6.80603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
end{picture}
begin{tikzpicture}[overlay]
path(0pt,0pt);
begin{scope}
clip
(198pt, -93pt) -- (467pt, -93pt)
 -- (467pt, -93pt)
 -- (467pt, 1pt)
 -- (467pt, 1pt)
 -- (198pt, 1pt) -- cycle
;
filldraw[color_208148][nonzero rule]
(203.8743pt, -8.966003pt) -- (460.9143pt, -8.966003pt)
 -- (460.9143pt, -8.966003pt)
 -- (460.9143pt, -17.60602pt)
 -- (460.9143pt, -17.60602pt)
 -- (203.8743pt, -17.60602pt) -- cycle
;
end{scope}
end{tikzpicture}
begin{picture}(-5,0)(2.5,0)
put(203.8743,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}Ge}
put(213.0344,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}n}
put(217.2016,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}e}
put(220.528,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}r}
put(223.8544,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}a}
put(227.6049,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}l}
put(229.6889,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(231.5645,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}Ou}
put(241.5654,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}t}
put(244.0659,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}p}
put(248.2331,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}u}
put(252.4003,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}t}
put(254.9008,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(256.7765,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}F}
put(261.3603,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(265.1107,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}r}
put(268.4372,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}m}
put(274.6875,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}a}
put(278.438,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}t}
put(280.9469,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(282.8221,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}: }
put(287.1923,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(289.065,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}(a}
put(295.3101,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}/}
put(297.3911,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}b}
put(301.5627,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}) }
put(305.9329,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}(c}
put(311.7614,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}/}
put(313.8423,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}d}
put(318.0139,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}) }
put(322.3985,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}[e}
put(328.227,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791},}
put(330.0997,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}f]}
put(335.095,-15.92603){fontsize{7.44}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
end{picture}
begin{tikzpicture}[overlay]
path(0pt,0pt);
begin{scope}
clip
(198pt, -93pt) -- (467pt, -93pt)
 -- (467pt, -93pt)
 -- (467pt, 1pt)
 -- (467pt, 1pt)
 -- (198pt, 1pt) -- cycle
;
filldraw[color_208148][nonzero rule]
(203.8743pt, -17.60602pt) -- (460.9143pt, -17.60602pt)
 -- (460.9143pt, -17.60602pt)
 -- (460.9143pt, -26.966pt)
 -- (460.9143pt, -26.966pt)
 -- (203.8743pt, -26.966pt) -- cycle
;
end{scope}
end{tikzpicture}
begin{picture}(-5,0)(2.5,0)
put(332.4243,-25.04602){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
end{picture}
begin{tikzpicture}[overlay]
path(0pt,0pt);
begin{scope}
clip
(198pt, -93pt) -- (467pt, -93pt)
 -- (467pt, -93pt)
 -- (467pt, 1pt)
 -- (467pt, 1pt)
 -- (198pt, 1pt) -- cycle
;
filldraw[color_208148][nonzero rule]
(203.8743pt, -26.966pt) -- (460.9143pt, -26.966pt)
 -- (460.9143pt, -26.966pt)
 -- (460.9143pt, -36.32599pt)
 -- (460.9143pt, -36.32599pt)
 -- (203.8743pt, -36.32599pt) -- cycle
;
end{scope}
end{tikzpicture}
begin{picture}(-5,0)(2.5,0)
put(203.8743,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}1)}
put(210.5366,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(212.5384,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}Fi}
put(219.6505,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}r}
put(223.1987,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}s}
put(226.3112,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}t}
put(228.9724,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(230.9682,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}c}
put(234.5163,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(238.5159,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}upl}
put(249.6436,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}e}
put(253.1917,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(255.1876,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(259.1872,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}f}
put(261.8483,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(263.8441,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}v}
put(267.8438,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}a}
put(271.8434,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}l}
put(274.0689,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}ue}
put(282.0681,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}s}
put(285.1985,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(287.1985,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}: }
put(291.8618,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}W}
put(299.8641,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}i}
put(302.0849,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}th}
put(309.1955,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(313.1982,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}u}
put(317.6445,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}t }
put(322.3119,-34.50952){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}�}
put(326.5189,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}?}
put(328.2805,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}â¡}
put(334.2572,-34.50952){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}?}
put(336.0229,-34.50952){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}(a}
put(343.257,-34.50952){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}?}
put(345.0208,-34.50952){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}/}
put(348.9467,-34.50952){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}?}
put(350.7105,-34.50952){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}b}
put(355.0958,-34.50952){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791})}
put(358.4211,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(360.4213,-34.646){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
end{picture}
begin{tikzpicture}[overlay]
path(0pt,0pt);
begin{scope}
clip
(198pt, -93pt) -- (467pt, -93pt)
 -- (467pt, -93pt)
 -- (467pt, 1pt)
 -- (467pt, 1pt)
 -- (198pt, 1pt) -- cycle
;
filldraw[color_208148][nonzero rule]
(203.8743pt, -36.32599pt) -- (460.9143pt, -36.32599pt)
 -- (460.9143pt, -36.32599pt)
 -- (460.9143pt, -45.68597pt)
 -- (460.9143pt, -45.68597pt)
 -- (203.8743pt, -45.68597pt) -- cycle
;
end{scope}
end{tikzpicture}
begin{picture}(-5,0)(2.5,0)
put(203.8743,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}2)}
put(210.5384,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}Se}
put(218.5344,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}c}
put(222.081,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(226.079,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}nd }
put(236.9801,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}c}
put(240.5267,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(244.5247,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}upl}
put(255.6476,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}e}
put(259.1941,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(261.1963,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(265.1943,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}f}
put(267.8618,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(269.864,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}v}
put(273.862,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}a}
put(277.86,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}l}
put(280.084,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}ue}
put(288.08,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}s}
put(291.1909,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(293.1931,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}:}
put(295.8606,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(297.8628,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}W}
put(305.8604,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}i}
put(308.0843,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}t}
put(310.7517,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}h }
put(317.2102,-43.86957){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}�}
put(321.4172,-43.86957){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}?}
put(323.1829,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}â¡}
put(329.1596,-43.86957){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}?}
put(330.925,-43.86957){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}(c?}
put(339.5428,-43.86957){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}/}
put(343.4688,-43.86957){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}?}
put(345.2325,-43.86957){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}d}
put(349.6733,-43.86957){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791})}
put(353.0033,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}  }
put(357.0032,-44.00598){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
end{picture}
begin{tikzpicture}[overlay]
path(0pt,0pt);
begin{scope}
clip
(198pt, -93pt) -- (467pt, -93pt)
 -- (467pt, -93pt)
 -- (467pt, 1pt)
 -- (467pt, 1pt)
 -- (198pt, 1pt) -- cycle
;
filldraw[color_208148][nonzero rule]
(203.8743pt, -45.68597pt) -- (460.9143pt, -45.68597pt)
 -- (460.9143pt, -45.68597pt)
 -- (460.9143pt, -55.04602pt)
 -- (460.9143pt, -55.04602pt)
 -- (203.8743pt, -55.04602pt) -- cycle
;
end{scope}
end{tikzpicture}
begin{picture}(-5,0)(2.5,0)
put(203.8743,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}3)}
put(210.5366,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(212.5384,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}In}
put(220.1035,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}si}
put(225.4432,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}d}
put(229.895,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}e }
put(235.4406,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}ea}
put(242.99,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}ch}
put(250.9908,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(252.9874,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}co}
put(260.5367,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}u}
put(264.9886,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}p}
put(269.4404,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}l}
put(271.6667,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}e }
put(277.2123,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(281.2127,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}f}
put(283.8746,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(285.8712,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}v}
put(289.8716,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}a}
put(293.872,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}l}
put(296.0984,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}u}
put(300.5502,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}es }
put(309.2091,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}:}
put(311.871,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(313.8677,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}(}
put(316.5296,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}a}
put(320.53,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}1}
put(324.5304,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(326.527,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}/}
put(328.7533,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(330.75,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}b}
put(335.2018,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}1}
put(339.2022,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791})}
put(341.8641,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(343.8607,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}=}
put(348.4235,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(350.4201,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}(}
put(353.082,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}F}
put(357.9695,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}o}
put(361.9698,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}M}
put(369.5184,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}(}
put(372.1803,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}1}
put(376.1807,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}0}
put(380.1811,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(382.1777,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}b}
put(386.6296,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}i}
put(388.8559,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}n}
put(393.3077,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}s }
put(398.4177,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791})}
put(401.0796,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
put(403.0969,-53.22955){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}/?}
put(408.7885,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}Fo}
put(417.6747,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}M}
put(425.2224,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}(}
put(427.8836,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}1}
put(431.8832,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}1}
put(435.8828,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}bi}
put(442.5593,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791}ns}
put(450.123,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791})}
put(452.7884,-53.22955){fontsize{7.842352}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791})}
put(456.1126,-53.36603){fontsize{7.92}{1}usefont{T1}{ptm}{m}{n}selectfontcolor{color_29791} }
end{picture}
begin{tikzpicture}[overlay]
path(0pt,0pt);
begin{scope}
clip
(198pt, -93pt) -- (467pt, -93pt)
 -- (467pt, -93pt)
 -- (467pt, 1pt)
 -- (467pt, 1pt)
 -- (198pt, 1pt) -- cycle
;
filldraw[color_208148][nonzero rule]
(203.8743pt, -55.04602pt) -- (460.9143pt, -55.04602pt)
 -- (460.9143pt, -55.04602pt)
 -- (460.9143pt, -64.16602pt)
 -- (460.9143pt, -64.16602pt)
 -- (203.8743pt, -64.16602pt) -- cycle
;
end{scope}
end{tikzpicture}

I can’t simply process this kind of source. You could tell to produce the LaTeX myself from scratch but it would be a huge amount of work.

Do you think that commercial products of Aspose are really efficient or other commercial PDF -> LaTeX converter products?

I am working on MacOS Catalina 10.15 and I am looking for a very accurate OCR to produce an easy modifiable LaTeX source (I tried Mathpix too without success). I am ready to pay a commercial product but I don’t want an expensive product also.

I have tried pandoc but the result is catastrophic in my case.

UPDATE 2: I have put online the files PDF and docx in order someone to be able to test the best way to convert the PDF or docx file to Latex source :

pdf file

docx file

Any advise/suggestion/help is welcome.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.