!)       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Safe#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#  pandoc-plot7The logging implementation is very similar to Hakyll's. pandoc-plot6Description of the possible ways to sink log messages. pandoc-plotStandard error stream. pandoc-plotAppended to file. pandoc-plotVerbosity of the logger. pandoc-plot+Log all messages, including debug messages. pandoc-plot-Log information, warning, and error messages.  pandoc-plotLog warning and error messages.  pandoc-plotOnly log errors.  pandoc-plotDon't log anything.  pandoc-plotkPerform an IO action with a logger. Using this function ensures that logging will be gracefully shut down.  #(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#74  pandoc-plotpGenerated figure file format supported by pandoc-plot. Note that not all formats are supported by all toolkits.  pandoc-plotPortable network graphics pandoc-plotPortable document format pandoc-plotScalable vector graphics pandoc-plotJPEG/JPG compressed image pandoc-plotEncapsulated postscript pandoc-plot GIF format pandoc-plotTagged image format pandoc-plotWebP image format pandoc-plotHTML for interactive plots. pandoc-plot?Datatype containing all parameters required to run pandoc-plot.It is assumed that once a  FigureSpec? has been created, no configuration can overload it; hence, a  FigureSpec( completely encodes a particular figure. pandoc-plot(Plotting toolkit to use for this figure. pandoc-plotFigure caption. pandoc-plot&Append link to source code in caption. pandoc-plotSource code for the figure. pandoc-plotSave format of the figure. pandoc-plot!Directory where to save the file. pandoc-plotDots-per-inch of figure. pandoc-plot@Files/directories on which this figure depends, e.g. data files.  pandoc-plot#Renderer-specific extra attributes.! pandoc-plotAttributes not related to  pandoc-plot will be propagated." pandoc-plotYDescription of any possible inclusion key, both in documents and in configuration files./ pandoc-plot'Result of checking scripts for problems2 pandoc-plot#Source context for plotting scripts3 pandoc-plot7Executable program and directory where it can be found.5 pandoc-plot!Enumeration of supported toolkitsA pandoc-plotList of supported toolkits.B pandoc-plot(Class name which will trigger the filterD pandoc-plotRList of all keys related to pandoc-plot that can be specified in source material.E pandoc-plotSave format file extension pandoc-plot:This instance should only be used to display toolkit names pandoc-plotbKeys that pandoc-plot will look for in code blocks. These are only exported for testing purposes.;  ! "#$%&'()*+,-./012345:76;89<=>?@ABCDEF#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable Nonet)G pandoc-plotThe  Configurationo type holds the default values to use when running pandoc-plot. These values can be overridden in code blocks."You can create an instance of the  Configuration type from file using the  configuration function.IYou can store the path to a configuration file in metadata under the key plot-configuration. For example, in Markdown: h --- title: My document author: John Doe plot-configuration: pathtofile.yml --- >The same can be specified via the command line using Pandoc's -M flag: Hpandoc --filter pandoc-plot -M plot-configuration="path/to/file.yml" ...In this case, use configurationPathMeta to extact the path from Pandoc documents.I pandoc-plot2The default directory where figures will be saved.J pandoc-plotSThe default behavior of whether or not to include links to source code and high-resK pandoc-plotSThe default dots-per-inch value for generated figures. Renderers might ignore this.L pandoc-plot-The default save format of generated figures.M pandoc-plot6List of files/directories on which all figures depend.N pandoc-plotWCaption format, in the same notation as Pandoc format, e.g. "markdown+tex_math_dollars"O pandoc-plotLevel of logging verbosity.P pandoc-plot3Method of logging, i.e. printing to stderr or file.Q pandoc-plot7The default preamble script for the matplotlib toolkit.R pandoc-plot:The default preamble script for the Plotly/Python toolkit.S pandoc-plot5The default preamble script for the Plotly/R toolkit.T pandoc-plot3The default preamble script for the MATLAB toolkit.U pandoc-plot8The default preamble script for the Mathematica toolkit.V pandoc-plot7The default preamble script for the GNU Octave toolkit.W pandoc-plot4The default preamble script for the GGPlot2 toolkit.X pandoc-plot4The default preamble script for the gnuplot toolkit.Y pandoc-plot5The default preamble script for the Graphviz toolkit.Z pandoc-plot9The default preamble script for the Python/Bokeh toolkit.[ pandoc-plot;The default preamble script for the Julia/Plots.jl toolkit.\ pandoc-plotGThe executable to use to generate figures using the matplotlib toolkit.] pandoc-plotCThe executable to use to generate figures using the MATLAB toolkit.^ pandoc-plotJThe executable to use to generate figures using the Plotly/Python toolkit._ pandoc-plotEThe executable to use to generate figures using the Plotly/R toolkit.` pandoc-plotHThe executable to use to generate figures using the Mathematica toolkit.a pandoc-plotGThe executable to use to generate figures using the GNU Octave toolkit.b pandoc-plotDThe executable to use to generate figures using the GGPlot2 toolkit.c pandoc-plotDThe executable to use to generate figures using the gnuplot toolkit.d pandoc-plotEThe executable to use to generate figures using the Graphviz toolkit.e pandoc-plotIThe executable to use to generate figures using the Python/Bokeh toolkit.f pandoc-plotKThe executable to use to generate figures using the Julia/Plots.jl toolkit.g pandoc-plot;Whether or not to make Matplotlib figures tight by default.h pandoc-plotAWhether or not to make Matplotlib figures transparent by default.n pandoc-plotpandoc-plot monado pandoc-plot,Modify the runtime environment to be silent.p pandoc-plot'Get access to configuration within the PlotM monad.q pandoc-plot Evaluate a PlotM action. pandoc-plotGeneral purpose logging. v pandoc-plotRun a command within the PlotM monad. Stderr stream is read and decoded, while Stdout is ignored. Logging happens at the debug level if the command succeeds, or at the error level if it does not succeed.w pandoc-plot{Get a filehash. If the file hash has been computed before, it is reused. Otherwise, the filehash is calculated and stored.x pandoc-plotsGet an executable. If the executable has not been used before, find it and store where it is. It will be re-used. pandoc-plotHeader. pandoc-plotVerbosity of the message. pandoc-plot Message (can be multiple lines).y   ! "#$%&'()*+,-./012345:76;89<=>?@ABCDEFGHOP\^_]`abcdefIJKLMNQRSTUVWXYZ[ghijklmnopqrstuvwx#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#y pandoc-plotWRead configuration from a YAML file. The keys are exactly the same as for code blocks.qIf a key is not present, its value will be set to the default value. Parsing errors result in thrown exceptions.z pandoc-plotDefault configuration values.{ pandoc-plot}Extact path to configuration from the metadata in a Pandoc document. The path to the configuration file should be under the plot-configurationK key. In case there is no such metadata, return the default configuration.+For example, at the top of a markdown file: L --- title: My document author: John Doe plot-configuration: pathto/file.yml --- >The same can be specified via the command line using Pandoc's -M flag: Hpandoc --filter pandoc-plot -M plot-configuration="path/to/file.yml" ...yz{#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None-| pandoc-plotDInternal description of all information needed to output a figure.~ pandoc-plot Figure spec pandoc-plotPath to the script to render pandoc-plotFigure output path pandoc-plotNCheck that the supplied command results in an exit code of 0 (i.e. no errors) pandoc-plot7Checks that an executable is available on path, at all. pandoc-plot8A shortcut to append capture script fragments to scripts pandoc-plotR paths use the  path separator      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~   ! "#$%&'()*+,-./012345:76;89<=>?@ABCDEFGHOP\^_]`abcdefIJKLMNQRSTUVWXYZ[ghijklmnopqrstuvwx|}~ #(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#U #(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#y #(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"# #(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"# #(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#9 pandoc-plotbCheck if `matplotlib.pyplot.show()` calls are present in the script, which would halt pandoc-plot pandoc-plotFlexible boolean parsing#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#e#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"##(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"##(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"# pandoc-plot(Terminal name for supported save formats#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"##(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"# pandoc-plotbCheck if `matplotlib.pyplot.show()` calls are present in the script, which would halt pandoc-plot#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#0  pandoc-plot:The function that maps from configuration to the preamble. pandoc-plot(Save formats supported by this renderer. pandoc-plot~Parse code block headers for extra attributes that are specific to this renderer. By default, no extra attributes are parsed. pandoc-plotGenerate the appropriate command-line command to generate a figure. The executable will need to be found first, hence the IO monad. pandoc-plot-Script fragment required to capture a figure. pandoc-plotCCheck if a toolkit is available, based on the current configuration pandoc-plotjList of toolkits available on this machine. The executables to look for are taken from the configuration. pandoc-plothList of toolkits not available on this machine. The executables to look for are taken from the configur pandoc-plotMonadic version of availableToolkits.Note that logging is disabled pandoc-plotMonadic version of unavailableToolkits34x|}~#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"#b pandoc-plot(Determine inclusion specifications from Blockk attributes. If an environment is detected, but the save format is incompatible, an error will be thrown. pandoc-plotParse script content from a block, if possible. The script content can either come from a file or from the code block itself. If both are present, the file is preferred. pandoc-plotUDetermine which toolkit should be used to render the plot from a code block, if any. pandoc-plot0Reader a caption, based on input document format pandoc-plotFlexible boolean parsing pandoc-plot*Parse a list of file dependencies such as [foo.bar, hello.txt].#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None> pandoc-plotClean all output related to pandoc-plot. This includes output directories specified in the configuration and in the document/block, as well as log files. Note that *all* files in pandoc-plot output directories will be removed.%The cleaned directories are returned. pandoc-plotRAnalyze a document to determine where would the pandoc-plot output directories be. pandoc-plotRead a document, guessing what extensions and reader options are appropriate. If the file cannot be read for any reason, an error is thrown.#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None"# pandoc-plot#Possible result of running a script pandoc-plotDetermine the temp script path from Figure specifications Note that for certain renderers, the appropriate file extension is important. pandoc-plot@Determine the path to the source code that generated the figure. pandoc-plotHash of the content of a  FigureSpec&. Note that unlike usual hashes, two  FigureSpec with the same figureContentHash# does not mean that they are equal!Not all parts of a FigureSpec are related to running code. For example, changing the caption should not require running the figure again. pandoc-plotrDetermine the path a figure should have. The path for this file is unique to the content of the figure, so that  figurePathL can be used to determine whether a figure should be rendered again or not. pandoc-plotXPrepend a directory to the PATH environment variable for the duration of a computation.#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None pandoc-plot Convert a  FigureSpecu to a Pandoc figure component. Note that the script to generate figure files must still be run in another function. pandoc-plotConvert Pandoc inlines to html pandoc-plotaExtract the plot-relevant content from inside of a full HTML document. Scripts contained in the  head4 tag are extracted, as well as the entirety of the  body tag. pandoc-plotGet content inside a tag, e.g.  inside "body" returns all tags between  body and <body>/ pandoc-plotReplace  scriptsrc=... tags with  script src=... defer, and inline scripts as  script type="module"C. This makes scripts execute only after HTML parsing has finished. pandoc-plottext format of the caption#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  internal  portable None   ! "#$%&'()*+,-./012345:76;89<=>?@ABCDEFGHOP\^_]`abcdefIJKLMNQRSTUVWXYZ[ghijklmnopqrstuvwxyz{|}~x|}~34y{zGHOP\^_]`abcdefIJKLMNQRSTUVWXYZ[ghnijklmqvwx  rstupo5:76;89<=>?@2/01"#$%&'()*+,-.!  BEAD34CFVPandoc filter to create figures from code blocks using your plotting toolkit of choice#(c) Laurent P Ren de Cotret, 2020 GNU GPL, version 2 or above laurent.decotret@outlook.com  unstable  portable None> f pandoc-plotWalk over an entire Pandoc document, transforming appropriate code blocks into figures. This function will operate on blocks in parallel if possible.Failing to render a figure does not stop the filter, so that you may run the filter on documents without having all necessary toolkits installed. In this case, error messages are printed to stderr, and blocks are left unchanged. pandoc-plot'The version of the pandoc-plot package. pandoc-plotTry to process the block with  `pandoc-plot``. If a failure happens (or the block) was not meant to become a figure, return the block as-is. pandoc-plotTry to process the block with  `pandoc-plot`, documenting the error. pandoc-plot Configuration for default values pandoc-plotInput documentQ   25:76;89<=>?@AGHOP\^_]`abcdefIJKLMNQRSTUVWXYZ[ghyzQyzGHOP\^_]`abcdefIJKLMNQRSTUVWXYZ[gh    25:76;89<=>?@A !"#$%&'()*+,-./01233456789:;<=>?@ABCDEFGHIJKLMNOOPQRSTUVWXYZ[\]^_`abbcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./010203456789:;<=>?@ABCDEFGHIJKLKMKNKOPQRSTUVUWUXUYUZU[U\U]U^U_U`UaUbcdcecfcgchijklmnopoqorosotouovwxyz{z|z}o~oooooUUUUUUUUU00KKKKK                          !"#$%&'()*+,-./0*pandoc-plot-0.9.4.0-8ohzmpsFBzsCOS0WYaNXVn Text.Pandoc.Filter.Plot.InternalText.Pandoc.Filter.PlotPaths_pandoc_plot%Text.Pandoc.Filter.Plot.Monad.Logging#Text.Pandoc.Filter.Plot.Monad.TypesText.Pandoc.Filter.Plot.Monad%Text.Pandoc.Filter.Plot.Configuration)Text.Pandoc.Filter.Plot.Renderers.Prelude)Text.Pandoc.Filter.Plot.Renderers.Plotsjl)Text.Pandoc.Filter.Plot.Renderers.PlotlyR.Text.Pandoc.Filter.Plot.Renderers.PlotlyPython(Text.Pandoc.Filter.Plot.Renderers.Octave,Text.Pandoc.Filter.Plot.Renderers.Matplotlib(Text.Pandoc.Filter.Plot.Renderers.Matlab-Text.Pandoc.Filter.Plot.Renderers.Mathematica*Text.Pandoc.Filter.Plot.Renderers.Graphviz)Text.Pandoc.Filter.Plot.Renderers.GNUPlot)Text.Pandoc.Filter.Plot.Renderers.GGPlot2'Text.Pandoc.Filter.Plot.Renderers.Bokeh!Text.Pandoc.Filter.Plot.RenderersText.Pandoc.Filter.Plot.ParseText.Pandoc.Filter.Plot.Clean!Text.Pandoc.Filter.Plot.ScriptingText.Pandoc.Filter.Plot.EmbedbaseControl.Monad.IO.ClassliftIO mtl-2.2.2Control.Monad.Reader.ClassasksaskLogSinkStdErrLogFile VerbosityDebugInfoWarningErrorSilent SaveFormatPNGPDFSVGJPGEPSGIFTIFWEBPHTML FigureSpectoolkitcaption withSourcescript saveFormat directorydpi dependencies extraAttrs blockAttrs InclusionKey DirectoryKCaptionK SaveFormatK WithSourceKCaptionFormatK PreambleKDpiK ExecutableK DependenciesKFileKMatplotlibTightBBoxKMatplotlibTransparentK CheckResult CheckPassed CheckFailedScript ExecutableToolkit MatplotlibMatlab PlotlyPythonPlotlyR MathematicaOctaveGGPlot2GNUPlotGraphvizBokehPlotsjltoolkitscls exeFromPath inclusionKeys extension isWindows ConfigurationdefaultDirectorydefaultWithSource defaultDPIdefaultSaveFormatdefaultDependencies captionFormat logVerbositylogSinkmatplotlibPreambleplotlyPythonPreambleplotlyRPreamblematlabPreamblemathematicaPreambleoctavePreambleggplot2PreamblegnuplotPreamblegraphvizPreamble bokehPreambleplotsjlPreamble matplotlibExe matlabExeplotlyPythonExe plotlyRExemathematicaExe octaveExe ggplot2Exe gnuplotExe graphvizExebokehExe plotsjlExematplotlibTightBBoxmatplotlibTransparent RuntimeEnv envConfig envLoggerenvCWDPlotMsilence asksConfigrunPlotMdebugerrwarninginfo runCommandfileHash executable configurationdefaultConfigurationconfigurationPathMeta OutputSpec oFigureSpec oScriptPath oFigurePathscriptExtensioncommentpreambleSelectorsupportedSaveFormats scriptChecksparseExtraAttrscommandcapturetoolkitAvailableavailableToolkitsunavailableToolkitsavailableToolkitsMunavailableToolkitsMparseFigureSpec plotToolkit captionReadercleanOutputDirs outputDirsreadDoc ScriptResult ScriptSuccessScriptChecksFailed ScriptFailureToolkitNotInstalledrunScriptIfNecessary runTempScript figurePathtoFigure extractPlotPandocPlotErrorScriptRuntimeErrorScriptChecksFailedErrorToolkitNotInstalledError plotTransformpandocPlotVersionmake makeEither$fShowPandocPlotErrorversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNameLogger withLogger lVerbositylChannellSinklSync $fShowToolkit$fShowInclusionKeylogcommandSuccess existsOnPath appendCapturetoRPathGHC.Real/GHC.Base++ghc-primGHC.PrimseqGHC.Listfilterzip System.IOprint Data.Tuplefstsnd otherwisemap$ fromIntegral realToFracGHC.EnumBoundedminBoundmaxBoundEnumenumFrom enumFromThenenumFromThenTo enumFromTofromEnumtoEnumsuccpred GHC.ClassesEq==/= GHC.FloatFloatingpiexpsqrt**logBasesincostanasinacosatansinhcoshtanhasinhacoshatanh Fractional fromRationalrecipIntegral toIntegerquotremdivmodquotRemdivModMonad>>=>>returnfailFunctorfmap<$GHC.NumNum+*-negate fromIntegerabssignumOrd>=compareminmax><<=GHC.ReadReadreadList readsPrecReal toRational RealFloat floatRadix floatDigits floatRange decodeFloat encodeFloatexponent significand scaleFloatisNaN isInfiniteisDenormalizedisNegativeZeroisIEEEatan2RealFracproperFractiontruncateroundceilingfloorGHC.ShowShow showsPrecshowshowList Applicativepure<*>*><* Data.FoldableFoldablefoldrfoldMaplengthnullfoldlfoldl1sumproductfoldr1maximumminimumelemData.Traversable TraversablemapMsequencetraverse sequenceA Semigroup<>Monoidmemptymappendmconcat GHC.TypesBoolTrueFalseCharDoubleFloatInt integer-gmpGHC.Integer.TypeInteger GHC.MaybeMaybeNothingJustOrderingLTEQGTRationalIOWord Data.EitherEitherLeftRightGHC.IOFilePathspanGHC.ErrerrorString Text.Readread text-1.2.3.1Data.Text.InternalText=<< Data.Functor<$>mapM_ sequence_const.idreadIOreadLn appendFile writeFilereadFileinteract getContentsgetLinegetCharputStrLnputStrputCharGHC.IO.ExceptionioError userErrorIOErrornotElemallanyorand concatMapconcat Data.OldListunwordswordsunlineslinesreadseitherlex readParenText.ParserCombinators.ReadPReadSlcmgcd^^^oddeven showParen showStringshowCharshowsShowSunzip3unzipzipWith3zipWithzip3!!lookupreversebreaksplitAtdroptake dropWhile takeWhilecycle replicaterepeatiteratescanr1scanrscanl1scanlinitlasttailhead Data.MaybemaybeuncurrycurrysubtractasTypeOfuntil$!flip undefinederrorWithoutStackTrace&&||not)shakespeare-2.0.25-IcEkxKfu0pIJYAHMDGP0SrText.Shakespeare.TextstData.Text.ShowunpackplotsjlSupportedSaveFormatsplotsjlCommandplotsjlAvailableplotsjlCaptureplotlyRSupportedSaveFormatsplotlyRCommandplotlyRAvailableplotlyRCapture plotlyPythonSupportedSaveFormatsplotlyPythonCommandplotlyPythonAvailableplotlyPythonCaptureoctaveSupportedSaveFormats octaveCommandoctaveAvailable octaveCapturematplotlibCheckIfShowreadBoolmatplotlibSupportedSaveFormatsmatplotlibCommandmatplotlibCapturematplotlibExtraAttrsmatplotlibAvailablematlabSupportedSaveFormats matlabCommandmatlabAvailable matlabCapturemathematicaSupportedSaveFormatsmathematicaCommandmathematicaAvailablemathematicaCapturegraphvizSupportedSaveFormatsgraphvizCommandgraphvizAvailablegraphvizCaptureterminalStringgnuplotSupportedSaveFormatsgnuplotCommandgnuplotAvailablegnuplotCaptureggplot2SupportedSaveFormatsggplot2Commandggplot2Availableggplot2CapturebokehCheckIfShowbokehSupportedSaveFormats bokehCommandbokehAvailable bokehCapture parseContentparseFileDependenciestempScriptPathsourceCodePathfigureContentHashwithPrependedPath writeHtmlinside deferScripts