You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a feature request, it would be really nice for my workflow if there was some way to preserve code block header arguments in the source file. Basically, for a host of reasons, I'm structuring a report I'm writing as a vanilly source code file that's transformed for exporting using outorg. My current workflow involves manually setting :exports code on the source blocks I want to show up in the final report.
How difficult would it be to come up with some sort of specially formatted comment for expressing header arguments in the source code buffer?
(obviously love this package. Thanks for maintaining it alphapapa.)
The text was updated successfully, but these errors were encountered:
Actually I guess this might be a bug report: I see the function outorg-transform-active-source-block-headers which purports in its docstring to do exactly what I'm requesting here, but it doesn't seem to be working.
So I've been playing with this some more. outorg-transform-active-source-block-headers isn't called when I close an outshine buffer with outorg-copy-edits-and-exit. If you manually call outorg-transform-active-source-block-headers in the outshine buffer, it works as expected though.
All of this makes sense looking at the source code: outorg-transform-active-source-block-headers is only called by outorg-convert-org-to-outshine. Is there any reason not to use this functionality in outorg-copy-edits-and-exit? Alternatively a hook to run things on that I could just add that function to manually would work...
As a feature request, it would be really nice for my workflow if there was some way to preserve code block header arguments in the source file. Basically, for a host of reasons, I'm structuring a report I'm writing as a vanilly source code file that's transformed for exporting using outorg. My current workflow involves manually setting
:exports code
on the source blocks I want to show up in the final report.How difficult would it be to come up with some sort of specially formatted comment for expressing header arguments in the source code buffer?
(obviously love this package. Thanks for maintaining it alphapapa.)
The text was updated successfully, but these errors were encountered: