Git Product home page Git Product logo

Comments (12)

ayman avatar ayman commented on July 22, 2024

hmm...can you report back what this does:

will require the hyperref package.

from document-formats.

anjiro avatar anjiro commented on July 22, 2024

Same thing:

dot

from document-formats.

ayman avatar ayman commented on July 22, 2024

Ok - will investigate...open to suggestions.

from document-formats.

anjiro avatar anjiro commented on July 22, 2024

I think it might be a font thing. There are a lot of font things going on the .cls file that I don't understand.

from document-formats.

simonrob avatar simonrob commented on July 22, 2024

I've run into this in the past too. As it only occurs in email addresses, I ended up just using the solution found here (http://tex.stackexchange.com/a/48633):

\texttt{\char`_}

Until all these little bugs are worked out, maybe there's a case for a "known issues" page for all these templates? (or the GitHub wiki pages).

from document-formats.

ayman avatar ayman commented on July 22, 2024

That's (Wiki/Known Issues) a neat idea...i'll try to set it up soon. If @anjiro confirms you're solution we can close this issue.

from document-formats.

anjiro avatar anjiro commented on July 22, 2024

Ok, I poked at this a little more. The issue is in line 439 of the .cls file, where we have

\newfont{\eaddfnt}{ptmr7t at 12pt}                    % 05-16-2006 atd

I think it's due to the use of a 7-bit font; changing the 7 to 8 makes an (escaped) underscore work properly. I don't know what (if any) implications there are to doing this. Changing all of the 7ts to 8t causes no issues with my modern install of MacTeX.

from document-formats.

simonrob avatar simonrob commented on July 22, 2024

Nice find! No problems here either when changing all 7-bit fonts in that section to 8-bit.

As an aside, this also fixes a related issue where accented characters (e.g., àéîö etc) didn't work in author names. Probably well worth making this change.

from document-formats.

ayman avatar ayman commented on July 22, 2024

Wow. Thanks everyone. So I dug back into the standard ACM template and found the 8-bit fonts were added in 2006.

% *********************************************
%  -- End of block A --
%
%
% -- Start of block B -- UPDATED FONT NAMES
% *********************************************
% Gerry Murray 11/30/2006
% *********************************************
\ifnum\ACM@basesize=9\relax
\newfont{\secfnt}{ptmb8t at 12pt}
\newfont{\secit}{ptmbi8t at 12pt}    %13 Jan 00 gkmt
...

So I think we should take this merge too.

from document-formats.

ayman avatar ayman commented on July 22, 2024

@anjiro do you have a pull-request for me here?

from document-formats.

anjiro avatar anjiro commented on July 22, 2024

No, because I'm not familiar enough with Metafont to know how changing from
7- to 8-bit fonts might affect things. I was hoping you knew!

On Thu, Dec 10, 2015 at 12:14 PM, ayman [email protected] wrote:

@anjiro https://github.com/anjiro do you have a pull-request for me
here?


Reply to this email directly or view it on GitHub
#59 (comment)
.

from document-formats.

ayman avatar ayman commented on July 22, 2024

Nope...but here's the whole block from the ACM template:

\ifnum\ACM@basesize=9\relax
\newfont{\secfnt}{ptmb8t at 12pt}
\newfont{\secit}{ptmbi8t at 12pt}    %13 Jan 00 gkmt
\newfont{\subsecfnt}{ptmri8t at 11pt}
\newfont{\subsecit}{ptmbi8t at 11pt}  % 
\newfont{\ttlfnt}{phvb8t at 18pt}
\newfont{\ttlit}{phvbo8t at 18pt}    % GM 2/4/2000
\newfont{\subttlfnt}{phvr8t at 14pt}
\newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000
\newfont{\subttlbf}{phvb8t at 14pt}  % 13 Jan 00 gkmt
\newfont{\aufnt}{phvr8t at 12pt}
\newfont{\auit}{phvro8t at 12pt}     % GM 2/4/2000
\newfont{\affaddr}{phvr8t at 10pt}
\newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000
\newfont{\eaddfnt}{phvr8t at 12pt}
\newfont{\ixpt}{ptmr8t at 9pt}
\newfont{\confname}{ptmri8t at 8pt}
\newfont{\crnotice}{ptmr8t at 8pt}
\newfont{\ninept}{ptmr8t at 9pt}
\fi
\ifnum\ACM@basesize=10\relax
\newfont{\secfnt}{ptmb8t at 13pt}
\newfont{\secit}{ptmbi8t at 13pt}    %13 Jan 00 gkmt
\newfont{\subsecfnt}{ptmri8t at 12pt}
\newfont{\subsecit}{ptmbi8t at 12pt}  % 
\newfont{\ttlfnt}{phvb8t at 20pt}
\newfont{\ttlit}{phvbo8t at 20pt}    % GM 2/4/2000
\newfont{\subttlfnt}{phvr8t at 15pt}
\newfont{\subttlit}{phvro8t at 15pt} % GM 2/4/2000
\newfont{\subttlbf}{phvb8t at 15pt}  % 13 Jan 00 gkmt
\newfont{\aufnt}{phvr8t at 12pt}
\newfont{\auit}{phvro8t at 12pt}     % GM 2/4/2000
\newfont{\affaddr}{phvr8t at 11pt}
\newfont{\affaddrit}{phvro8t at 11pt} % GM 2/4/2000
\newfont{\eaddfnt}{phvr8t at 12pt}
\newfont{\ixpt}{ptmr8t at 10pt}
\newfont{\confname}{ptmri8t at 9pt}
\newfont{\crnotice}{ptmr8t at 9pt}
\newfont{\ninept}{ptmr8t at 10pt}
\fi

So it might just be changing 7s to 8s.

from document-formats.

Related Issues (20)

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.