Questions tagged [sorting]

{sorting} is about sorting document elements. Use this tag in addition to other tags specifying what should be sorted.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12
votes
0answers
576 views

Unexpected behaviour with sorting option, multiple ref context and biblist (biblatex 3.0)

I have a large bibliography file where the vast majority of entries are annotated (and annotations can (and do) contain \cite commands). I have to produce a list of the annotated entries displaying ...
5
votes
0answers
349 views

Altering index sort order in bibleref

Original post: The bibleref package affords tidy citation and indexing of Bible passages; sort order is by default alphabetical by book. According to the documentation, one can change the to another ...
3
votes
0answers
156 views

Corporate authors not sorted alphabetically

I'm using natbib with the apalike-german.bst and a bibliography in alphabetical order. I need to cite some corporate authors in my thesis. However these are unfortunately not included alphabetically, ...
3
votes
0answers
55 views

xindy: merge-rule merges to the wrong entry

Consider the following MWE \RequirePackage{filecontents} \documentclass{article} \usepackage{imakeidx} \begin{filecontents*}{test.xdy} (merge-rule "More, Thomas" "Morus, Thomas") \end{filecontents*} \...
3
votes
0answers
143 views

Biber in tool mode does not sort fields alphabetically (anymore)

Biber in tool mode used to sort fields within entries (not: entries in the BIB file!) alphabetically by default. Newer versions of Biber apply rather strange sorting by default. Is it possible to get ...
2
votes
0answers
206 views

How to group the bibliography alphabetically, if some surnames start with “accented” characters?

