I'm using \usepackage[title,titletoc]{appendix} and putting my appendices in the appendices environment. I'm trying to remove the appendix page numbers from the TOC.  I've looked at the documentation for the appendix packaged and tried using \noappendicestocpagenum without success.  \documentclass{article} \usepackage[title,titletoc]{appendix} \usepackage{lipsum}  \begin{document}      \tableofcontents     \clearpage     \section{first}     \section{second}     \pagebreak     \begin{appendices}          \section{additional material}         \setcounter{page}{1}         \renewcommand{\thepage}{\thesection -\arabic{page}}          \lipsum          \pagebreak         \section{more of it}         \setcounter{page}{1}         \renewcommand{\thepage}{\thesection -\arabic{page}}          \lipsum      \end{appendices} \end{document}     Advice on better formatting of my page numbers would also be welcome.
I would very much like that the the appendix sections of the Table of Contents doesn't have a section numbers, dots, and page numbers. If I do the following  \documentclass{article} \usepackage{tocloft} \addtocontents{toc}{\cftpagenumbersoff{section}} \renewcommand{\cftdot}{} \begin{document} \tableofcontents \newpage \section{Appendix} \section*{Another Letter} \addcontentsline{toc}{section}{Another Letter} \end{document}   then the section "Another Letter" is left aligned, so it doesn't look like the  others.  Question  Is it possible to have "Another Letter" styled the same way as normal TOC entries, but just without section number, dots, and page number?
In SQL, what's the difference between count(column) and count(*)? I've recently changed to the new Minecraft launcher, and I have noticed a change in the .minecraft folder layout. I can no longer install mods just by copying it over into the versions/1.6.1 jar file, as this file refreshes every time it is launched.  For those who don't know what I am talking about, here is the new layout:    I am specifically trying to install Optifine, which does work with 1.6.1. Where do I drag in the mod files now? I can't seem to find a jar file that is suited to it, except in the version folder, but as I stated above, this refreshes every time.  After copying a recent version and renaming it in the version folder, I get this error in the development console:   Unexpected exception refreshing version list java.lang.IllegalArgumentException: Version '1.6.1' is already tracked     at net.minecraft.launcher.updater.VersionList.addVersion(VersionList.java:91)     at net.minecraft.launcher.updater.LocalVersionList.refreshVersions(LocalVersionList.java:44)     at net.minecraft.launcher.updater.VersionManager.refreshVersions(VersionManager.java:47)     at net.minecraft.launcher.Launcher$2.run(Launcher.java:164)     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)     at java.util.concurrent.FutureTask.run(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)     at java.lang.Thread.run(Unknown Source) Where did dedicated.abac.net. come from in my rDNS and PTR records? bash regex with quotes? My input file is,  ami21 ami65 ami67 ami66 ami88 ami76 ami29 ami55  ami54 ami32   Using a single command line I need the output as,  ami22 ami66 ami68 ami67 ami89 ami77 ami30 ami56 ami55 ami33   I used the command  awk -vRS=ami '{$0=$0+1;ORS=RT}++n' inputfile &gt; outputfile   but I got the outputfile as ami21ami65ami67ami66ami88ami76ami29ami55ami54ami32  i.e. all strings are written in same line and without space. Could anyone suggext me some better command line. has now probably made around 15 accounts. He consistently uses the , , ,  and  tags, and does not ever do anything constructive.  was his latest.  Unfortunately I haven't been bookmarking his other questions, but here are some of his previous accounts:          He has also gone by many other names (Iraq War Veteran is the one that comes to mind), but those accounts have been deleted.    Is there nothing we can do about this? Deleting and suspending his accounts just seems to give him more reason to create other accounts. Is there a way to block him entirely?    Edit:  seems to have been deleted by Community ♦ I would like to know the best way to write test methods for controller extension classes that are used by Visualforce.  What is the minimum set code that I need to cover the basic operation of the controller without taking into account any custom functionality that I might add.  Here is my example class with the test method ready to be completed.  public with sharing class myExtension{      private final Account acct;      public myExtension(ApexPages.StandardController stdController){         this.acct = (Account)stdController.getRecord();     }      public static testMethod void testmyExtension(){      } } Did J.R.R. Tolkien ever write a deeper connection between The Hobbit & Lord of the Rings: Fellowship of the ring? There seems to be a bit of a gap between The Hobbit and Lord of the Rings: Fellowship of the Ring. While we know the outcomes from The Hobbit to Lord of the Rings, we don't know what happened between them. Did Tolkien ever novelize this?  Connecting the two movies together, I've pieced the following sub-plots:   Saruman becomes corrupted by peering into the Palantír of Orthanc at some point after The Hobbit Gollum gets captured by Sauron's army Legolas leaves his homeland, in search of a ranger of some importance Tauriel is banished from her homeland Bilbo returns to the Shire, and finally relinquishes the one ring on his 111th birthday to Frodo   What doesn't seemed joined by the books or the two trilogy films:   How did a powerful white wizard like Saruman become enchanted/corrupted by Sauron What was Gollum doing before he was captured Where was Thranduil during the events of Lord of the Rings What happened to Tauriel during Lord of the Rings What happened to the remaining company of dwarves after The Hobbit Who now resides within Erebor What happened to Radagast during Lord of the Rings Add tab / local task to a node I've created a module called hotel_reviews.  I've created the route node/{node}/reviews using .   hotel_reviews.content:   path: '/node/{node}/reviews'   defaults:     _controller: '\Drupal\hotel_reviews\Controller\ReviewsController::content'     _title: 'Reviews'   requirements:     _permission: 'access content'   I then tried to add a local task using .  hotel_reviews.content:   route_name: hotel_reviews.content   title: 'Reviews'   base_route: node.view   weight: 100   I can now access the content defined by my controller at node/1/reviews, however when I go to node/1 I don't see a reviews tab.  What am I doing wrong?  I've been using the following documentation so far: Fastest way to move Collection from Sharded MongoDB Cluster to a another Sharded MongoDB Cluster How were bullets able to dent Captain America's Shield? Just after Captain America's shield was introduced in Captain America: The First Avenger, Peggy Carter shot few bullets at it which created few minor distortions on it.                                  From  page of Marvel.Wikia,     Proto-Adamantium   This is the original Adamantium created by Dr. MacLain. Proto-Adamantium is the official name for the metal that makes up Captain America's Shield. It has never been recreated and is the absolute most invulnerable item in all of existence.    From  page of Marvel.Wikia:     The true shield was once slightly dented by an enraged Odinforce empowered Thor, using Mjolnir, but he later reconciled and pounded out the small dent.    How were few bullets able to dent Captain America's shield then? When and why is the [featured] tag removed by the Community user? When I run:  tex algorithms.dtx   for example, I get this message.    ! Undefined control sequence. l.34 \documentclass                    {ltxdoc} ?   Help? If $A|B$ and $B|A$ then prove $A=\pm B$   So far I have $A|B \iff AX=B$ and $B|A \iff BY=A$ with $X,Y \in \mathbb{Z}$  Not sure how to finish, any help. How to avoid using sudo when working in /var/www? Is there an ingame way to change volume? I like the music, but I still prefer my own music.  Is there an ingame way to change the volume?   I can't find it. How do you turn off Bluetooth on startup using MacBook Air and macOS Sierra? Every time I turn on my laptop (from a completely off state) the Bluetooth is on by default. How can I prevent it from turning on at startup and then only turn it on (manually) when I want to connect any Bluetooth devices like mouse and keyboard? In bibliography, how to print the page in my text where I cited certain paper? How to get, for instance,  [19] S. Roth and M. J. Black. Fields of experts: A framework for learning image priors. In IEEE Conf. on Computer Vision and Pattern Recognition, 2005. 1, 2, 7, 8  where the last numbers (1, 2, 7, 8) are the pages where I cited the paper in MY TEXT?  This would be like a reversed reference, or a index for bibliography. Is there an elementary proof that $\sum \limits_{k=1}^n \frac1k$ is never an integer? How can I download an APK file from the Play Store? I can't download apps from the Play Store on my Android device (maybe due to a network issue), so I'm wondering how could I download the APK file of an app on my PC from ?