home.social

#pandoc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pandoc, aggregated by home.social.

  1. Once again I went down a rabbit hole figuring something out, and now you -- yes, you, random person on the internet -- can benefit from my work.

    I write slides for my classes in markdown and turn them into reveal.js slides. Sometimes I want to post the slides, but I want to strip out speaker notes and other non-useful bits. I could edit the output, maybe, but...ugh. Let's do this properly.

    You can write filters for pandoc, but the documentation just wasn't that great.

    Well, I figured it out: gist.github.com/dandrake/1b6de

    #pandoc #revealjs #lua #markdown

  2. Overly long headings can be spread across multiple lines in pandoc's Markdown by “hiding” the line break in an HTML comment:

    ## An incredibly<!--
    --> long heading

  3. Hoping those familiar with #LaTeX can give me some advice here. I've started using it to create my assignments for school. I'm not writing technical papers yet, but I find using LaTeX with #Zotero in #VSCode more #accessible with a #ScreenReader than most other setups I've tried.
    Since my discussion posts have to follow #APA style, I’m using LaTeX for those as well as full papers. That part is going well—but I’m running into trouble when I need to actually post what I’ve written.
    My school uses Brightspace, which allows discussion posts in either rich text or #HTML. I have #Pandoc installed, so I tried converting my LaTeX source to HTML and pasting the code. But Pandoc didn’t include my references section in the output.
    I also tried copying from the PDF, but that stripped all formatting.
    Does anyone know how I can get a clean HTML version of my work—with references included—that I can paste into Brightspace?
    Here’s the command I’ve been using:
    pandoc main.tex \
    --bibliography=references. Bib \
    --csl=apa.csl \
    --standalone \
    -o main.html
    It creates the HTML file, but the references section is missing.
    Any tips?
    #Accessibility #AssistiveTech #Pandoc #APAstyle #Brightspace #EdTech #AcademicWriting #InclusiveTech #BlindTech #HigherEd #CitationTools #OpenSource #WritingWorkflow

  4. After using prawn and paru/pandoc gems in a few book/doc building projects. I've decided the way to go in future is paru/pandoc.

    The tell was changing fonts within a table. I wanted No Man's Sky glyphs (Hexadecimal, 0 => F) in a doc.

    It also means I can either generate or manually maintain markdown fragments. Then pull them all together in the final doc build step.

    Using markdown also means I can embed Latex as needed. This is how I did the font changes within tables.

    #ruby #paru #pandoc

  5. #Enseignement #ESR #Cours #Markdown

    J'ai pris le temps de reprendre le format du pdf du cours d'un collègue pour en faire un template #LaTeX pour #Pandoc. Une fois qu'on a compris le truc, c'est vraiment pas compliqué d'avoir un résultat (plus) propre. Il y a que des petits trucs un peu tricky à gérer (les tableaux avec des images 😅).

    Moi:
    Regarde ce que j'ai fait, ça t'intéresse?
    Le collègue:
    Oui. :amazing:

    Rappel quotidien que #Excel (#Excelshit) et #Word sont des inventions du démon.

  6. Some #FavoriteTools

    #perplexity.ai for thoughtful web queries. (Shows reasoning and references.)

    #Vim for #TextEditing

    #Firefox w/ #Tridactyl #uBlockOrigin

    #Raindrop for #Tagging and #Bookmarking web pages

    #Inoreader #RSS reader

    #Pandoc for document creation/conversion

    #Ubuntu #Linux (even if it's running under Windows #wsl

    #Python w/ #Jupyter #Pandas #Matplotlib #numpy #scipy #plac

    #TheBrain for #KnowledgeManagement (but considering moving to #Obsidian)

    #MoonReader for ebooks and PDFs

    #RolandFP90 and A-88 for #piano

    #transcribe for working through #music #video

    #Leatherman #SkeletoolCX for EDC multitool

    #Benchmade #Griptilian when I need more of an actual knife

    #Signal for #messaging

    #mastodon for social media

    #antennapod for podcasts

    #streamlightwedgext for #EDC flashlight