diff --git a/.gitignore b/.gitignore index 0839b15..a8d3d97 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ .obsidian/workspace.json - -/.obsidian/plugins/recent-files-obsidian/data.json \ No newline at end of file +.obsidian/plugins/recent-files-obsidian/data.json \ No newline at end of file diff --git a/.obsidian/plugins/recent-files-obsidian/data.json b/.obsidian/plugins/recent-files-obsidian/data.json index b55c01b..edadd0e 100644 --- a/.obsidian/plugins/recent-files-obsidian/data.json +++ b/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,5 +1,17 @@ { "recentFiles": [ + { + "basename": "open-problems-in-estimating", + "path": "open-problems-in-estimating.md" + }, + { + "basename": "portable-tools", + "path": "portable-tools.md" + }, + { + "basename": "README", + "path": "README.md" + }, { "basename": "feeders", "path": "feeders.md" @@ -16,10 +28,6 @@ "basename": "electrical", "path": "electrical.md" }, - { - "basename": "README", - "path": "README.md" - }, { "basename": "full-takeoff", "path": "full-takeoff.md" @@ -191,10 +199,6 @@ { "basename": "subfeeds", "path": "subfeeds.md" - }, - { - "basename": "systems", - "path": "systems.md" } ], "omittedPaths": [], diff --git a/powershell-document-conversion-module.md b/powershell-document-conversion-module.md deleted file mode 100644 index 66d0677..0000000 --- a/powershell-document-conversion-module.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -id: -aliases: [] -tags: - - status/fleeting - - topic/automation ---- -# PowerShell Document Conversion - -PowerShell module to allow fluent conversion of "document" files, -including markup source (.md, .adoc, .rst, etc.) -and binary formats (.pdf, .docx, etc.), -as well as allow ~~common high-level actions on them.~~ - -> [!note] -> Cmdlets should be written to accept multiple input files where appropriate. - -See [[portable-tools]] for valid dependencies. - -## `Convert-Document` - -* pandoc -* calibre `ebook-convert` (if necessary) -* AsciiDoctor - -### Case: From PDF - -* marker - * Python based CLI - * Option to use LLM for more accurate output -* muPDF - -### Case: From Asciidoc - -pandoc can not translate from Asciidoc, only to. -Convert first to html. - -## `Measure-Document` - -Measure total words, occurances of unique words, etc. -Where applicable, the same by page, as well as total pages. - -## `Format-Document` - -Run format specific linter on document. - -## `Get-DocumentMetadata`/`Set-DocumentMetadata` - -> Reconcile document metadata formats - -* markdown yaml frontmatter -* asciidoc attributes - -## `Import-Document` - -Return PSCustomObject with appropriate properties. - -*** - -## `Import-XML` - -Missing from base pwsh but should be straightforward to implement. - -```pwsh -function Import-XML { - param( - [string]$Path - ) - $xmlText = Get-Content $Path - $document = [xml]$xmlText - return $document -} -``` - -`*.SupplierLink.xml` - -## `Unblock-Document` - -Excel sheet protection - -## `Where-Document` - -Filter by metadata. etc.