GithubHelp home page GithubHelp logo

author-kit's People

Contributors

adinriv avatar cr333 avatar igkiou avatar qwlouse avatar taiya 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  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  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  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  avatar

author-kit's Issues

Include xcolor in cvpr.sty

I would suggest including xcolor inside cvpr.sty.

The current template:

  1. loads xcolor inside the file preamble.tex;
  2. uses it inside main.tex to define a CVPR-specific color;
  3. uses that color inside the recommended hyperref options.

Given that the hyperref options are meant as part of the official template recommendations, whereas preamble.tex is meant mostly for helpful or paper-specific packages and macros (in the provided example, it's for only commenting macros), I think it would be better if xcolor were included inside cvpr.sty. That way, users can use the cvpr.sty template with its recommended hyperref settings, without needing to include the preamble.tex file or load xcolor separately.

position of line numbers error.

image
why is the position of line numbers changed?(746 747 748 749 should be at left).
and i find this situation only appears at the bottom of page.

Some suggestions

Hi,

I'd like to make a few suggestions for the template. Happy to make a pull request (or separate ones per each suggestion) if there is general agreement for the changes.

  1. Configure cleveref so that it uses abbreviations consistently–either always or never abbreviate mid-sentence references. Right now, cleveref abbreviates "Sec." and "Tab.", but it doesn't abbreviate "Figure", "Algorithm", or "Equation". (References at the start of a sentence are already always unabbreviated, as they should be.)

  2. Include microtype in the packages in cvpr.sty, which helps improve kerning and spacing. Personally I prefer to use it with the default settings, but opinions differ.

  3. Include the "inline" option when loading enumitem in cvpr.sty. This makes it possible to use the enumerate* environment to easily and consistently produce inline enumerated lists, e.g., "We achieve this by 1. doing this; and 2. doing that."

  4. Configure hyperref to use cvprblue for all links, by changing the current option citecolor=cvprblue to allcolors=cvprblue. Under the current settings, we end up with different colors for citations versus references to sections, equations, etc., versus URLs. The resulting rainbow of colors throughout the text ends up being very distracting.

  5. Configure hyperref to automatically produce correct PDF metadata in the camera-ready PDF. This is already implemented in, e.g., the SIGGRAPH LaTeX template, meaning that final PDFs for SIGGRAPH papers automatically have correct titles, authors, etc.

Flushend package does not work

Thank you very much for this nice looking Template.

I just realized, that with the CVPR 2024 templace, the 'flushend' package does not work any more (it works with the CPVR 2023 template). The package balances the references on the last page, which looks a bit smoother.

An alternative for that using the 'adjustbox' package, together with the \balance command, is also not working anymore.

It is probably not a big issue, but maybe you are aware of a workaround :)

Best,
Bjoern

Windows LaTeX compile error

Originally posted by @zhazhiyuan in #14 (comment)

While the template runs successfully on Overleaf, I have been experiencing consistent errors when trying to compile it locally on a Windows system. The error message is displayed as shown in the attached image. I consulted with other members of our lab who are also using Windows, and they reported encountering the same issue. However, when the template was tested on a Mac using TeXShop, it worked seamlessly.

Based on my observations, it seems that the current Latex template might not be fully compatible with Windows systems. I would appreciate it if you could kindly investigate this issue and possibly provide a resolution or guidance on how to work around it. @cr333

Error

The `cite' package should not be used with natbib

In the current cvpr.sty file, both the cite aswell as the natbib package are loaded:

\RequirePackage{cite}     % Automatically ordered citations
\RequirePackage[numbers,sort&compress]{natbib}

That yields a Latex error / warning:
Package natbib Warning: The 'cite' package should not be used with natbib. Use option 'sort' instead.

Is it safe to comment out the cite package?

Line numbering and linkback bug

Context: discussion started with Overleaf team about buggy linkback (double click PDF to be auto-redirected to source).
Overleaf team provided instructions to mimic emnlp2021.sty instead:

cvpr_template_update

Microsoft Word Template

Hi, I am just wondering whether Word template will be provided for CVPR2024?
Word template was provided in the previous CVPR conference.

Text not centered on page

While preparing the rebuttal template for ECCV, I discovered that recent (and not so recent) CVPR templates do not properly center the text on the page. Interestingly, this is an issue that seems to have persisted for many years. Even papers from as far back as CVPR 2014 seem to exhibit this issue (see, e.g., this example). As can be clearly seen, the margin is bigger on the right than it is on the left. In 2013, everything was still fine (see, e.g., here).

I had a closer look at the margin specifications in the template and it seems that the calculation is off. In the current template the margin is set as:

\setlength{\oddsidemargin}{-.304in}
\setlength{\evensidemargin}{-.304in}

However, the text is 6 7/8 inches wide (official width) on a 8 1/2 inch sheet. This leaves 13/8 inches for both margins, making a 13/16 inch margin on each side. Given the 1 inch default margin of LaTeX, this means that the margins should be set as:

\setlength{\oddsidemargin}{-.1875in}
\setlength{\evensidemargin}{-.1875in}

And indeed, if I do that, everything looks nice and centered.

It would be great if someone could verify this observation and my margin calculation. If this checks out, I am happy to submit a pull request to address this issue in future conferences (or even in the CVPR 2024 camera readys).

CVPR 2024 LaTeX Template: Windows Compatibility Issues

While the template runs successfully on Overleaf, I have been experiencing consistent errors when trying to compile it locally on a Windows system. The error message is displayed as shown in the attached image. I consulted with other members of our lab who are also using Windows, and they reported encountering the same issue. However, when the template was tested on a Mac using TeXShop, it worked seamlessly.

Based on my observations, it seems that the current Latex template might not be fully compatible with Windows systems. I would appreciate it if you could kindly investigate this issue and possibly provide a resolution or guidance on how to work around it.
Error

Missing = inserted for \ifnum.

I get this error on Mac OS:

CVPR 8.5 x 11-Inch Proceedings Style `cvpr.sty'.
(/usr/local/texlive/2015/texmf-dist/tex/latex/lineno/lineno.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/enumitem/enumitem.sty))
! Missing = inserted for \ifnum.
<to be read again>
                   E