I have one problem with this code and special characters: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[semicolon]{natbib} \usepackage{har2nat} \newcommand{\avec}{\qquad \text{avec} \...
2
votes
0answers
116 views

List bold pages first with imakeidx

In my document, if an index is the title of a whole chapter, the index is bold. Otherwise, the index is just normal. If the index is from the appendix of my document, it will be italic. An example ...
2
votes
0answers
618 views

Sorting the references in alphabetically in chronological order according to authors last name

i have submitted a paper to Elsevier Journal (Information Sciences). The editor has told me to sort the entries (references) in alphabetical order according to authors last name. I searched a lot but ...
2
votes
0answers
861 views

Biblatex - Citation order different from Reference order

I am using biblatex with biber option. Is there a way to use the ieee style with citation being number in brackets, ordered by order of appearance but to have the references displayed with \...
2
votes
0answers
699 views

Sorting bibliography by year

Is there a package to sort a bibliography by date and not by author? I cannot find a definitive answer.
2
votes
0answers
76 views

ConTeXt: Disable Hyphenation, Enable Indentation, and Enable Sorting for Bibliography Entries (Items in List of Publications)

Enable Indentation I've tried: \setuplist [pubs][ before={\indentation}, ] and also: \setuppublications[ indentnext={yes}, indenting={yes}, ] Unfortunately, no effect. I would like both the ...
1
vote
0answers
59 views

sorting text file in plain TeX

I have seen Latex sort macros (for an index, which is precisely what I want, the index having several thousand entries); but I haven't seen one in plain (or AmS-TeX, for that matter; either is OK). ...
1
vote
0answers
40 views

Custom BST (based on apalike) with following sorting mechanism: (1) First author only, (2) Year, (3) All (other) authors, (4) Title

Following https://tex.stackexchange.com/a/484079/ I have created a custom BST, based on the apalike bibliographystyle of the natbib package in bibtex. This custom BST orders references in the ...
1
vote
0answers
60 views

Disable sorting in texindy

I'm trying to establish a workflow for a LaTeX project and haven't figured out how to use makeidx or imakeidx packages to sort UTF-8 encoded index by languages not covered in the section supported ...
1
vote
0answers
89 views

longtable: Rearrange per-page data in columns, then rows

I have a long table in a document which lists about 300 items. The table is actually generated by an external shell script in a format that is compatible with the longtable package. The script is my ...
1
vote
0answers
31 views

Compiling Documents Based on Keywords in a Longer Text

I'm a teacher and I use LaTeX for all my exams. I would like to create a database of exam questions and attach multiple keywords to each question. Then, I would like to be able to generate a ...
1
vote
0answers
231 views

Bibliography alphabetic ordering

Again, I've faced the problem of bibliography sorting with no clue how to deal with it. The issue is in the fact, that the specific requirments for russian papers make me use custom-made style ...
1
vote
0answers
126 views

How to modify the sorting of cleveref?

In the backmatter of my document I have the part with plates. Each page is one plate with several figures in it. The counter for the figures starts on each page/plate, but the number of the figure ...
1
vote
0answers
44 views

Sorting bibliography entries of similar author (First author) and year in apa-good style

I need to sort my bibliography (apa-good style) by only the first author (A) and year of the paper. Example: A, R, T, N, T (2016) Extraction.. A, G, T (2015) Analysis... But now the result is: A, G, ...
1
vote
0answers
70 views

xindy not sorting cross-reference targets

When compiling \documentclass{article} \usepackage{index} \newindex{i}{idx}{idn}{Index} \begin{document} Let's discuss letter d\index[i]{d}\index[i]{letter|see{d}} and c.\index[i]{c}\index[i]{...
1
vote
0answers
1k views

How to modify bibliography sorting with multibib?

I'm using multibib to generate a list of publications for my cv (using moderncv). The problem is that the entries are sorted alphabetically, whereas I'd like them to be sorted by year, with the newest ...
1
vote
0answers
351 views

alphabetical order in listoftheorems

I use the package thmtools to generate a List of my Definitions at the end of the Document. This works fine, but the list is orderd by chapter and not orderd by the name of the definition. Here's ...
1
vote
0answers
90 views

Sort List of Fixmes by annotation level

I have a couple of questions about the fixme package: I would like the list of fixmes printed using \listoffixmes to be sort by annotation level (that is, sorted by importance). Is there a way to do ...
1
vote
0answers
149 views

Combine class does not sort citations

There are three files in the next section of code; all three should go in the same folder. The main document is bibProblem (combine document class), the import document is inputDoc1a (article class), ...
0
votes
0answers
24 views

Dictionary template how to arrange by alphabetical order

I am using Overleaf as an editor and came across their dictionary template. When I write my own entries they don't get sorted by alphabetical order as a dictionary should be. Q: How could one sort \...
0
votes
0answers
37 views

reverse numbering with Bibtex and amsart document class

I am trying to do reverse numbering of a bibliography with bibtex (not biblatex) with the amsart document class. if I try to use previously suggested solutions then they produce errors. For example ...
0
votes
0answers
19 views

Sort selected references within brackets in main text with Lyx and JabRef

I'm using Lyx and JabRef and it appears that when citing multiple references within a bracket the default sorting within the brackets is alphabetically. However, I would like to sort them by their ...
0
votes
0answers
56 views

Sort bibliography with the order of appearance into .bib file (EDITED)

I work with natbib and \bibliographystyle{abstract}. I use this style because the ordering is done with respect to the key. Is it possible achieve a sorting with respect the order of appearance into ...
0
votes
0answers
23 views

Sorting entries by page number in a single index (out of multiple indices) made with imakeidx

I am trying to make two indices with imakeidx: an index of terms and an index of symbols. Since I am using mathematical symbols, I would like the symbols index to be sorted by page number rather than "...
0
votes
0answers
22 views

Nomenclature sorting problem: it starts sorting again in a new page

I have the nomenclature sorted in an alphabetical order, but it starts over on the next page. See attached picture. Does anyone know how I can make so it doesn't start over when after a page shift? ...
0
votes
0answers
273 views

Sorting symbols in 'List of Symbols'

Is there a way I can sort the symbols (in some logical order) automatically in my LaTeX draft? Presently they come in the order I am defining them. \clearpage % Start a new page \lhead{\emph{Symbols}}...
0
votes
0answers
278 views

Sorting problem with umlauts

I have a problem with a self-generated index of authors. If I have a name with umlaut, the sorting fails. In My MWE, the two entries should be inverted. How could I fix the issue? I'm including also ...
0
votes
0answers
61 views

Cannot use nosort for cleveref

I found sorting and compressing not very intelligent for cleveref package when the labels are in different sections, so I decide to disable sorting and compressing. However I am unable to use nosort ...
0
votes
0answers
87 views

fix sorting for references with natbib for A&A

I'm currently preparing an article for Astronomy & Astrophysics, where the references have to be ordered as follows: One author: chronologically Author, one co-author: alphabetically by co-author,...
0
votes
0answers
58 views

How edit the `plainnat.bst` avoiding sort by key

I'm using natbib package and plainnat style for my citations and references. Unfortunately, when I cite different papers of the same author, but different co-authors, the bibligraphy is sorted by the ...
0
votes
0answers
52 views

Sorting macros by their first argument

Let's say I have a document consisting mainly of ''task''-macros that are defined as following: % bold titles \newcommand{\mypar}[1]{{\bf #1:}} %task decription template \newcommand{\task}[3]{ \...