lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

61
active users

#docx

0 posts0 participants0 posts today
pandoc<p>Article by <span class="h-card" translate="no"><a href="https://mastodon.social/@alefunguju" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>alefunguju</span></a></span> on how to use pandoc to produce nice-looking diffs for docx and odt with <a href="https://fosstodon.org/tags/git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>git</span></a>, and even how to provide that functionality with <a href="https://fosstodon.org/tags/Forgejo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Forgejo</span></a>.</p><p><a href="https://spiffyk.cz/blog/git-pandoc/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">spiffyk.cz/blog/git-pandoc/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/pandoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pandoc</span></a> <a href="https://fosstodon.org/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a> <a href="https://fosstodon.org/tags/odt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>odt</span></a> <a href="https://fosstodon.org/tags/diff" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>diff</span></a></p>
Alexandre B A Villares 🐍<p>Um exemplo mínimo de como usar <a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> para ler dados de uma planilha <a href="https://ciberlandia.pt/tags/Excel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Excel</span></a> com a biblioteca <a href="https://ciberlandia.pt/tags/openpyxl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openpyxl</span></a> e como modificar um arquivo <a href="https://ciberlandia.pt/tags/Word" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Word</span></a> com a biblioteca <a href="https://ciberlandia.pt/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a></p><p><a href="https://gist.github.com/villares/560e231da78cd1b8f5701c5a6897348f" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/villares/560e2</span><span class="invisible">31da78cd1b8f5701c5a6897348f</span></a></p>
pandoc<p>Article by R.&nbsp;N.&nbsp;West on how to use <a href="https://fosstodon.org/tags/pandoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pandoc</span></a> in an advanced way in order to generate corporate-styled Word documents.<br>The post explains custom styles, shows how <a href="https://fosstodon.org/tags/openxml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openxml</span></a> templates can be used, and includes a short primer on important aspects of the <a href="https://fosstodon.org/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a>-format.<br><a href="https://rnwest.engineer/auto-generate-docx-with-pandoc/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">rnwest.engineer/auto-generate-</span><span class="invisible">docx-with-pandoc/</span></a></p>
Erik L. Arneson :emacs:<p>Here is a blog post by Chris Maiorana about writing in <a href="https://fosstodon.org/tags/Emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Emacs</span></a> <a href="https://fosstodon.org/tags/orgmode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>orgmode</span></a> and then figuring out how to export to <a href="https://fosstodon.org/tags/Docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Docx</span></a>. It is not the same solution that I came up with, but it handles multiple templates and options in a cool way. <a href="https://fosstodon.org/tags/writing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>writing</span></a> <a href="https://chrismaiorana.com/from-emacs-to-microsoft-word/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chrismaiorana.com/from-emacs-t</span><span class="invisible">o-microsoft-word/</span></a></p>
iCode2<p>Looking for a programmatic way to convert your PDFs into Docx? Then look no further than the {Convert2Docx} R package.</p><p><a href="https://github.com/Ifeanyi55/Convert2Docx" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Ifeanyi55/Convert2D</span><span class="invisible">ocx</span></a></p><p>It enables you to convert an entire PDF file or portions of it into a Word document in just a few lines of R code. </p><p>Have fun converting your documents! 😃 </p><p>If you find it to be a helpful tool in your workflow, then please give the project a star 🌟. It will be very much appreciated 🙏 </p><p><a href="https://mastodon.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://mastodon.social/tags/pdf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pdf</span></a> <a href="https://mastodon.social/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a> <a href="https://mastodon.social/tags/github" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>github</span></a> <a href="https://mastodon.social/tags/productivity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>productivity</span></a> <a href="https://mastodon.social/tags/tool" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tool</span></a></p>
Hraban (fiëé visuëlle)<p>Wow, a British <a href="https://literatur.social/tags/ConTeXt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ConTeXt</span></a> user thanks with £100 for my “docx2ctx”* script that helped him finish a big project in time and that I slightly adapted to his needs.<br>AFAIR I never got paid for my open source contributions before. 🤑</p><p>*) <a href="https://codeberg.org/fiee/context-tools/src/branch/master/docx2ctx" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/fiee/context-tool</span><span class="invisible">s/src/branch/master/docx2ctx</span></a></p><p><a href="https://literatur.social/tags/TeXConTeXt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TeXConTeXt</span></a> <a href="https://literatur.social/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a> <a href="https://literatur.social/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a></p>
Veronica Olsen 🏳️‍🌈🇳🇴🌻<p>Well, I take back what I've said about Microsoft's OOXML format (used for MS Office files) being too complicated.</p><p>Generating a valid basic .docx file is pretty easy actually. All you need is document.xml file (+ two simple meta data files). The structure of document.xml is not much different than plain HTML.</p><p>You have a body tag, with paragraph tags. Each p tag has a format section, and a series if t tags of text fragments (called runs) with their own format section.</p><p><a href="https://mastodon.online/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a> <a href="https://mastodon.online/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.online/tags/XML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>XML</span></a> <a href="https://mastodon.online/tags/DocX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DocX</span></a></p>
ONLYOFFICE<p>Continuing with our image modification macros, we present an <a href="https://fosstodon.org/tags/ONLYOFFICE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ONLYOFFICE</span></a> macro to easily modify images within <a href="https://fosstodon.org/tags/DOCX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DOCX</span></a> documents. </p><p>This simple macro will allow you to make adjustments like image resizing, cropping and more. </p><p>Read our blog to learn more: <a href="https://www.onlyoffice.com/blog/2024/10/how-to-scale-images-in-docx-documents-with-an-onlyoffice-macro" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">onlyoffice.com/blog/2024/10/ho</span><span class="invisible">w-to-scale-images-in-docx-documents-with-an-onlyoffice-macro</span></a></p>
pandoc<p>🆕 pandoc 3.4<br>• New output format: ansi (for formatted console output).<br>• Command line options --table-caption-position and --figure-caption-position to place captions (in <a href="https://fosstodon.org/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a>, <a href="https://fosstodon.org/tags/EPUB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EPUB</span></a>, <a href="https://fosstodon.org/tags/TeXLaTeX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TeXLaTeX</span></a>, <a href="https://fosstodon.org/tags/Docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Docx</span></a>, <a href="https://fosstodon.org/tags/ODT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ODT</span></a>, <a href="https://fosstodon.org/tags/Typst" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Typst</span></a>)<br>• The default PDF engine for HTML is now <a href="https://fosstodon.org/tags/WeasyPrint" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WeasyPrint</span></a><br>• --number-offsets works with docx output<br>And more<br><a href="https://fosstodon.org/tags/pandoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pandoc</span></a><br><a href="https://github.com/jgm/pandoc/releases/tag/3.4" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/jgm/pandoc/releases</span><span class="invisible">/tag/3.4</span></a></p>
pandoc<p>🆕 pandoc 3.3<br>New cli option `--link-images` for <a href="https://fosstodon.org/tags/ODT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ODT</span></a>, improved translations, and a fix for a serious regression in the <a href="https://fosstodon.org/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a> writer.<br><a href="https://github.com/jgm/pandoc/releases/tag/3.3" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/jgm/pandoc/releases</span><span class="invisible">/tag/3.3</span></a></p>
Alexandre B A Villares 🐍<p>Lendo uma planilha .xlsx e modificando um arquivo .docx com os dados lidas da planilha, usando Python<br><a href="https://gist.github.com/villares/560e231da78cd1b8f5701c5a6897348f" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/villares/560e2</span><span class="invisible">31da78cd1b8f5701c5a6897348f</span></a> <a href="https://ciberlandia.pt/tags/openpyxl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openpyxl</span></a> <a href="https://ciberlandia.pt/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a> <a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a><br>PS: Eu nem uso Excel e Word, só uso <a href="https://ciberlandia.pt/tags/LibreOffice" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LibreOffice</span></a> que abre esses dois formatos também.</p>
Fred<p>Hey <a href="https://ruhr.social/tags/TeXLaTeX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TeXLaTeX</span></a> bubble, is there an almost foolproof way to convert <a href="https://ruhr.social/tags/tex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tex</span></a>/#pdf files into <a href="https://ruhr.social/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a>? I need to do that due to journal submission requirements. (Please don't ask me why they insist on docx.)</p><p><span class="h-card" translate="no"><a href="https://fosstodon.org/@pandoc" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pandoc</span></a></span> produces acceptable docx files but there are quite a few issues with the result (especially with math equations and references) which I would have to manually correct. Maybe there's a better way? Thanks for any ideas!</p>
pandoc<p>🆕 release: <a href="https://fosstodon.org/tags/pandoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pandoc</span></a> 3.2.1<br>Possibly the most notable change: <a href="https://fosstodon.org/tags/OpenXML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenXML</span></a> templates can now be used with <a href="https://fosstodon.org/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a> output.<br>The release comes with many other small improvements and bugfixes, as usual. See the changelog for details.<br><a href="https://github.com/jgm/pandoc/releases/tag/3.2.1" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/jgm/pandoc/releases</span><span class="invisible">/tag/3.2.1</span></a></p>
pandoc<p>A number of formats, including <a href="https://fosstodon.org/tags/EPUB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EPUB</span></a>, <a href="https://fosstodon.org/tags/ODT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ODT</span></a>, <a href="https://fosstodon.org/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a>, and <a href="https://fosstodon.org/tags/PDF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PDF</span></a> (via <a href="https://fosstodon.org/tags/TeXLaTeX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TeXLaTeX</span></a>, <a href="https://fosstodon.org/tags/Typst" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Typst</span></a>, ...) include the document's build time. This can be an issue for reproducible builds. Set the SOURCE_DATE_EPOCH environment variable to an integer value¹ to use a fixed time instead.</p><p> SOURCE_DATE_EPOCH=682984800 pandoc …</p><p>¹ Seconds in the Unix epoch. Get the current epoch time with `date +%s`.</p><p><a href="https://fosstodon.org/tags/pandoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pandoc</span></a> <a href="https://fosstodon.org/tags/reproduciblebuilds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reproduciblebuilds</span></a></p>
ONLYOFFICE<p>Everything you need to know about the <a href="https://fosstodon.org/tags/DOCX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DOCX</span></a> format and how to create <a href="https://fosstodon.org/tags/DOCX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DOCX</span></a> files and work with them using <a href="https://fosstodon.org/tags/ONLYOFFICE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ONLYOFFICE</span></a>: </p><p><a href="https://www.onlyoffice.com/blog/2024/03/docx" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">onlyoffice.com/blog/2024/03/do</span><span class="invisible">cx</span></a></p>
Martin Kraetke<p>Thank you for 12k downloads. I've just released docx2tex version 1.9: <br><a href="https://github.com/transpect/docx2tex/releases/tag/v.1.9" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/transpect/docx2tex/</span><span class="invisible">releases/tag/v.1.9</span></a> <a href="https://mstdn.social/tags/texlatex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>texlatex</span></a> <a href="https://mstdn.social/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a> <a href="https://mstdn.social/tags/ooxml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ooxml</span></a> <a href="https://mstdn.social/tags/msword" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msword</span></a></p>
scy<p>Okay, so. I have a <a href="https://chaos.social/tags/PDF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PDF</span></a> and a <a href="https://chaos.social/tags/DOCX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DOCX</span></a> file. And I’d like to compare them. And since I’m a programmer, I don’t want to compare them visually, but with a <a href="https://chaos.social/tags/diff" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>diff</span></a>. But how?</p><p>Like this.</p><p>alias pdfcat='gs -q -sDEVICE=txtwrite -o-'<br>alias doccat='pandoc -t plain'</p><p>pdfcat a.pdf &gt; a.txt<br>doccat b.docx &gt; b.txt</p><p>git diff --no-index --word-diff a.txt b.txt</p><p>And since we’re using --word-diff, it doesn’t matter that the two files use _wildly_ different line wrapping.</p><p><a href="https://chaos.social/tags/Unix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Unix</span></a> <a href="https://chaos.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://chaos.social/tags/terminal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>terminal</span></a> <a href="https://chaos.social/tags/CLI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CLI</span></a></p>
Erik L. Arneson :emacs:<p>I made a little update to my method for converting <a href="https://fosstodon.org/tags/Orgmode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Orgmode</span></a> files to <a href="https://fosstodon.org/tags/DOCX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DOCX</span></a> with <a href="https://fosstodon.org/tags/Pandoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pandoc</span></a>. Now supporting citations! Here are the deets: <a href="https://arnesonium.com/2023/06/org-to-docx-with-citations" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">arnesonium.com/2023/06/org-to-</span><span class="invisible">docx-with-citations</span></a></p><p><a href="https://fosstodon.org/tags/Emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Emacs</span></a></p>
pandoc<p>The pagebreak <a href="https://fosstodon.org/tags/LuaFilter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LuaFilter</span></a> adds support for manual page-break markers in the text with the raw <a href="https://fosstodon.org/tags/TeXLaTeX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TeXLaTeX</span></a> `\newpage` command. "Translated" by the filter, this marker works with <a href="https://fosstodon.org/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> &amp; <a href="https://fosstodon.org/tags/EPUB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EPUB</span></a>, <a href="https://fosstodon.org/tags/Asciidoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Asciidoc</span></a>, Word <a href="https://fosstodon.org/tags/docx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docx</span></a>, <a href="https://fosstodon.org/tags/groff" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>groff</span></a> ms, and <a href="https://fosstodon.org/tags/ConTeXt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ConTeXt</span></a> output.<br>The code has been reworked and is now available from <a href="https://github.com/pandoc-ext/pagebreak" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/pandoc-ext/pagebrea</span><span class="invisible">k</span></a></p>
Fidus Writer<p>Fidus Writer 3.11.11 is not a major release, but it brings one of the most requested features is finally here: the ability to export comments (and their responses) to DOCX and ODT files! 🎉</p><p>Comments are exported directly to ODT files, and also in most cases also to DOCX files. However, the DOCX format doesn't allow comments on text inside of footnotes. So those comments have been moved to the footnote reference. 👀</p><p><a href="https://openbiblio.social/tags/FidusWriter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FidusWriter</span></a> <a href="https://openbiblio.social/tags/Update" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Update</span></a> <a href="https://openbiblio.social/tags/ExportComments" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ExportComments</span></a> <a href="https://openbiblio.social/tags/ODT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ODT</span></a> <a href="https://openbiblio.social/tags/DOCX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DOCX</span></a> <a href="https://openbiblio.social/tags/Footnotes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Footnotes</span></a></p>