l.9
?

pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)

Improve citation ordering

Removed this comment from end of \subsection{Miscellaneous} subsection of the author-kit, and converted it into an issue

% Update the cvpr.cls to do the following automatically.
% For this citation style, keep multiple citations in numerical (not
% chronological) order, so prefer \cite{Alpher03,Alpher02,Authors14} to
% \cite{Alpher02,Alpher03,Authors14}.

Add sty automation for editor inline comments

e.g.

Preamble

% CR: The following line fails in my standalone LaTex with the error
%     ! Missing \endcsname inserted.
%     I tried fixing it for half an hour but couldn't.
\defeditor{AT}{blue}

Body

\AT{While this is my comment}
\at{This is a sentence edited by me.}

Add this to style file:

% TODO
\newcommand{\defeditorcomment}[2]{%
  \iftoggle{foo}{%
    \expandafter\def\csname#1\endcsname##1{{\color{#2}[#1: ##1]}}%
  }{%
    \expandafter\def\csname#1\endcsname##1{{}}%
  }%
}
\newcommand{\defeditorinline}[2]{%
  \iftoggle{foo}{%
    \expandafter\def\csname#1\endcsname##1{{\color{#2}##1}}%
  }{%
    \expandafter\def\csname#1\endcsname##1{{##1}}%
  }%
}
\newcommand{\defeditor}[2]{%
    \defeditorcomment{#1}{#2}%
    \defeditorinline{\MakeLowercase{#1}}{#2}%
}

CVPR 24 latex template problem...

When I start a new Section with:
`\section{Introduction}

AAA

BBB`

The compiled pdf will have indent before BBB but not indent before AAA. How can I solve this?

MWE for the template (enhancement)

It will help to move the instructions and the proposed paper structure outside of the templates and the styles branch into its own (e.g., cvpr-instructions).

The style should come with a minimal working example that loads the style and demonstrates it, without bloating it.

The instructions and the suggested structure for the paper could be on a different branch. When the author kit is released, the instructions and the style can be packaged for someone to download and use as they pleased.

This option has the advantage of giving users the ability to clone the style with minimal modifications. For instance, it is less space within a local texmf, or some other services that replicate this for the user (like overleaf).

Add auto-label functionality to template

Requirements
\usepackage{currfile}

Usage:

\begin{figure}
\centering
\includegraphics[width=\linewidth]{fig/\currfilebase}
\caption{\textbf{Something} -- ...}
\label{fig:\currfilebase}
\end{figure}

Then a figure source fig/something.tex can be cited in text as \cref{fig:something}

Inlined supplementary

If a paper has an appendix AFTER the references, AND is otherwise compliant, we will NOT desk-reject it for being overlength. We've taken this decision because our LaTeX template this year had confusing instructions that misled a number of authors.

Seems disabling it by default was not sufficient @sroth-visinf (you were right 😅)
Will have to think of a technical solution to leave the functionality without any chance for confusion.
(perhaps throwing a latex warning/error?)

Figure out OAuth / Overleaf issues

Had to disable org restrictions, as otherwise github repo not accessible from Overleaf
Screenshot 2023-06-12 at 3 10 51 PM

Conversely, when I enable restrictions, and try to request access, this should create a "organization approval", but I can't see one in the page above?

\bibliography{} starting from any number

I'm trying to change biblography number for supplementary material.

I'm following this, but found out that the \usepackage[review]{cvpr} does not allow the biblography number changed.

How can I change it with cvpr package..?

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.