Skip to content

Render quarto to docx #45

@mollystevens-noaa

Description

@mollystevens-noaa

ISSUES

  • Document renders with tables and figures in the order that they're listed at the end of the document, not in the order that they're referenced

  • Table headers not persistent across pages

    • This is a bug
      • Conflict between label: (required for referencing tables/figures) and wrapping headers
      • If you remove the label, the table headers carry over to the next page
    • Could have tables with persistent headers if referencing tables isn't required
    • Is it easier to rig a fix without the label: within the table with something like crossref, but would the table orders carry over?
    • Tried 'paged' df-print option (didn't work)
  • @eeholmes worked on gt / flextable here https://github.com/eeholmes/TestBook

  • Nuclear option: knit to pdf, open in docx using pandoc -- can command line .pdf -> .docx

    • Still requires manually moving edits over
    • Another option could be using trackdown package, but this requires reading/editing through markdown language, which some people aren't comfortable with
      • This package allows easy pull/push to Google docs
      • Tracks changes made in Google doc
      • Overwrites document after update() from (e.g.) RStudio up to google doc (doesn't track changes from Rstudio)
    • Or a combination of the 2 depending on the editor?
    • redoc is an archived package that worked with RMarkdown to pull edits between R/Word

Could add these as a feature request in the quarto repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress Goals

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions