Git Product home page Git Product logo

iacrtrans's Introduction

iacrtrans's People

Contributors

cryptojedi avatar cryptosaurus avatar gleurent avatar jowlo avatar maks0bs avatar pfasante avatar phil-hebborn avatar xbonnetain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

iacrtrans's Issues

problems with [nohyperref] option

When I add the nohyperref option to the class loading, a compilation error results.

Specifically, when running the template.tex (from this repo) with the class load

\documentclass[journal=tosc,submission,nohyperref]{iacrtrans}

(and everything else unchanged) using my freshly installed Texlive, I get the error

Incomplete \iffalse; all text was ignored after line 54.

Add an Option to handle both journals, ToSC and TCHES

The templates for ToSC and TCHES are basically the same, as far as I know.
So maybe we should add an documentclass option, to switch between the two.
What needs to be changed is the Transactions on... string and I guess nothing else?

Update documentation

We should update the included iacrdoc. By now its a bit outdated.
Some points are:

  • ToDos for authors, when they prepare a final version. This should include: fix bibtex/biblatex warnings and submit a compilable paper with the final option set. Especially the last point seems to lead to problems quite often.
  • I think we should link to this github repository in the docs, so people can find it and write issues, if they have problems with the class.
  • Decide on a bibliography/citation style
  • Emphasize that authors should use cryptobib for ToSC citations - this way we can control best the right citing of ToSC papers (we are currently working on adding new ToSC issues at the same time of publication to cryptobib, thus cryptobib should be more up-to-date than dblp from the next issue on).

I can take care of these points, but for the biblio style we need to discuss with the other editors, I guess.

ORCID

It seems there is currently no dedicated command to include an author's orcID. As this becomes more and more important to avoid name confusions, a command like in Springer's lncs (\orcid) would be useful.

Caption Misplaced and Missing when Putting Figures Side by Side

When using minipages to put two figures side by side as in this piece of code

\begin{figure}
\centering  
\begin{minipage}{.5\textwidth}
  \centering
  \includegraphics[width=\columnwidth]{image1}
  \captionof{figure}{A figure}
  \label{fig:test1}
\end{minipage}%
\begin{minipage}{.5\textwidth}
  \centering
  \includegraphics[width=\columnwidth]{image1}
  \captionof{figure}{Another figure}
  \label{fig:test2}
\end{minipage}
\end{figure}

the expected outcome is that the two figures appear next to each other and the two captions are placed underneath.

What actually happens: The second caption appears under the first figure and there is no caption for the second figure.

I would greatly appreciate it if this bug was fixed soon. Thanks!

script hints

iacrtrans/iacrdoc.tex

Lines 117 to 128 in ad35910

