)]}'
{"tools/build_latex_pdf.sh":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"013282f0b787dea341c2f20d2ed4537e4d58d060","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# Workaround all the sphinx latex bugs"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# Convert svg to png (requires ImageMagick)"},{"line_number":18,"context_line":"convert architecture.svg architecture.png"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Update the latex to point to the new image, switch unicode chars to latex"}],"source_content_type":"text/x-sh","patch_set":2,"id":"ba3cc151_78b3cc9a","line":17,"updated":"2015-07-08 13:30:25.000000000","message":"Which package provides ImageMagick?","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"67a758e040f418052dceab102bd5180766b195ca","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# Workaround all the sphinx latex bugs"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# Convert svg to png (requires ImageMagick)"},{"line_number":18,"context_line":"convert architecture.svg architecture.png"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Update the latex to point to the new image, switch unicode chars to latex"}],"source_content_type":"text/x-sh","patch_set":2,"id":"9a41bdd9_bf9f2eb3","line":17,"in_reply_to":"ba3cc151_06d49a1d","updated":"2015-07-14 04:15:24.000000000","message":"yeah, this is a package name and this comment helped me for trying this script.","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"5bfab15962ca678763efdb7050c8df9c330dd7bd","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# Workaround all the sphinx latex bugs"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# Convert svg to png (requires ImageMagick)"},{"line_number":18,"context_line":"convert architecture.svg architecture.png"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Update the latex to point to the new image, switch unicode chars to latex"}],"source_content_type":"text/x-sh","patch_set":2,"id":"ba3cc151_06d49a1d","line":17,"in_reply_to":"ba3cc151_78b3cc9a","updated":"2015-07-08 15:36:22.000000000","message":"Umm, ImageMagick is the name of the package: http://www.imagemagick.org/script/index.php \n\nconvert is one of the utilities in ImageMagick.","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"67a758e040f418052dceab102bd5180766b195ca","unresolved":false,"context_lines":[{"line_number":21,"context_line":"# markup, and add packages for symbols"},{"line_number":22,"context_line":"sed -i -e \u0027s/architecture.svg/architecture.png/g\u0027 -e \u0027s/\\\\code{✔}/\\\\checkmark/g\u0027 -e \u0027s/\\\\code{✖}/\\\\ding{54}/g\u0027 -e \u0027s/\\\\usepackage{multirow}/\\\\usepackage{multirow}\\n\\\\usepackage{amsmath,amssymb,latexsym}\\n\\\\usepackage{pifont}/g\u0027 Nova.tex"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"pdflatex Nova.tex"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"deactivate"},{"line_number":27,"context_line":"popd"}],"source_content_type":"text/x-sh","patch_set":2,"id":"9a41bdd9_7f80c646","line":24,"updated":"2015-07-14 04:15:24.000000000","message":"When trying this script, I faced \n\n ./tools/build_latex_pdf.sh: line 24: pdflatex: command not found\n\nSo how about adding\n\n # Convert latex to pdf (requires texlive-latex-base)\n\nhere like line 17?","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"7fa43069f2f7f65490cc4d05f6352b383835329e","unresolved":false,"context_lines":[{"line_number":21,"context_line":"# markup, and add packages for symbols"},{"line_number":22,"context_line":"sed -i -e \u0027s/architecture.svg/architecture.png/g\u0027 -e \u0027s/\\\\code{✔}/\\\\checkmark/g\u0027 -e \u0027s/\\\\code{✖}/\\\\ding{54}/g\u0027 -e \u0027s/\\\\usepackage{multirow}/\\\\usepackage{multirow}\\n\\\\usepackage{amsmath,amssymb,latexsym}\\n\\\\usepackage{pifont}/g\u0027 Nova.tex"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"pdflatex Nova.tex"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"deactivate"},{"line_number":27,"context_line":"popd"}],"source_content_type":"text/x-sh","patch_set":2,"id":"9a41bdd9_35a3169f","line":24,"in_reply_to":"9a41bdd9_7f80c646","updated":"2015-07-14 19:45:26.000000000","message":"Done","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"67a758e040f418052dceab102bd5180766b195ca","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"pdflatex Nova.tex"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"deactivate"},{"line_number":27,"context_line":"popd"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"cp doc/build/latex/Nova.pdf ."}],"source_content_type":"text/x-sh","patch_set":2,"id":"9a41bdd9_3f1d5e0f","line":26,"updated":"2015-07-14 04:15:24.000000000","message":"even after texlive-latest-base, I am facing a problem still because pdflatex doesn\u0027t work fine:\n\n $ ./tools/build_latex_pdf.sh\n [..]\n /opt/stack/nova/doc/build/latex /opt/stack/nova\n This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)\n restricted \\write18 enabled.\n entering extended mode\n (./Nova.tex\n LaTeX2e \u003c2011/06/27\u003e\n Babel \u003c3.9h\u003e and hyphenation patterns for 2 languages loaded.\n (./sphinxmanual.cls\n Document Class: sphinxmanual 2009/06/02 Document class (Sphinx manual)\n (/usr/share/texlive/texmf-dist/tex/latex/base/report.cls\n Document Class: report 2007/10/19 v1.4h Standard LaTeX document class\n (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)))\n (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty\n (/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def\n (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)\n (/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)\n (/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))\n (/usr/share/texlive/texmf-dist/tex/latex/cmap/cmap.sty)\n (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty\n (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def)\n kpathsea: Running mktextfm ecrm1000\n mktextfm: Running mf-nowin -progname\u003dmf \\mode:\u003dljfour; mag:\u003d1; nonstopmode; input ecrm1000\n This is METAFONT, Version 2.718281 (TeX Live 2013/Debian)\n\n kpathsea: Running mktexmf ecrm1000\n ! I can\u0027t find file `ecrm1000\u0027.\n \u003c*\u003e ...ljfour; mag:\u003d1; nonstopmode; input ecrm1000\n\n Please type another input file name\n ! Emergency stop.\n \u003c*\u003e ...ljfour; mag:\u003d1; nonstopmode; input ecrm1000\n\n Transcript written on mfput.log.\n grep: ecrm1000.log: No such file or directory\n mktextfm: `mf-nowin -progname\u003dmf \\mode:\u003dljfour; mag:\u003d1; nonstopmode; input ecrm1000\u0027 failed to make  ecrm1000.tfm.\n kpathsea: Appending font creation commands to missfont.log.\n\n ! Font T1/cmr/m/n/10\u003decrm1000 at 10.0pt not loadable: Metric (TFM) file not fou\nnd.\n \u003cto be read again\u003e\n                   relax\n l.100 \\fontencoding\\encodingdefault\\selectfont\n\n ?\n \u003c\u003ct1.cmap\u003e\u003e\n ! pdfTeX error (font): invalid font identifier.\n font@name -\u003eT1/cmr/m/n/10\n\n l.100 \\fontencoding\\encodingdefault\\selectfont\n\n !  \u003d\u003d\u003e Fatal error occurred, no output PDF file produced!\n Transcript written on Nova.log.\n /opt/stack/nova\n cp: cannot stat \u0027doc/build/latex/Nova.pdf\u0027: No such file or directory\n $","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"e2da287a0052409be0de55c206b30e7538acb264","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"pdflatex Nova.tex"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"deactivate"},{"line_number":27,"context_line":"popd"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"cp doc/build/latex/Nova.pdf ."}],"source_content_type":"text/x-sh","patch_set":2,"id":"9a41bdd9_f2ededef","line":26,"in_reply_to":"9a41bdd9_3f1d5e0f","updated":"2015-07-14 05:05:27.000000000","message":"So that error is being caused because latex (specfically mktextfm) can\u0027t find the the file it needs to generate a font metric file: ecrm1000.tfm which latex needs use the font which was specified. This is something the generated sphinx latex is trying to use with the line:\n\n\\usepackage[T1]{fontenc}\n\nThis probably means you\u0027re missing whatever package on your distro provides that. It looks like you\u0027re using an ubuntu or debian system, I would recommend installing the full texlive package with the \"texlive-full\" metapackage: http://packages.ubuntu.com/trusty/texlive-full that\u0027ll install everything texlive that ubuntu has which should included the missing file. (I normally install the equiv. thing for my distro when I\u0027m going to use latex)\n\nFWIW, I just generated the output using the script a couple of days ago and uploaded it here:\n\nhttp://blog.kortar.org/wp-content/uploads/2015/07/Nova2.pdf","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"7fa43069f2f7f65490cc4d05f6352b383835329e","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"pdflatex Nova.tex"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"deactivate"},{"line_number":27,"context_line":"popd"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"cp doc/build/latex/Nova.pdf ."}],"source_content_type":"text/x-sh","patch_set":2,"id":"9a41bdd9_759c3e5d","line":26,"in_reply_to":"9a41bdd9_c40b228d","updated":"2015-07-14 19:45:26.000000000","message":"Done","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c3892b512502f69b32e9f58c27e9d5731143f93b","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"pdflatex Nova.tex"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"deactivate"},{"line_number":27,"context_line":"popd"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"cp doc/build/latex/Nova.pdf ."}],"source_content_type":"text/x-sh","patch_set":2,"id":"9a41bdd9_c40b228d","line":26,"in_reply_to":"9a41bdd9_f2ededef","updated":"2015-07-14 18:43:33.000000000","message":"How about you update the HACKING.rst with your change here, see the section on building docs which is talking about latex and dependent packages.  You could also point out this tool from that doc:\n\nhttps://github.com/openstack/nova/blob/master/HACKING.rst","commit_id":"8e3e661cfc47fb2542cad9f07f40ce130c41751d"}]}
