I need to tangle a LaTeχ file from code blocks in an org file. How do I pass variables to the SRC block?

In theory I should use :var var1=value, but is there any way to reference var1 in the LaTeχ block? The tangled file does not set any variable (of sorts). Is passing variables to LaTeχ blocks even supported?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.