4 Revīzijas f7cf2aed6a ... 922e6e3375

Autors SHA1 Ziņojums Datums
  Daniel Gruss 922e6e3375 Merge branch 'bibfixes' into 'master' 6 mēneši atpakaļ
  Stefan Gast e64e492212 Fix self-citing papers 6 mēneši atpakaļ
  Stefan Gast e06a7ba814 Change reference sorting to name, title, year 6 mēneši atpakaļ
  Lukas Giner eb59606ad3 statutory fix 6 mēneši atpakaļ
2 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 2 4
      main.tex.php
  2. 3 1
      thesiscomposer.php

+ 2 - 4
main.tex.php

@@ -153,7 +153,7 @@ if (isset($options["--cv"]))
 
 During my thesis, I contributed to <?php echo $num_publications ?> publications in conference proceedings, <?php echo $num_publications_in_thesis ?> of which are included in this thesis as shown below.
 
-\newrefcontext[sorting=ydnt]
+\newrefcontext[sorting=nty]
 
 <?php echo $sloppy_begin; ?>
 
@@ -184,7 +184,6 @@ foreach ($papers as $p => $f)
 echo '
 
   \bgroup
-  \begin{refsection}
   \pgfplotsset{
     table/search path={'.$p.'/},
   }
@@ -196,7 +195,6 @@ elseif (isset($options['--use-include']))
 else
   echo '  \input{'.$p.'/'.$f.'}';
 echo '
-  \end{refsection}
   \egroup
   
   \newpage
@@ -250,7 +248,7 @@ if (!isset($options['--no-statutory-declaration']))
 echo <<<'END'
 \chapter*{Statutory Declaration}
 
-I declare that I have authored this thesis independently, that I have not used other than the declared sources / resources, and that I have explicitly marked all material which has been quoted either literally or by content from the used sources.
+I declare that I have authored this thesis independently, that I have not used anything other than the declared sources / resources, and that I have explicitly marked all material which has been quoted either literally or by content from the used sources.
 
 END;
 }

+ 3 - 1
thesiscomposer.php

@@ -485,7 +485,8 @@ TODO
 
 
 \\newpage
-\\newrefcontext[sorting=ydnt]
+\begin{refsection}
+\\newrefcontext[sorting=nty]
 \begin{center}
 {\Large \bfseries
 
@@ -656,6 +657,7 @@ END;
         $tex = handle_appendix($tex);
       if (!str_starts_with($tex,"\\makeatletter\n\def\\relativepath{\\import@path}\n\\makeatother\n"))
         $tex = "\\makeatletter\n\def\\relativepath{\\import@path}\n\\makeatother\n" . $tex;
+      $tex .= "\n\end{refsection}";
       $tex .= "\n\graphicspath{}";
       file_put_contents($file,$tex);
     }