7.31.3 Can you answer these questions?

7.31.3.1 Automate drawing diagram parsed from input file
7.31.3.2 Remove spacing before contents, figure list, table list and glossary titles without changing font
7.31.3.3 Fancyhead \rightmark not updating
7.31.3.1 Automate drawing diagram parsed from input file

https://tex.stackexchange.com/landing/r/digest?cta=question&id=598461

I want to automate the process of drawing simple diagrams based on values in an input file. 
I run simulations and often draw these kinds of diagrams to visualize the parameters. 
I have used the ... 
[tikz-pgf] [automation]
 
asked by mbertolino https://tex.stackexchange.com/landing/r/digest?cta=user&id=242920 1 vote
7.31.3.2 Remove spacing before contents, figure list, table list and glossary titles without changing font

https://tex.stackexchange.com/landing/r/digest?cta=question&id=597989

The relevant parts of my code are as follows: 
\documentclass[a4paper, 12pt, twoside]{report} 
\usepackage{fancyhdr} 
\usepackage{titlesec} 
\titleformat{\chapter}[display] 
{\normalfont\sffamily\huge\... 
[fonts] [spacing] [table-of-contents] [tocloft]
                                                                                  

                                                                                  
 
asked by tsv https://tex.stackexchange.com/landing/r/digest?cta=user&id=242651 1 vote
answered by C. Peters https://tex.stackexchange.com/landing/r/digest?cta=user&id=239495 0 votes
7.31.3.3 Fancyhead \rightmark not updating

https://tex.stackexchange.com/landing/r/digest?cta=question&id=597967

I have suddenly got an issue with fancyhead{\rightmark} not updating to the current chapter/section, cannot figure out what is wrong, see code below, \rightmark is empty for Chapter 1: 
\documentclass{... 
[fancyhdr]
 
asked by John Welsh https://tex.stackexchange.com/landing/r/digest?cta=user&id=242643 1 vote
answered by Simon Dispa https://tex.stackexchange.com/landing/r/digest?cta=user&id=161015 0 votes