I set up year-based labels in Gmail to archive old mails -- e.g. year 2001, year 2002, ... year 2013, year 2014, etc.  The problem is that Gmail displays the labels in the alphabetical order, which, in turn sorts these year-based labels in chronological order.  But as with anyone else, I need to look up recent emails more often than decade-old emails, which means that the label I need to reach most often will sit at the bottom of the year-based labels.  Would there be a clever way to display these year-based labels in reverse alphabetical order (i.e. reverse chronological order)?
122072
I want to sort the labels in my own order instead of the default abc order, so that, for example, the label named bills should come up first.  Any way to do that?
95874
I have a bibliography in which a particular author wrote two papers in the same year. Bibtex is sorting them alphabetically by title, but I want them listed chronologically. (So in the example below 'universal grammar' should precede 'English as a formal language'.) What's the appropriate way to flip the order?  MWE:  \documentclass{article} \usepackage{natbib} \begin{document}  ... formal semantics in the  Montagovian tradition \citep{montague1970aug,montague1970befl,montague1973ptq}.   \bibliographystyle{harvard} \bibliography{test} \end{document}   This generates the text 'formal semantics in the Montagovian tradition (Montague, 1970b,a, 1973)' whereas I actually want '1970a,b,1973'.  test.bib file for MWE:  @incollection{montague1973ptq,   title={The proper treatment of quantification in ordinary {English}},   author={Montague, Richard},   booktitle={Approaches to natural language},   editor={Hintikka, K. Jaakko J. and Moravcsik, Julius M.E. and Suppes, Patrick},   pages={221--242},   year={1973},   publisher={Dordrecht} }  @article{montague1970aug,   title={Universal grammar},   author={Montague, Richard},   journal={Theoria},   volume={36},   number={3},   pages={373--398},   year={1970},   publisher={Blackwell Synergy} }  @incollection{montague1970befl,   title={English as a formal language},   author={Montague, Richard},   booktitle={Linguaggi nella Societa e nella Tecnica},   editor={Visentini, Bruno and others},   publisher={Edizioni di Comunità},   pages={189--224},   year={1970} }
4794
I'm writing a linguistics paper that uses a large amount of linguistic examples from a wide variety of languages, using the gb4e package. I want to be able to label each example with information about the language it comes from, as I've seen in some texts, sort of like this:   Language (family, citation, etc.)      (1) example text          glosses        'translation'    gb4e is great at formatting the examples themselves, but I can't seem to get the label placed where I want it, that is, placed immediately before the example and without an indent. Here's some example code:  \documentclass{article} \usepackage{gb4e} \usepackage{lipsum}  \begin{document} \lipsum[2]  Hungarian (Finn-Ugric, \emph{reference})   \begin{exe}   \ex \gll    J\'anos h\'aza\\               John house.his\\       \glt    `John's house'   \end{exe}  \lipsum[3] \end{document}   If the label text is outside the exe environment, it's treated like a regular paragraph, but if I try to put it inside, it gives me an error. How can I make it look the way I want? I've looked at other packages that do numbered examples, but they don't seem to have solutions either, and they also don't have the same functionality as gb4e that I need.  Any help would be greatly appreciated.
96760
I need to move files based on a year. I used the find command  find /media/WD/backup/osool/olddata/ -mtime +470 -exec ls -lrth {} \;|sort -k6   but for this command to successfully execute i need to know the exact mtime now 470 is just a guess. Means if I can give the year 2012 it gives me files only related to 2012.  So i need advice on how to     Find files based on year e.g 2012 and move them to other directory.   OS release 5.2  FIND version GNU find version 4.2.27 Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION SELINUX
20824
Doing a search via regular Gmail frontend in the browser, shows strange results.  I want to search all mails from   *@ebay.*   My search:  from:@ebay   shows also emails sent from an ebay subdomain:   eBay@reply.ebay.com   It seems like Gmail ignores the "@", otherwise I can't see why those messages appear in the search results.  I also tried following searches with no success:  from:"@ebay" from:'@ebay' from:(@ebay) from:("@ebay") from:('@ebay')
55067
I need to find, in Gmail, a list of all my unread messages &#8212; which I can get via is:unread or label:unread or l:^u &#8212; which do not have the label "ZDNet."  In other words, my requirement is this:  I have 185 e-mails which are "unread" in my Inbox. I have 174 "unread" e-mails which are labeled "ZDNet." I need to find the 11 e-mails in my inbox that are not part of the group of 174.  How can I do this?
60486
Part of a programme builds this list,  [u'1 x Affinity for war', u'1 x Intellect', u'2 x Charisma', u'2 x Perception', u'3 x Population growth', u'4 x Affinity for the land', u'5 x Morale']   I'm currently trying to sort it alphabetically by the name of the evolution rather than by the number. Is there any way I can do this without just changing the order the two things appear in the list (as in 'intellect x 1)?
54873
There are similar questions and several answers. I tried to follow the methods provided in the answers.  They did not work. So I am going to ask it again with more specifics.  I only knew the date of the email in the in-box in 2012 and the content of it but did not know the exact wording of the subject. Is it possible to find this email?
49300
Select New questions, show Recommended and sort by Newest and the  in my list is from 2012:  EDIT The very old questions now appear to be gone (yay) but the ordering seems inconsistent (boo):
67486
What search query will return conversations that have the label Reading but not the label Ignore?  I've tried using label:reading -label:ignore but Gmail still returns conversations that have the label Ignore:    The query label:(reading -ignore) gives me the same results.
16056
I have a ton of files, all named stuff like 1.jpg, 2.jpg, 3.jpg, and so on up to 1439.jpg, however, I have a problem with one of my projects and alphabetizing. It will usually go in the order 1.jpg, 10.jpg, 11.jpg and so on.  What I need is some way to name the files so they are in the format such as 00001.jpg all the way up to 01439.jpg.  How would I be able to do this quickly and efficiently?
73348
I wish to cite several sources at once and sort my in-text citations in a different manner to how they appear in my bibliography. I want my citations to be sorted by year and my bibliography to be sorted by author. I am using BibLaTeX with Biber. I used  to achieve this with TeX Live 2015 but since upgrading to 2016 (as well as upgrading all my packages) this does not work.  Below is a minimal working example (with a second bibliography for illustrative purposes). I wish for the citations to be sorted ascending by year (2001, 2002, 2003) and the bibliographies to be sorted alphabetically (a, b, c) and descending by year (2003, 2002, 2001) respectively, but below is an image of the result; the bibliographies stay true to the desired sorting but the citations in-text are sorted descending by year.  If I remove the last \newrefcontext then everything (citations and bibliographies) is sorted alphabetically, and if I remove both \newrefcontexts then everything is sorted ascending by year (which was the option specified when originally calling BibLaTeX). It seems that the citations follow the last sorting referenced; ynt as per BibLaTeX options when both \newrefcontexts are removed or else whatever sorting is specified in the last \newrefcontext.  I am compiling in order pdflatex, biber, pdflatex, pdflatex and am on MacTeX.  It seems this would have worked as desired in TeX Live 2015 so is this a bug or has something changed which requires the citation sorting to be set in some other way?  \documentclass{article}  \usepackage[            backend=biber,            style=authoryear,            sorting=ynt,            sortcites,            ]{biblatex}  \usepackage{filecontents} \begin{filecontents}{lib.bib} @article{test1,   author = {b},   title = {b},   year=2003, } @article{test2,   author = {c},   title = {c},   year=2001, } @article{test3,   author = {a},   title = {a},   year=2002, } \end{filecontents}  \addbibresource{lib.bib}  \begin{document}      Hello World! \parencite{test1,test2,test3}      \newrefcontext[sorting=nyt]     \printbibliography      \newrefcontext[sorting=ydnt]     \printbibliography  \end{document}     Edit  I have a workaround but it's super crap: Typeset the document with global sorting=ynt, copy the pdf to another file, then typeset the document with global sorting=nyt; using a PDF editing tool (Apple's Preview suffices) cut the pages containing the bibliography with the desired sorting from one PDF and paste into the other. As I said super crap. I'm not sure if I'd even do this as I'd feel dirty, but it's a workaround nonetheless.  If a solution does not exist or this is a bug without a patch, then what would be similar but much better would be some kind of package (which probably doesn't exist) which only changes certain pages at a time within the PDF (while still actually 'compiling' the whole document so that all the citations are done). It might look something like:  % document preamble % ...  \usepackage{onlychange} \onlychangerange{10,12}  % Bibliography found on pages 10--12 % On next compilation will typeset all pages except 10--12  % ...   It's a long shot but maybe someone knows of such a package or this rambling has inspired an actual solution.
19655
I have set up a Gmail filter that marks all incoming mail from a certain mailing list with a star. Right now, the filter automatically applies the standard yellow star. How can I set it to use the blue star instead?
39319
I have a bunch of bib entries of the same author which are labeled by the full date. The problem is that some of them have the same date and so need an extrayear label. But extrayear works by year not by full date. So it looks as if I can only either label all entries or none. Has someone an idea how in the following example the two middle entries could get the labels "a" and "b" while the other have no label?  \documentclass[fontsize=11pt,parskip=half]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[backend=biber,             style=authoryear-ibid,             datelabel=short,             ]{biblatex}  \addbibresource{testextra.bib}  %\AtEveryBibitem{\iffieldundef{day}{}{\clearfield{extrayear}}{}} %\AtEveryCitekey{\iffieldundef{day}{}{\clearfield{extrayear}}{}}   \begin{document} abc\nocite{*}  \printbibliography  \end{document}   Bib (edited to contain two unrelated entries which should not be affected).  @article{authorA1,  author={authorA},  title={blaa},  date={2014-03-03}  }  @article{authorA2,  author={authorA},  title={blab},  date={2014-03-04}  }   @article{authorA3,  author={authorA},  title={blac},  date={2014-03-04}  }  @article{authorA4,  author={authorA},  title={blad},  date={2014-03-05}  }  @article{gambol, author={Gambolputty, Johann}, title={Titel}, year={1970}}  @book{authorB, author={authorB}, title={Titel}, date={2010-10}}
1762
Throughout the site abbreviated dates are used (Apr 21 at 9:12). This works great for dates within the current year but it seems that as the years roll by it'll become important to include the year in the date. I am not sure that having the time is of value for a post that is a year old. Maybe at a certain threshold replacing the time with the year is appropriate.
34982
I have iterate over numbers in various order. I am able to display them in increasing order, even with steps like:  $ seq --separator="," 1 10 1,2,3,4,5,6,7,8,9,10 $ seq --separator="," 1 2 10 1,3,5,7,9   I am also able to display them in reverse order, neither continuous nor step wise.  $ seq --separator="," 10 1    $ seq --separator="," 10 2 1   No output for above commands.   My shell details:  $ bash --version GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc.   Let me know how I would be able to display the numbers in descending order?
88296
Do you have experience implementing text inputs or drop-downs in-line with other text or forms? Is this approach any better than just creating a separate field/label?  In the example below the user has the option to indicate when to be reminded again (in one, two, or three days). When they are reminded of an assignment, they simply get an email or text message.