We would be very grateful, if you help us to prepare the final version for publishing.
In order to generate bibliographic information for your paper, we parse the author and title fields of your tex files.
As there are a lot of special cases that the script needs to take into account, there are special \texttt{hints} you can provide.
Currently, this template supports \texttt{author-} and \texttt{title-hints}.
An example how these hints are used, \emph{e.\,g.}, for this document is:
\begin{verbatim}
%%% script AUTHOR: Ga{\"{e}}tan Leurent, Friedrich Wiemer%%%
%%% script TITLE: {IACR} Transactions class documentation%%%
\documentclass{iacrtrans}
\end{verbatim}
Note the extra \{\} which are needed to tell bibtex how to handle special characters or parts that should be set in uppercase (\emph{e.\,g.}, for cipher names).
When using this hint fields, you should not use any custom \LaTeX-macro defined in your paper.

Any other documentation on how these hints work?

For example, hints how to split first / last names?

margin width and todo notes

The todonotes package does not work well with the margins from iacrtrans class.
Here is a MWE:

\documentclass[submission]{iacrtrans}

\usepackage{todonotes}

\begin{document}
Hello world.\todo{fix margin for todo notes}
\end{document}

The todo note in the margin does not correctly break at the end of the page.

Problem with TCHES final issue

Hi,

We are preparing our final version for submission to TCHES 2021-4 due on Wednesday, but we noticed that the build fails when we change the class file options.

We managed to reproduce the issue in the example by replacing \documentclass[journal=tosc,submission]{iacrtrans} with \documentclass[journal=tches,final]{iacrtrans} in template.tex, most likely due to a package conflict:

! Package totpages Error: Can't use both, lastpage and totpages.

Are we doing something wrong, and is there any known workarounds for this problem?

Thank you!

Display DOI link in bibliography

Currently, the class does not display DOIs in bibliography, even if they are given in bib files (like in the cryptobib database). I think DOIs are important for indexation purposes (and also convenient to click directly). A possible downside is that more space is taken and this would affect venues which include bibliography in page count.

Would be nice to have an option for displaying clickable DOIs in biblio.

Conditional compilation

It would be great if the class exposed the \if@submission internal definition. For instance, if a paper contains URLs to code repository that expose the author's name, or Acknowledgements, these could be hidden in "submission" mode and put back in "preprint" mode.
This can be done with:

\makeatletter
\if@submission
	\texttt{[------ REDACTED ------]}
\else  
        \url{https://my-own-repo.org/.}
\fi
\makeatother

but this is arguably a hack...

Figure Caption float problem

Dear Maintainers,

I found a bug in this Tex documentclass iacrtrans.
The bug can be illustrated by following Tex codes,

\documentclass{iacrtrans}
\usepackage{lcg}
\reinitrand[counter=sec,first=1,last=4]
\usepackage{graphicx}

\begin{document}

\begin{figure}
  \centering
  \begin{minipage}{.5\textwidth}
    \centering
    \includegraphics[width=3em]{iacrlogo}
    \caption{IARC}
  \end{minipage}%
  \begin{minipage}{.5\textwidth}
    \centering
    \includegraphics[width=3em]{fse}
    \caption{FSE}
  \end{minipage}
\end{figure}

\end{document}

If you put two minipage environments into a figure environment, the caption of the first minipage will be override by the second. Hence, you will get the following result,
iacrtrans

This is not the case when you using article documentclass.
article

I read the source code, and I think the problem comes from

\RequirePackage{float}
\newcommand\fs@iacrabove{%
  % Swap \abovecaptionskip and \belowcaptionskip
  \addtolength\abovecaptionskip{-\belowcaptionskip}
  \addtolength\belowcaptionskip{\abovecaptionskip}
  \addtolength\abovecaptionskip{-\belowcaptionskip}
  \setlength\abovecaptionskip{-\abovecaptionskip}
  \fs@plaintop%
  \def\@fs@cfont{\sffamily\bfseries}}
\newcommand\fs@iacrbelow{%
  \fs@plain%
  \def\@fs@cfont{\sffamily\bfseries}}
\floatstyle{iacrabove}
\restylefloat{table}
\floatstyle{iacrbelow}
\restylefloat{figure}

I am not familiar with Tex, could you please fix this problem or give an solution to it?

Failure with updated hyperxmp package

Latex fails to render the template when updating the hyperxmp package to a recent version (>= 5.0). This is because the \hyxmp@today macro got removed, as used in the snippet below.

\hyxmp@list@to@xml{date}{Seq}{\hyxmp@today}%

A quick and very dirty fix might be to catch this with something like:
\@ifundefined{hyxmp@today@xmp}{\hyxmp@today}{\hyxmp@today@xmp}

I messaged the package author, Scott Pakin, on this topic, he replied with the following:

\hyxmp@today is likely gone for good.

The reason iacrtrans.cls is accessing that package-internal macro is to dynamically modify hyperxmp to include a document DOI. However, the latest version of hyperxmp supports a pdfdoi key that iacrtrans can use instead. The only difference is that hyperxmp expresses DOIs using the PRISM Basic Metadata Schema while iacrtrans's hack uses Dublin Core.
(The former supports DOIs, ISBNs, ISSNs, etc. in the same document while the latter allows at most one such identifier.) Hopefully, the IACR folks don't care precisely how the DOI appears in the XMP metadata as long as it's present.

It would be possible for a class file to check the hyperxmp version and use either pdfdoi for new hyperxmp versions or the current rewriting hack for older ones, but I wouldn't recommend that approach on the grounds of it being awkward to maintain.

Got Warning 'This document may violate the submission format requirements'

This document may violate the submission format requirements
Submissions that violate the requirements will not be considered. However, some violation reports may be false positives (for instance, the checker can miscalculate margins and text sizes for figures). If you are confident that the current document respects all format requirements, keep it as is.
Margins too small: text width exceeds 159mm by 32% (page 1)
Margins too small: text height exceeds 246mm by 21% (page 1)

My colleague and I used the template files and complied the different paper, then submitted the pdf to system, separately. We both get this warning with same value of (159 mm) and (246 mm). Is this a false positives for both of us? Or the template files are updated?

Linenumbers break at an equation*

In submission mode, the linenumbering breaks when an equation* environment is used.
This seems to be easy to fix, the required code line is already in the class, but commented out. Is there a reason for this?
I prepare a PR that uncomments this line.

Minimal Working Example:

\documentclass[submission]{iacrtrans}
\begin{document}
Test
\begin{equation*}
a = b
\end{equation*}
Test
\end{document}

Compilation error in submission mode

When compiling even the most basic document in submission mode using the iacrtrans template, I get an error. When I switch to final mode, there error goes away.

Here's a sample document:

\documentclass[journal=tches,submission]{iacrtrans}

\title{Test title}
\author{Author name}
\institute{University of Whatever}

\begin{document}

\maketitle

Foo

\end{document}

Here's the error I get:

./main.tex:13: Extra \else.
<output> ...else \LineNoLaTeXOutput \fi \fi \else 
                                                  \MakeLineNo \fi }
l.13 \end{document}

I'm using TexLive 2019 on macOS, with all updates installed.

Error after upgrading hyperxmp package to v5.12

Recently, MikTex automatically upgraded my hyperxmp package to v5.12.
Now when I compile the template.tex, I get an error:

File: hyperxmp.sty  Type: error  
Package hyperxmp Error: hyperref must be loaded before hyperxmp. } 

It seems that if I add \RequirePackage{hyperref} in Line 142 of iacrtrans.cls, I no longer get the error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.