Comments (12)
hmm...can you report back what this does:
\href{mailto:[email protected]}{hello\[email protected]}
will require the hyperref
package.
from document-formats.
Same thing:
from document-formats.
Ok - will investigate...open to suggestions.
from document-formats.
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.
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.
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.
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 7t
s to 8t
causes no issues with my modern install of MacTeX.
from document-formats.
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.
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.
@anjiro do you have a pull-request for me here?
from document-formats.
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.
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)
- Latest examples not built from latest source (missing game citation example).
- Copyright block margins are slightly off in proceedings LaTeX HOT 1
- Question: relation to ACM master article template? HOT 1
- .sty file missing from latest downloadable latex format? HOT 2
- Why does the year print twice for some articles, and all misc entries.
- Citing a GitHub Repo gives `(????).` after title
- LaTeX proceedings format leaves much more space between headings than the Word format
- Error citing a website: Undefined control sequence HOT 4
- Footnote from \affaddr doesn't show up
- Não consigo executar HOT 1
- LaTeX template: ACM classification keyword, using old 1998 template HOT 3
- Bibliography Sorting option for review papers
- How to have multiple authors share the same affiliation?
- Figure caption text not bold HOT 1
- How to break out of two-column format (for appendix)
- Text citation commands in sigchi.cls not working. HOT 7
- FYI acmcopyright.sty seems to be missing from tar.gz proceedings download HOT 1
- Braces in paper header HOT 2
- \tableofcontents prohibited in sigchi.cls HOT 4
- Reference link is incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from document-formats.