Skip to content

Bug : The "-po, --pictureoptions" argument should not contains quotes after processing #24

@sebma

Description

@sebma

Hi,

This bug is for real this time :)

Here is what I get I Jupyter Notebook :

%tikz --showlatex -po "node distance=\layersep" \input{neuralNetwork.tikz}
\documentclass[convert={convertexe={convert},density=300,size=400x240,outext=.png},border=0pt]{standalone}
        \usepackage[]{tikz}

\usepackage{}
            
\usetikzlibrary{}
            

            
\begin{document}
\begin{tikzpicture}[scale=1,"node distance=\layersep"]
        \input{neuralNetwork.tikz}
\end{tikzpicture}
\end{document}

BTW : layersep is a variable defined neuralNetwork.tikz as this : \def\layersep{2.5cm}

You can be solve this by doing this in your code :

picture_options·=·args.pictureoptions.strip('"')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions