-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved conceal for natbib's commands #2155
Comments
It would be very helpful if you could provide a sample LaTeX snippet that includes all of the commands you find is lacking. Then I could use it for testing while adding them.
My pleasure :) |
Here you are: % "Standard" commands
\citeauthor{jon90}
\citeauthor*{jon90}
\citeyear{jon90}
\citeyearpar{jon90}
% Capital `C` commands
\Citep{jon90}
\Citet{jon90}
\Citealt{jon90}
\Citealp{jon90}
\Citeauthor{jon90}
% Suppressed parentheses commands (i.e., "`\citeal*`" commands)
\citealt{jon90}
\citealt*{jon90}
\citealp{jon90}
\citealp*{jon90}
\citenum{jon90}
\citetext{priv.\ comm.}
|
This should work now, please test. |
I did a couple of tests. Seems to work. Thanks! |
Good to hear! |
Sorry to reopen this, but |
Oh, they should work. Perhaps the natbib package is not loaded? Can you give a proper minimal example? |
Conceal works correctly for many (not all, see below) of natbib's commands such as
\citep
,\citet
, ..., that start with a lowercasec
, but it does not work for any those that starts with an uppercaseC
, such as\Citep
, ... . These commands starting with an uppercaseC
are used to enforce uppercase names at the beginning of a sentence (see natbib reference, section "Forcing upper case names").Conceal also does not seem to work for some of natbib's commands, such as
\citeauthor
,\citeyear
, or those starting with\citeal
, and possibly others. See the reference linked above for a complete list of natbib's commands.Thanks for all the work!
The text was updated successfully, but these errors were encountered: