Questions tagged [filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers
436 views

Find the highest year in a string

I would like to hide sections of my document according to their publication date. This is how I define my section: \primarySection {Data 1} {Data 2} {Data 3} {Jan. 1930 - June 2023} % Dates ...
0 votes
0 answers
21 views

pgfplots simple x filter error

In order to graph t as a function of n, I'm trying to filter rows in my file where k is different from 5. Here is the beamer : % !TEX TS-program = pdflatexmk \documentclass[aspectratio = 169]{beamer} \...
2 votes
0 answers
409 views

Help with Lua filter for markdown to LaTeX with Pandoc

In markdown (written in Obsidian.md) I use a plugin/theme so that *==text==* is rendered as red instead of italic and highlighted. I use this lua-filter to convert regular ==highlighting== to LaTeX \...
1 vote
1 answer
148 views

Filter several rows in addplot

Following this answer, it is possible to filter a row from a csv file, for example: \documentclass{article} \usepackage{pgfplots} \usepackage{tikz} \usepackage{pgfplotstable} \begin{filecontents*}{...
0 votes
2 answers
183 views

How to use macro argument as a comma-separated words for filtering

So I have this list of \entry macro that takes one argument which is simply a text. \entry{whatevercoutent} I want to make use of the second argument as a comma-separated list of words which would be ...
3 votes
2 answers
564 views

\input only part of file, without losing SyncTeX support?

I want to include parts of a child document, specified by a range of line numbers, as LaTeX input, while producing useful SyncTeX information. It should also be possible to re-include lines already in ...
3 votes
1 answer
572 views

Bibtex: Remove URL if DOI is present and keyword does not exist

This question is highly related to: Biblatex: use doi only if there is no URL However, I cannot get it to work for my example. I have the following setup. Most of my bib entries contain DOI, URL, and ...
1 vote
1 answer
341 views

Find I in texstudio

How to find the upper-case letter "I" with TexStudio? I would like to be able to highlight only 2 "I"s -> "there are many Is in this text but I want to see only I in ...
3 votes
1 answer
234 views

Suppress filecontents warning if the file is defined before documentclass

I would like to define filecontents blocks before documentclass in my LaTeX document. Is there any way to suppress warning Writing or overwriting file ./filename? My MWE is as follows: \begin{...
0 votes
1 answer
118 views

Why I get [[ outputfile missing with filter module

Why I get this error : [[output file missing \setuppapersize[A4][A4] \usemodule[filter] \defineexternalfilter [python] [ filtercommand={python \externalfilterinputfile \space > \...
15 votes
1 answer
3k views

Use multiple keywords (OR) in \ printbibliography to filter the bibliography

Similarly, but slightly different from Use multiple keywords in \ printbibliography to filter the bibliography I wonder: Is there a way to filter \printbibliography using multiple keywords that are ...
0 votes
0 answers
263 views

Syntax error (1067230): Unknown filter 'Crypt'

I'm running into a strange problem: when running my LaTex code on 1 pc, I do not have any problem (running with TeXstudio). When running exactly the same code on another pc, I get the error "...
0 votes
1 answer
220 views

Selective formatting of items in \printbibliography - Perform \bibcheck in \defbibenvironment?

I would like to change the style of single references selectively when using \printbibliography so I can highlight featured publications. Is there an elegant way to do that using a library? If not, ...
3 votes
0 answers
1k views

How to suppress warnings "Command \underbar has changed." and "It is better to use one of the extsizes classes, if you can."?

I would like to use an Overleaf template (https://www.overleaf.com/latex/templates/tagged/rsc), but it gives a warning for the \underline command of sectsty. Do you have any idea how to suppress all ...
2 votes
1 answer
391 views

Multiple boxplots grouped by key

I have some data in a CSV file that I want to use to create multiple boxplots. Every sample has an identifier "set" that denotes the membership to a certain set and I want to have one boxplot per set. ...
7 votes
1 answer
915 views

ConTeXt: Circumventing pandoc's deprecated starttable usage

Background A wiki generates an HTML page, which is converted to ConTeXt via pandoc. The ultimate goal is to generate a PDF from on a wiki page using XWiki, which is a Java-based tool. Problem ...
5 votes
1 answer
547 views

Filter by a list of bibkey on \printbibliograhy

I am currently using biblatex for creating my document. I want to know if it is possible to split the bibliography with only the bibkeys. The idea will be to use \printbibliography[title=Primal,key=...
1 vote
1 answer
28 views

PGFPLOTS limit plotting from file by non-plotted coulmn

I have data, that contains three columns: time, x, y. Now, I want to plot the data in the x-y plane like this: \addplot[] table[x expr={\thisrowno{1}}, y expr={\thisrowno{2}}] {test.csv}; But ...
1 vote
2 answers
283 views

Specification mask of a filter

I want to draw an specification mask for a band-pass filter with the tikz package, however I'm totally new at this and all the filters that I have to draw have similar shape so I would be really ...
3 votes
1 answer
233 views

Table: filter not working with decimal values

I have a filter that works with the first filecontents, but not the second. In fact, the filter doesn't work as soon as there is a decimal in the values that are going in the table. Does anybody ...
1 vote
1 answer
1k views

Filter ifnumgreater not working with csvsimple

LaTeX gives me an error every time I add the line containing the filter. It works fine without the filter. What have I done wrong? Here is my LaTeX entry: \documentclass{article} \usepackage{float} \...
0 votes
0 answers
504 views

Multiple filters \.expression for an axis in pgfplots

How to apply multiple filters for an axis in a pgfplot? I am not sure with the correct syntax in Latex. I need this two filters: x/(x^2/y)<12 ? x/(x^2/y) : 12 x/(x^2/y)>1 ? x/(x^2/y) : 1 Do I ...
1 vote
1 answer
260 views

Filter out content of Tex-File

I'm trying to create some exercises for students. So the idea was, to use a command which just makes the solution white, if the solution counter is set to 0 and which shows the solution if the counter ...
1 vote
1 answer
535 views

TikZ/PGF key filters : overriding color

I'm trying to override the color key within a pic but not within the enclosing scope (That is the path/draw/fill instruction). My objective is to be able to set the colour for a path and have this ...